Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update active-model serializer fork #4

Open
wants to merge 1,357 commits into
base: master
Choose a base branch
from
Open
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 20, 2016

  1. Configuration menu
    Copy the full SHA
    8a2beac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85f417f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa416b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce168f9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    af959b0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    26aa062 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2016

  1. Configuration menu
    Copy the full SHA
    800221e View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2016

  1. Ensuring read_multi works with fragment cache. (#1814)

    * Ensuring read_multi works with fragment cache.
    zaaroth authored and bf4 committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    bcf3358 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d48a2f View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2016

  1. Add docs for the fields option

    luizkowalski authored and Yohan Robert committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    d27b21a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2016

  1. Add note about will_paginate previous_page method (#1801)

    * Add note about will_paginate previous_page method
    
    Pagination_dict method in JSON adapter section refers only to kaminari prev_page. Newer version of will_paginate uses previous_page method.
    
    * move annotation for will_paginate's previous_page method to inline comment in example methods definition
    cesc1989 authored and bf4 committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    e8f0dc7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1815 from dubadub/making-rubocop-happy

    Fix code-styling issues from .rubocop_todo.yml
    
    * re: RuboCop: Bulk minor style corrections
    
    * re: RuboCop - hash indention corrections
    
    * re: RuboCop - replace rocket style hashes
    
    * re: RuboCop - get rid of redundant curly braces around a hash parameter
    
    * re: RuboCop - Align the elements of a hash literal if they span more than one line.
    
    * re: RuboCop - Use nested module/class definition instead of compact style.
    
    * re: RuboCop - Suppress of handling LoadError for optional dependencies
    
    * re: RuboCop - use include_ prefix instead of has_
    
    * re: RuboCop - Disable Style/PredicateName rule for public API methods
    
    * re: RuboCop - Remove empty .rubocop_todo.yml
    
    * re: RuboCop - replace rocket style hashes
    bf4 authored Jun 27, 2016
    Configuration menu
    Copy the full SHA
    f4e00dc View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1802 from kyleshevlin/update_integrations_ember_a…

    …nd_json_api
    
    update integration documentation for ember and JSONAPI to include…
    bf4 authored Jun 27, 2016
    Configuration menu
    Copy the full SHA
    c029c00 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2016

  1. Add doc for setting conditional serialization_scope

    Yogesh Khater committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    156dc23 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2016

  1. Merge pull request #1824 from yogeshjain999/conditional_serialization…

    …_scope_doc
    
    Add doc for setting conditional serialization_scope [ci skip]
    bf4 authored Jul 5, 2016
    Configuration menu
    Copy the full SHA
    61059e9 View commit details
    Browse the repository at this point in the history
  2. Bump to 0.10.2

    bf4 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    d8f3fa4 View commit details
    Browse the repository at this point in the history
  3. Add Rails 5.0 to test matrix

    bf4 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    b41df13 View commit details
    Browse the repository at this point in the history
  4. Rails 5.0 CI

    bf4 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    cf3cfaa View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2016

  1. Merge pull request #1830 from bf4/rails_5

    Rails 5.0 CI
    bf4 authored Jul 6, 2016
    Configuration menu
    Copy the full SHA
    993cc50 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2016

  1. Fix typo in changelog

    greysteil committed Jul 8, 2016
    Configuration menu
    Copy the full SHA
    f193895 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1835 from greysteil/update-changelog

    Fix typo in changelog [ci skip]
    bf4 authored Jul 8, 2016
    Configuration menu
    Copy the full SHA
    91b37ce View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2016

  1. Remove nil relationships links (#1833)

    Yohan Robert authored Jul 12, 2016
    Configuration menu
    Copy the full SHA
    9a206a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2016

  1. Configuration menu
    Copy the full SHA
    3ecc3ed View commit details
    Browse the repository at this point in the history
  2. PR comments

    - Add list of breaking changes
    - Add `true` param to `responds_to?` calls in overriden `try`
    bkoltai committed Jul 13, 2016
    Configuration menu
    Copy the full SHA
    e966d07 View commit details
    Browse the repository at this point in the history
  3. Fix small typo

    bkoltai committed Jul 13, 2016
    Configuration menu
    Copy the full SHA
    5e72ec4 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2016

  1. Bugfix/redefine associations on inherited serializers (#1848)

    * replace reflection collection type with hash to prevent duplicated associations in some cases
    
    * include tests
    
    * Fix robucup offenses
    
    * Improve test
    
    * Remove usless requirement
    
    * improve tests
    
    * remove custom_options option from Post and InheritedPost serializer
    
    * Improve tests
    
    * update changelog
    
    * update changelog
    dariush-y authored and NullVoxPopuli committed Jul 17, 2016
    Configuration menu
    Copy the full SHA
    3ad2457 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2016

  1. remove dynamic class creation where not needed (#1850)

    * remove dynamic class creation where not needed
    NullVoxPopuli authored and bf4 committed Jul 18, 2016
    Configuration menu
    Copy the full SHA
    aa4d89a View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2016

  1. Modified some code and removed unnecessary code from the ember and js…

    …on api doc (#1852)
    
    * modified some code and removed unnecessary code from the ember abd json api doc
    
    * using es6 imports
    ghoshnirmalya authored and NullVoxPopuli committed Jul 20, 2016
    Configuration menu
    Copy the full SHA
    37a1772 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2016

  1. Configuration menu
    Copy the full SHA
    d9ba5cd View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2016

  1. Fix typo (#1855)

    bluehallu authored and NullVoxPopuli committed Jul 24, 2016
    Configuration menu
    Copy the full SHA
    4ff33a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2016

  1. Specify how to get the instance of the serializer (#1861)

    [DOC] `SerializableResource#serializer` vs. `SerializableResource#serializer_instance` [ci skip]
    Tonkpils authored and bf4 committed Jul 27, 2016
    Configuration menu
    Copy the full SHA
    6567989 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2016

  1. Configuration menu
    Copy the full SHA
    be8f136 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1872 from aldreth/update-cache-documentation

    Add warning in caching documentation [ci skip]
    
    Closes #1587
    bf4 authored Aug 4, 2016
    Configuration menu
    Copy the full SHA
    e8343a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2016

  1. Merge pull request #1844 from bkoltai/bk_upgrade_0_8_to_0_10_doc

    Add documentation on upgrading from `0.8` to `0.10` safely
    bf4 authored Aug 9, 2016
    Configuration menu
    Copy the full SHA
    9217bc2 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2016

  1. Namespace separator setting for json-api and tests (#1874)

    Adds jsonapi_namespace_separator configuration
    
    Also:
    
    * Enable getting type from record class without serializer
    
    Needs Followup:
    
    - #1874 (comment) 
    - #1874 (comment)
    NullVoxPopuli authored and bf4 committed Aug 12, 2016
    Configuration menu
    Copy the full SHA
    6de3f31 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2016

  1. Use ActiveSupport::Cache.expand_cache_key for cache key expansions (#…

    …1878)
    
    * Use ActiveSupport::Cache.expand_cache_key for cache key expansions
    markiz authored and bf4 committed Aug 13, 2016
    Configuration menu
    Copy the full SHA
    5f3bdcc View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2016

  1. Configuration menu
    Copy the full SHA
    1896e5a View commit details
    Browse the repository at this point in the history
  2. Correct typos

    bf4 committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    d66e272 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2016

  1. Simplify Relationship

    bf4 committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    abb15b9 View commit details
    Browse the repository at this point in the history
  2. Add tests for fields option demonstrating usage on both attributes an…

    …d relationships (#1839)
    
    * add test for fields whitelisting relationships, and use the JSON API Include Directive to do the heavy lifting
    NullVoxPopuli authored and bf4 committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    a319fef View commit details
    Browse the repository at this point in the history
  3. Merge branch 'xn-patch-1'

    bf4 committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    a0dd5e5 View commit details
    Browse the repository at this point in the history
  4. Clean up docs

    bf4 committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    26bcdbe View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1884 from bf4/simplify_relationship

    * Simplify Relationship
    bf4 authored Aug 17, 2016
    Configuration menu
    Copy the full SHA
    455068d View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2016

  1. Configuration menu
    Copy the full SHA
    7178b9d View commit details
    Browse the repository at this point in the history
  2. Fix broken link on README to docs for v0.10.x

    Joseph Magen committed Aug 18, 2016
    Configuration menu
    Copy the full SHA
    d4b1e4e View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2016

  1. Merge pull request #1886 from isratrade/fix-readme-docs-link

    Fix broken link on README to docs for v0.10.x
    bf4 authored Aug 21, 2016
    Configuration menu
    Copy the full SHA
    49ee823 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2016

  1. Configuration menu
    Copy the full SHA
    714c620 View commit details
    Browse the repository at this point in the history
  2. Correct comment

    johnnymo87 committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    f96d97d View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. Configuration menu
    Copy the full SHA
    77a4a27 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2016

  1. Support key transformation for Attributes adapter (#1889)

    The `:attributes` adapter is the default one, but it did not support
    key transformation. This was very surprising behavior, since the
    "Configuration Options" page in the guides didn't mention that this
    behavior was not supported by the attributes adapter.
    
    This commit adds key transform support to the attributes adapter, and
    adds documentation about the default transform for the attributes
    adapter (which is `:unaltered`).
    
    This commit also handles arrays when transforming keys, which was needed
    in the case where you're serializing a collection with the Attributes
    adapter. With the JSON adapter, it was always guaranteed to pass a hash
    to the KeyTransform functions because of the top-level key. Since there
    is no top-level key for the Attributes adapter, the return value could
    be an array.
    iancanderson authored and NullVoxPopuli committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    2423ca4 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2016

  1. Configuration menu
    Copy the full SHA
    7c4ce7b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1887 from johnnymo87/correct-comment

    Correct comment
    bf4 authored Aug 31, 2016
    Configuration menu
    Copy the full SHA
    0102434 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1888 from Patsy-issa/patch-1

    Updated ember integration guide to use the proper renderer
    bf4 authored Aug 31, 2016
    Configuration menu
    Copy the full SHA
    ab85ce2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d2997b View commit details
    Browse the repository at this point in the history
  5. Refactor Association into Field like everything else (#1897)

    * Make assocations asserts easier to understand
    
    * Refactor Association into Field like everything else
    
    * Make assocation serializer/links/meta lazier
    
    * Push association deeper into relationship
    
    * Simplify association usage in relationships
    
    * Better naming of reflection parent serializer
    
    * Easier to read association method
    bf4 authored and NullVoxPopuli committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    20e394d View commit details
    Browse the repository at this point in the history
  6. Add semver section to readme

    jgrau committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    4501540 View commit details
    Browse the repository at this point in the history
  7. add a code of conduct

    add contact information to the code of conduct
    
    update change log
    CorainChicago authored and jgrau committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    90805f3 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1901 from jgrau/code-of-conduct

    Add code of conduct [ci skip]
    bf4 authored Aug 31, 2016
    Configuration menu
    Copy the full SHA
    9108622 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #1900 from jgrau/add-semver-section-to-readme

    Add semver section to readme [ci skip]
    bf4 authored Aug 31, 2016
    Configuration menu
    Copy the full SHA
    9aaaa73 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #1799 from ScottKbka/patch-1

    Update rendering.md
    bf4 authored Aug 31, 2016
    Configuration menu
    Copy the full SHA
    d34069b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2016

  1. Fix intermittent test failures by not mutating global state

    e.g.
    
    https://ci.appveyor.com/project/bf4/active-model-serializers/build/415/job/qs8895cvla8fl0rf
     1) Failure:
     ActiveModel::Serializer::Adapter::JsonApi::RelationshipTest#test_relationship_including_data_explicit
     [C:/projects/active-model-serializers/test/adapter/json_api/relationships_test.rb:186]:
     --- expected
     +++ actual
     @@ -1 +1 @@
     -{:data=>{:id=>"1337", :type=>"authors"}, :meta=>{:name=>"Dan Brown"}}
     +{:data=>{:id=>"1337", :type=>"authors"
    
    https://travis-ci.org/rails-api/active_model_serializers/jobs/156678147
      1) Failure:
      ActiveModel::Serializer::Adapter::JsonApi::RelationshipTest#test_relationship_with_everything
      [/home/travis/build/rails-api/active_model_serializers/test/adapter/json_api/relationships_test.rb:200]:
      --- expected
      +++ actual
      @@ -1 +1 @@
      -{:data=>[{:id=>"1337", :type=>"likes"}],
      :links=>{:related=>{:href=>"//example.com/likes/1337",
      :meta=>{:ids=>"1337"}}}, :meta=>{:liked=>true}}
      +{:data=>[{:id=>"1337", :type=>"likes"}],
      :links=>{:related=>{:href=>"//example.com/likes/1337",
      :meta=>{:ids=>"1337"}}}}
    bf4 committed Sep 1, 2016
    Configuration menu
    Copy the full SHA
    1d4cd6f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1902 from bf4/fix_intermittent_relationship_test_…

    …failures
    
    Fix intermittent test failures by not mutating global state
    bf4 authored Sep 1, 2016
    Configuration menu
    Copy the full SHA
    1dc2b74 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2016

  1. Add helpful testing gems

    Addresses #1911 (comment)
    Lee Richmond committed Sep 5, 2016
    Configuration menu
    Copy the full SHA
    07dab5a View commit details
    Browse the repository at this point in the history
  2. Ensure generator picks up ApplicationSerializer

    ApplicationSerializer could exist, but not be loaded. So, we check
    existence by looking at the filesystem instead of defined?.
    
    Fixes #1890
    Lee Richmond committed Sep 5, 2016
    Configuration menu
    Copy the full SHA
    3f16b75 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2016

  1. Fix typo (#1916)

    amiedes authored and NullVoxPopuli committed Sep 6, 2016
    Configuration menu
    Copy the full SHA
    0500604 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1913 from richmolj/test_gems

    Add helpful testing gems
    bf4 authored Sep 6, 2016
    Configuration menu
    Copy the full SHA
    f786558 View commit details
    Browse the repository at this point in the history
  3. Disable pagination links via config

    Lee Richmond committed Sep 6, 2016
    Configuration menu
    Copy the full SHA
    19b5abf View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1917 from richmolj/disable_pagination_links

    Disable pagination links via config
    richmolj authored Sep 6, 2016
    Configuration menu
    Copy the full SHA
    2ea8bb7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1912 from richmolj/generator

    Ensure generator picks up ApplicationSerializer
    richmolj authored Sep 6, 2016
    Configuration menu
    Copy the full SHA
    11bd778 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2016

  1. Add docs for links (#1909)

    Add docs for links
    
    Add docs for links
    
    Add docs for links
    
    Add docs for links
    
    Add docs for links
    
    Add controller info
    
    Grammar fixing
    
    Improve docs
    
    some small wording changes
    
    Add pr to changelog
    vasilakisfil authored and NullVoxPopuli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    50f2754 View commit details
    Browse the repository at this point in the history
  2. Add info on setting polymorphic serializers (#1906)

    While this same document provides details on how to override the
    serializer_for, not all users will realize this could be used to set the
    sterilizers for polymorphic relationships.  This change just adds a link
    to that documentation and makes that point obvious.
    Rio517 authored and NullVoxPopuli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    1899437 View commit details
    Browse the repository at this point in the history
  3. Update ember-and-json-api.md (#1894)

    * Update ember-and-json-api.md
    
    Removed ember-data adapter change to support include directives, as it's now built-in.  Updated the documentation for how to add include directives to ember store queries, and added documentation covering how to tell Rails that we are consuming and generating jsonapi data
    
    * Fix up format for parameter restrictions
    
    * Update ember-and-json-api.md
    
    Updates to address comments; explain why Rails should know what format we are consuming/generating, reword introduction to include: examples, and fix render statement to specify jsonapi instead of json.
    Ikariusrb authored and NullVoxPopuli committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    58ebf96 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2016

  1. Make railties an optional dependency

    Guilherme committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    586ad64 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2016

  1. Add chengelog entry about the issue

    Guilherme committed Sep 13, 2016
    Configuration menu
    Copy the full SHA
    e8f055a View commit details
    Browse the repository at this point in the history
  2. add bm_adapter (#1914)

    NullVoxPopuli authored Sep 13, 2016
    Configuration menu
    Copy the full SHA
    810efb8 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2016

  1. Merge pull request #1922 from ggpasqualino/master

    Make railties an optional dependency
    richmolj authored Sep 14, 2016
    Configuration menu
    Copy the full SHA
    a032201 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2016

  1. Ensure valid jsonapi when blank relationship (#1930)

    If you specify include_data false, and do not have any links for this
    relationship, we would output something like:
    
    `{ relationships: { comments: {} } }`
    
    This is not valid jsonapi. We will now render
    
    `{ relationships: { comments: { meta: {} } } }`
    
    Instead.
    
    Relevant jsonapi spec: http://jsonapi.org/format/#document-resource-object-relationships
    richmolj authored and NullVoxPopuli committed Sep 19, 2016
    Configuration menu
    Copy the full SHA
    a77dfda View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2016

  1. Update upgrade_from_0_8_to_0_10.md (#1933)

    Update upgrade_from_0_8_to_0_10.md
    
    Changes the upgrade guide to highlight the change in the way relationships are walked.
    brendon authored and richmolj committed Sep 20, 2016
    Configuration menu
    Copy the full SHA
    0606b06 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2016

  1. added active record benchmark (#1919)

    * added active record benchmark
    
    * address bf4's feedbock
    
    * fix spacing
    NullVoxPopuli authored and richmolj committed Sep 24, 2016
    Configuration menu
    Copy the full SHA
    6ed499f View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2016

  1. Add include_data :if_sideloaded (#1931)

    For JSONAPI, `include_data` currently means, "should we populate the
    'data'" key for this relationship. Current options are true/false.
    
    This adds the `:if_sideloaded` option. This means "only
    populate the 'data' key when we are sideloading this relationship." This
    is because 'data' is often only relevant to sideloading, and causes a
    database hit.
    
    Addresses #1555
    richmolj authored and NullVoxPopuli committed Sep 25, 2016
    Configuration menu
    Copy the full SHA
    2145540 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2016

  1. Improve readability of relationships test (#1904)

    * Really fix intermittent relationship test failures
    
    * Unify the two JSON API relationship test files
    
    I accidentally introduced the duplication when
    merging
    #1543 (comment)
    and they've evolved separately since then.
    
    They both have some value and need to be combined.
    
    * Resolve duplicate tests from diverged tests files
    
    * No longer test Association/Relationship interface directly
    bf4 authored and NullVoxPopuli committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    c69855b View commit details
    Browse the repository at this point in the history
  2. Replace fail/rescue CollectionSerializer::NoSerializerError with thro…

    …w/catch :no_serializer (#1767)
    bf4 authored and NullVoxPopuli committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    6c6e45b View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2016

  1. Pin jsonapi version. (#1955)

    beauby authored and NullVoxPopuli committed Oct 25, 2016
    Configuration menu
    Copy the full SHA
    cb20b95 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2016

  1. Add documentation for root (#1959)

    shunsuke227ono authored and Yohan Robert committed Nov 1, 2016
    Configuration menu
    Copy the full SHA
    ce8dd36 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2016

  1. Improve type method documentation (#1967)

    yukideluxe authored and Yohan Robert committed Nov 4, 2016
    Configuration menu
    Copy the full SHA
    b709cd4 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2016

  1. This adds namespace lookup to serializer_for (#1968)

    * This adds namespace lookup to serializer_for
    
    * address rubocop issue
    
    * address @bf4's feedback
    
    * add docs
    
    * update docs, add more tests
    
    * apparently rails master doesn't have before filter
    
    * try to address serializer cache issue between tests
    
    * update cache for serializer lookup to include namespace in the key, and fix the tests for explicit namespace
    
    * update docs, and use better cache key creation method
    
    * update docs [ci skip]
    
    * update docs [ci skip]
    
    * add to changelog [ci skip]
    NullVoxPopuli authored Nov 9, 2016
    Configuration menu
    Copy the full SHA
    b29395b View commit details
    Browse the repository at this point in the history
  2. Trigger

    NullVoxPopuli committed Nov 9, 2016
    Configuration menu
    Copy the full SHA
    c9a96a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2016

  1. Fix namespace lookup for collections and has_many (#1973)

    Yohan Robert authored and NullVoxPopuli committed Nov 15, 2016
    Configuration menu
    Copy the full SHA
    d0de53c View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2016

  1. Make serializer lookup configurable (#1757)

    NullVoxPopuli authored and Yohan Robert committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    d31d741 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2016

  1. Update SerializableResource documentation (#1977)

    Mention that ActiveModelSerializers::SerializableResource.new can be used for
    single resource as well as for collections
    AlexVPopov authored and Yohan Robert committed Nov 17, 2016
    Configuration menu
    Copy the full SHA
    d39dd04 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2016

  1. Bump to 0.10.3

    bf4 committed Nov 21, 2016
    Configuration menu
    Copy the full SHA
    cd09e89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    772b799 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1982 from bf4/better_ams_model_interface

    Better AMS Model attributes interface
    bf4 authored Nov 21, 2016
    Configuration menu
    Copy the full SHA
    93bbc59 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2016

  1. Fix "result" typo

    mxie committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    4f72cc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3733efa View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1990 from mxie/mx-result-typo

    Fix typos and capitalization in Relationship Links docs [ci skip]
    bf4 authored Nov 29, 2016
    Configuration menu
    Copy the full SHA
    9b25680 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2016

  1. Configuration menu
    Copy the full SHA
    095ad9c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1992 from ojiry/bump_ruby_versions

    Run tests by Ruby 2.2.6 and 2.3.3
    NullVoxPopuli authored Dec 3, 2016
    Configuration menu
    Copy the full SHA
    e575156 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2016

  1. Configuration menu
    Copy the full SHA
    15a8f2c View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2016

  1. Make test attributes explicit

    - Organize test poros with associations and by serializer
    - Freeze derived attributes/associations against mutation
    - Cleanup PORO fixtures
    bf4 committed Dec 5, 2016
    Configuration menu
    Copy the full SHA
    80af763 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8ca912 View commit details
    Browse the repository at this point in the history
  3. Add CHANGELOG

    bf4 committed Dec 5, 2016
    Configuration menu
    Copy the full SHA
    3b84845 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2016

  1. Merge pull request #1984 from bf4/make_test_attributes_explicit

    Make test attributes explicit
    bf4 authored Dec 6, 2016
    Configuration menu
    Copy the full SHA
    847f50a View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2016

  1. Merge pull request #1994 from bf4/promote_architecture

    Promote important architecture description that answers a lot of questions we get
    bf4 authored Dec 7, 2016
    Configuration menu
    Copy the full SHA
    fca2d45 View commit details
    Browse the repository at this point in the history
  2. Swap out KeyTransform for CaseTransform (#1993)

    * delete KeyTransform, use CaseTransform
    
    * added changelog
    NullVoxPopuli authored Dec 7, 2016
    Configuration menu
    Copy the full SHA
    0422a1e View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2016

  1. Fix typos

    ```
    go get -u github.com/client9/misspell/cmd/misspell
    misspell  -w -q -error -source=text {app,config,lib,test}/**/*
    ```
    
    >   workers   = flag.Int("j", 0, "Number of workers, 0 = number of CPUs")
    >   writeit   = flag.Bool("w", false, "Overwrite file with corrections (default is just to display)")
    >   quietFlag = flag.Bool("q", false, "Do not emit misspelling output")
    >   outFlag   = flag.String("o", "stdout", "output file or [stderr|stdout|]")
    >   format    = flag.String("f", "", "'csv', 'sqlite3' or custom Golang template for output")
    >   ignores   = flag.String("i", "", "ignore the following corrections, comma separated")
    >   locale    = flag.String("locale", "", "Correct spellings using locale perferances for US or UK.  Default is to use a neutral variety of English.  Setting locale to US will correct the British spelling of 'colour' to 'color'")
    >   mode      = flag.String("source", "auto", "Source mode: auto=guess, go=golang source, text=plain or markdown-like text")
    >   debugFlag = flag.Bool("debug", false, "Debug matching, very slow")
    >   exitError = flag.Bool("error", false, "Exit with 2 if misspelling found")
    bf4 committed Dec 12, 2016
    Configuration menu
    Copy the full SHA
    05430fb View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2016

  1. Merge pull request #1999 from bf4/typos

    Fix typos [ci skip]
    bf4 authored Dec 13, 2016
    Configuration menu
    Copy the full SHA
    bbcadec View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2016

  1. Link to 0.10.3 tag instead of master branch

    It may be less confusing for new users if the docs link them to the current stable release. It could reduce issues like [this one](#1988)
    berfarah committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    0976bdc View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2016

  1. Merge pull request #2000 from berfarah/patch-1

    Link to 0.10.3 tag instead of `master` branch
    bf4 authored Dec 15, 2016
    Configuration menu
    Copy the full SHA
    95f832f View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2016

  1. Configuration menu
    Copy the full SHA
    9eacf9f View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2016

  1. Configuration menu
    Copy the full SHA
    c1fc0e4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2007 from bf4/check_ci

    Test was failing due to change in JSON exception message when parsing empty string
    bf4 authored Dec 23, 2016
    Configuration menu
    Copy the full SHA
    3f46846 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2005 from kofronpi/support-ruby-2.4

    Update jsonapi runtime dependency to 0.1.1.beta6
    bf4 authored Dec 23, 2016
    Configuration menu
    Copy the full SHA
    4e43013 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2016

  1. Updated isolated tests to assert correct behavior. (#2010)

    * Updated isolated tests to assert correct behavior.
    * Added check to get unsafe params if rails version is great than 5
    akshah123 authored and bf4 committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    f246741 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4394f76 View commit details
    Browse the repository at this point in the history
  3. Less strict exception matching

    bf4 committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    6cf84c1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2012 from bf4/cleanup_isolated_jsonapi_renderer_t…

    …ests_a_bit
    
    Cleanup assertions in isolated jsonapi renderer tests a bit
    bf4 authored Dec 25, 2016
    Configuration menu
    Copy the full SHA
    ec045a5 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2016

  1. [skip ci] Fix relationship link documentation

    Yohan Robert committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    91128fa View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2017

  1. Bump to v0.10.4

    Conflicts:
    	CHANGELOG.md
    bf4 committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    655c721 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2018 from rails-api/bump_version

    Bump to v0.10.4 [ci skip]
    bf4 authored Jan 6, 2017
    Configuration menu
    Copy the full SHA
    ef19a9e View commit details
    Browse the repository at this point in the history
  3. Fix method redefined warning

    bf4 committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    40489fa View commit details
    Browse the repository at this point in the history
  4. Fix thor warning to set type: :boolean, was setting { banner: "" }

    ```
    require "rails/generators/rails/model/model_generator"
    
    module Rails
      module Generators
        class ResourceGenerator < ModelGenerator # :nodoc:
          include ResourceHelpers
    
          hook_for :resource_controller, required: true do |controller|
            invoke controller, [ controller_name, options[:actions] ]
          end
    
          class_option :actions, type: :array, banner: "ACTION ACTION", default: [],
                                 desc: "Actions for the resource controller"
    
          hook_for :resource_route, required: true
        end
      end
    end
    ```
    
    ```
     # .bundle/ruby/2.2.0/bundler/gems/rails-4c5f1bc9d45e/railties/lib/rails/generators/base.rb
          # Invoke a generator based on the value supplied by the user to the
          # given option named "name". A class option is created when this method
          # is invoked and you can set a hash to customize it.
          #
          # ==== Examples
          #
          #   module Rails::Generators
          #     class ControllerGenerator < Base
          #       hook_for :test_framework, aliases: "-t"
          #     end
          #   end
          #
          # The example above will create a test framework option and will invoke
          # a generator based on the user supplied value.
          #
          # For example, if the user invoke the controller generator as:
          #
          #   rails generate controller Account --test-framework=test_unit
          #
          # The controller generator will then try to invoke the following generators:
          #
          #   "rails:test_unit", "test_unit:controller", "test_unit"
          #
          # Notice that "rails:generators:test_unit" could be loaded as well, what
          # Rails looks for is the first and last parts of the namespace. This is what
          # allows any test framework to hook into Rails as long as it provides any
          # of the hooks above.
          #
          # ==== Options
          #
          # The first and last part used to find the generator to be invoked are
          # guessed based on class invokes hook_for, as noticed in the example above.
          # This can be customized with two options: :in and :as.
          #
          # Let's suppose you are creating a generator that needs to invoke the
          # controller generator from test unit. Your first attempt is:
          #
          #   class AwesomeGenerator < Rails::Generators::Base
          #     hook_for :test_framework
          #   end
          #
          # The lookup in this case for test_unit as input is:
          #
          #   "test_unit:awesome", "test_unit"
          #
          # Which is not the desired lookup. You can change it by providing the
          # :as option:
          #
          #   class AwesomeGenerator < Rails::Generators::Base
          #     hook_for :test_framework, as: :controller
          #   end
          #
          # And now it will look up at:
          #
          #   "test_unit:controller", "test_unit"
          #
          # Similarly, if you want it to also look up in the rails namespace, you
          # just need to provide the :in value:
          #
          #   class AwesomeGenerator < Rails::Generators::Base
          #     hook_for :test_framework, in: :rails, as: :controller
          #   end
          #
          # And the lookup is exactly the same as previously:
          #
          #   "rails:test_unit", "test_unit:controller", "test_unit"
          #
          # ==== Switches
          #
          # All hooks come with switches for user interface. If you do not want
          # to use any test framework, you can do:
          #
          #   rails generate controller Account --skip-test-framework
          #
          # Or similarly:
          #
          #   rails generate controller Account --no-test-framework
          #
          # ==== Boolean hooks
          #
          # In some cases, you may want to provide a boolean hook. For example, webrat
          # developers might want to have webrat available on controller generator.
          # This can be achieved as:
          #
          #   Rails::Generators::ControllerGenerator.hook_for :webrat, type: :boolean
          #
          # Then, if you want webrat to be invoked, just supply:
          #
          #   rails generate controller Account --webrat
          #
          # The hooks lookup is similar as above:
          #
          #   "rails:generators:webrat", "webrat:generators:controller", "webrat"
          #
          # ==== Custom invocations
          #
          # You can also supply a block to hook_for to customize how the hook is
          # going to be invoked. The block receives two arguments, an instance
          # of the current class and the class to be invoked.
          #
          # For example, in the resource generator, the controller should be invoked
          # with a pluralized class name. But by default it is invoked with the same
          # name as the resource generator, which is singular. To change this, we
          # can give a block to customize how the controller can be invoked.
          #
          #   hook_for :resource_controller do |instance, controller|
          #     instance.invoke controller, [ instance.name.pluralize ]
          #   end
          #
          def self.hook_for(*names, &block)
            options = names.extract_options!
            in_base = options.delete(:in) || base_name
            as_hook = options.delete(:as) || generator_name
    
            names.each do |name|
              unless class_options.key?(name)
                defaults = if options[:type] == :boolean
                  {}
                elsif [true, false].include?(default_value_for_option(name, options))
                  { banner: "" }
                else
                  { desc: "#{name.to_s.humanize} to be invoked", banner: "NAME" }
                end
    
                class_option(name, defaults.merge!(options))
              end
    
              hooks[name] = [ in_base, as_hook ]
              invoke_from_option(name, options, &block)
            end
          end
    ```
    
    ```
      # .bundle/ruby/2.2.0/gems/thor-0.19.4/lib/thor/parser/option.rb:113:in `validate!'
        #   parse :foo => true
        #   #=> Option foo with default value true and type boolean
        #
        # The valid types are :boolean, :numeric, :hash, :array and :string. If none
        # is given a default type is assumed. This default type accepts arguments as
        # string (--foo=value) or booleans (just --foo).
        #
        # By default all options are optional, unless :required is given.
        def validate_default_type!
          default_type = case @default
          when nil
            return
          when TrueClass, FalseClass
            required? ? :string : :boolean
          when Numeric
            :numeric
          when Symbol
            :string
          when Hash, Array, String
            @default.class.name.downcase.to_sym
          end
    
          # TODO: This should raise an ArgumentError in a future version of Thor
          if default_type != @type
            warn "Expected #{@type} default value for '#{switch_name}'; got #{@default.inspect} (#{default_type})"
          end
        end
    ```
    bf4 committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    ced317d View commit details
    Browse the repository at this point in the history
  5. Silence Grape warnings

    bf4 committed Jan 6, 2017
    Configuration menu
    Copy the full SHA
    b620c27 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2017

  1. Merge pull request #2019 from bf4/fix_method_redefined_warning

    Fix AMS warnings
    bf4 authored Jan 7, 2017
    Configuration menu
    Copy the full SHA
    7efb362 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2020 from bf4/silence_grape_warnings

    Silence Grape warnings
    bf4 authored Jan 7, 2017
    Configuration menu
    Copy the full SHA
    98194cc View commit details
    Browse the repository at this point in the history
  3. Fix MT6 assert_nil warnings

    bf4 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    6acb405 View commit details
    Browse the repository at this point in the history
  4. Fix test bug found by assert_nil

    bf4 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    4dfbe27 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c52af54 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #2017 from bf4/remove_warnings

    Fix mt6 assert_nil warnings
    bf4 authored Jan 7, 2017
    Configuration menu
    Copy the full SHA
    3b155de View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2017

  1. Merge pull request #1981 from groyoh/link_doc

    Fix relationship links doc
    bf4 authored Jan 10, 2017
    Configuration menu
    Copy the full SHA
    2a6d373 View commit details
    Browse the repository at this point in the history
  2. Merge 0-10-stable into master (to fix breaking change). (#2023)

    * Merge pull request #1990 from mxie/mx-result-typo
    
    Fix typos and capitalization in Relationship Links docs [ci skip]
    
    * Merge pull request #1992 from ojiry/bump_ruby_versions
    
    Run tests by Ruby 2.2.6 and 2.3.3
    
    * Merge pull request #1994 from bf4/promote_architecture
    
    Promote important architecture description that answers a lot of questions we get
    Conflicts:
    	docs/ARCHITECTURE.md
    
    * Merge pull request #1999 from bf4/typos
    
    Fix typos [ci skip]
    
    * Merge pull request #2000 from berfarah/patch-1
    
    Link to 0.10.3 tag instead of `master` branch
    
    * Merge pull request #2007 from bf4/check_ci
    
    Test was failing due to change in JSON exception message when parsing empty string
    
    * Swap out KeyTransform for CaseTransform (#1993)
    
    * delete KeyTransform, use CaseTransform
    
    * added changelog
    
    Conflicts:
    	CHANGELOG.md
    
    * Merge pull request #2005 from kofronpi/support-ruby-2.4
    
    Update jsonapi runtime dependency to 0.1.1.beta6
    
    * Bump to v0.10.4
    
    * Merge pull request #2018 from rails-api/bump_version
    
    Bump to v0.10.4 [ci skip]
    Conflicts:
    	CHANGELOG.md
    
    * Merge pull request #2019 from bf4/fix_method_redefined_warning
    
    Fix AMS warnings
    
    * Merge pull request #2020 from bf4/silence_grape_warnings
    
    Silence Grape warnings
    
    * Merge pull request #2017 from bf4/remove_warnings
    
    Fix mt6 assert_nil warnings
    
    * Updated isolated tests to assert correct behavior. (#2010)
    
    * Updated isolated tests to assert correct behavior.
    * Added check to get unsafe params if rails version is great than 5
    
    * Merge pull request #2012 from bf4/cleanup_isolated_jsonapi_renderer_tests_a_bit
    
    Cleanup assertions in isolated jsonapi renderer tests a bit
    
    * Add Model#attributes helper; make test attributes explicit
    
    * Fix model attributes accessors
    
    * Fix typos
    
    * Randomize testing of compatibility layer against regressions
    
    * Test bugfix
    
    * Add CHANGELOG
    
    * Merge pull request #1981 from groyoh/link_doc
    
    Fix relationship links doc
    Conflicts:
    	CHANGELOG.md
    bf4 authored Jan 10, 2017
    Configuration menu
    Copy the full SHA
    93ca27f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2017

  1. Update logging.md

    msathieu authored Jan 17, 2017
    Configuration menu
    Copy the full SHA
    68f8ebe View commit details
    Browse the repository at this point in the history
  2. Update logging.md

    msathieu authored Jan 17, 2017
    Configuration menu
    Copy the full SHA
    3d44bfc View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2017

  1. Update logging.md

    msathieu authored Jan 22, 2017
    Configuration menu
    Copy the full SHA
    ab98c4a View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2017

  1. Update CHANGELOG.md

    msathieu authored Jan 23, 2017
    Configuration menu
    Copy the full SHA
    bd50ae9 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2017

  1. Fix typo

    biow0lf committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    d6b1b1c View commit details
    Browse the repository at this point in the history
  2. Replace object with collection.

    Replace resource with collection.
    biow0lf committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    3c6eb57 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    biow0lf committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    775ad66 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2017

  1. Fix JRuby build on CI, with a suggestion from Travis CI support (#2040)

    * Fix JRuby build on CI, with a suggestion from Travis CI support
    
    per
    hanami/helpers@13f30e2
    per https://twitter.com/jodosha/status/823522145745731586
    bf4 authored Jan 26, 2017
    Configuration menu
    Copy the full SHA
    9ccdb15 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2017

  1. Configuration menu
    Copy the full SHA
    28c1b5b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2039 from biow0lf/documentation-fixes

    Documentation fixes
    bf4 authored Jan 31, 2017
    Configuration menu
    Copy the full SHA
    ab824e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e47c16 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2035 from MSathieu/patch-1

    Update logging documentation
    bf4 authored Jan 31, 2017
    Configuration menu
    Copy the full SHA
    2d1c680 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2017

  1. Merge pull request #2037 from bf4/doc_derive_attributes_from_names_an…

    …d_fix_accessors
    
    Document Model declared attributes
    bf4 authored Feb 2, 2017
    Configuration menu
    Copy the full SHA
    58e3983 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2017

  1. Configuration menu
    Copy the full SHA
    7b9d71e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7c79b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2017

  1. Update outside_controller_use.md (#2047)

    * Update outside_controller_use.md
    
    Provide example for options parameter when serializing a resource.
    NickOttrando authored and bf4 committed Feb 8, 2017
    Configuration menu
    Copy the full SHA
    a9d533d View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. ActiveModel::Model handles the ActiveModel::Errors API

    As pointed out in
    #2049
    
    ActiveModel::Model already extends ActiveModel::Translation which
    implements human_attribute_name and lookup_ancestors
    bf4 committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    006956e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2054 from bf4/remove_unneeded_model_methods

    ActiveModel::Model handles the ActiveModel::Errors API
    bf4 authored Feb 16, 2017
    Configuration menu
    Copy the full SHA
    f1f8714 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2046 from leonelgalan/bug_filter_parameters

    Fixes bug in Test::Schema when using filter_parameters
    bf4 authored Feb 16, 2017
    Configuration menu
    Copy the full SHA
    81a9fbd View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2017

  1. jsonapi is deprecated, just use jsonapi-renderer

    From the author of jsonapi:
    
    > .. The jsonapi gem was previously just a bundle of jsonapi-serializer and jsonapi-renderer, and AMS is using only a helper class of jsonapi-renderer (namely JSONAPI::IncludeDirective). The AMS dependency was previously not properly pinned to a specific version, which I saw as a risk for many users, so I avoided updating this gem. Moreover, the name jsonapi being somewhat too generic for what this gem evolved into (namely jsonapi-rb, which bundles jsonapi-renderer and jsonapi-parser, along with serializers and deserializers, with tight integrations with various frameworks), I decided to stay away from it for fairness.
    > TL;DR: Yes, people should use jsonapi-parser and jsonapi-renderer directly (or give a try to jsonapi-rb, depending on their needs).
    
    We should also update jsonapi-renderer to the latest, currently 0.1.2, but I thought that should be a separate PR.
    jaredbeck committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    a081e4f View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2017

  1. Merge pull request #2055 from jaredbeck/patch-2

    jsonapi is deprecated, just use jsonapi-renderer
    bf4 authored Feb 20, 2017
    Configuration menu
    Copy the full SHA
    00fc1fe View commit details
    Browse the repository at this point in the history
  2. Update version constraint for jsonapi-renderer

    Currently (2017-02-20) the latest version is 0.1.2.
    
    Why not use a version constraint like '~> 0.1.1'? Because
    we know of no reason why 0.1.1.beta1 cannot still be used.
    That said, we have done no research looking for such a reason.
    jaredbeck committed Feb 20, 2017
    Configuration menu
    Copy the full SHA
    1005aa6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2057 from jaredbeck/jsonapi-renderer-0.1.2

    Update version constraint for jsonapi-renderer
    bf4 authored Feb 20, 2017
    Configuration menu
    Copy the full SHA
    6fbf59f View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2017

  1. Update serializers.md

    akiicat authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    19f8ada View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2065 from akiicat/master

    Update documentation serializers.md
    bf4 authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    ff27032 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. Remove typo from upgrade from 0.8 to 0.10 docs

    Typo ActiveMode::Serializer was changed to ActiveModel::Serializer
    Hitabis authored Mar 7, 2017
    Configuration menu
    Copy the full SHA
    d48aaef View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2069 from Hitabis/patch-1

    Remove typo from upgrade from 0.8 to 0.10 docs [ci skip]
    bf4 authored Mar 7, 2017
    Configuration menu
    Copy the full SHA
    0b96d35 View commit details
    Browse the repository at this point in the history
  3. Bump to v0.10.5

    bf4 committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    28b8e3d View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. Providing caveat in documentation (#2070)

    * Providing caveat in documentation
    
    I think it'd be helpful to mention that `jsonapi_parse!` will throw an InvalidDocument error.
    
    * Update ember-and-json-api.md
    allthesignals authored and NullVoxPopuli committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    24c0212 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2017

  1. Add rubocop binstub that rspects file patterns

    Best of both worlds!
    
    (Because you can't override the default rubocop includes)
    
    The binstub basically, lets me safely `rubocop test/foo_test.rb`
    instead of `bundle exec rubocop test/foo_test.rb`
    
    ```bash
      # ~/.profile
      # https://twitter.com/tpope/status/165631968996900865
      # tl;dr `mkdir .git/safe` to add `bin` to path, e.g. `bin/rails`
      PATH=".git/safe/../../bin:$PATH"
    ```
    bf4 committed Mar 12, 2017
    Configuration menu
    Copy the full SHA
    a36b25d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2072 from bf4/more_precise_rubocop

    Add rubocop binstub that respects file patterns
    bf4 authored Mar 12, 2017
    Configuration menu
    Copy the full SHA
    87e929a View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. Configuration menu
    Copy the full SHA
    9c26ffe View commit details
    Browse the repository at this point in the history
  2. Make behavior explicit

    bf4 committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    47e82e0 View commit details
    Browse the repository at this point in the history
  3. Correct info on using JSON adapter

    I think this needs to be changed (based on info above).
    lvela authored Mar 13, 2017
    Configuration menu
    Copy the full SHA
    c377b7e View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2077 from lvela/patch-1

    Correct docs on using `JSON` adapter [ci skip]
    bf4 authored Mar 13, 2017
    Configuration menu
    Copy the full SHA
    e325b32 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. Configuration menu
    Copy the full SHA
    36b4eac View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2073 from bf4/better_variables_in_serializer_lookup

    Better variables; allow looking serializer from class
    bf4 authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    a461389 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. Configuration menu
    Copy the full SHA
    2e71bc4 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2017

  1. Merge pull request #2074 from bf4/make_serializer_interface_more_obvious

    Make serializer interface more obvious
    bf4 authored Mar 19, 2017
    Configuration menu
    Copy the full SHA
    80e470d View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2017

  1. Fix example code in doc/general/getting_started.md

    The `belongs_to` method should take relation name, not a foreign_key property.
    tricknotes committed Mar 24, 2017
    Configuration menu
    Copy the full SHA
    cec6478 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2017

  1. Merge pull request #2085 from tricknotes/fix-doc

    Fix example code in `doc/general/getting_started.md`
    bf4 authored Mar 28, 2017
    Configuration menu
    Copy the full SHA
    d24a786 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f327b6b View commit details
    Browse the repository at this point in the history
  3. [0.10] add docs for include (#2081)

    * Add docs for `include` option in the adapter
    charlie-wasp authored and bf4 committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    1a5e66b View commit details
    Browse the repository at this point in the history
  4. Reword ActiveModelSerializer::Model docs for clarity

    Fixed some typos, and reworked a sentence to be clearer.
    mikekellyio authored Mar 28, 2017
    Configuration menu
    Copy the full SHA
    b2f5f32 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. Merge pull request #2090 from mikekellyio/patch-1

    Reword ActiveModelSerializer::Model docs for clarity
    bf4 authored Mar 29, 2017
    Configuration menu
    Copy the full SHA
    04125a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2017

  1. Configuration menu
    Copy the full SHA
    729882c View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2017

  1. Configuration menu
    Copy the full SHA
    c6291b3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2112 from cassidycodes/use-grape-v0.19.1

    Modifying gemspec to use grape v0.19.1
    bf4 authored Apr 18, 2017
    Configuration menu
    Copy the full SHA
    f5ad632 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. Update Serializers and Rendering Docs

    - Updating general/serializers.md
    - Updating docs/general/rendering.md
    - adding to changelog
    - Updating rendering.md to indicate that `each_serializer` must be used on a collection
    - updating my handle in previous changelog entry
    cassidycodes committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    aa619b5 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2017

  1. Merge pull request #2089 from bf4/improve_reflection_interface

    Improve reflection internal interface
    bf4 authored Apr 23, 2017
    Configuration menu
    Copy the full SHA
    f76ea3d View commit details
    Browse the repository at this point in the history
  2. Add reflection tests

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    1ef7c7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    629aa8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e07613b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8440455 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8102296 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b4cef58 View commit details
    Browse the repository at this point in the history
  8. Add test todos before I forget

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    c13354c View commit details
    Browse the repository at this point in the history
  9. Style fixes

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    758e44e View commit details
    Browse the repository at this point in the history
  10. Merge pull request #2092 from bf4/reflection_block_changes_meta_links

    Add reflection tests
    bf4 authored Apr 23, 2017
    Configuration menu
    Copy the full SHA
    6b1a487 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c2dccba View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6cd6ed7 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #2094 from bf4/move_association_concern_to_associa…

    …tion
    
    Move association serialization to association
    bf4 authored Apr 23, 2017
    Configuration menu
    Copy the full SHA
    3fb72d9 View commit details
    Browse the repository at this point in the history
  14. Always return an enumerator

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    3ba4a8c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    43c3c23 View commit details
    Browse the repository at this point in the history
  16. Remove dead comments

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    ba2aa1f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cb16457 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fad4ef1 View commit details
    Browse the repository at this point in the history
  19. Refactor

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    1bddd9f View commit details
    Browse the repository at this point in the history
  20. Refactor collection reflection

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    079b3d6 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ee69293 View commit details
    Browse the repository at this point in the history
  22. Cleanup

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    7d8fb16 View commit details
    Browse the repository at this point in the history
  23. Remove extra reflection classes

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    34d55e4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7697d9f View commit details
    Browse the repository at this point in the history
  25. Make Association totally lazy

    bf4 committed Apr 23, 2017
    Configuration menu
    Copy the full SHA
    ff5ab21 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2017

  1. Configuration menu
    Copy the full SHA
    5e01a93 View commit details
    Browse the repository at this point in the history
  2. Update reflection tests

    bf4 committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    8761904 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2026 from bf4/refactor_association

    Refactor Association to make it eval reflection JIT
    bf4 authored Apr 30, 2017
    Configuration menu
    Copy the full SHA
    0f59d64 View commit details
    Browse the repository at this point in the history
  4. Undef problematic Object methods

    bf4 committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    320596b View commit details
    Browse the repository at this point in the history
  5. Required

    bf4 committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    4fb635b View commit details
    Browse the repository at this point in the history
  6. belongs_to causes unnecessary db hit

    ssendev authored and bf4 committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    273b7e7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e41528 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1857 from bf4/smarter_association_id_lookup

    Smarter association id lookup-- no db hit on belongs_to for id-only
    bf4 authored Apr 30, 2017
    Configuration menu
    Copy the full SHA
    7d0f4e0 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #2093 from bf4/undef_unneeded_kernel_methods

    Undef problematic Object methods
    bf4 authored Apr 30, 2017
    Configuration menu
    Copy the full SHA
    81a13c4 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2017

  1. Configuration menu
    Copy the full SHA
    c9b0e4e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2118 from bf4/only_calculate_cache_key_when_caching

    Do not calculate cache_key unless caching
    bf4 authored May 1, 2017
    Configuration menu
    Copy the full SHA
    afe0183 View commit details
    Browse the repository at this point in the history
  3. Return null resource object identifier for blank id

    Also, fix test where attributes were included when id was ""
    
    ```
      1) Failure:
      ActionController::Serialization::AdapterSelectorTest#test_render_using_adapter_override
      [test/action_c$ntroller/adapter_selector_test.rb:53]:
      --- expected
      +++ actual
      @@ -1 +1 @@
      -"{\"data\":{\"id\":\"\",\"type\":\"profiles\",\"attributes\":{\"name\":\"Name 1\",\"description\":\"Description 1\"}}}"
      +"{\"data\":null}"
    ```
    bf4 committed May 1, 2017
    Configuration menu
    Copy the full SHA
    73eae19 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2119 from bf4/exclude_empty_relationships

    Return null resource object identifier for blank id
    bf4 authored May 1, 2017
    Configuration menu
    Copy the full SHA
    004e0dc View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2115 from tonyta/update-readme-v0.10.5

    point to correct latest version in readme [ci skip]
    bf4 authored May 1, 2017
    Configuration menu
    Copy the full SHA
    05cf222 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #2104 from cassidycodes/update-docs

    Update Documentation on Serializers and Rendering [ci skip]
    bf4 authored May 1, 2017
    Configuration menu
    Copy the full SHA
    af5e9d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    96028a7 View commit details
    Browse the repository at this point in the history
  8. Document namespace

    bf4 committed May 1, 2017
    Configuration menu
    Copy the full SHA
    ec7b585 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #2120 from bf4/allow_customizing_relation_foreign_key

    Document new reflection options; support :foreign_key [ci skip]
    bf4 authored May 1, 2017
    Configuration menu
    Copy the full SHA
    982fe26 View commit details
    Browse the repository at this point in the history
  10. Bump to v0.10.6

    bf4 committed May 1, 2017
    Configuration menu
    Copy the full SHA
    dff621e View commit details
    Browse the repository at this point in the history

Commits on May 2, 2017

  1. Clear out master

    bf4 committed May 2, 2017
    Configuration menu
    Copy the full SHA
    0ef6ac3 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. Better describe current status

    bf4 committed May 11, 2017
    Configuration menu
    Copy the full SHA
    8a4f941 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2017

  1. Merge pull request #2121 from bf4/new_master

    Clear out master, move 0.10.x dev to the stable branch
    bf4 authored May 12, 2017
    Configuration menu
    Copy the full SHA
    e3e5a41 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2017

  1. Fix 0.10.6 Guides link

    swrobel authored Jul 5, 2017
    Configuration menu
    Copy the full SHA
    d961db7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2162 from swrobel/patch-2

    Fix 0.10.6 Guides link
    bf4 authored Jul 5, 2017
    Configuration menu
    Copy the full SHA
    954cc17 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2017

  1. correct spelling mistake

    EdwardBetts committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    371614f View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2017

  1. Merge pull request #2184 from EdwardBetts/spelling

    correct spelling mistake [ci skip]
    bf4 authored Sep 19, 2017
    Configuration menu
    Copy the full SHA
    6a02959 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2017

  1. mention jsonapi-rb for people specifically looking for jsonapi serial…

    …ization (#2195)
    
    Clean up readme and add alternatives section
    NullVoxPopuli authored and bf4 committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    e8f3ec8 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2017

  1. Configuration menu
    Copy the full SHA
    8a4441f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2230 from stiig/patch-1

    add missed td tag for empty column
    bf4 authored Dec 22, 2017
    Configuration menu
    Copy the full SHA
    9f35f7a View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2018

  1. Configuration menu
    Copy the full SHA
    337fd0d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2238 from Diogomartf/patch-1

    Update ReadMe with Netflix fast_jsonapi alternative [ci skip]
    bf4 authored Feb 1, 2018
    Configuration menu
    Copy the full SHA
    8a1f957 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Fix link in README.md

    iacobus authored Feb 2, 2018
    Configuration menu
    Copy the full SHA
    0daf6a6 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2018

  1. Merge pull request #2239 from iacobus/patch-1

    Fix link in README.md [ci skip]
    bf4 authored Feb 5, 2018
    Configuration menu
    Copy the full SHA
    0b5a540 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. Configuration menu
    Copy the full SHA
    25c37a1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2275 from dgeb/patch-2

    Add jsonapi-resources to the list of alternatives
    bf4 authored Aug 15, 2018
    Configuration menu
    Copy the full SHA
    da79f3d View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Add Blueprinter to alternatives in readme

    Blueprinter is a simple, fast, and declarative serialization gem. It uses composable views to reduce duplication. I think it's a good alternative that should be on this readme.
    philipqnguyen authored Aug 20, 2018
    Configuration menu
    Copy the full SHA
    95afb46 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2018

  1. Merge pull request #2277 from philipqnguyen/patch-1

    Add Blueprinter to alternatives in readme
    bf4 authored Aug 28, 2018
    Configuration menu
    Copy the full SHA
    bd40fe6 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Change url of fast-jsonapi to forked version

    Now the forked version of fast-jsonapi is developed actively and the Netflix version is not active,
    it's better to guide readers to the fork.
    okuramasafumi authored May 18, 2020
    Configuration menu
    Copy the full SHA
    e43c1fd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2380 from okuramasafumi/patch-1

    Change url of fast-jsonapi to forked version [ci skip]
    bf4 authored May 18, 2020
    Configuration menu
    Copy the full SHA
    beeb216 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Replace JSON:API Suite URL because it was changed.

    The github.io link for JSON:API Suite in the Alternatives-chapter in the README
    was returning status 404.
    
    https://jsonapi-suite.github.io/jsonapi_suite/
    
    The top page of JSON:API Suite was changed to the following one,
    so change the URL to this one.
    
    https://jsonapi-suite.github.io/jsonapi_suite_deprecated/
    f-teruhisa committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    f60b0f9 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Add Alba to alternatives list

    Alba has almost 180 stars and I believe it's worth adding it.
    okuramasafumi authored May 3, 2021
    Configuration menu
    Copy the full SHA
    199afec View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Merge pull request #2420 from okuramasafumi/patch-2

    Add Alba to alternatives list [ci-skip]
    bf4 authored May 17, 2023
    Configuration menu
    Copy the full SHA
    5efd6d2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2414 from f-teruhisa/fix/replace_json_api_suite_l…

    …ink_in_README
    
    Replace "JSON:API Suite" URL because it was changed
    bf4 authored May 17, 2023
    Configuration menu
    Copy the full SHA
    9f0ba48 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    f7622f6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2472 from Nitemaeric/patch-1

    Add Transmutation to README alternatives
    bf4 authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    c6c3810 View commit details
    Browse the repository at this point in the history