Ben Mills
7f29683cb6
Pin rake to < 11.0
...
https://stackoverflow.com/questions/35893584/nomethoderror-undefined-method-last-comment-after-upgrading-to-rake-11/35893625#35893625
2016-03-09 08:33:29 -07:00
Benjamin Fleischer
7b98cf3e36
Update SimpleCov; remove compatibility patch
...
Also, SimpleCov.start already called
SimpleCov.pid = Process.pid
So, no need for that
2016-02-09 20:59:31 -06:00
Mauro George
5058694f4a
Create assert_response_schema test helper
...
It is a common pattern to use JSON Schema to validate a API response[1], [2]
and [3].
This patch creates the `assert_response_schema` test helper that helps people do
this kind of validation easily on the controller tests.
[1]: https://robots.thoughtbot.com/validating-json-schemas-with-an-rspec-matcher
[2]: https://github.com/sharethrough/json-schema-rspec
[3]: https://github.com/rails-api/active_model_serializers/issues/1011#issuecomment-127608121
2016-01-15 00:45:56 -06:00
Benjamin Fleischer
fce856fc83
Merge pull request #1371 from bf4/documentation_updates
...
[DOCS] Refactor, update, create documentation
2015-12-20 22:30:44 -06:00
Benjamin Fleischer
dff607dc41
Merge pull request #1336 from johnhamelink/master
...
Grape formatter feature requested in #1258 - Rebased and Repushed (#1273 )
2015-12-17 20:31:38 -06:00
Benjamin Fleischer
ce17a1b305
[DOCS] Refactor, update, create documentation [ci skip]
2015-12-14 14:38:29 -06:00
Mauro George
488370fc0b
Drop support to Ruby 1.9.3
2015-12-14 14:18:29 -06:00
Julian Paas
d85a17bb33
Grape formatter feature requested in #1258
...
- adds handling for when the returned resource is not serializable via ams
- fix for when resource is an Array
- Moves grape include to grape namespace. Changes Enumerable to Array because a plain hash is enumerable.
- Add integration test
- Refine scope of Grape version dependency
- Assert that the response is equal to a manually defined JSON string
- Add single module to include in Grape projects
- Create a Serializable Resource to test rails-api from Grape
- Update docs
- Fix discrepency between ActiveRecord 4.0 - 4.1 and 4.2
- Updated Changelog
- Remove parens from `render`, use `serializable` in all tests.
2015-12-10 10:06:40 +00:00
Benjamin Fleischer
7d707aabdc
Update Gemfile/gemspec dependencies for Rails 5/master
2015-11-25 21:56:01 -06:00
João M. D. Moura
1ca73e0c33
updating version to new release
2015-09-16 12:19:44 -03:00
Benjamin Fleischer
228cc1c92a
Rubocop: Consistent spacing
2015-09-03 20:51:40 -05:00
Benjamin Fleischer
e3d3d92201
Clarify AMS dependencies
2015-08-30 22:26:25 -05:00
Bruno Bacarini
e040d6fcce
add action test to pagination links
2015-08-18 19:04:02 -03:00
Rodrigo Ra
7412c8d1c8
Fix transient tests failures
2015-06-26 09:33:53 -03:00
Guillermo Iguaran
771e9edccb
Require only activemodel instead of full rails
2014-09-29 15:46:57 -05:00
Steve Klabnik
729a823868
Getting started: attributes.
...
Super super basic collection of attributes. Nothing fancy.
2014-07-09 16:16:39 -04:00
Steve Klabnik
e021281eef
Remove Rails 3.2 support for now.
...
It is impossible to run our tests on both Rails 3.2 and Rails 4:
1. Rails 3.2 relies on test/unit, which is MiniTest 4.
2. Rails 4 relies on MiniTest 5.
3. MiniTest 5 is not compatible with test/unit.
😢 😢 😢
2014-07-05 13:12:10 -04:00
Steve Klabnik
a5107b32e2
Set up the test helper and Gemfile.
...
Now Travis will build across all the Rails-es.
2014-07-05 12:03:48 -04:00
Steve Klabnik
8a20377239
Set up gemspec, version, and .travis.yml
2014-07-05 00:56:57 -04:00
Steve Klabnik
c718915075
Generate a basic gem
2014-07-05 00:53:48 -04:00