berkshelf-api-client 1.3.1 → 2.0.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
  SHA1:
3
- metadata.gz: 1c22f1c6bb18568e3c9504a7e277c3adef06d48b
4
- data.tar.gz: 5f9c09372584fc12eb9d54b220aaf45bffde3eb3
3
+ metadata.gz: 65e8fbb9b9b83ddf158230cd0130c0e26984470f
4
+ data.tar.gz: d79b3b50a0929fab69b6877455a932baa7ae6ca6
5
5
  SHA512:
6
- metadata.gz: 0bf5758d99dba12a1c98bf59abfaebbe23a4fcefd455d49e2fe52da58887602a6a1857b59c4faf77e1127b9619377bef85e8f05ee8118d3dd4857dfaf33f0406
7
- data.tar.gz: 6e1b33fdb536dfee6fb1c02f36c068db8f7f7d0df544ebbca6536663a59a5c92f811d96e2fcee7671d05b16a1ad52058c4bbba02a3091ac538cf06940f094a57
6
+ metadata.gz: 443b6da19e902be0291d6a17e1c6b82d27947b220c96ba3d0da42b04820f928515e6c6f5f34ad1bdd18c8af460940b51ae8c0e501c1397b6089d50b20fbc04cb
7
+ data.tar.gz: 9813542db10bf9afc0546152d6b290d8c7fd00c0cb3e8c2e17fa931689db6db14f98bddccccb035ef2a141178fd258f11137b584e7fa422c4266e24e1233c320
data/.travis.yml CHANGED
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
4
+ - 2.1
5
+ - 2.2
5
6
  notifications:
6
7
  irc:
7
8
  channels:
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.summary = spec.description
21
21
  spec.homepage = "http://berkshelf.com"
22
22
  spec.license = "Apache 2.0"
23
- spec.required_ruby_version = ">= 1.9.2"
23
+ spec.required_ruby_version = ">= 2.0.0"
24
24
 
25
25
  spec.files = `git ls-files`.split($/)
26
26
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -26,8 +26,7 @@ module Berkshelf::APIClient
26
26
  # @option options [Float] :retry_interval (0.5)
27
27
  # how long to wait (in seconds) between each retry
28
28
  def initialize(url, options = {})
29
- options = options.reverse_merge(retries: 3, retry_interval: 0.5,
30
- open_timeout: 30, timeout: 30)
29
+ options = {retries: 3, retry_interval: 0.5, open_timeout: 30, timeout: 30}.merge(options)
31
30
  @url = url
32
31
  @retries = options.delete(:retries)
33
32
  @retry_interval = options.delete(:retry_interval)
@@ -1,5 +1,5 @@
1
1
  module Berkshelf
2
2
  module APIClient
3
- VERSION = "1.3.1"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berkshelf-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-12 00:00:00.000000000 Z
13
+ date: 2015-10-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 1.9.2
166
+ version: 2.0.0
167
167
  required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - ">="