yao 0.3.3 → 0.3.4

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
  SHA1:
3
- metadata.gz: 9cb896f2250772f6580f028bb2dc529c962cbaec
4
- data.tar.gz: 897adb236fd643b44fb04cbbfee42f33d6585f7c
3
+ metadata.gz: 5b7529089268213ac8503cf842e27c017dc8dcfa
4
+ data.tar.gz: 357f6bfbf0573d66be36cf885c4204180f4655a8
5
5
  SHA512:
6
- metadata.gz: 0d61e5b8f00624660f4fc2f2cf565d2ff61251b1dc7a7ab0b00a666337cf7f4b621b107e45bc3ca617ce12777174c6f62e21ccde194414acf348f46a97dcb48e
7
- data.tar.gz: e5ec0f64e49552af51df369edb40f60157bdfc9013f144c4cb3eff654980186085c6efc896fc170532fa27991adacd8b1318b62f3befe34a125c48b16f501252
6
+ metadata.gz: '08f07ecb314bfb38433b8b9faf788df3734ed78295703d6f2e39a716f8e2079f665428bed1fbf4436347717db5454ab5785f4486d592e91f9d783db56cac936c'
7
+ data.tar.gz: 6f2052aefc3462c4de7d887b81032ffec1f5516ab50ca5d89d4b340fc61d38ce556a76c85ac62a960c3f190e0612b3341543d6aca0b36c3bdf67128734e1c9cd
data/README.md CHANGED
@@ -33,10 +33,13 @@ Yao.configure do
33
33
 
34
34
  # timeout is optional
35
35
  timeout 300
36
-
36
+
37
37
  # If your endpoint requires cert & key
38
38
  client_cert "/path/to/my.pem"
39
39
  client_key "/path/to/my.key"
40
+
41
+ # If you want to change region
42
+ region_name "FukuokaRegion"
40
43
  end
41
44
 
42
45
  Yao::Network.list # list up networks...
@@ -6,6 +6,7 @@ module Yao::Resources
6
6
  self.resources_name = "role_assignments"
7
7
  self.admin = true
8
8
  self.api_version = "v3"
9
+ self.client.url_prefix = Yao.config.auth_url.gsub('v2.0', 'v3')
9
10
 
10
11
  def project
11
12
  @project ||= Yao::Tenant.get(scope["project"]["id"])
data/lib/yao/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Yao
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
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.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uchio, KONDO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-12 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.6.8
245
+ rubygems_version: 2.6.11
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Yet Another OpenStack API Wrapper that rocks!!