mapbox-sdk 2.3.0 → 2.3.1

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: e37005101fa7cc0a72f5711254531e13574ddd14d470a8e115b278e62c4297f3
4
- data.tar.gz: ff3a2679ed83dc2df5f1fba7474d59cf0489adaa6b303f0f45072a579f2714d4
3
+ metadata.gz: 2de67f3d74dc108741f0f24be98c0d0c9ef1e0f339f1f93a0ded434a346327e7
4
+ data.tar.gz: a1c6335da15b1741f67f59d56860f7185aed3e21ee64ffb356b4dc03b3e71925
5
5
  SHA512:
6
- metadata.gz: 5e0d69f2d9f8920ef0ab08505156e1498dd579df3cedfc706444065d9d1ead993dab7abf9ab5451c5c22e0c0078e1a701f2f3eb5cb3a7dd29ee01ffb264f25d6
7
- data.tar.gz: 1b7b0370797210b16210060bbc92c52a9fa14add842fc2d4b7adb57e66aa0f951143012508084cde4ecc6d6c5e6fa91d53b2f8735c0a24b9a05849de9eb179e8
6
+ metadata.gz: 652a2d627953d128b3dd777885356646e40cb023584113e80ac88b53ccc14001d70837f7c04902fe6a8484fd1d064845a42e842762d321dd0e21ce64534a9b82
7
+ data.tar.gz: 80deb42871d24df8de2f632a86b5d815a9ec0ec69824096e23d86bc32213dd82603a05be7cbe292bd0180f61c467549201b4784ce4eef6a522d1583d2540dcf1
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.3.1] - 2020-11-07
8
+ ### Added
9
+
10
+ ### Changed
11
+ - Update to restclient 2.1.0
12
+
13
+ ### Removed
14
+
7
15
  ## [2.3.0] - 2019-01-16
8
16
  ### Added
9
17
  - Matrix endpoint, docs, and tests
data/Gemfile CHANGED
@@ -3,11 +3,11 @@ gemspec
3
3
 
4
4
  if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('1.9.3')
5
5
  gem 'i18n', '< 0.7'
6
- gem 'rest-client', '~> 2.0.1'
6
+ gem 'rest-client', '~> 2.1.0'
7
7
  gem "activesupport", ">= 4.1.11"
8
8
  gem 'rake', '10.1.0'
9
9
  end
10
10
 
11
11
  group :development, :test do
12
12
  gem "coveralls", :require => false
13
- end
13
+ end
data/README.md CHANGED
@@ -25,10 +25,16 @@ gem install mapbox-sdk
25
25
  * [Map Matching](https://docs.mapbox.com/api/navigation/#map-matching): [[docs](https://github.com/mapbox/mapbox-sdk-rb/blob/master/docs/mapmatching.md)]
26
26
  * Profiles for driving, driving-traffic, walking, and cycling
27
27
  * [Optimization](https://docs.mapbox.com/api/navigation/#optimization): [[docs](https://github.com/mapbox/mapbox-sdk-rb/blob/master/docs/optimization.md)]
28
- * Profiles for driving, driving-traffic, walking, and cycling
28
+ * Profiles for driving, driving-traffic, walking, and cycling
29
29
 
30
30
  ## Testing
31
31
 
32
- Run `bundle exec ruby -Itest test/all_tests.rb` or individual tests as needed.
32
+ You'll need to [create an access token](https://account.mapbox.com/access-tokens/create) in order to run tests.
33
+
34
+ Then you can run the entire test suite with the following command:
35
+
36
+ ```
37
+ MapboxAccessToken=<YOUR_ACCESS_TOKEN> bundle exec ruby -Itest test/all_tests.rb
38
+ ```
33
39
 
34
40
  Heavily influenced by Stripe's Ruby client, and includes its MIT license.
@@ -2,7 +2,7 @@ $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
2
2
 
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = 'mapbox-sdk'
5
- s.version = '2.3.0'
5
+ s.version = '2.3.1'
6
6
  s.summary = 'Ruby bindings for the Mapbox API'
7
7
  s.description = ''
8
8
  s.authors = ['Tom MacWright']
@@ -10,7 +10,7 @@ spec = Gem::Specification.new do |s|
10
10
  s.homepage = 'https://mapbox.com/developers'
11
11
  s.license = 'MIT'
12
12
 
13
- s.add_dependency('rest-client', '~> 2.0.1')
13
+ s.add_dependency('rest-client', '~> 2.1.0')
14
14
 
15
15
  s.add_development_dependency('mocha', '~> 0.13.2')
16
16
  s.add_development_dependency('shoulda', '~> 3.4.0')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mapbox-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom MacWright
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-25 00:00:00.000000000 Z
11
+ date: 2020-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.1
19
+ version: 2.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.1
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mocha
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.0.3
144
+ rubygems_version: 3.1.4
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Ruby bindings for the Mapbox API