spot-gps 0.2.9 → 0.3.0

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: b9c3ff80b74ec81abdd536ad77a5aa7dd6defc6772feb803a8c3be6b99c0259c
4
- data.tar.gz: 5bbbbf93561aab960399c6a08f965205fe71ced1f56705cc24618f7fca7c7ed2
3
+ metadata.gz: 6069293c6ee459b7252e78b8b25c272a7d0f5e20423a1011e93885fc4b4dbe39
4
+ data.tar.gz: 4b4bcd4a0bbd44c33dae37c26350def3b33a7c45b2146fa94c483decb2227c36
5
5
  SHA512:
6
- metadata.gz: 4dd13be4501e8ff9fa1d88fbfa2c5a147a7253367f2d04e872a0b5965f9f1006ccdeed2fb6a1d029b4ccbbff386f7dcdf48d15af13943cdae5b575d16609e56b
7
- data.tar.gz: 852ce01a01ed4fb0a447dade9d90d99c0fc5d834e169cc1b9454f7b606b0a82e930417fd2e741a4d22323c640a3b8d2c9625d1789e46381a15bd9ae98eb03221
6
+ metadata.gz: a2e725dede5dff4c2689a64bc449eac116c6b72508c0ade0414463f376478492985cbe9ff525cd727e5dd35e378b8d1aa36105d4419108b11c03822cdc339bfe
7
+ data.tar.gz: f7b90ccca8a9deb640432fb906a057cc44c7ad2c7cc26abc5e99273d78b750b29f4cd2f50f2596149d988a48c1efe7d3775ba0d48f38850f6769fcd775e347b5
@@ -0,0 +1,7 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ open-pull-requests-limit: 10
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.3.0, 4 January 2022
2
+
3
+ - Support faraday 2.x
4
+
1
5
  ## v0.2.9, 1 January 2020
2
6
 
3
7
  - Support faraday 1.x
@@ -14,7 +14,10 @@ module SPOT
14
14
  }
15
15
  }
16
16
 
17
- @connection = Faraday.new(base_uri, connection_options)
17
+ @connection =
18
+ Faraday.new(base_uri, connection_options) do |f|
19
+ f.adapter Faraday::Adapter::NetHttp
20
+ end
18
21
  end
19
22
 
20
23
  # Make a GET request to the SPOT API
@@ -1,3 +1,3 @@
1
1
  module SPOT
2
- VERSION = '0.2.9'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
data/lib/spot.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'json'
2
- require 'faraday'
2
+ require 'faraday/net_http'
3
3
 
4
4
  require 'spot-gps/version'
5
5
  require 'spot-gps/configuration'
data/spot-gps.gemspec CHANGED
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'rspec', '~> 3.5'
26
26
  spec.add_development_dependency 'rspec-its', '~> 1.0'
27
27
 
28
- spec.add_dependency 'faraday', ">= 0.8.9", "< 2.0.0"
28
+ spec.add_dependency 'faraday-net_http', ">= 2.0.0", "< 3.0.0"
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spot-gps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grey Baker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-01 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webmock
@@ -59,31 +59,32 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.0'
61
61
  - !ruby/object:Gem::Dependency
62
- name: faraday
62
+ name: faraday-net_http
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 0.8.9
67
+ version: 2.0.0
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
- version: 2.0.0
70
+ version: 3.0.0
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 0.8.9
77
+ version: 2.0.0
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
- version: 2.0.0
80
+ version: 3.0.0
81
81
  description:
82
82
  email: greysteil@gmail.com
83
83
  executables: []
84
84
  extensions: []
85
85
  extra_rdoc_files: []
86
86
  files:
87
+ - ".github/dependabot.yml"
87
88
  - ".gitignore"
88
89
  - ".travis.yml"
89
90
  - CHANGELOG.md
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
135
  - !ruby/object:Gem::Version
135
136
  version: '0'
136
137
  requirements: []
137
- rubygems_version: 3.0.3
138
+ rubygems_version: 3.1.4
138
139
  signing_key:
139
140
  specification_version: 4
140
141
  summary: A wrapper for the SPOT API