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
|