idcfcloud 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -3
- data/lib/idcf/cli/extend/update.rb +10 -1
- data/lib/idcf/cli/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: bd5e9b70284425fea69f02dea0665639100f032a
|
4
|
+
data.tar.gz: 855ed33f36d9cff52789b9893f9008f95ccdfe7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55440f80c267f21a57c59713a3f43c846ccef1820e339d58366633b778456dfab6e3e697dc48d22b60ed69c4c757c2b10d1102c2a43ddbcf15084ebe17a04c0c
|
7
|
+
data.tar.gz: e2859e327036fd06a2fd2b1dd1448d2adeb4ea30d3084a09b330ca8bbe65d769d8a674ebff53db485d52a13cfa70a9b791915b339b67b9c3b9a8a99c7532a4bb
|
data/Gemfile
CHANGED
@@ -42,7 +42,7 @@ module Idcf
|
|
42
42
|
module_methods = []
|
43
43
|
client.class.included_modules.each do |m|
|
44
44
|
next unless m.to_s =~ /\AIdcf::.*::ClientExtensions/
|
45
|
-
module_methods.concat(m
|
45
|
+
module_methods.concat(module_instance_methods(m))
|
46
46
|
end
|
47
47
|
module_methods.each do |method|
|
48
48
|
result[method] = make_method_info(client, method)
|
@@ -50,6 +50,15 @@ module Idcf
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
def module_instance_methods(mc)
|
54
|
+
[].tap do |result|
|
55
|
+
base_name = mc.to_s.underscore.split('/').pop
|
56
|
+
mc.instance_methods.each do |method|
|
57
|
+
result << method unless Regexp.new("\\A#{base_name}s?\\Z") =~ method.to_s
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
53
62
|
def make_method_info(client, method_sym)
|
54
63
|
params = []
|
55
64
|
client.method(method_sym).parameters.each do |param|
|
data/lib/idcf/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idcfcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IDC Frontier Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|