jsonapi-materializer 1.0.0.rc3 → 1.0.0.rc4

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
  SHA256:
3
- metadata.gz: 681e7f39b93e947fb4502d4c60eb6c5a9924a196ae647230bd03a8739ce2a401
4
- data.tar.gz: aba75d6749a2fb33022092f8e47e09a67d09b2172d4e18e7eecf114a20a8d6a0
3
+ metadata.gz: 0757d7c81ae43865fa36c9f7c871dedbcabe9c032bb152e019d70506a697270a
4
+ data.tar.gz: 3f4d99ccfa4511dd874e081aec2092647c8b4e1b529964ff693ab1eb7f5fc5d5
5
5
  SHA512:
6
- metadata.gz: 9dbf4447230d8568854ee9f82bc0ced9f268e8c80b69a50c73a647cbcdeb44065ddffaf18b146e73432e0389d9a2f95b69da2cef4f56cdab1fb22128fe1e3e16
7
- data.tar.gz: df6fe1bcd97a4b9a9a4c8276733b9da23bb80b262609694da62ea0bf601cd5967293851b1f0872c26e3387776d6f6d1b05222568f7a775d4df1c503910417733
6
+ metadata.gz: ab84f5d732b41dba80efcdfe437b6652bac1450652fae461a7ac74494a049e4c6ad454f4b94cb530dc8d94129d8b9a91933f636e735949dbf84840eb34cd8858
7
+ data.tar.gz: bdcb3fd9920da53619772d514991bc10377ddf8685739488c3e391809312768ee8035632faa4a2f42a08dd1dd0c2090358f50b284880e0ec975bec0f87791a43
@@ -41,7 +41,6 @@ module JSONAPI
41
41
 
42
42
  attr_accessor(:object)
43
43
  attr_writer(:selects)
44
- attr_writer(:pagination)
45
44
  attr_writer(:includes)
46
45
  attr_writer(:context)
47
46
  attr_reader(:raw)
@@ -220,7 +219,7 @@ module JSONAPI
220
219
  end
221
220
 
222
221
  def attribute(name)
223
- configuration.attributes.fetch(name.to_sym) {raise(Error::ResourceRelationshipNotFound, :name => name, :materializer => self)}
222
+ configuration.attributes.fetch(name.to_sym) {raise(Error::ResourceAttributeNotFound, :name => name, :materializer => self)}
224
223
  end
225
224
 
226
225
  def relation(name)
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Materializer
3
- VERSION = "1.0.0.rc3".freeze
3
+ VERSION = "1.0.0.rc4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-materializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurtis Rainbolt-Greene