mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
It is impossible to run our tests on both Rails 3.2 and Rails 4: 1. Rails 3.2 relies on test/unit, which is MiniTest 4. 2. Rails 4 relies on MiniTest 5. 3. MiniTest 5 is not compatible with test/unit. 😢 😢 😢
27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
# coding: utf-8
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require 'active_model_serializers/version'
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "active_model_serializers"
|
|
spec.version = ActiveModelSerializers::VERSION
|
|
spec.authors = ["Steve Klabnik"]
|
|
spec.email = ["steve@steveklabnik.com"]
|
|
spec.summary = %q{Conventions-based JSON generation for Rails.}
|
|
spec.description = %q{ActiveModel::Serializers allows you to generate your JSON in an object-oriented and convention-driven manner.}
|
|
spec.homepage = "https://github.com/rails-api/active_model_serializers"
|
|
spec.license = "MIT"
|
|
|
|
spec.files = `git ls-files -z`.split("\x0")
|
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_dependency "activesupport", ">= 4.0"
|
|
spec.add_dependency "rails", ">= 4.0"
|
|
|
|
spec.add_development_dependency "bundler", "~> 1.6"
|
|
spec.add_development_dependency "rake"
|
|
end
|