myjohndeere 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: a2b9b3304737fc437f453e1fb69b9b5b955d5d40
4
- data.tar.gz: 30074c7e4a0cddd4b1c41a5072cf3c3a67532a6c
3
+ metadata.gz: b526cc75a6720846322dc5e9c59edb027d43098d
4
+ data.tar.gz: f9441bbe922c914a55e7a425fd7595cfe42a9cb3
5
5
  SHA512:
6
- metadata.gz: 72b2153b4827aaf0a84fbc91a7dd7752d6be9f68b574bb771b56a734fdb78a08ecfd1a0ade5cd0e3d1a85da485a16b57db6e6e1a1dc31d27a7324d207accb34d
7
- data.tar.gz: b8627f4007fde134dcb8e4c803429e1a6681327fc2ae5a9f95b9bbe52e24797cf1fb5e3ad8c9c2680dc08431b4103952a1281b62ba6bedc0a67f7d8ca86e5ebc
6
+ metadata.gz: 8d57d5d6887707b4d6a2abb31f8213b6cad412f7b2512b54a2b2c5a9f53d1b1805f172fe325a5f692d0f3b31f3cb177115c675102326f012fc367c82a36c3088
7
+ data.tar.gz: dd0775f0d88d5ae46970cd5c3849758d9a52c0685a4b4fb7b88bcbac01dc054135bfe93fb1650acff6ee008dc65adcfd97e16f61046971bfe165bb45e8f3ce8a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- myjohndeere (0.1.6)
4
+ myjohndeere (0.1.7)
5
5
  oauth (>= 0.5.3)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # MyJohnDeere API Library
1
+ # MyJohnDeere/Operations Center API Library
2
2
 
3
- The MyJohnDeere Ruby library provides convenient access to the MyJohnDeere API from applications written in the Ruby language. It includes a pre-defined set of classes for API resources that are available currently from the API. You will need to get access by going to the [JohnDeere Developer page](https://developer.deere.com/#!welcome). The interface utilizes OAUTH 1.0.
3
+ The MyJohnDeere Ruby library provides convenient access to the MyJohnDeere and various Operations Center API from applications written in the Ruby language. It includes a pre-defined set of classes for API resources that are available currently from the API. You will need to get access by going to the [John Deere Developer page](https://developer.deere.com/#!welcome). The interface utilizes OAUTH 1.0.
4
4
 
5
5
  ## Installation
6
6
 
@@ -16,7 +16,7 @@ If you want to build the gem from source:
16
16
 
17
17
  ### Configuration
18
18
 
19
- The library needs to be configured with your MyJohnDeere account's shared secret & app id. These will be available on the developer page at JohnDeere.
19
+ The library needs to be configured with your MyJohnDeere account's shared secret & app id. These will be available on the developer page at John Deere.
20
20
 
21
21
  ``` ruby
22
22
  require "myjohndeere"
@@ -119,4 +119,4 @@ Run a single test:
119
119
 
120
120
  ## Disclaimer
121
121
 
122
- This Gem is in no way associated with JohnDeere, and they are in no way associated with it's support, maintenance, or updates.
122
+ This Gem is in no way associated with John Deere, and they are in no way associated with it's support, maintenance, or updates.
@@ -41,7 +41,7 @@ module MyJohnDeere
41
41
  end
42
42
 
43
43
  def next_page!()
44
- list_options = base_resources.merge({
44
+ list_options = (base_resources || {}).merge({
45
45
  count: self.count,
46
46
  start: self.start + self.count,
47
47
  etag: self.etag
@@ -1,3 +1,3 @@
1
1
  module MyJohnDeere
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myjohndeere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Susmarski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-19 00:00:00.000000000 Z
11
+ date: 2018-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.6.13
107
+ rubygems_version: 2.0.14.1
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Ruby bindings for the MyJohnDeere API