Skip to content

Commit 0ef6ac3

Browse files
committed
Clear out master
1 parent dff621e commit 0ef6ac3

File tree

212 files changed

+666
-21656
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+666
-21656
lines changed

.rubocop.yml

-105
This file was deleted.

.simplecov

-110
This file was deleted.

.travis.yml

+1-46
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,9 @@ language: ruby
22

33
sudo: false
44

5-
rvm:
6-
- 2.1
7-
- 2.2.6
8-
- 2.3.3
9-
- ruby-head
10-
- jruby-9.1.5.0 # is precompiled per http://rubies.travis-ci.org/
11-
- jruby-head
12-
13-
jdk:
14-
- oraclejdk8
15-
16-
before_install:
17-
- gem update --system
18-
- rvm @global do gem uninstall bundler -a -x
19-
- rvm @global do gem install bundler -v 1.13.7
20-
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
215
cache:
226
directories:
237
- vendor/bundle
248

259
script:
26-
- bundle exec rake ci
27-
after_success:
28-
- codeclimate-test-reporter
29-
env:
30-
global:
31-
- "JRUBY_OPTS='--dev -J-Xmx1024M --debug'"
32-
matrix:
33-
- "RAILS_VERSION=4.1"
34-
- "RAILS_VERSION=4.2"
35-
- "RAILS_VERSION=5.0"
36-
- "RAILS_VERSION=master"
37-
38-
matrix:
39-
exclude:
40-
- rvm: 2.1
41-
env: RAILS_VERSION=master
42-
- rvm: jruby-9.1.5.0
43-
env: RAILS_VERSION=master
44-
- rvm: jruby-head
45-
env: RAILS_VERSION=master
46-
- rvm: 2.1
47-
env: RAILS_VERSION=5.0
48-
- rvm: jruby-9.1.5.0
49-
env: RAILS_VERSION=5.0
50-
- rvm: jruby-head
51-
env: RAILS_VERSION=5.0
52-
allow_failures:
53-
- rvm: ruby-head
54-
- rvm: jruby-head
55-
fast_finish: true
10+
- true

CHANGELOG-0-08.md

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
## 0.08.x
2+
3+
### v0.8.3 (2014/12/10 14:45 +00:00)
4+
- [#753](https://github.com/rails-api/active_model_serializers/pull/753) Test against Ruby 2.2 on Travis CI (@tricknotes)
5+
- [#745](https://github.com/rails-api/active_model_serializers/pull/745) Missing a word (@jockee)
6+
7+
### v0.8.2 (2014/09/01 21:00 +00:00)
8+
- [#612](https://github.com/rails-api/active_model_serializers/pull/612) Feature/adapter (@bolshakov)
9+
* adds adapters pattern
10+
- [#615](https://github.com/rails-api/active_model_serializers/pull/615) Rails does not support const_defined? in development mode (@tpitale)
11+
- [#613](https://github.com/rails-api/active_model_serializers/pull/613) README: typo fix on attributes (@spk)
12+
- [#614](https://github.com/rails-api/active_model_serializers/pull/614) Fix rails 4.0.x build. (@arthurnn)
13+
- [#610](https://github.com/rails-api/active_model_serializers/pull/610) ArraySerializer (@bolshakov)
14+
- [#607](https://github.com/rails-api/active_model_serializers/pull/607) ruby syntax highlights (@zigomir)
15+
- [#602](https://github.com/rails-api/active_model_serializers/pull/602) Add DSL for associations (@JordanFaust)
16+
17+
### 0.8.1 (May 6, 2013)
18+
19+
* Fix bug whereby a serializer using 'options' would blow up.
20+
21+
### 0.8.0 (May 5, 2013)
22+
23+
* Attributes can now have optional types.
24+
25+
* A new DefaultSerializer ensures that POROs behave the same way as ActiveModels.
26+
27+
* If you wish to override ActiveRecord::Base#to_Json, you can now require
28+
'active_record/serializer_override'. We don't recommend you do this, but
29+
many users do, so we've left it optional.
30+
31+
* Fixed a bug where ActionController wouldn't always have MimeResponds.
32+
33+
* An optinal caching feature allows you to cache JSON & hashes that AMS uses.
34+
Adding 'cached true' to your Serializers will turn on this cache.
35+
36+
* URL helpers used inside of Engines now work properly.
37+
38+
* Serializers now can filter attributes with `only` and `except`:
39+
40+
```
41+
UserSerializer.new(user, only: [:first_name, :last_name])
42+
UserSerializer.new(user, except: :first_name)
43+
```
44+
45+
* Basic Mongoid support. We now include our mixins in the right place.
46+
47+
* On Ruby 1.8, we now generate an `id` method that properly serializes `id`
48+
columns. See issue #127 for more.
49+
50+
* Add an alias for `scope` method to be the name of the context. By default
51+
this is `current_user`. The name is automatically set when using
52+
`serialization_scope` in the controller.
53+
54+
* Pass through serialization options (such as `:include`) when a model
55+
has no serializer defined.
56+
57+
## [0.7.0 (March 6, 2013)](https://github.com/rails-api/active_model_serializers/commit/fabdc621ff97fbeca317f6301973dd4564b9e695)
58+
59+
* ```embed_key``` option to allow embedding by attributes other than IDs
60+
* Fix rendering nil with custom serializer
61+
* Fix global ```self.root = false```
62+
* Add support for specifying the serializer for an association as a String
63+
* Able to specify keys on the attributes method
64+
* Serializer Reloading via ActiveSupport::DescendantsTracker
65+
* Reduce double map to once; Fixes datamapper eager loading.
66+
67+
## 0.6.0 (October 22, 2012)
68+
69+
* Serialize sets properly
70+
* Add root option to ArraySerializer
71+
* Support polymorphic associations
72+
* Support :each_serializer in ArraySerializer
73+
* Add `scope` method to easily access the scope in the serializer
74+
* Fix regression with Rails 3.2.6; add Rails 4 support
75+
* Allow serialization_scope to be disabled with serialization_scope nil
76+
* Array serializer should support pure ruby objects besides serializers
77+
78+
## 0.05.x
79+
80+
### [0.5.2 (June 5, 2012)](https://github.com/rails-api/active_model_serializers/commit/615afd125c260432d456dc8be845867cf87ea118#diff-0c5c12f311d3b54734fff06069efd2ac)
81+
82+
### [0.5.1 (May 23, 2012)](https://github.com/rails-api/active_model_serializers/commit/00194ec0e41831802fcbf893a34c0bb0853ebe14#diff-0c5c12f311d3b54734fff06069efd2ac)
83+
84+
### [0.5.0 (May 16, 2012)](https://github.com/rails-api/active_model_serializers/commit/33d4842dcd35c7167b0b33fc0abcf00fb2c92286)
85+
86+
* First tagged version
87+
* Changes generators to always generate an ApplicationSerializer
88+
89+
## [0.1.0 (December 21, 2011)](https://github.com/rails-api/active_model_serializers/commit/1e0c9ef93b96c640381575dcd30be07ac946818b)
90+
91+
## First Commit as [Rails Serializers 0.0.1](https://github.com/rails-api/active_model_serializers/commit/d72b66d4c5355b0ff0a75a04895fcc4ea5b0c65e)
92+
(December 1, 2011).

0 commit comments

Comments
 (0)