Benjamin Fleischer
1230dd95ba
Add CHANGELOG [ci skip]
2016-03-24 22:22:19 -05:00
Benjamin Fleischer
c3c69a607a
Separate enabling of caching and setting the cache store
2016-03-24 22:20:42 -05:00
Benjamin Fleischer
9953d7abe0
Trigger callback to set serializer#_cache when controller loaded
2016-03-24 22:20:42 -05:00
Benjamin Fleischer
27b514a63b
Add missing object context needed for tests to be run alone
2016-03-24 22:20:42 -05:00
Benjamin Fleischer
9ce36904cf
Allow devs to opt out of test warnings
2016-03-24 22:20:42 -05:00
Yohan Robert
61412d80ca
Merge pull request #1598 from bf4/fix_simplecov
...
Remove dead code preventing simplecov from running
2016-03-19 01:54:53 +01:00
Yohan Robert
9bd4c22f40
Replace -d by --debug in JRUBY_OPTS for travis
...
It seems that for coverage to work properly the "--debug" option is
needed when using JRuby.
2016-03-19 01:30:16 +01:00
Ben Mills
db6083af2f
Merge pull request #1602 from remear/docs-adapter-output-examples
...
Add output examples to Adapters docs
2016-03-17 14:30:22 -06:00
Ben Mills
bfff46b66e
Add output examples to Adapters docs
2016-03-17 14:07:32 -06:00
Benjamin Fleischer
4a251e3fd0
Add -d JRUBY_OPTS for simplecov
2016-03-17 14:31:30 -05:00
Ben Mills
e1d1a3dbf9
Add #1557 to CHANGELOG
2016-03-17 10:54:22 -06:00
Jeffrey Wan
297e1f7e9d
Update docs regarding overriding the root key
2016-03-17 10:54:22 -06:00
L. Preston Sego III
88d4fe5b5e
Merge pull request #1431 from beauby/deserialization-docs
...
Add docs for deserialization.
2016-03-17 12:48:55 -04:00
L. Preston Sego III
586ff09cc5
Added more detailed examples to deserialization.md from json_api/deserialization.rb
2016-03-17 07:58:51 -04:00
Benjamin Fleischer
bcdd1ccdd5
Remove dead code preventing simplecov from running
2016-03-16 21:31:02 -05:00
Ben Mills
db87f8d85e
Merge pull request #1435 from bf4/fix_rails_warnings
...
Fix Rails 5 warnings (uses Rails5Shim)
2016-03-15 13:42:51 -06:00
Ben Mills
9e992358d8
Merge pull request #1574 from remear/key-casing
...
Provide key transformation
2016-03-15 13:42:24 -06:00
Ben Mills
a85d6af1c4
Merge pull request #1420 from marcgarreau/master
...
Adds tests and documentation for polymorphism
2016-03-15 13:35:16 -06:00
Marc Garreau
045fa9bc07
Adds polymorphic tests and documentation
2016-03-15 13:09:59 -06:00
Ben Mills
c533d1a7fe
Provide key case translation
2016-03-15 12:21:10 -06:00
Ben Mills
54ddbe2851
Merge pull request #1593 from bf4/rake_with_warnings
...
Always be warning
2016-03-15 10:49:55 -06:00
Ben Mills
d65a72e547
Shim other http methods
2016-03-15 10:35:17 -06:00
Benjamin Fleischer
0d7def6a44
Always be warning
2016-03-14 21:55:20 -05:00
L. Preston Sego III
daabb89fe0
Merge pull request #1581 from remear/meta-blank-omit
...
Omit meta when blank
2016-03-14 11:06:37 -04:00
Ben Mills
e8286b6138
Omit meta when blank
2016-03-14 08:36:09 -06:00
Ben Mills
8cd7f0f152
Merge pull request #1592 from krzysiek1507/patch-1
...
Remove wrong quoting in serializers guide
2016-03-14 08:10:27 -06:00
Krzysztof Rybka
7c3f0ec6af
Remove wrong quoting in serializers guide
2016-03-14 15:00:46 +01:00
L. Preston Sego III
d61b01f085
Merge pull request #1590 from Eric-Guo/master
...
Rake 11.1.1 fix JRuby issue.
2016-03-14 05:58:47 -04:00
Eric Guo
1a881e7c15
Rake 11.1.1 fix JRuby issue.
...
https://github.com/ruby/rake/pull/121
Revert "Revert "Safe to using rake 11.0.1 now.""
This reverts commit 82cbe66443 .
2016-03-14 13:01:14 +08:00
Benjamin Fleischer
6014b52988
Merge pull request #1471 from bf4/move_serializer_caching_from_adapter
...
[Cleanup] Serializer caching is its own concern
2016-03-13 20:28:15 -05:00
Benjamin Fleischer
eda8ff1737
Move serializer caching from adapter
2016-03-13 19:57:59 -05:00
Benjamin Fleischer
093d198bc4
Merge pull request #1589 from bf4/add_rails_version_to_benchmark
...
Add rails_version to output
2016-03-13 17:28:41 -05:00
Benjamin Fleischer
1b6094304e
Add rails_version to output
2016-03-13 14:29:29 -05:00
Benjamin Fleischer
fcd394ab09
Merge pull request #1482 from bf4/jsonapify
...
Document JSON API implementation defs and progress in class
2016-03-13 01:18:31 -06:00
Benjamin Fleischer
5008ea315a
Merge pull request #1584 from bf4/ensure_rake_runs_within_bundler
...
Ensure running 'bundle exec' before 'rake'
2016-03-13 01:02:55 -06:00
Benjamin Fleischer
0d1f770843
Merge pull request #1494 from bf4/serializable_serializer
...
Make serializers serializable, step 1.
2016-03-13 00:52:32 -06:00
Benjamin Fleischer
bdb997b1d9
Document JSON API implementation defs and progress in class
2016-03-13 00:30:06 -06:00
Benjamin Fleischer
b6343a5cd1
Merge pull request #1475 from bf4/rfc/template
...
Add an RFC template
2016-03-13 00:28:32 -06:00
Benjamin Fleischer
2400f78e57
Ensure running 'bundle exec' before 'rake'
2016-03-13 00:27:40 -06:00
Benjamin Fleischer
b169ed387b
Make serializers serializable, step 1.
2016-03-13 00:26:15 -06:00
Benjamin Fleischer
9295080ee5
Merge pull request #1585 from rails-api/revert-1573-master
...
Revert "Safe to using rake 11.0.1 now."
2016-03-13 00:25:16 -06:00
Benjamin Fleischer
fa0bc9567d
Restrict rake dep to 10.x for now; 11.x breaks
2016-03-12 23:27:10 -06:00
Benjamin Fleischer
82cbe66443
Revert "Safe to using rake 11.0.1 now."
2016-03-12 23:15:42 -06:00
Benjamin Fleischer
e03c5f584f
Merge pull request #1573 from Eric-Guo/master
...
Safe to using rake 11.0.1 now.
2016-03-12 22:40:08 -06:00
Benjamin Fleischer
3e0f85e9c9
Merge pull request #1252 from bf4/document_serialization_scope
...
[DOCS/TEST] Add serialization_scope example
2016-03-12 22:37:35 -06:00
L. Preston Sego III
5e5d57eaf4
Merge pull request #1583 from bf4/remove_issue_stats
...
Issue stats don't actually update anymore
2016-03-12 23:28:44 -05:00
Benjamin Fleischer
bcd38b1e58
Issue stats don't actually update anymore
2016-03-12 20:07:34 -06:00
Benjamin Fleischer
1b2f5ec774
Differentiate exception behavior in Rails 4.0 vs. others
...
NoMethodError is current_user is nil, so nil.admin?
NameError is a superclass of NoMethodError (which Rails 4.0 won't allow)
and means current_user might not be defined
2016-03-12 19:59:43 -06:00
Benjamin Fleischer
85658c0230
Add better serialization_scope tests; uncover bug
2016-03-12 19:59:43 -06:00
Benjamin Fleischer
26b089c881
Add serialization_scope example [ci skip]
2016-03-12 19:59:43 -06:00