my_john_deere_api 1.3.4 → 1.3.5

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: 2295d8403dd887dfd1dad300885aebef06aa41b07f209a72d2de68b784535ea0
4
- data.tar.gz: ceb47dd947221150f3d6826e19e343888830f85c88924b189948874aa7825888
3
+ metadata.gz: 7f60f0a940a61665a81f8e64a2cbb8762beb8136e4e37f13a0ebf66ead20fcac
4
+ data.tar.gz: 45fb772147464452fdfd3ab37b75548ed9708369d374ba5c69c20ad03a428f51
5
5
  SHA512:
6
- metadata.gz: 1183f5923dcb7932c71f9f10e6968ea332e35e332d980030637426261d0240dd4ab4c464d58cb2a511ce7f2060bdb320926dfca682808afe72cc704afafb061c
7
- data.tar.gz: c16eb6aa03f079b1968d7eab2bde1f754e147305e66378ce7719648f930f76891f2ac51bed88391e6dd0676e4e7b4a403255851f9efb3b297239d5d46eeec1cf
6
+ metadata.gz: 0166fd3c8b08975d9c5b548f459710bebd2cca464ffad209abe812e5c01c4057a4ec980faf11d0a8201b21fe4d6a24cd6ffe55a86ec70ac87fda429347b55ec7
7
+ data.tar.gz: b6e4f47f306adfaf52b6bf05054d11285f2a2382ce7f846e86479e6f12eda3bc7194874140036efa35e992f2132906bcd0349ecb58a17c5f6403b7818ac011fd
@@ -2,7 +2,7 @@ require 'json'
2
2
 
3
3
  module MyJohnDeereApi
4
4
  class Request::Create::Base
5
- attr_reader :accessor, :attributes, :errors, :response
5
+ attr_reader :accessor, :attributes, :response
6
6
 
7
7
  ##
8
8
  # Accepts a valid oAuth AccessToken, and a hash of attributes.
@@ -12,8 +12,6 @@ module MyJohnDeereApi
12
12
  @attributes = attributes
13
13
 
14
14
  process_attributes
15
-
16
- @errors = {}
17
15
  end
18
16
 
19
17
  ##
@@ -1,3 +1,3 @@
1
1
  module MyJohnDeereApi
2
- VERSION='1.3.4'
2
+ VERSION='1.3.5'
3
3
  end
@@ -25,11 +25,6 @@ describe 'MyJohnDeereApi::Request::Create::AssetLocation' do
25
25
  assert_equal attributes, object.attributes
26
26
  end
27
27
 
28
- it 'creates an empty error hash' do
29
- object = JD::Request::Create::AssetLocation.new(accessor, {})
30
- assert_equal({}, object.errors)
31
- end
32
-
33
28
  it 'accepts simple coordinates and generates the geometry' do
34
29
  attributes = {
35
30
  asset_id: asset_id,
@@ -24,11 +24,6 @@ describe 'MyJohnDeereApi::Request::Create::Asset' do
24
24
  assert_equal accessor, object.accessor
25
25
  assert_equal attributes, object.attributes
26
26
  end
27
-
28
- it 'creates an empty error hash' do
29
- object = JD::Request::Create::Asset.new(accessor, {})
30
- assert_equal({}, object.errors)
31
- end
32
27
  end
33
28
 
34
29
  describe '#valid?' do
@@ -10,11 +10,6 @@ describe 'MyJohnDeereApi::Request::Create::Base' do
10
10
  assert_equal accessor, object.accessor
11
11
  assert_equal attributes, object.attributes
12
12
  end
13
-
14
- it 'creates an empty error hash' do
15
- object = JD::Request::Create::Base.new(accessor, {})
16
- assert_equal({}, object.errors)
17
- end
18
13
  end
19
14
 
20
15
  describe '#headers' do
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: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Bellmyer