my_john_deere_api 1.2.1 → 1.2.2
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 +4 -4
 - data/lib/my_john_deere_api/version.rb +1 -1
 - data/test/lib/my_john_deere_api/client_test.rb +23 -4
 - data/test/lib/my_john_deere_api/request/collection/assets_test.rb +1 -1
 - data/test/lib/my_john_deere_api/request/create/asset_test.rb +1 -1
 - data/test/support/helper.rb +0 -6
 - data/test/support/vcr/catalog.yml +11 -12
 - data/test/support/vcr/delete_asset.yml +10 -10
 - data/test/support/vcr/get_access_token.yml +4 -4
 - data/test/support/vcr/get_asset.yml +16 -16
 - data/test/support/vcr/get_asset_locations.yml +29 -25
 - data/test/support/vcr/get_assets.yml +23 -23
 - data/test/support/vcr/get_contribution_definition.yml +10 -10
 - data/test/support/vcr/get_contribution_definitions.yml +10 -10
 - data/test/support/vcr/get_contribution_product.yml +10 -10
 - data/test/support/vcr/get_contribution_products.yml +10 -10
 - data/test/support/vcr/get_field.yml +15 -15
 - data/test/support/vcr/get_fields.yml +15 -15
 - data/test/support/vcr/get_flags.yml +5 -5
 - data/test/support/vcr/get_organization.yml +9 -9
 - data/test/support/vcr/get_organizations.yml +15 -15
 - data/test/support/vcr/get_request_token.yml +9 -9
 - data/test/support/vcr/post_asset_locations.yml +37 -33
 - data/test/support/vcr/post_assets.yml +21 -21
 - data/test/support/vcr/put_asset.yml +14 -14
 - data/test/support/vcr/warning.txt +8 -4
 - data/test/support/vcr_setup.rb +86 -32
 - metadata +2 -3
 - data/test/support/vcr/url.yml +0 -46
 
    
        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.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.2.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Jaime Bellmyer
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2020-02- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2020-02-10 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: vcr
         
     | 
| 
         @@ -210,7 +210,6 @@ files: 
     | 
|
| 
       210 
210 
     | 
    
         
             
            - test/support/vcr/post_asset_locations.yml
         
     | 
| 
       211 
211 
     | 
    
         
             
            - test/support/vcr/post_assets.yml
         
     | 
| 
       212 
212 
     | 
    
         
             
            - test/support/vcr/put_asset.yml
         
     | 
| 
       213 
     | 
    
         
            -
            - test/support/vcr/url.yml
         
     | 
| 
       214 
213 
     | 
    
         
             
            - test/support/vcr/warning.txt
         
     | 
| 
       215 
214 
     | 
    
         
             
            - test/support/vcr_setup.rb
         
     | 
| 
       216 
215 
     | 
    
         
             
            homepage: https://github.com/Intellifarm/my_john_deere_api
         
     | 
    
        data/test/support/vcr/url.yml
    DELETED
    
    | 
         @@ -1,46 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            ---
         
     | 
| 
       2 
     | 
    
         
            -
            http_interactions:
         
     | 
| 
       3 
     | 
    
         
            -
            - request:
         
     | 
| 
       4 
     | 
    
         
            -
                method: get
         
     | 
| 
       5 
     | 
    
         
            -
                uri: https://sandboxapi.deere.com/platform/
         
     | 
| 
       6 
     | 
    
         
            -
                body:
         
     | 
| 
       7 
     | 
    
         
            -
                  encoding: US-ASCII
         
     | 
| 
       8 
     | 
    
         
            -
                  string: ''
         
     | 
| 
       9 
     | 
    
         
            -
                headers:
         
     | 
| 
       10 
     | 
    
         
            -
                  Accept:
         
     | 
| 
       11 
     | 
    
         
            -
                  - application/vnd.deere.axiom.v3+json
         
     | 
| 
       12 
     | 
    
         
            -
                  Accept-Encoding:
         
     | 
| 
       13 
     | 
    
         
            -
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
       14 
     | 
    
         
            -
                  User-Agent:
         
     | 
| 
       15 
     | 
    
         
            -
                  - OAuth gem v0.5.4
         
     | 
| 
       16 
     | 
    
         
            -
                  Authorization:
         
     | 
| 
       17 
     | 
    
         
            -
                  - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
         
     | 
| 
       18 
     | 
    
         
            -
                    oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
         
     | 
| 
       19 
     | 
    
         
            -
                    oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581028214", oauth_version="1.0"
         
     | 
| 
       20 
     | 
    
         
            -
              response:
         
     | 
| 
       21 
     | 
    
         
            -
                status:
         
     | 
| 
       22 
     | 
    
         
            -
                  code: 200
         
     | 
| 
       23 
     | 
    
         
            -
                  message: OK
         
     | 
| 
       24 
     | 
    
         
            -
                headers:
         
     | 
| 
       25 
     | 
    
         
            -
                  Date:
         
     | 
| 
       26 
     | 
    
         
            -
                  - Fri, 07 Feb 2020 04:28:52 GMT
         
     | 
| 
       27 
     | 
    
         
            -
                  Content-Type:
         
     | 
| 
       28 
     | 
    
         
            -
                  - application/vnd.deere.axiom.v3+json;charset=UTF-8
         
     | 
| 
       29 
     | 
    
         
            -
                  X-Deere-Handling-Server:
         
     | 
| 
       30 
     | 
    
         
            -
                  - ip-10-214-44-29
         
     | 
| 
       31 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       32 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       33 
     | 
    
         
            -
                  X-Deere-Elapsed-Ms:
         
     | 
| 
       34 
     | 
    
         
            -
                  - '19'
         
     | 
| 
       35 
     | 
    
         
            -
                  Cache-Control:
         
     | 
| 
       36 
     | 
    
         
            -
                  - no-store
         
     | 
| 
       37 
     | 
    
         
            -
                  Content-Language:
         
     | 
| 
       38 
     | 
    
         
            -
                  - en-US
         
     | 
| 
       39 
     | 
    
         
            -
                  Transfer-Encoding:
         
     | 
| 
       40 
     | 
    
         
            -
                  - chunked
         
     | 
| 
       41 
     | 
    
         
            -
                body:
         
     | 
| 
       42 
     | 
    
         
            -
                  encoding: ASCII-8BIT
         
     | 
| 
       43 
     | 
    
         
            -
                  string: '{"@type":"ApiCatalog","links":[{"@type":"Link","rel":"oauthRequestToken","uri":"https://sandboxapi.deere.com/platform/oauth/request_token"},{"@type":"Link","rel":"oauthAuthorizeRequestToken","uri":"https://my.deere.com/consentToUseOfData?oauth_token={token}"},{"@type":"Link","rel":"oauthAccessToken","uri":"https://sandboxapi.deere.com/platform/oauth/access_token"},{"@type":"Link","rel":"agencies","uri":"https://sandboxapi.deere.com/platform/agencies"}]}'
         
     | 
| 
       44 
     | 
    
         
            -
                http_version: 
         
     | 
| 
       45 
     | 
    
         
            -
              recorded_at: Fri, 07 Feb 2020 04:28:53 GMT
         
     | 
| 
       46 
     | 
    
         
            -
            recorded_with: VCR 5.0.0
         
     |