yao 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yao/resources/keypair.rb +2 -2
- data/lib/yao/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e696fbc7834e739c27a29deb49679d3460773cb
|
4
|
+
data.tar.gz: 250225f1088c806b3f5dbd35fca145cabf8ef666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a8560868dd98e7a2a9d9175691b9508c73ecaa4fe5b8bcef63d7471dc5d1decafba99249b07a0c09a86a47a5a5644a1e36658251c2250529994f8e81ca411fa
|
7
|
+
data.tar.gz: 23bb94097a85315a46770eeb87fddcdbc119916d4adb1da78079ea1ab4218899d1852f9a56e18ca4ecce0f8cd353a474be791d4d35fb1045ba6c4ea85feef605
|
@@ -6,8 +6,8 @@ module Yao::Resources
|
|
6
6
|
self.resource_name = "os-keypair"
|
7
7
|
self.resources_name = "os-keypairs"
|
8
8
|
|
9
|
-
def self.list
|
10
|
-
|
9
|
+
def self.list(query={})
|
10
|
+
return_resources(GET(resources_name, query).body[resources_name_in_json].map{|r| r[resource_name_in_json] })
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
data/lib/yao/version.rb
CHANGED
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.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uchio, KONDO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|