17 Commits

Author SHA1 Message Date
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
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
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
Shishir Kakaraddi
a3a989244b initial commit to allow the same kind of key transforms as AMS 2018-02-05 21:06:57 -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
Shishir Kakaraddi
a9c902b96f add hash benchmarking to performance tests 2018-02-04 12:00:45 -08:00
Srinivas Raghunathan
fe192f5048 use travis env to exclude perf test while building 2018-02-01 14:08:57 -08:00
Srinivas Raghunathan
d743ace71c revert speed factor change, instead plan for intermittent speed variance 2018-02-01 12:34:03 -08:00
Srinivas Raghunathan
3412cd8d53 add travis shield 2018-02-01 12:04:25 -08:00
Srinivas Raghunathan
83e7026e73 relax the timing for tests to pass with variance 2018-02-01 11:52:11 -08:00
yuuji.yaginuma
6966ea9452 Use File.exist? instead of File.exists?
File.exists? is deprecated in Ruby 2.1+
Ref: https://github.com/ruby/ruby/blob/v2_1_2/file.c#L1413
2018-02-01 21:12:36 +09:00
Shishir Kakaraddi
5374a1378e initial commit 2018-01-31 16:20:40 -08:00