mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +00:00
thanks @bf4 give many help and suggestion, original PR https://github.com/rails-api/active_model_serializers/pull/1014
21 lines
520 B
Ruby
21 lines
520 B
Ruby
source 'https://rubygems.org'
|
|
|
|
# Specify your gem's dependencies in active_model_serializers.gemspec
|
|
gemspec
|
|
|
|
gem "minitest"
|
|
|
|
version = ENV["RAILS_VERSION"] || "4.2"
|
|
|
|
if version == "master"
|
|
gem "rails", github: "rails/rails"
|
|
|
|
# ugh https://github.com/rails/rails/issues/16063#issuecomment-48090125
|
|
gem "arel", github: "rails/arel"
|
|
else
|
|
gem "rails", "~> #{version}.0"
|
|
end
|
|
|
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|