atrium-ruby 2.10.4 → 2.10.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: 24f768a257df30ed642e81955431e2c62d941325d38562d83ce265edc09a4f3f
4
- data.tar.gz: 77435733ff97f63473b2b3973c8fdf6a635f77d786d9dbf63841087b011c6fc5
3
+ metadata.gz: adee43fcf97f10f6790cd6b7fdd4cfa8f65845996e24172e444bcd1767f876e5
4
+ data.tar.gz: 2a59a5ff5bf0f010174b0f255a8f7cac0dbb4e2b4eb433e73875332bfdb49140
5
5
  SHA512:
6
- metadata.gz: '058a53f0154d39505555539773b2ff9b748f2c9c7bddb2c6f44b8850178dab29e71c44ff81cd83e4d3f408dd2e54474edca17427c849763a4a95a6c26e36f8f4'
7
- data.tar.gz: 207dd3f3d3fcdb03a7c1fb6bf0c6a9695aeeb070028af3a4357318399fdaad1981c11734b67dd3659a249cd156b80aa08f30085585a851aa755f3203205cd385
6
+ metadata.gz: 394e5077ce9e39fb2f4585524644f76a45df5b951387f9d8d4f8a556f9b8d82f8d7ba93e081ca541a9371cfd85bfcad36fe3a0e7ac3ea4a4f06b97a3835a8141
7
+ data.tar.gz: 69ad997e724fa14a68bb9c71fa16025605dca152e53681a4e56cea6e1775ec3efda7891985c6783db1e50f53be9a4b79ac522a284efd45a8091226d94e98d516
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '>= 12.3.3'
7
7
  end
data/README.md CHANGED
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
17
17
  Then either install the gem locally:
18
18
 
19
19
  ```shell
20
- gem install ./atrium-ruby-2.10.4.gem
20
+ gem install ./atrium-ruby-2.10.5.gem
21
21
  ```
22
22
 
23
23
  Finally add this to the Gemfile:
24
24
 
25
- gem 'atrium-ruby', '~> 2.10.4'
25
+ gem 'atrium-ruby', '~> 2.10.5'
26
26
 
27
27
  ### Install from Git
28
28
 
data/atrium-ruby.gemspec CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.license = 'MIT'
24
24
  s.required_ruby_version = ">= 1.9"
25
25
 
26
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
26
27
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
27
28
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
28
29
 
@@ -11,7 +11,7 @@ require 'json'
11
11
  require 'logger'
12
12
  require 'tempfile'
13
13
  require 'typhoeus'
14
- require 'uri'
14
+ require 'addressable/uri'
15
15
 
16
16
  module Atrium
17
17
  class ApiClient
@@ -261,7 +261,7 @@ module Atrium
261
261
  def build_request_url(path)
262
262
  # Add leading and trailing slashes to path
263
263
  path = "/#{path}".gsub(/\/+/, '/')
264
- URI.encode(@config.base_url + path)
264
+ Addressable::URI.encode(@config.base_url + path)
265
265
  end
266
266
 
267
267
  # Builds the HTTP request body
@@ -6,7 +6,7 @@
6
6
 
7
7
  =end
8
8
 
9
- require 'uri'
9
+ require 'addressable/uri'
10
10
 
11
11
  module Atrium
12
12
  class Configuration
@@ -174,7 +174,7 @@ module Atrium
174
174
 
175
175
  def base_url
176
176
  url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
177
- URI.encode(url)
177
+ Addressable::URI.encode(url)
178
178
  end
179
179
 
180
180
  # Gets API key (with prefix if set).
@@ -7,5 +7,5 @@
7
7
  =end
8
8
 
9
9
  module Atrium
10
- VERSION = '2.10.4'
10
+ VERSION = '2.10.5'
11
11
  end
metadata CHANGED
@@ -1,15 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atrium-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.4
4
+ version: 2.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-04 00:00:00.000000000 Z
11
+ date: 2021-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: addressable
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.3.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '2.3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.3.0
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: typhoeus
15
35
  requirement: !ruby/object:Gem::Requirement
@@ -435,7 +455,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
435
455
  - !ruby/object:Gem::Version
436
456
  version: '0'
437
457
  requirements: []
438
- rubygems_version: 3.2.3
458
+ rubygems_version: 3.1.2
439
459
  signing_key:
440
460
  specification_version: 4
441
461
  summary: Ruby wrapper for the Atrium API by MX