yao 0.2.5 → 0.2.6
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 +4 -4
- data/README.md +6 -0
- data/lib/yao/resources/tenant.rb +1 -1
- data/lib/yao/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33a49fe2cb1fb21df9331f2d85de80a794268b12
|
|
4
|
+
data.tar.gz: 9adb158bd2cccd4b90b826d20e0c238e2f26c31d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7792d500a66731422caa7525cd8ec3b0ec99d77438e43fda74d7a446cff03c832a6b770b5f1a352a84c05275185afb864ea800f0b56c3eadaf1a0aa1e5810d84
|
|
7
|
+
data.tar.gz: 577e47cafa1eebb393141b5a39ac571972549571e32d7ef99e000a8c43cc01d996a2f323ef28c3c1b0b7ee9cb536a4bc885785b3e6bc7e039ef754bd4ebdfcf2
|
data/README.md
CHANGED
|
@@ -36,6 +36,12 @@ Yao::Network.list # list up networks...
|
|
|
36
36
|
Yao::Server.list_detail # list up instances...
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
## Support policy
|
|
40
|
+
|
|
41
|
+
YAO supports rubies which are supported by Ruby Core Team. Please look into [`.travis.yml`](./.travis.yml) 's directive.
|
|
42
|
+
|
|
43
|
+
If you want to use YAO's full functionality, e.g Ruby 2.0 or below, please create an issue or a PR first (PR Recommended ;) ).
|
|
44
|
+
|
|
39
45
|
## Pro tips
|
|
40
46
|
|
|
41
47
|
You can use a prittier namespace:
|
data/lib/yao/resources/tenant.rb
CHANGED
|
@@ -13,7 +13,7 @@ module Yao::Resources
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def meters
|
|
16
|
-
@meters ||= Yao::Meter.list({'q.field'
|
|
16
|
+
@meters ||= Yao::Meter.list({'q.field' => 'project_id', 'q.op' => 'eq', 'q.value' => id})
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def meters_by_name(meter_name)
|
data/lib/yao/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yao
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Uchio, KONDO
|
|
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
230
230
|
version: '0'
|
|
231
231
|
requirements: []
|
|
232
232
|
rubyforge_project:
|
|
233
|
-
rubygems_version: 2.
|
|
233
|
+
rubygems_version: 2.2.3
|
|
234
234
|
signing_key:
|
|
235
235
|
specification_version: 4
|
|
236
236
|
summary: Yet Another OpenStack API Wrapper that rocks!!
|
|
@@ -242,4 +242,3 @@ test_files:
|
|
|
242
242
|
- test/yao/test_config.rb
|
|
243
243
|
- test/yao/test_server_error.rb
|
|
244
244
|
- test/yao/test_token.rb
|
|
245
|
-
has_rdoc:
|