File: representable.gemspec

package info (click to toggle)
ruby-representable 3.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 896 kB
  • sloc: ruby: 6,432; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 1,416 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'representable/version'

Gem::Specification.new do |spec|
  spec.name        = "representable"
  spec.version     = Representable::VERSION
  spec.platform    = Gem::Platform::RUBY
  spec.authors     = ["Nick Sutterer"]
  spec.email       = ["apotonick@gmail.com"]
  spec.homepage    = "https://github.com/trailblazer/representable/"
  spec.summary     = %q{Renders and parses JSON/XML/YAML documents from and to Ruby objects. Includes plain properties, collections, nesting, coercion and more.}
  spec.description = spec.summary

  spec.files         = `git ls-files`.split("\n")
  spec.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  spec.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  spec.require_paths = ["lib"]
  spec.license       = "MIT"

  spec.required_ruby_version = '>= 1.9.3'

  spec.add_dependency "uber",               "< 0.2.0"
  spec.add_dependency "declarative",        "< 0.1.0"
  spec.add_dependency "declarative-option", "< 0.2.0"

  spec.add_development_dependency "rake"
  spec.add_development_dependency "test_xml", ">= 0.1.6"
  spec.add_development_dependency "minitest"
  spec.add_development_dependency "virtus"
  spec.add_development_dependency "multi_json"
  spec.add_development_dependency "ruby-prof" if RUBY_ENGINE == "ruby" # mri
end