json_api_client 1.14.1 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3cabb055324f7f141ea20203dfc7204239c9c7e293310d53ac3b484e7a33d28
4
- data.tar.gz: 18a958aab13cfef3ed8f199109ce0650ee0d56a1018fc6312052468c7b4c72fd
3
+ metadata.gz: 17005bc88ac7813f9492d669c5eb8ffe2e8f80ca600455f4d563d6d06363f902
4
+ data.tar.gz: 150b21556d5a33bea2d9b5d2b12999c5298cf4157bea34869b57324cab94416d
5
5
  SHA512:
6
- metadata.gz: 8d43ff4ac90ceab7b7e60bc32a160e09193931f5a69c0bc238db77db2309c2bc8423a13a055c9134c92d9ce947869a52c943d751771259b39aa6d8c266094c23
7
- data.tar.gz: 5e2df37ed5bb8181007d48304db2f514912a77d407b0b54e7f8ff0dce447fc1db4095134a04449d5c9e8962e300d945232e5c67263dc762512eb948c2ef2b7b5
6
+ metadata.gz: dffeb3fe0e26ea1984a119b19d5d6cd8b97c5c4179e9b02507e21882157f5f595ef71b16d39b977ece158a79fe9ea92b58f386cc71caa61104b6e5832740385a
7
+ data.tar.gz: 2a794b74f9ffe077070b3485fe4eea40066a139eed7e2ce07ae97504df7a7ddb01154a02efdbe0509db6dc67f775b11aa72b477f8a7817bc8cb3cb5d1242d623
data/README.md CHANGED
@@ -166,8 +166,8 @@ module MyApi
166
166
  end
167
167
 
168
168
  class Customer < JsonApiClient::Resource
169
- belongs_to :user, shallow_path: true
170
- end
169
+ belongs_to :user, shallow_path: true
170
+ end
171
171
  end
172
172
 
173
173
  # try to find without the nested parameter
@@ -2,6 +2,7 @@ require 'faraday'
2
2
  require 'faraday_middleware'
3
3
  require 'json'
4
4
  require 'addressable/uri'
5
+ require 'json_api_client/formatter'
5
6
 
6
7
  module JsonApiClient
7
8
  autoload :Associations, 'json_api_client/associations'
@@ -9,7 +10,6 @@ module JsonApiClient
9
10
  autoload :Connection, 'json_api_client/connection'
10
11
  autoload :Errors, 'json_api_client/errors'
11
12
  autoload :ErrorCollector, 'json_api_client/error_collector'
12
- autoload :Formatter, 'json_api_client/formatter'
13
13
  autoload :Helpers, 'json_api_client/helpers'
14
14
  autoload :Implementation, 'json_api_client/implementation'
15
15
  autoload :IncludedData, 'json_api_client/included_data'
@@ -1,3 +1,3 @@
1
1
  module JsonApiClient
2
- VERSION = "1.14.1"
2
+ VERSION = "1.15.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.1
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Ching
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-23 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  requirements: []
202
- rubygems_version: 3.0.1
202
+ rubygems_version: 3.0.3
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Build client libraries compliant with specification defined by jsonapi.org