yao 0.4.2 → 0.4.3

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: e1789686116892938a28b82e269c12b5f5ef72c49c1e9f5135f24e98351d208a
4
- data.tar.gz: c2c470d8474707f81999cc6fa7f1a470315a2dd7d7ccc525c321ce5c5457d63b
3
+ metadata.gz: 0f0da0f480910417b6f051cb2450f683aa387a5f2ea24d81e1c25f90129af822
4
+ data.tar.gz: 10784d983ea85ebfa79559fea9f93912d0f498e92b0bf65577b60b869846102d
5
5
  SHA512:
6
- metadata.gz: 2cd63d1b7243beb3593f63ff2f9fd5869a61bf77887c9e8217c7a90cb460968221afa3cf639916c940cce4ec68b1a9372cb006b60e7bc979dda010e4ee49db92
7
- data.tar.gz: aee7a7cbf7e888bd0cd2c6cb6e0a2a78e206526c3140fd914426b6a794077e537238845fea29ef7eb0324ced1eee26e9ddce9b7dd35d0a9593a5c74d063e6c7d
6
+ metadata.gz: 309cb837c30b9b7f6a68ec6af32b086bb1fce9d8ed0b668f53699ffe8fefd35be6e48082c0184ae8c8e637a70f920aa73bbc34361a3b8a2a2ca2d0739418dc2d
7
+ data.tar.gz: 29ec510260386b7dc2d568368db6dfd9c49f849b725b6d290c72573a103248ae13cc2be67e2be891ae4b9ba999c384cbd41c73148baa93672702b1735fe8681c
data/lib/yao/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Yao
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -20,6 +20,6 @@ module RestfullAccessibleStub
20
20
  end
21
21
 
22
22
  def request_headers
23
- {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.12.2'}
23
+ {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>"Faraday v#{Faraday::VERSION}"}
24
24
  end
25
25
  end
@@ -14,7 +14,7 @@ class TestHypervisor < Test::Unit::TestCase
14
14
 
15
15
  def test_list_detail
16
16
  stub_request(:get, "https://example.com:12345/os-hypervisors/detail")
17
- .with(headers: {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.12.2'})
17
+ .with(headers: {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>"Faraday v#{Faraday::VERSION}"})
18
18
  .to_return(
19
19
  status: 200,
20
20
  body: <<-JSON,
@@ -33,7 +33,7 @@ class TestHypervisor < Test::Unit::TestCase
33
33
 
34
34
  def test_statistics
35
35
  stub_request(:get, "https://example.com:12345/os-hypervisors/statistics")
36
- .with(headers: {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.12.2'})
36
+ .with(headers: {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>"Faraday v#{Faraday::VERSION}"})
37
37
  .to_return(
38
38
  status: 200,
39
39
  body: <<-JSON,
@@ -63,7 +63,7 @@ class TestHypervisor < Test::Unit::TestCase
63
63
 
64
64
  def test_uptime
65
65
  stub_request(:get, "https://example.com:12345/os-hypervisors/1/uptime")
66
- .with(headers: {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.12.2'})
66
+ .with(headers: {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>"Faraday v#{Faraday::VERSION}"})
67
67
  .to_return(
68
68
  status: 200,
69
69
  body: <<-JSON,
data/yao.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_dependency "json"
21
- spec.add_dependency "faraday", "~> 0.12.0"
21
+ spec.add_dependency "faraday"
22
22
  spec.add_dependency "faraday_middleware"
23
23
 
24
24
  spec.add_development_dependency "bundler", ">= 1.10"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uchio, KONDO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-01 00:00:00.000000000 Z
11
+ date: 2018-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.12.0
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.12.0
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday_middleware
43
43
  requirement: !ruby/object:Gem::Requirement