my_john_deere_api 0.9.2 → 0.9.3

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: 96be4c6e0039075148032aa0def0e94141b8112a02c150f4774c6946ab12ff25
4
- data.tar.gz: 212489a07583a3c2ee873f4ff06d40bb51985fab934b516e480806fbd89d030f
3
+ metadata.gz: 3fde9f56f0fd642e9e1247e190e9eeee82b674ff0e79ca7cfd80f58d95185842
4
+ data.tar.gz: eff0b0b154430e84c376f3126a458818432c6d6d55e0899b79c7a1b3998e4ca9
5
5
  SHA512:
6
- metadata.gz: b830e850d6f9008c42deb1d856a321f9a80454532fafe8cb979c588945ba88241066d8b84937e7b28eba9f95f93a0094e9fc0e88c5e4e46fb684747cb111312d
7
- data.tar.gz: 3b65d8de739b03d0e720dbf62f1a2a4718cc774ecdf7cca3c9194412c2e0aa2f3778cb882ad09f01c9842a3f77a74003889e0e4dd8ac8ed5e2f9a8682f293873
6
+ metadata.gz: 99682f2871d4decac76365fe8f0bec978494f4a1b9d88e84d3252d8a2f4baf57f6e53ab32ae069118cbec5721908e630453ecc7dee41ff120c4b57dcdbb71fae
7
+ data.tar.gz: 0b0e0d86ba249f1f1aa1a9ad9248c3b385f9353b976057e47138bf25e2b56dd37718d601eed6ab767527eec1fd79b29e7cef58747aa683a244196079a1bb65b7
@@ -29,7 +29,7 @@ module MyJohnDeereApi
29
29
  raise AccessTokenError unless accessor
30
30
 
31
31
  return @assets if defined?(@assets)
32
- @assets = MyJohnDeereApi::Request::Collection::Assets.new(accessor, organization: id).all
32
+ @assets = MyJohnDeereApi::Request::Collection::Assets.new(accessor, organization: id)
33
33
  end
34
34
 
35
35
  private
@@ -1,3 +1,3 @@
1
1
  module MyJohnDeereApi
2
- VERSION='0.9.2'
2
+ VERSION='0.9.3'
3
3
  end
@@ -88,9 +88,9 @@ describe 'MyJohnDeereApi::Model::Organization' do
88
88
  it 'returns a collection of assets for this organization' do
89
89
  accessor
90
90
  organization = VCR.use_cassette('get_organizations') { client.organizations.first }
91
- assets = VCR.use_cassette('get_assets') { organization.assets }
91
+ assets = VCR.use_cassette('get_assets') { organization.assets.all; organization.assets }
92
92
 
93
- assert_kind_of Array, assets
93
+ assert_kind_of JD::Request::Collection::Assets, assets
94
94
 
95
95
  assets.each do |assets|
96
96
  assert_kind_of JD::Model::Asset, assets
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_john_deere_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime. Bellmyer