jsonapi_utils 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 822234bc0b0f6d66c3a41eb75b93232e99eecbf4
4
- data.tar.gz: 6730613246e3cfd71c35e8a52bb5fa0978646c95
3
+ metadata.gz: 960530e5ee89d345ccbe0335ac56e115730dec18
4
+ data.tar.gz: a8e07ef9f5d9f06f758f3e421c6c06dbdefe22be
5
5
  SHA512:
6
- metadata.gz: b958e77ab3b5ed4b8e1a83ff1c971a2958523577769cfd32eecb01cfd11a710f845e23b9fe205378c08ce6255cc945c1051a68e0345a79d716c78c1f83252edf
7
- data.tar.gz: 77176da0b129f8454a661ccdb36269fc841fc596eeebf86201c1cfd2cf480a9235fac7f00e9e0987684c3c5f23c9518f316d761625cffc8b02167e0d9370a13d
6
+ metadata.gz: cc5cea0ae673bd0b1b700214a52eedd5ed0e26e1544fb0755eba53c0d191f623047bdae31a9a92b6a3f6dc7fb86ff9ff4c59674368aae910aa7dfdec57a35b18
7
+ data.tar.gz: 4ec916f7bb433c09d01f366570902dbc41f1122cb4284a1deccdc8773822cc33f3e87c828c448ea0aecedc5a38cb2b0ec1650d7f2baef04d7a78f017e5a0fa78
@@ -1,3 +1,3 @@
1
1
  module JsonapiUtils
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/jsonapi_utils.rb CHANGED
@@ -8,7 +8,7 @@ module JsonapiUtils
8
8
  extend ActiveSupport::Concern
9
9
 
10
10
  include do
11
- helper_method :jsonapi_serialize, :jsonapi_serialize_collection
11
+ helper_method :jsonapi_serialize
12
12
  end
13
13
 
14
14
  def jsonapi_render(options)
@@ -30,7 +30,7 @@ module JsonapiUtils
30
30
  @resource = turn_into_resource(records, options)
31
31
  results.add_result(JSONAPI::ResourceOperationResult.new(:ok, @resource))
32
32
  end
33
- create_response_document(results, options).contents
33
+ create_response_document(results).contents
34
34
  end
35
35
 
36
36
  def jsonapi_error(exception)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Guedes
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-10 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -60,9 +60,7 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".CODE_OF_CONDUCT.md.swp"
64
63
  - ".gitignore"
65
- - ".jsonapi_utils.gemspec.swp"
66
64
  - ".rspec"
67
65
  - ".travis.yml"
68
66
  - CODE_OF_CONDUCT.md
Binary file
Binary file