Commit Graph

14 Commits

Author SHA1 Message Date
Benjamin Fleischer
b2b3112110 Advice from rails/rails 2017-11-02 09:32:37 -05:00
Benjamin Fleischer
2e2cdc91e0 Turn off Rails 4.0 temporarily 2017-11-02 09:26:25 -05:00
Benjamin Fleischer
f2c8741219 Specify rails gem for pre rails master
https://ci.appveyor.com/project/bf4/active-model-serializers/build/1144/job/rf3yi4b7vf8w4t6l

```
Build started
git clone -q --branch=fix_ci https://github.com/rails-api/active_model_serializers.git C:\projects\active-model-serializers
git checkout -qf 37d4bdc4d2
Running Install scripts
SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
ruby --version
ruby 2.0.0p648 (2015-12-16) [i386-mingw32]
gem --version
2.6.13
gem install bundler
Successfully installed bundler-1.16.0
Parsing documentation for bundler-1.16.0
Installing ri documentation for bundler-1.16.0
1 gem installed
bundler --version
Bundler version 1.16.0
bundle platform
Your platform is: i386-mingw32
Your app has gems that work on these platforms:
* x86-mingw32
Your Gemfile does not specify a Ruby version requirement.
bundle install --path=vendor/bundle --retry=3 --jobs=3
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...........................................
Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    actionpack (~> 4.0.0) x86-mingw32
Could not find gem 'actionpack (~> 4.0.0)' in any of the sources.
Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    activemodel (~> 4.0.0) x86-mingw32
    active_model_serializers x86-mingw32 was resolved to 0.8.4, which depends on
      activemodel (>= 3.0) x86-mingw32
    activerecord (~> 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends on
      activemodel (= 4.0.0) x86-mingw32
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    activesupport (~> 4.0.0) x86-mingw32
    actionpack (~> 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends on
      activesupport (= 4.0.0) x86-mingw32
Bundler could not find compatible versions for gem "ruby":
  In Gemfile:
    ruby x86-mingw32
    pry x86-mingw32 was resolved to 0.11.2, which depends on
      ruby (>= 1.9.3) x86-mingw32
    rails (>= 3.0) x86-mingw32 was resolved to 5.1.4, which depends on
      ruby (>= 2.2.2) x86-mingw32
Bundler could not find compatible versions for gem "tzinfo":
  In Gemfile:
    actionpack (~> 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends on
activesupport (= 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends
on
        tzinfo (~> 0.3.37) x86-mingw32
    tzinfo-data x86-mingw32 was resolved to 1.2017.3, which depends on
      tzinfo (>= 1.0.0) x86-mingw32
Command exited with code 6
```
2017-11-02 09:13:35 -05:00
Benjamin Fleischer
37d4bdc4d2 Address bundle not finding actionpack via dep require order 2017-11-02 08:54:18 -05:00
Benjamin Fleischer
5f4252f11d Rails 5 requires explicit rails gem
```
Bundler could not find compatible versions for gem "activemodel":

In Gemfile:
  activerecord was resolved to 5.2.0.alpha, which depends on activemodel (= 5.2.0.alpha)

  rails (>= 3.0) was resolved to 4.2.9, which depends on activemodel (= 4.2.9)
```
2017-11-02 08:53:46 -05:00
Dries Harnie
07addbf8c7 AMS 0.8: Fix memory leak with :scope_name (#1675)
Fix memory leak with :scope_name

Supplying :scope_name causes `ActiveModel::Serializer#initialize` to
define a method on the class, which retains a reference to the
serializer instance.

* Lock version of mime-types to < 3 for older JRubies
2016-04-12 23:54:33 -05:00
Benjamin Fleischer
75252a2ef9 Run CI against Rails >= 4.0, Ruby >= 1.9.3 2015-12-14 21:59:08 -06:00
Steve Klabnik
1db474963b Remove coveralls.
It's fine, but it's causing issues.
2014-07-04 23:01:26 -04:00
Steve Klabnik
48e5ca29f1 Add Coveralls for code coverage. 2013-05-05 13:38:56 -07:00
Tony Pitale
ea2b24bc73 use https for rubygems 2013-03-15 03:35:56 -04:00
Tee Parham
caf2daaa60 move development gem dependencies into gemspec 2012-08-23 21:13:16 -06:00
Yehuda Katz
671fc14888 remove scope as a separate concept and pass it in
as an option.
2012-01-11 21:16:02 -07:00
Yehuda Katz
a8760fa854 Add pry 2012-01-10 15:16:00 -07:00
José Valim
d72b66d4c5 Ported serializers. 2011-12-01 07:38:51 +01:00