Christopher Sansone
b30a53bc5f
ability to customize rendering of attributes via a block ( #54 )
...
* add hash benchmarking to performance tests
* Add missing attribute in README example
* Disable GC before doing performance test
* Enable oj to AM for fair benchmark test
* ability to customize rendering of attributes via a block
* fixed attribute render spec
* minimized specs to specifially test this feature
* Update README to include attribute definitions
* Fixed syntax error
* Fixed merge issues
2018-02-09 08:59:07 -08:00
Roberto Quintanilla
6d516c217c
Support for polymorphic associations ( #64 )
...
* add hash benchmarking to performance tests
* Add missing attribute in README example
* Disable GC before doing performance test
* Enable oj to AM for fair benchmark test
* Support for polymorphic associations
* Optional dictionary for polymorphic associations
* Added polymorphic record types memoization
* Updated performance tests for polymorphic examples to include jsonapi-rb
2018-02-08 22:18:46 -08:00
Benjamin Fleischer
d4b6216ff3
Make our own fast MultiToJson
2018-02-07 18:02:59 -08:00
Benjamin Fleischer
b717ffeccf
Let people choose their JSON serializer; JSON:API is not circular
2018-02-07 18:02:59 -08:00
jeremyjung
e7caa7afd5
Allow has_one nil association ( #48 )
...
* Allow has_one nil association
* add test for when has_one returns nil
* modify has_one extension method, add active record test
* Use try operator to support old rubies
2018-02-07 08:54:53 -08:00
Andrey Lompart
5f7bc4fe62
changed activesupport and activerecord dep to '>= 4.2'
2018-02-06 19:26:43 -08:00
Benjamin Fleischer
fcca5063ca
Correct rubygems url
2018-02-05 22:34:17 -08:00
Benjamin Fleischer
d7df16ba02
Update AMS
2018-02-05 22:34:17 -08:00
Benjamin Fleischer
7843e411f6
Better usage of AMS::Model
2018-02-05 22:34:17 -08:00
Min.Kim
7b029991b8
Put all tests back
2018-02-05 22:30:24 -08:00
Min.Kim
c7b211b0a7
Fix fast_jsonapi.gemspec
2018-02-05 22:30:24 -08:00
Min.Kim
22bea1505f
Add jsonapi-rb test to benchmark suite
2018-02-05 22:30:24 -08:00
Min.Kim
4ccd40ac29
Add jsonapi data models for benchmark
2018-02-05 22:30:24 -08:00
Min.Kim
5861f27ebb
Add jsonapi-rb / require for jsonapi-rb benchmark test
2018-02-05 22:30:24 -08:00
Nicolas Leger
30b254e88c
Test against Ruby 2.2
2018-02-05 21:07:38 -08:00
Shishir Kakaraddi
fa332019bc
adding documentation about key transforms
2018-02-05 21:06:57 -08:00
Shishir Kakaraddi
a3a989244b
initial commit to allow the same kind of key transforms as AMS
2018-02-05 21:06:57 -08:00
Guillermo Iguaran
639c314272
Use Object#public_send to respect attributes visibility
2018-02-04 19:32:59 -08:00
Shishir Kakaraddi
799499c159
updating documentation and travis
2018-02-04 17:24:11 -08:00
Shishir Kakaraddi
dbdc85a875
initial commit removing all the dependencies
2018-02-04 17:24:11 -08:00
Sergii Makagon
7f27543081
Refactoring
2018-02-04 17:12:18 -08:00
Min.Kim
0048bd2c80
Enable oj to AM for fair benchmark test
2018-02-04 17:12:18 -08:00
Min.Kim
fbb9db5201
Disable GC before doing performance test
2018-02-04 17:12:18 -08:00
Diego Algorta
80bd8b983c
Add missing attribute in README example
2018-02-04 17:12:18 -08:00
Benjamin Roth
dc563407e0
rename in-block var to avoid confusion
2018-02-04 12:00:45 -08:00
Benjamin Roth
088d655998
get rid of temp variables
2018-02-04 12:00:45 -08:00
Shishir Kakaraddi
a9c902b96f
add hash benchmarking to performance tests
2018-02-04 12:00:45 -08:00
Adam Gross
92683d6f85
Merge pull request #29 from y-yagi/update_to_latest_rubies
...
Update to latest rubies on CI
2018-02-02 09:24:18 -08:00
yuuji.yaginuma
5eeaf05704
Update to latest rubies on CI
...
* Update to latest version of 2.3.x.
* Run test against newer rubies
2018-02-02 15:10:21 +09:00
Srinivas Raghunathan
885bafd464
travis badge
2018-02-01 14:47:40 -08:00
Srinivas Raghunathan
703a192b54
Merge branch 'master' of https://github.com/Netflix/fast_jsonapi into dev
2018-02-01 14:45:35 -08:00
Srinivas Raghunathan
7bfa784e95
version update
2018-02-01 14:43:19 -08:00
Srinivas R
fa2897afb1
Merge pull request #25 from Netflix/dev
...
add travis badge
2018-02-01 14:37:59 -08:00
Srinivas Raghunathan
e68a8b3a41
add travis badge
2018-02-01 14:34:51 -08:00
Srinivas R
f0d35b8b69
Merge pull request #23 from Netflix/dev
...
use travis env to exclude perf test while building
2018-02-01 14:16:07 -08:00
Srinivas Raghunathan
fe192f5048
use travis env to exclude perf test while building
2018-02-01 14:08:57 -08:00
Srinivas R
bdc24201be
Merge pull request #20 from Netflix/dev
...
revert speed factor change, instead plan for intermittent speed variance
2018-02-01 12:34:29 -08:00
Srinivas Raghunathan
d743ace71c
revert speed factor change, instead plan for intermittent speed variance
2018-02-01 12:34:03 -08:00
Adam Gross
5284b60ed7
Update README.md
2018-02-01 12:11:07 -08:00
Srinivas R
52ad52b84a
Merge pull request #19 from Netflix/dev
...
add travis shield
2018-02-01 12:06:27 -08:00
Srinivas Raghunathan
3412cd8d53
add travis shield
2018-02-01 12:04:25 -08:00
Srinivas R
c1b8f429b0
Merge pull request #18 from Netflix/dev
...
add travis integration.
2018-02-01 11:57:01 -08:00
Srinivas Raghunathan
83e7026e73
relax the timing for tests to pass with variance
2018-02-01 11:52:11 -08:00
Srinivas Raghunathan
cff820ddce
adding the gemfile lock changes
2018-02-01 11:43:56 -08:00
Srinivas Raghunathan
92a72604f8
add travis integration
2018-02-01 11:41:10 -08:00
Adam Gross
38bb9a1f2d
Merge pull request #17 from Netflix/poteto-patch-1
...
Fix typo
2018-02-01 11:06:05 -08:00
Lauren Tan
47aa0f0264
Fix typo
2018-02-01 11:05:07 -08:00
Adam Gross
a6aea4e50f
bump gemspec version
1.0.17
2018-02-01 10:49:25 -08:00
Adam Gross
aa63650477
Version bump to 1.0.17
2018-02-01 10:46:30 -08:00
Adam Gross
618bfd1e3b
Merge pull request #1 from mechanicles/update-examples
...
Maintain object name consistency in README.md file.
2018-02-01 10:40:30 -08:00