Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1357 commits
Select commit Hold shift + click to select a range
8a2beac
re: RuboCop - Align the elements of a hash literal if they span more …
dubadub Jun 20, 2016
85f417f
re: RuboCop - Use nested module/class definition instead of compact s…
dubadub Jun 20, 2016
aa416b2
re: RuboCop - Suppress of handling LoadError for optional dependencies
dubadub Jun 20, 2016
ce168f9
re: RuboCop - use include_ prefix instead of has_
dubadub Jun 20, 2016
af959b0
re: RuboCop - Disable Style/PredicateName rule for public API methods
dubadub Jun 20, 2016
26aa062
re: RuboCop - Remove empty .rubocop_todo.yml
dubadub Jun 20, 2016
800221e
re: RuboCop - replace rocket style hashes
dubadub Jun 21, 2016
bcf3358
Ensuring read_multi works with fragment cache. (#1814)
zaaroth Jun 23, 2016
3d48a2f
Create grape integration documentation.
xn Jun 23, 2016
d27b21a
Add docs for the fields option
luizkowalski Jun 24, 2016
e8f0dc7
Add note about will_paginate previous_page method (#1801)
cesc1989 Jun 27, 2016
f4e00dc
Merge pull request #1815 from dubadub/making-rubocop-happy
bf4 Jun 27, 2016
c029c00
Merge pull request #1802 from kyleshevlin/update_integrations_ember_a…
bf4 Jun 27, 2016
156dc23
Add doc for setting conditional serialization_scope
Jun 30, 2016
61059e9
Merge pull request #1824 from yogeshjain999/conditional_serialization…
bf4 Jul 5, 2016
d8f3fa4
Bump to 0.10.2
bf4 Jul 5, 2016
b41df13
Add Rails 5.0 to test matrix
bf4 Jul 5, 2016
cf3cfaa
Rails 5.0 CI
bf4 Jul 5, 2016
993cc50
Merge pull request #1830 from bf4/rails_5
bf4 Jul 6, 2016
f193895
Fix typo in changelog
greysteil Jul 8, 2016
91b37ce
Merge pull request #1835 from greysteil/update-changelog
bf4 Jul 8, 2016
9a206a1
Remove nil relationships links (#1833)
Jul 12, 2016
3ecc3ed
Add documentation on upgrading from `0.8` to `0.10` safely
bkoltai Jul 13, 2016
e966d07
PR comments
bkoltai Jul 13, 2016
5e72ec4
Fix small typo
bkoltai Jul 13, 2016
3ad2457
Bugfix/redefine associations on inherited serializers (#1848)
dariush-y Jul 17, 2016
aa4d89a
remove dynamic class creation where not needed (#1850)
NullVoxPopuli Jul 18, 2016
37a1772
Modified some code and removed unnecessary code from the ember and js…
ghoshnirmalya Jul 20, 2016
d9ba5cd
Fix typos and make examples more explicit
bkoltai Jul 21, 2016
4ff33a7
Fix typo (#1855)
bluehallu Jul 24, 2016
6567989
Specify how to get the instance of the serializer (#1861)
Tonkpils Jul 27, 2016
be8f136
Add warning in caching documentation
aldreth Aug 4, 2016
e8343a9
Merge pull request #1872 from aldreth/update-cache-documentation
bf4 Aug 4, 2016
9217bc2
Merge pull request #1844 from bkoltai/bk_upgrade_0_8_to_0_10_doc
bf4 Aug 9, 2016
6de3f31
Namespace separator setting for json-api and tests (#1874)
NullVoxPopuli Aug 12, 2016
5f3bdcc
Use ActiveSupport::Cache.expand_cache_key for cache key expansions (#…
markiz Aug 13, 2016
1896e5a
ActiveModelSerializers::Model successor initialized with string keys …
yevhene Aug 16, 2016
d66e272
Correct typos
bf4 Aug 16, 2016
abb15b9
Simplify Relationship
bf4 Aug 16, 2016
a319fef
Add tests for fields option demonstrating usage on both attributes an…
NullVoxPopuli Aug 17, 2016
a0dd5e5
Merge branch 'xn-patch-1'
bf4 Aug 17, 2016
26bcdbe
Clean up docs
bf4 Aug 17, 2016
455068d
Merge pull request #1884 from bf4/simplify_relationship
bf4 Aug 17, 2016
7178b9d
Documenting Adapter. Fixing typo in association.rb documentation.
Aug 18, 2016
d4b1e4e
Fix broken link on README to docs for v0.10.x
Aug 18, 2016
49ee823
Merge pull request #1886 from isratrade/fix-readme-docs-link
bf4 Aug 21, 2016
714c620
Updated to use the proper renderer
patsy-issa Aug 22, 2016
f96d97d
Correct comment
johnnymo87 Aug 19, 2016
77a4a27
Updated to use lazy loading when requiring
patsy-issa Aug 24, 2016
2423ca4
Support key transformation for Attributes adapter (#1889)
iancanderson Aug 25, 2016
7c4ce7b
Organize Serializer concerns into concerns/
bf4 Aug 31, 2016
0102434
Merge pull request #1887 from johnnymo87/correct-comment
bf4 Aug 31, 2016
ab85ce2
Merge pull request #1888 from Patsy-issa/patch-1
bf4 Aug 31, 2016
7d2997b
Organize Serializer concerns into concerns/ (#1898)
NullVoxPopuli Aug 31, 2016
20e394d
Refactor Association into Field like everything else (#1897)
bf4 Aug 31, 2016
4501540
Add semver section to readme
jgrau Aug 31, 2016
90805f3
add a code of conduct
CorainChicago Jun 16, 2016
9108622
Merge pull request #1901 from jgrau/code-of-conduct
bf4 Aug 31, 2016
9aaaa73
Merge pull request #1900 from jgrau/add-semver-section-to-readme
bf4 Aug 31, 2016
d34069b
Merge pull request #1799 from ScottKbka/patch-1
bf4 Aug 31, 2016
1d4cd6f
Fix intermittent test failures by not mutating global state
bf4 Sep 1, 2016
1dc2b74
Merge pull request #1902 from bf4/fix_intermittent_relationship_test_…
bf4 Sep 1, 2016
07dab5a
Add helpful testing gems
Sep 5, 2016
3f16b75
Ensure generator picks up ApplicationSerializer
Sep 5, 2016
0500604
Fix typo (#1916)
Sep 6, 2016
f786558
Merge pull request #1913 from richmolj/test_gems
bf4 Sep 6, 2016
19b5abf
Disable pagination links via config
Sep 6, 2016
2ea8bb7
Merge pull request #1917 from richmolj/disable_pagination_links
richmolj Sep 6, 2016
11bd778
Merge pull request #1912 from richmolj/generator
richmolj Sep 6, 2016
50f2754
Add docs for links (#1909)
vasilakisfil Sep 7, 2016
1899437
Add info on setting polymorphic serializers (#1906)
Rio517 Sep 7, 2016
58ebf96
Update ember-and-json-api.md (#1894)
Ikariusrb Sep 7, 2016
586ad64
Make railties an optional dependency
Sep 9, 2016
e8f055a
Add chengelog entry about the issue
Sep 13, 2016
810efb8
add bm_adapter (#1914)
NullVoxPopuli Sep 13, 2016
a032201
Merge pull request #1922 from ggpasqualino/master
richmolj Sep 14, 2016
a77dfda
Ensure valid jsonapi when blank relationship (#1930)
richmolj Sep 19, 2016
0606b06
Update upgrade_from_0_8_to_0_10.md (#1933)
brendon Sep 20, 2016
6ed499f
added active record benchmark (#1919)
NullVoxPopuli Sep 24, 2016
2145540
Add include_data :if_sideloaded (#1931)
richmolj Sep 25, 2016
c69855b
Improve readability of relationships test (#1904)
bf4 Sep 26, 2016
6c6e45b
Replace fail/rescue CollectionSerializer::NoSerializerError with thro…
bf4 Sep 26, 2016
cb20b95
Pin jsonapi version. (#1955)
beauby Oct 25, 2016
ce8dd36
Add documentation for root (#1959)
shunsuke227ono Nov 1, 2016
b709cd4
Improve type method documentation (#1967)
yukideluxe Nov 4, 2016
b29395b
This adds namespace lookup to serializer_for (#1968)
NullVoxPopuli Nov 9, 2016
c9a96a0
Trigger
NullVoxPopuli Nov 9, 2016
d0de53c
Fix namespace lookup for collections and has_many (#1973)
Nov 15, 2016
d31d741
Make serializer lookup configurable (#1757)
NullVoxPopuli Nov 16, 2016
d39dd04
Update SerializableResource documentation (#1977)
AlexVPopov Nov 17, 2016
cd09e89
Bump to 0.10.3
bf4 Nov 21, 2016
772b799
Better AMS Model attributes interface
bf4 Nov 21, 2016
93bbc59
Merge pull request #1982 from bf4/better_ams_model_interface
bf4 Nov 21, 2016
4f72cc7
Fix "result" typo
mxie Nov 29, 2016
3733efa
Use consistent capitalization for JSONAPI adapter references
mxie Nov 29, 2016
9b25680
Merge pull request #1990 from mxie/mx-result-typo
bf4 Nov 29, 2016
095ad9c
Run tests by Ruby 2.2.6 and 2.3.3
ojiry Dec 3, 2016
e575156
Merge pull request #1992 from ojiry/bump_ruby_versions
NullVoxPopuli Dec 3, 2016
15a8f2c
Promote important architecture description that answers a lot of ques…
bf4 Nov 27, 2016
80af763
Make test attributes explicit
bf4 Nov 21, 2016
f8ca912
Add failing test for AMS::Model accessor vs. attributes mutation
bf4 Sep 1, 2016
3b84845
Add CHANGELOG
bf4 Dec 4, 2016
847f50a
Merge pull request #1984 from bf4/make_test_attributes_explicit
bf4 Dec 6, 2016
fca2d45
Merge pull request #1994 from bf4/promote_architecture
bf4 Dec 7, 2016
0422a1e
Swap out KeyTransform for CaseTransform (#1993)
NullVoxPopuli Dec 7, 2016
05430fb
Fix typos
bf4 Dec 12, 2016
bbcadec
Merge pull request #1999 from bf4/typos
bf4 Dec 13, 2016
0976bdc
Link to 0.10.3 tag instead of `master` branch
berfarah Dec 12, 2016
95f832f
Merge pull request #2000 from berfarah/patch-1
bf4 Dec 15, 2016
9eacf9f
Update jsonapi runtime dependency to 0.1.1.beta6
kofronpi Dec 16, 2016
c1fc0e4
Handle different messages from different versions of JSON gem
bf4 Dec 23, 2016
3f46846
Merge pull request #2007 from bf4/check_ci
bf4 Dec 23, 2016
4e43013
Merge pull request #2005 from kofronpi/support-ruby-2.4
bf4 Dec 23, 2016
f246741
Updated isolated tests to assert correct behavior. (#2010)
akshah123 Dec 25, 2016
4394f76
Cleanup assertions in isolated jsonapi renderer tests a bit
bf4 Dec 25, 2016
6cf84c1
Less strict exception matching
bf4 Dec 25, 2016
ec045a5
Merge pull request #2012 from bf4/cleanup_isolated_jsonapi_renderer_t…
bf4 Dec 25, 2016
91128fa
[skip ci] Fix relationship link documentation
Dec 30, 2016
655c721
Bump to v0.10.4
bf4 Jan 6, 2017
ef19a9e
Merge pull request #2018 from rails-api/bump_version
bf4 Jan 6, 2017
40489fa
Fix method redefined warning
bf4 Jan 6, 2017
ced317d
Fix thor warning to set type: :boolean, was setting `{ banner: "" }`
bf4 Jan 6, 2017
b620c27
Silence Grape warnings
bf4 Jan 6, 2017
7efb362
Merge pull request #2019 from bf4/fix_method_redefined_warning
bf4 Jan 7, 2017
98194cc
Merge pull request #2020 from bf4/silence_grape_warnings
bf4 Jan 7, 2017
6acb405
Fix MT6 assert_nil warnings
bf4 Jan 6, 2017
4dfbe27
Fix test bug found by assert_nil
bf4 Jan 7, 2017
c52af54
Improve tests found by assert_nil
bf4 Jan 7, 2017
3b155de
Merge pull request #2017 from bf4/remove_warnings
bf4 Jan 7, 2017
2a6d373
Merge pull request #1981 from groyoh/link_doc
bf4 Jan 10, 2017
93ca27f
Merge 0-10-stable into master (to fix breaking change). (#2023)
bf4 Jan 10, 2017
68f8ebe
Update logging.md
msathieu Jan 17, 2017
3d44bfc
Update logging.md
msathieu Jan 17, 2017
ab98c4a
Update logging.md
msathieu Jan 22, 2017
bd50ae9
Update CHANGELOG.md
msathieu Jan 23, 2017
d6b1b1c
Fix typo
biow0lf Jan 24, 2017
3c6eb57
Replace object with collection.
biow0lf Jan 24, 2017
775ad66
Update CHANGELOG.md
biow0lf Jan 24, 2017
9ccdb15
Fix JRuby build on CI, with a suggestion from Travis CI support (#2040)
bf4 Jan 26, 2017
28c1b5b
Document Model delcared attributes
bf4 Jan 19, 2017
ab824e2
Merge pull request #2039 from biow0lf/documentation-fixes
bf4 Jan 31, 2017
1e47c16
Merge branch 'master' into patch-1
bf4 Jan 31, 2017
2d1c680
Merge pull request #2035 from MSathieu/patch-1
bf4 Jan 31, 2017
58e3983
Merge pull request #2037 from bf4/doc_derive_attributes_from_names_an…
bf4 Feb 2, 2017
7b9d71e
Fixes bug in Test::Schema when using filter_parameters
leonelgalan Feb 6, 2017
e7c79b1
Move Rails.application.config into configure block for test rails app.
leonelgalan Feb 6, 2017
a9d533d
Update outside_controller_use.md (#2047)
NickOttrando Feb 8, 2017
006956e
ActiveModel::Model handles the ActiveModel::Errors API
bf4 Feb 16, 2017
f1f8714
Merge pull request #2054 from bf4/remove_unneeded_model_methods
bf4 Feb 16, 2017
81a9fbd
Merge pull request #2046 from leonelgalan/bug_filter_parameters
bf4 Feb 16, 2017
a081e4f
jsonapi is deprecated, just use jsonapi-renderer
jaredbeck Feb 17, 2017
00fc1fe
Merge pull request #2055 from jaredbeck/patch-2
bf4 Feb 20, 2017
1005aa6
Update version constraint for jsonapi-renderer
jaredbeck Feb 20, 2017
6fbf59f
Merge pull request #2057 from jaredbeck/jsonapi-renderer-0.1.2
bf4 Feb 20, 2017
19f8ada
Update serializers.md
akiicat Feb 27, 2017
ff27032
Merge pull request #2065 from akiicat/master
bf4 Feb 27, 2017
d48aaef
Remove typo from upgrade from 0.8 to 0.10 docs
Hitabis Mar 7, 2017
0b96d35
Merge pull request #2069 from Hitabis/patch-1
bf4 Mar 7, 2017
28b8e3d
Bump to v0.10.5
bf4 Mar 7, 2017
24c0212
Providing caveat in documentation (#2070)
allthesignals Mar 8, 2017
a36b25d
Add rubocop binstub that rspects file patterns
bf4 Mar 12, 2017
87e929a
Merge pull request #2072 from bf4/more_precise_rubocop
bf4 Mar 12, 2017
9c26ffe
Better variables; allow looking serializer from class
bf4 Feb 28, 2017
47e82e0
Make behavior explicit
bf4 Mar 13, 2017
c377b7e
Correct info on using `JSON` adapter
lvela Mar 13, 2017
e325b32
Merge pull request #2077 from lvela/patch-1
bf4 Mar 13, 2017
36b4eac
Make serializer interface more obvious
bf4 Mar 13, 2017
a461389
Merge pull request #2073 from bf4/better_variables_in_serializer_lookup
bf4 Mar 15, 2017
2e71bc4
Improve comments; move caching concern to caching.rb
bf4 Mar 16, 2017
80e470d
Merge pull request #2074 from bf4/make_serializer_interface_more_obvious
bf4 Mar 19, 2017
cec6478
Fix example code in `doc/general/getting_started.md`
tricknotes Mar 24, 2017
d24a786
Merge pull request #2085 from tricknotes/fix-doc
bf4 Mar 28, 2017
f327b6b
Improve reflection internal interface
bf4 Mar 28, 2017
1a5e66b
[0.10] add docs for include (#2081)
charlie-wasp Mar 28, 2017
b2f5f32
Reword ActiveModelSerializer::Model docs for clarity
mikekellyio Mar 28, 2017
04125a0
Merge pull request #2090 from mikekellyio/patch-1
bf4 Mar 29, 2017
729882c
Modifying gemspec to use grape v0.19.1
Apr 16, 2017
c6291b3
points to correct latest version
tonyta Apr 18, 2017
f5ad632
Merge pull request #2112 from cassidycodes/use-grape-v0.19.1
bf4 Apr 18, 2017
aa619b5
Update Serializers and Rendering Docs
Apr 11, 2017
f76ea3d
Merge pull request #2089 from bf4/improve_reflection_interface
bf4 Apr 23, 2017
1ef7c7d
Add reflection tests
bf4 Mar 31, 2017
629aa8c
Correct tests since reflections changes
bf4 Apr 23, 2017
e07613b
Assert mutating reflection is not thread-safe
bf4 Mar 31, 2017
8440455
Correct tests since reflections changes
bf4 Apr 23, 2017
8102296
Test Reflection value/include_data
bf4 Mar 31, 2017
b4cef58
Correct tests since reflections changes
bf4 Apr 23, 2017
c13354c
Add test todos before I forget
bf4 Mar 31, 2017
758e44e
Style fixes
bf4 Apr 23, 2017
6b1a487
Merge pull request #2092 from bf4/reflection_block_changes_meta_links
bf4 Apr 23, 2017
c2dccba
Move attributes cache method out of concern
bf4 Mar 31, 2017
6cd6ed7
Move association serialization to association
bf4 Mar 31, 2017
3fb72d9
Merge pull request #2094 from bf4/move_association_concern_to_associa…
bf4 Apr 23, 2017
3ba4a8c
Always return an enumerator
bf4 Apr 23, 2017
43c3c23
Use reflection key since we have it
bf4 Apr 23, 2017
ba2aa1f
Remove dead comments
bf4 Apr 23, 2017
cb16457
Make reflection explicitly dependents on association
bf4 Apr 23, 2017
fad4ef1
Refactor reflection building of association
bf4 Apr 23, 2017
1bddd9f
Refactor
bf4 Apr 23, 2017
079b3d6
Refactor collection reflection
bf4 Apr 23, 2017
ee69293
Refactor reflection building serializer class
bf4 Apr 23, 2017
7d8fb16
Cleanup
bf4 Apr 23, 2017
34d55e4
Remove extra reflection classes
bf4 Apr 23, 2017
7697d9f
Refactor: introduce lazy association
bf4 Apr 23, 2017
ff5ab21
Make Association totally lazy
bf4 Apr 23, 2017
5e01a93
Update comments regarding lazy_association and TODOs
bf4 Apr 30, 2017
8761904
Update reflection tests
bf4 Apr 30, 2017
0f59d64
Merge pull request #2026 from bf4/refactor_association
bf4 Apr 30, 2017
320596b
Undef problematic Object methods
bf4 Mar 31, 2017
4fb635b
Required
bf4 Mar 31, 2017
273b7e7
belongs_to causes unnecessary db hit
ssendev May 25, 2016
6e41528
Skip eval relationships object on belongs to
bf4 Apr 30, 2017
7d0f4e0
Merge pull request #1857 from bf4/smarter_association_id_lookup
bf4 Apr 30, 2017
81a13c4
Merge pull request #2093 from bf4/undef_unneeded_kernel_methods
bf4 Apr 30, 2017
c9b0e4e
Do not calculate cache_key unless caching
bf4 May 1, 2017
afe0183
Merge pull request #2118 from bf4/only_calculate_cache_key_when_caching
bf4 May 1, 2017
73eae19
Return null resource object identifier for blank id
bf4 May 1, 2017
004e0dc
Merge pull request #2119 from bf4/exclude_empty_relationships
bf4 May 1, 2017
05cf222
Merge pull request #2115 from tonyta/update-readme-v0.10.5
bf4 May 1, 2017
af5e9d6
Merge pull request #2104 from cassidycodes/update-docs
bf4 May 1, 2017
96028a7
Document new reflection options; support :foreign_key
bf4 May 1, 2017
ec7b585
Document namespace
bf4 May 1, 2017
982fe26
Merge pull request #2120 from bf4/allow_customizing_relation_foreign_key
bf4 May 1, 2017
dff621e
Bump to v0.10.6
bf4 May 1, 2017
0ef6ac3
Clear out master
bf4 May 2, 2017
8a4f941
Better describe current status
bf4 May 11, 2017
e3e5a41
Merge pull request #2121 from bf4/new_master
bf4 May 12, 2017
d961db7
Fix 0.10.6 Guides link
swrobel Jul 5, 2017
954cc17
Merge pull request #2162 from swrobel/patch-2
bf4 Jul 5, 2017
371614f
correct spelling mistake
EdwardBetts Sep 1, 2017
6a02959
Merge pull request #2184 from EdwardBetts/spelling
bf4 Sep 19, 2017
e8f3ec8
mention jsonapi-rb for people specifically looking for jsonapi serial…
NullVoxPopuli Sep 20, 2017
8a4441f
add missed td tag for empty column
stiig Dec 22, 2017
9f35f7a
Merge pull request #2230 from stiig/patch-1
bf4 Dec 22, 2017
337fd0d
Update ReadMe with Netflix fast_jsonapi alternative
Diogomartf Feb 1, 2018
8a1f957
Merge pull request #2238 from Diogomartf/patch-1
bf4 Feb 1, 2018
0daf6a6
Fix link in README.md
iacobus Feb 2, 2018
0b5a540
Merge pull request #2239 from iacobus/patch-1
bf4 Feb 5, 2018
25c37a1
Add jsonapi-resources to the list of alternatives
dgeb Aug 15, 2018
da79f3d
Merge pull request #2275 from dgeb/patch-2
bf4 Aug 15, 2018
95afb46
Add Blueprinter to alternatives in readme
philipqnguyen Aug 20, 2018
bd40fe6
Merge pull request #2277 from philipqnguyen/patch-1
bf4 Aug 28, 2018
e43c1fd
Change url of fast-jsonapi to forked version
okuramasafumi May 18, 2020
beeb216
Merge pull request #2380 from okuramasafumi/patch-1
bf4 May 18, 2020
f60b0f9
Replace JSON:API Suite URL because it was changed.
chanrute Mar 8, 2021
199afec
Add Alba to alternatives list
okuramasafumi May 3, 2021
5efd6d2
Merge pull request #2420 from okuramasafumi/patch-2
bf4 May 17, 2023
9f0ba48
Merge pull request #2414 from f-teruhisa/fix/replace_json_api_suite_l…
bf4 May 17, 2023
f7622f6
Add Transmutation to README alternatives
Nitemaeric Jun 11, 2024
c6c3810
Merge pull request #2472 from Nitemaeric/patch-1
bf4 Jun 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#### Expected behavior vs actual behavior



#### Steps to reproduce
*(e.g., detailed walkthrough, runnable script, example application)*



#### Environment

ActiveModelSerializers Version *(commit ref if not on tag)*:

Output of `ruby -e "puts RUBY_DESCRIPTION"`:

OS Type & Version:

Integrated application and version *(e.g., Rails, Grape, etc)*:


#### Backtrace
*(e.g., provide any applicable backtraces from your application)*



#### Additonal helpful information
*(e.g., Gemfile.lock, configurations, PR containing a failing test, git bisect results)*


15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#### Purpose


#### Changes


#### Caveats


#### Related GitHub issues


#### Additional helpful information


16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,32 @@
.config
.yardoc
Gemfile.lock
Gemfile.local
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
Vagrantfile
.vagrant
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
*.swp
.ruby-version
.ruby-gemset
vendor/bundle
tags

# silly macs
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
26 changes: 5 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,9 @@ language: ruby

sudo: false

rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- jruby-19mode
- rbx-2
- ruby-head
cache:
directories:
- vendor/bundle

install:
- bundle install --retry=3

env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=master"

matrix:
allow_failures:
- rvm: ruby-head
- env: "RAILS_VERSION=master"
- env: "RAILS_VERSION=3.2"
script:
- true
92 changes: 92 additions & 0 deletions CHANGELOG-0-08.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
## 0.08.x

### v0.8.3 (2014/12/10 14:45 +00:00)
- [#753](https://github.com/rails-api/active_model_serializers/pull/753) Test against Ruby 2.2 on Travis CI (@tricknotes)
- [#745](https://github.com/rails-api/active_model_serializers/pull/745) Missing a word (@jockee)

### v0.8.2 (2014/09/01 21:00 +00:00)
- [#612](https://github.com/rails-api/active_model_serializers/pull/612) Feature/adapter (@bolshakov)
* adds adapters pattern
- [#615](https://github.com/rails-api/active_model_serializers/pull/615) Rails does not support const_defined? in development mode (@tpitale)
- [#613](https://github.com/rails-api/active_model_serializers/pull/613) README: typo fix on attributes (@spk)
- [#614](https://github.com/rails-api/active_model_serializers/pull/614) Fix rails 4.0.x build. (@arthurnn)
- [#610](https://github.com/rails-api/active_model_serializers/pull/610) ArraySerializer (@bolshakov)
- [#607](https://github.com/rails-api/active_model_serializers/pull/607) ruby syntax highlights (@zigomir)
- [#602](https://github.com/rails-api/active_model_serializers/pull/602) Add DSL for associations (@JordanFaust)

### 0.8.1 (May 6, 2013)

* Fix bug whereby a serializer using 'options' would blow up.

### 0.8.0 (May 5, 2013)

* Attributes can now have optional types.

* A new DefaultSerializer ensures that POROs behave the same way as ActiveModels.

* If you wish to override ActiveRecord::Base#to_Json, you can now require
'active_record/serializer_override'. We don't recommend you do this, but
many users do, so we've left it optional.

* Fixed a bug where ActionController wouldn't always have MimeResponds.

* An optinal caching feature allows you to cache JSON & hashes that AMS uses.
Adding 'cached true' to your Serializers will turn on this cache.

* URL helpers used inside of Engines now work properly.

* Serializers now can filter attributes with `only` and `except`:

```
UserSerializer.new(user, only: [:first_name, :last_name])
UserSerializer.new(user, except: :first_name)
```

* Basic Mongoid support. We now include our mixins in the right place.

* On Ruby 1.8, we now generate an `id` method that properly serializes `id`
columns. See issue #127 for more.

* Add an alias for `scope` method to be the name of the context. By default
this is `current_user`. The name is automatically set when using
`serialization_scope` in the controller.

* Pass through serialization options (such as `:include`) when a model
has no serializer defined.

## [0.7.0 (March 6, 2013)](https://github.com/rails-api/active_model_serializers/commit/fabdc621ff97fbeca317f6301973dd4564b9e695)

* ```embed_key``` option to allow embedding by attributes other than IDs
* Fix rendering nil with custom serializer
* Fix global ```self.root = false```
* Add support for specifying the serializer for an association as a String
* Able to specify keys on the attributes method
* Serializer Reloading via ActiveSupport::DescendantsTracker
* Reduce double map to once; Fixes datamapper eager loading.

## 0.6.0 (October 22, 2012)

* Serialize sets properly
* Add root option to ArraySerializer
* Support polymorphic associations
* Support :each_serializer in ArraySerializer
* Add `scope` method to easily access the scope in the serializer
* Fix regression with Rails 3.2.6; add Rails 4 support
* Allow serialization_scope to be disabled with serialization_scope nil
* Array serializer should support pure ruby objects besides serializers

## 0.05.x

### [0.5.2 (June 5, 2012)](https://github.com/rails-api/active_model_serializers/commit/615afd125c260432d456dc8be845867cf87ea118#diff-0c5c12f311d3b54734fff06069efd2ac)

### [0.5.1 (May 23, 2012)](https://github.com/rails-api/active_model_serializers/commit/00194ec0e41831802fcbf893a34c0bb0853ebe14#diff-0c5c12f311d3b54734fff06069efd2ac)

### [0.5.0 (May 16, 2012)](https://github.com/rails-api/active_model_serializers/commit/33d4842dcd35c7167b0b33fc0abcf00fb2c92286)

* First tagged version
* Changes generators to always generate an ApplicationSerializer

## [0.1.0 (December 21, 2011)](https://github.com/rails-api/active_model_serializers/commit/1e0c9ef93b96c640381575dcd30be07ac946818b)

## First Commit as [Rails Serializers 0.0.1](https://github.com/rails-api/active_model_serializers/commit/d72b66d4c5355b0ff0a75a04895fcc4ea5b0c65e)
(December 1, 2011).
74 changes: 74 additions & 0 deletions CHANGELOG-0-09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
## 0.09.x

### v0.9.3 (2015/01/21 20:29 +00:00)

Features:
- [#774](https://github.com/rails-api/active_model_serializers/pull/774) Fix nested include attributes (@nhocki)
- [#771](https://github.com/rails-api/active_model_serializers/pull/771) Make linked resource type names consistent with root names (@sweatypitts)
- [#696](https://github.com/rails-api/active_model_serializers/pull/696) Explicitly set serializer for associations (@ggordon)
- [#700](https://github.com/rails-api/active_model_serializers/pull/700) sparse fieldsets (@arenoir)
- [#768](https://github.com/rails-api/active_model_serializers/pull/768) Adds support for `meta` and `meta_key` attribute (@kurko)

### v0.9.1 (2014/12/04 11:54 +00:00)
- [#707](https://github.com/rails-api/active_model_serializers/pull/707) A Friendly Note on Which AMS Version to Use (@jherdman)
- [#730](https://github.com/rails-api/active_model_serializers/pull/730) Fixes nested has_many links in JSONAPI (@kurko)
- [#718](https://github.com/rails-api/active_model_serializers/pull/718) Allow overriding the adapter with render option (@ggordon)
- [#720](https://github.com/rails-api/active_model_serializers/pull/720) Rename attribute with :key (0.8.x compatibility) (@ggordon)
- [#728](https://github.com/rails-api/active_model_serializers/pull/728) Use type as key for linked resources (@kurko)
- [#729](https://github.com/rails-api/active_model_serializers/pull/729) Use the new beta build env on Travis (@joshk)
- [#703](https://github.com/rails-api/active_model_serializers/pull/703) Support serializer and each_serializer options in renderer (@ggordon, @mieko)
- [#727](https://github.com/rails-api/active_model_serializers/pull/727) Includes links inside of linked resources (@kurko)
- [#726](https://github.com/rails-api/active_model_serializers/pull/726) Bugfix: include nested has_many associations (@kurko)
- [#722](https://github.com/rails-api/active_model_serializers/pull/722) Fix infinite recursion (@ggordon)
- [#1](https://github.com/rails-api/active_model_serializers/pull/1) Allow for the implicit use of ArraySerializer when :each_serializer is specified (@mieko)
- [#692](https://github.com/rails-api/active_model_serializers/pull/692) Include 'linked' member for json-api collections (@ggordon)
- [#714](https://github.com/rails-api/active_model_serializers/pull/714) Define as_json instead of to_json (@guilleiguaran)
- [#710](https://github.com/rails-api/active_model_serializers/pull/710) JSON-API: Don't include linked section if associations are empty (@guilleiguaran)
- [#711](https://github.com/rails-api/active_model_serializers/pull/711) Fixes rbx gems bundling on TravisCI (@kurko)
- [#709](https://github.com/rails-api/active_model_serializers/pull/709) Add type key when association name is different than object type (@guilleiguaran)
- [#708](https://github.com/rails-api/active_model_serializers/pull/708) Handle correctly null associations (@guilleiguaran)
- [#691](https://github.com/rails-api/active_model_serializers/pull/691) Fix embed option for associations (@jacob-s-son)
- [#689](https://github.com/rails-api/active_model_serializers/pull/689) Fix support for custom root in JSON-API adapter (@guilleiguaran)
- [#685](https://github.com/rails-api/active_model_serializers/pull/685) Serialize ids as strings in JSON-API adapter (@guilleiguaran)
- [#684](https://github.com/rails-api/active_model_serializers/pull/684) Refactor adapters to implement support for array serialization (@guilleiguaran)
- [#682](https://github.com/rails-api/active_model_serializers/pull/682) Include root by default in JSON-API serializers (@guilleiguaran)
- [#625](https://github.com/rails-api/active_model_serializers/pull/625) Add DSL for urls (@JordanFaust)
- [#677](https://github.com/rails-api/active_model_serializers/pull/677) Add support for embed: :ids option for in associations (@guilleiguaran)
- [#681](https://github.com/rails-api/active_model_serializers/pull/681) Check superclasses for Serializers (@quainjn)
- [#680](https://github.com/rails-api/active_model_serializers/pull/680) Add support for root keys (@NullVoxPopuli)
- [#675](https://github.com/rails-api/active_model_serializers/pull/675) Support Rails 4.2.0 (@tricknotes)
- [#667](https://github.com/rails-api/active_model_serializers/pull/667) Require only activemodel instead of full rails (@guilleiguaran)
- [#653](https://github.com/rails-api/active_model_serializers/pull/653) Add "_test" suffix to JsonApi::HasManyTest filename. (@alexgenco)
- [#631](https://github.com/rails-api/active_model_serializers/pull/631) Update build badge URL (@craiglittle)

### 0.9.0.alpha1 - January 7, 2014

### 0.9.0.pre

* The following methods were removed
- Model#active\_model\_serializer
- Serializer#include!
- Serializer#include?
- Serializer#attr\_disabled=
- Serializer#cache
- Serializer#perform\_caching
- Serializer#schema (needs more discussion)
- Serializer#attribute
- Serializer#include\_#{name}? (filter method added)
- Serializer#attributes (took a hash)

* The following things were added
- Serializer#filter method
- CONFIG object

* Remove support for ruby 1.8 versions.

* Require rails >= 3.2.

* Serializers for associations are being looked up in a parent serializer's namespace first. Same with controllers' namespaces.

* Added a "prefix" option in case you want to use a different version of serializer.

* Serializers default namespace can be set in `default_serializer_options` and inherited by associations.

* [Beginning of rewrite: c65d387705ec534db171712671ba7fcda4f49f68](https://github.com/rails-api/active_model_serializers/commit/c65d387705ec534db171712671ba7fcda4f49f68)
Loading