dina 0.4.2.0 → 0.4.3.0

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: 868b096ec196f62ae6cf4507cadf08c277b26f462957873140abc93ecf88a1a6
4
- data.tar.gz: 26c127ec2bf4e6e9c990b4361aff69d1ce9f6a5e578ae01065472e8ede524bf5
3
+ metadata.gz: 32052c3bba673462b3f37308893e0e75a2d6b90c8cf83bb015afdb114605079f
4
+ data.tar.gz: d907470232863681e01a113f55a968d092dc76dd059471906f39c72151ab6837
5
5
  SHA512:
6
- metadata.gz: 9fcd3ceca0594b95caaea14870a0ff6ebc9284fab58eac5e98bd236c04e8235b4fb542c720cba9c394b63b719a4883642f82e0871b347a9a18c5225c8e42e5b6
7
- data.tar.gz: 95d262c72d8955a9eb944886efcd0784af500f4f8235846bc062a69d5128652e0af0260d85f7243bd608e8d2bd3f895a309cc752baac6b742282f84db658f88e
6
+ metadata.gz: 459d73f40c8133a76ae7596d4aa8aa58665337fac57e591dfc10a76b4a0ef03398ff1331c537d98be2434182af0b35e216477e424e3ef2532ef70853cfe6ed96
7
+ data.tar.gz: 6386e868c47a886466ff7fd905c9854f1f3ff701cf99fd58243fc37966a233e2bb4758c84e8b20bf0914dfac6a34f26e0e4dd656ac0681068e3ab9627a98ee59
@@ -3,7 +3,7 @@ module JsonApiClient
3
3
  module Associations
4
4
  class BaseAssociation
5
5
  def data(url)
6
- url.sub!("/api/v1/", "/api/#{association_class.requestor.instance_variable_get(:@klass).endpoint_path}")
6
+ url.sub!("/api/v1/", "/api/#{klass.endpoint_path}")
7
7
  from_result_set(association_class.requestor.linked(url))
8
8
  end
9
9
  end
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 4
6
- PATCH = 2
6
+ PATCH = 3
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2.0
4
+ version: 0.4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David P. Shorthouse