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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 517b6618308b87efa43bf2b5fa2853c83a543f1d
4
- data.tar.gz: 2dec246c29252a5a72ca61d8858095e786003465
3
+ metadata.gz: 6e696fbc7834e739c27a29deb49679d3460773cb
4
+ data.tar.gz: 250225f1088c806b3f5dbd35fca145cabf8ef666
5
5
  SHA512:
6
- metadata.gz: 6c0933ab6497b148eccd6d665937b9356e02ace745a14cef84a34a2e9f4479b97dfb4de1abab5313358033f47f9a706019de2c15d2d5e94e395e3268ada1a1c3
7
- data.tar.gz: 692dd164884a732865215e318f5e54e7a2eae8c9d6ef7a7c5e2984deaeb7655d163b2f637f492fee619925e49b733c0a4fe4ea6eabcc280739b022b5a038cff7
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
- super.map{|r| r[resource_name_in_json] }
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
@@ -1,3 +1,3 @@
1
1
  module Yao
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
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.0.5
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-09-24 00:00:00.000000000 Z
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json