nifty-cloud-sdk 1.11.beta2 → 1.11.beta3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -87
- data/lib/NIFTY/Cloud/certificates.rb +3 -7
- data/lib/NIFTY/Cloud/instances.rb +7 -9
- data/lib/NIFTY/Cloud/keypairs.rb +1 -2
- data/lib/NIFTY/version.rb +1 -1
- data/test/test_Cloud_instances.rb +2 -2
- metadata +116 -82
data/CHANGELOG
CHANGED
@@ -2,17 +2,14 @@
|
|
2
2
|
ニフティクラウド SDK for Ruby
|
3
3
|
-----------------------------
|
4
4
|
|
5
|
-
|
5
|
+
2014-10-28 SDK for Ruby Version.1.11.beta3
|
6
6
|
-------------------------------------------------------------------------------
|
7
|
-
* 1.11リリース
|
8
|
-
*
|
9
|
-
|
10
|
-
* lib/NIFTY/Cloud/load_balancers.rb
|
11
|
-
* test/test_Cloud_load_balancers.rb
|
12
|
-
- バグがあったので修正する (see #10)
|
7
|
+
* 1.11.beta2リリース
|
8
|
+
* エコノミータイプに対応
|
13
9
|
|
14
|
-
|
15
|
-
|
10
|
+
* lib/NIFTY/Cloud/instances.rb
|
11
|
+
* test/test_Cloud_instances.rb
|
12
|
+
- エコノミータイプに対応 (#24)
|
16
13
|
|
17
14
|
2013-09-16 SDK for Ruby Version.1.11.beta2
|
18
15
|
-------------------------------------------------------------------------------
|
@@ -27,84 +24,6 @@
|
|
27
24
|
* test/test_Cloud_security_groups.rb
|
28
25
|
- セキュリティグループルールの ANY に対応する (see #22)
|
29
26
|
|
30
|
-
2012-11-24 SDK for Ruby Version.1.11.beta1
|
31
|
-
-------------------------------------------------------------------------------
|
32
|
-
* 1.11.beta1リリース
|
33
|
-
* API Version 1.11に対応
|
34
|
-
|
35
|
-
* lib/NIFTY/Cloud/images.rb
|
36
|
-
* test/test_Cloud_images.rb
|
37
|
-
- NIFTY::Cloud::Base#create_image でリージョン/ゾーンに対応する (see #17)
|
38
|
-
|
39
|
-
* lib/NIFTY/Cloud/security_groups.rb
|
40
|
-
* test/test_Cloud_security_groups.rb
|
41
|
-
- NIFTY::Cloud::Base#create_security_group でリージョン/ゾーンに対応する (see #17)
|
42
|
-
|
43
|
-
* lib/NIFTY/Cloud/availability_zones.rb
|
44
|
-
* test/test_Cloud_availability_zones.rb
|
45
|
-
- NIFTY::Cloud::Base#describe_availability_zones でリージョン/ゾーンに対応する (see #17)
|
46
|
-
- NIFTY::Cloud::Base#describe_regions を追加する (see #17)
|
47
|
-
|
48
|
-
* lib/NIFTY/Cloud/availability_zones.rb
|
49
|
-
* test/test_Cloud_images.rb
|
50
|
-
- NIFTY::Cloud::Base#describe_images でリージョン/ゾーンに対応する (see #17)
|
51
|
-
|
52
|
-
* test/test_Cloud_load_balancers.rb
|
53
|
-
- NIFTY::Cloud::Base#describe_load_balancers でリージョン/ゾーンに対応する (see #17)
|
54
|
-
- NIFTY::Cloud::Base#create_load_balancer でリージョン/ゾーンに対応する (see #17)
|
55
|
-
|
56
|
-
* lib/NIFTY/Cloud/instances.rb
|
57
|
-
* test/test_Cloud_instances.rb
|
58
|
-
- NIFTY::Cloud::Base#run_instances で :agreement オプションを指定できるようにする (see #18)
|
59
|
-
- NIFTY::Cloud::Base#describe_instances でリージョン/ゾーンに対応する (see #17)
|
60
|
-
- NIFTY::Cloud::Base#copy_instances でリージョン/ゾーンに対応する (see #17)
|
61
|
-
|
62
|
-
* README.rdoc
|
63
|
-
- ドキュメントにリージョン/ゾーンの指定方法を書く (see #17)
|
64
|
-
|
65
|
-
* lib/NIFTY/version.rb
|
66
|
-
- VERSIONを変更
|
67
|
-
|
68
|
-
|
69
|
-
2012-11-23 SDK for Ruby Version.1.9.beta1
|
70
|
-
-------------------------------------------------------------------------------
|
71
|
-
* 1.9.beta1リリース
|
72
|
-
* API Version 1.9に対応
|
73
|
-
|
74
|
-
* lib/NIFTY/Cloud/instances.rb
|
75
|
-
* test/test_Cloud_instances.rb
|
76
|
-
- modify_instance_attribute で accountingType を指定できるようにする (see #12)
|
77
|
-
- NIFTY::Cloud::Base#import_instanace を実装する (see #8)
|
78
|
-
|
79
|
-
* lib/NIFTY/Cloud/resources.rb
|
80
|
-
* test/test_Cloud_resources.rb
|
81
|
-
- 下記を追加する
|
82
|
-
NIFTY::Cloud::Base#describe_user_activities
|
83
|
-
NIFTY::Cloud::Base#describe_usage
|
84
|
-
NIFTY::Cloud::Base#describe_resources
|
85
|
-
NIFTY::Cloud::Base#describe_service_status
|
86
|
-
|
87
|
-
* lib/NIFTY/Cloud/uploads.rb
|
88
|
-
* test/test_Cloud_uploads.rb
|
89
|
-
- NIFTY::Cloud::Base#describe_uploads, #cancel_uploads を実装する (see #8)
|
90
|
-
|
91
|
-
* lib/NIFTY/Cloud/load_balancers.rb
|
92
|
-
* test/test_Cloud_load_balancers.rb
|
93
|
-
- 下記を追加する (see #10)
|
94
|
-
NIFTY::Cloud::Base#update_load_balancer_option
|
95
|
-
NIFTY::Cloud::Base#set_load_balancer_listener_ssl_certificate
|
96
|
-
NIFTY::Cloud::Base#unset_load_balancer_listener_ssl_certificate
|
97
|
-
NIFTY::Cloud::Base#clear_load_balancer_session を追加する
|
98
|
-
- NIFTY::Cloud::Base#describe_load_balancers を修正する (see #10)
|
99
|
-
|
100
|
-
* lib/NIFTY/Cloud/security_groups.rb
|
101
|
-
* test/test_Cloud_security_groups.rb
|
102
|
-
- NIFTY::Cloud::Base#update_security_group_option, #describe_security_group_option を追加する (see #11)
|
103
|
-
|
104
|
-
* lib/NIFTY/version.rb
|
105
|
-
- VERSIONを変更
|
106
|
-
|
107
|
-
|
108
27
|
2012-11-12 SDK for Ruby Version.1.8.beta1
|
109
28
|
-------------------------------------------------------------------------------
|
110
29
|
* 1.8.beta1リリース
|
@@ -30,7 +30,6 @@ module NIFTY
|
|
30
30
|
# @option options [String] :location_name 事業所住所の市区町村名(必須)
|
31
31
|
# @return [Hash] レスポンスXML解析結果
|
32
32
|
#
|
33
|
-
# TODO: コメント直す
|
34
33
|
# @example
|
35
34
|
# create_ssl_certificate(:fqdn => 'aaa.aaa.aaa', :count => 2, :validity_term => 24, :key_length => 1024, :organization_name => 'NIFTY',
|
36
35
|
# :organization_unit_name => 'Center Department', :state_name => 'Tokyo', :location_name => 'Shinagawa-ku')
|
@@ -47,14 +46,14 @@ module NIFTY
|
|
47
46
|
raise ArgumentError, "No :state_name provided." if blank?(options[:state_name])
|
48
47
|
raise ArgumentError, "No :location_name provided." if blank?(options[:location_name])
|
49
48
|
end
|
50
|
-
raise ArgumentError, "Invalid :count provided." unless blank?(options[:count]) || ('
|
49
|
+
raise ArgumentError, "Invalid :count provided." unless blank?(options[:count]) || ('1'..'30').to_a.include?(options[:count].to_s)
|
51
50
|
raise ArgumentError, "Invalid :cert_authority provided." unless blank?(options[:cert_authority]) || CERT_AUTHORITY.include?(options[:cert_authority].to_s)
|
52
51
|
raise ArgumentError, "Invalid :validity_term provided." unless blank?(options[:validity_term]) ||
|
53
52
|
VALIDITY_TERM.include?(options[:validity_term].to_s)
|
54
53
|
raise ArgumentError, "Invalid :key_length provided." unless blank?(options[:key_length]) || KEY_LENGTH.include?(options[:key_length].to_s)
|
55
54
|
|
56
55
|
params = {'Action' => 'CreateSslCertificate'}
|
57
|
-
params.merge!(opts_to_prms(options, [:fqdn_id, :fqdn, :cert_authority, :count, :validity_term, :key_length
|
56
|
+
params.merge!(opts_to_prms(options, [:fqdn_id, :fqdn, :cert_authority, :count, :validity_term, :key_length]))
|
58
57
|
params.merge!(opts_to_prms(options, [:organization_name, :organization_unit_name, :country_name,
|
59
58
|
:state_name, :location_name, :email_address], 'CertInfo'))
|
60
59
|
|
@@ -250,16 +249,13 @@ module NIFTY
|
|
250
249
|
raise ArgumentError, "No :name2 provided." if blank?(options[:name2])
|
251
250
|
raise ArgumentError, "No :kana_name1 provided." if blank?(options[:kana_name1])
|
252
251
|
raise ArgumentError, "No :kana_name2 provided." if blank?(options[:kana_name2])
|
253
|
-
raise ArgumentError, "No :alphabet_name1 provided." if blank?(options[:alphabet_name1])
|
254
|
-
raise ArgumentError, "No :alphabet_name2 provided." if blank?(options[:alphabet_name2])
|
255
|
-
raise ArgumentError, "No :phone_number provided." if blank?(options[:phone_number])
|
256
252
|
raise ArgumentError, "No :post_name provided." if blank?(options[:post_name])
|
257
253
|
raise ArgumentError, "No :division_name provided." if blank?(options[:division_name])
|
258
254
|
|
259
255
|
params = {'Action' => 'RegisterCorporateInfoForCertificate'}
|
260
256
|
params.merge!(opts_to_prms(options,
|
261
257
|
[:agreement, :tdb_code, :corp_name, :corp_grade, :president_name1, :president_name2,
|
262
|
-
:zip1, :zip2, :pref, :city, :name1, :name2, :kana_name1, :kana_name2, :
|
258
|
+
:zip1, :zip2, :pref, :city, :name1, :name2, :kana_name1, :kana_name2, :post_name, :division_name]))
|
263
259
|
|
264
260
|
return response_generator(params)
|
265
261
|
end
|
@@ -1,9 +1,10 @@
|
|
1
1
|
module NIFTY
|
2
2
|
module Cloud
|
3
3
|
class Base < NIFTY::Base
|
4
|
-
INSTANCE_TYPE = ['mini', 'small', '
|
5
|
-
'
|
6
|
-
'
|
4
|
+
INSTANCE_TYPE = ['e-mini', 'mini', 'e-small', 'small', 'e-small2', 'small2', 'e-small4', 'small4', 'e-small8', 'small8',
|
5
|
+
'e-medium', 'medium', 'e-medium4', 'medium4', 'e-medium8', 'medium8', 'e-medium16', 'medium16',
|
6
|
+
'e-large', 'large', 'e-large8', 'large8', 'e-large16', 'large16', 'e-large24', 'large24', 'e-large32', 'large32',
|
7
|
+
'extra-large16', 'extra-large24', 'extra-large32', 'double-large32', 'double-large48', 'double-large64']
|
7
8
|
ACCOUNTING_TYPE = ['1', '2']
|
8
9
|
BOOLEAN = ['true', 'false']
|
9
10
|
IP_TYPE = ['static', 'dynamic', 'none']
|
@@ -179,8 +180,7 @@ module NIFTY
|
|
179
180
|
raise ArgumentError, "Invalid :image_id provided." unless options[:image_id].to_s.to_i > 0
|
180
181
|
raise ArgumentError, "Invalid :key_name provided." unless blank?(options[:key_name]) || ALPHANUMERIC =~ options[:key_name].to_s
|
181
182
|
#raise ArgumentError, "No :security_group provided." if blank?(options[:security_group])
|
182
|
-
raise ArgumentError, "Invalid :security_group provided." unless blank?(options[:security_group]) ||
|
183
|
-
[options[:security_group]].flatten.all? {|x| GROUP_NAME =~ x.to_s }
|
183
|
+
raise ArgumentError, "Invalid :security_group provided." unless blank?(options[:security_group]) || GROUP_NAME =~ options[:security_group].to_s
|
184
184
|
raise ArgumentError, "No :password provided." if WINDOWS_IMAGE_ID.include?(options[:image_id].to_s) && blank?(options[:password])
|
185
185
|
raise ArgumentError, "Invalid :password provided." unless blank?(options[:password]) || ALPHANUMERIC =~ options[:password].to_s
|
186
186
|
raise ArgumentError, "Invalid :instance_type provided." unless blank?(options[:instance_type]) || INSTANCE_TYPE.include?(options[:instance_type].to_s)
|
@@ -355,8 +355,7 @@ module NIFTY
|
|
355
355
|
end
|
356
356
|
end
|
357
357
|
#raise ArgumentError, "No :security_group provided." if blank?(options[:security_group])
|
358
|
-
raise ArgumentError, "Invalid :security_group provided." unless blank?(options[:security_group]) ||
|
359
|
-
[options[:security_group]].flatten.all? {|x| GROUP_NAME =~ x.to_s }
|
358
|
+
raise ArgumentError, "Invalid :security_group provided." unless blank?(options[:security_group]) || GROUP_NAME =~ options[:security_group].to_s
|
360
359
|
raise ArgumentError, "Invalid :copy_count provided." unless blank?(options[:copy_count]) || options[:copy_count].to_s.to_i >= 1
|
361
360
|
|
362
361
|
params = {
|
@@ -435,8 +434,7 @@ module NIFTY
|
|
435
434
|
def import_instance( options={} )
|
436
435
|
raise ArgumentError, "No :ovf provided." if blank?(options[:ovf])
|
437
436
|
#raise ArgumentError, "No :security_group provided." if blank?(options[:security_group])
|
438
|
-
raise ArgumentError, "Invalid :security_group provided." unless blank?(options[:security_group]) ||
|
439
|
-
[options[:security_group]].flatten.all? {|x| GROUP_NAME =~ x.to_s }
|
437
|
+
raise ArgumentError, "Invalid :security_group provided." unless blank?(options[:security_group]) || GROUP_NAME =~ options[:security_group].to_s
|
440
438
|
raise ArgumentError, "Invalid :instance_type provided." unless blank?(options[:instance_type]) || INSTANCE_TYPE.include?(options[:instance_type].to_s)
|
441
439
|
raise ArgumentError, "Invalid :disable_api_termination provided." unless blank?(options[:disable_api_termination]) ||
|
442
440
|
BOOLEAN.include?(options[:disable_api_termination].to_s)
|
data/lib/NIFTY/Cloud/keypairs.rb
CHANGED
@@ -63,8 +63,7 @@ module NIFTY
|
|
63
63
|
# describe_keypairs(:key_name => ['key1', 'key2'])
|
64
64
|
#
|
65
65
|
def describe_key_pairs( options = {} )
|
66
|
-
raise ArgumentError, "Invalid :key_name provided." unless blank?(options[:key_name]) ||
|
67
|
-
[options[:key_name]].flatten.all? {|x| ALPHANUMERIC =~ x.to_s }
|
66
|
+
raise ArgumentError, "Invalid :key_name provided." unless blank?(options[:key_name]) || ALPHANUMERIC =~ options[:key_name].to_s
|
68
67
|
|
69
68
|
params = {'Action' => 'DescribeKeyPairs'}
|
70
69
|
params.merge!(pathlist('KeyName', options[:key_name]))
|
data/lib/NIFTY/version.rb
CHANGED
@@ -17,8 +17,8 @@ context "instances" do
|
|
17
17
|
@api = NIFTY::Cloud::Base.new( :access_key_id => "not a key", :secret_access_key => "not a secret",
|
18
18
|
:server => 'cp.cloud.nifty.com', :path => '/api/', :user_agent => 'NIFTY Cloud API Ruby SDK',
|
19
19
|
:signature_version => '2', :signature_method => 'HmacSHA256')
|
20
|
-
@valid_instance_type = %w(mini small small2 small4 small8 medium medium4 medium8 medium16
|
21
|
-
large large8 large16 large24 large32 extra-large16 extra-large24 extra-large32
|
20
|
+
@valid_instance_type = %w(e-mini mini e-small small e-small2 small2 e-small4 small4 e-small8 small8 e-medium medium e-medium4 medium4 e-medium8 medium8 e-medium16 medium16
|
21
|
+
e-large large e-large8 large8 e-large16 large16 e-large24 large24 e-large32 large32 extra-large16 extra-large24 extra-large32
|
22
22
|
double-large32 double-large48 double-large64)
|
23
23
|
@valid_ip_type = %w(static dynamic none)
|
24
24
|
@accounting_type = [1, 2, '1', '2']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nifty-cloud-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.beta3
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 1.0.12
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.0.12
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: mocha
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: 0.9.9
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.9.9
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: test-unit
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: 2.1.2
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.1.2
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: test-spec
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: 0.10.0
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.10.0
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: rcov
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: 0.9.9
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.9.9
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: perftools.rb
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ! '>='
|
@@ -76,10 +101,15 @@ dependencies:
|
|
76
101
|
version: 0.5.4
|
77
102
|
type: :development
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.5.4
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: yard
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
115
|
- - ! '>='
|
@@ -87,7 +117,12 @@ dependencies:
|
|
87
117
|
version: 0.6.2
|
88
118
|
type: :development
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.6.2
|
91
126
|
description: It is an operation library for Nifty Cloud APIs that the server making,
|
92
127
|
starting, stoping, and the server status confirming etc.
|
93
128
|
email:
|
@@ -104,85 +139,85 @@ files:
|
|
104
139
|
- INSTALL
|
105
140
|
- CHANGELOG
|
106
141
|
- README.rdoc
|
107
|
-
- lib/NIFTY
|
142
|
+
- lib/NIFTY.rb
|
143
|
+
- lib/NIFTY/version.rb
|
144
|
+
- lib/NIFTY/exceptions.rb
|
145
|
+
- lib/NIFTY/config.rb
|
146
|
+
- lib/NIFTY/responses.rb
|
147
|
+
- lib/NIFTY/Cloud/instances.rb
|
148
|
+
- lib/NIFTY/Cloud/load_balancers.rb
|
149
|
+
- lib/NIFTY/Cloud/uploads.rb
|
108
150
|
- lib/NIFTY/Cloud/availability_zones.rb
|
109
|
-
- lib/NIFTY/Cloud/
|
151
|
+
- lib/NIFTY/Cloud/keypairs.rb
|
152
|
+
- lib/NIFTY/Cloud/certificates.rb
|
110
153
|
- lib/NIFTY/Cloud/images.rb
|
111
|
-
- lib/NIFTY/Cloud/uploads.rb
|
112
154
|
- lib/NIFTY/Cloud/security_groups.rb
|
113
|
-
- lib/NIFTY/Cloud/instances.rb
|
114
|
-
- lib/NIFTY/Cloud/keypairs.rb
|
115
155
|
- lib/NIFTY/Cloud/volumes.rb
|
116
|
-
- lib/NIFTY/Cloud/
|
117
|
-
- lib/NIFTY/responses.rb
|
118
|
-
- lib/NIFTY/config.rb
|
156
|
+
- lib/NIFTY/Cloud/resources.rb
|
119
157
|
- lib/NIFTY/Cloud.rb
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
- sample/
|
124
|
-
- sample/
|
125
|
-
- sample/security_groups/describe-security-activities.rb
|
126
|
-
- sample/security_groups/delete-security-group.rb
|
127
|
-
- sample/security_groups/register-instances-with-security-group.rb
|
128
|
-
- sample/security_groups/describe-security-groups.rb
|
129
|
-
- sample/security_groups/revoke-security-group-ingress.rb
|
130
|
-
- sample/security_groups/deregister-instances-from-security-group.rb
|
131
|
-
- sample/security_groups/authorize-security-group-ingress.rb
|
132
|
-
- sample/certificate/download-ssl-certificate.rb
|
133
|
-
- sample/certificate/delete-ssl-certificate.rb
|
158
|
+
- sample/availability_zones/describe-availability-zones.rb
|
159
|
+
- sample/images/describe-images.rb
|
160
|
+
- sample/images/create-image.rb
|
161
|
+
- sample/images/modify-image-attribute.rb
|
162
|
+
- sample/images/delete-image.rb
|
134
163
|
- sample/certificate/describe-ssl-certificate-attribute.rb
|
135
164
|
- sample/certificate/modify-ssl-certificate-attribute.rb
|
136
|
-
- sample/certificate/
|
137
|
-
- sample/certificate/describe-ssl-certificates.rb
|
165
|
+
- sample/certificate/delete-ssl-certificate.rb
|
138
166
|
- sample/certificate/create-ssl-certificate.rb
|
167
|
+
- sample/certificate/download-ssl-certificate.rb
|
139
168
|
- sample/certificate/upload-ssl-certificate.rb
|
140
|
-
- sample/
|
141
|
-
- sample/
|
142
|
-
- sample/
|
143
|
-
- sample/
|
169
|
+
- sample/certificate/register-corporate-info-for-certificate.rb
|
170
|
+
- sample/certificate/describe-ssl-certificates.rb
|
171
|
+
- sample/load_balancers/set-filter-for-load-balancer.rb
|
172
|
+
- sample/load_balancers/create-load-balancer.rb
|
173
|
+
- sample/load_balancers/update-load-balancer.rb
|
174
|
+
- sample/load_balancers/describe-load-balancers.rb
|
175
|
+
- sample/load_balancers/describe-instance-health.rb
|
176
|
+
- sample/load_balancers/register-instances-with-load-balancer.rb
|
177
|
+
- sample/load_balancers/delete-load-balancer.rb
|
178
|
+
- sample/load_balancers/configure-health-check.rb
|
179
|
+
- sample/load_balancers/deregister-instances-from-load-balancer.rb
|
180
|
+
- sample/load_balancers/register-port-with-load-balancer.rb
|
144
181
|
- sample/volumes/attach-volumes.rb
|
145
182
|
- sample/volumes/describe-volumes.rb
|
146
183
|
- sample/volumes/create-volume.rb
|
147
|
-
- sample/volumes/detach-volume.rb
|
148
184
|
- sample/volumes/delete-volume.rb
|
149
|
-
- sample/
|
150
|
-
- sample/
|
151
|
-
- sample/
|
152
|
-
- sample/
|
153
|
-
- sample/
|
154
|
-
- sample/
|
155
|
-
- sample/
|
185
|
+
- sample/volumes/detach-volume.rb
|
186
|
+
- sample/keypairs/delete-key-pair.rb
|
187
|
+
- sample/keypairs/create-key-pair.rb
|
188
|
+
- sample/keypairs/describe-key-pairs.rb
|
189
|
+
- sample/security_groups/register-instances-with-security-group.rb
|
190
|
+
- sample/security_groups/describe-security-activities.rb
|
191
|
+
- sample/security_groups/authorize-security-group-ingress.rb
|
192
|
+
- sample/security_groups/revoke-security-group-ingress.rb
|
193
|
+
- sample/security_groups/delete-security-group.rb
|
194
|
+
- sample/security_groups/deregister-instances-from-security-group.rb
|
195
|
+
- sample/security_groups/create-security-group.rb
|
196
|
+
- sample/security_groups/update-security-group.rb
|
197
|
+
- sample/security_groups/describe-security-groups.rb
|
198
|
+
- sample/instances/describe-instance-attribute.rb
|
156
199
|
- sample/instances/modify-instance-attribute.rb
|
200
|
+
- sample/instances/describe-instances.rb
|
201
|
+
- sample/instances/cancel_copy_instances.rb
|
157
202
|
- sample/instances/run-instances.rb
|
158
|
-
- sample/instances/start-instances.rb
|
159
|
-
- sample/instances/copy-instances.rb
|
160
|
-
- sample/instances/describe-instance-attribute.rb
|
161
203
|
- sample/instances/stop-instances.rb
|
162
|
-
- sample/instances/
|
163
|
-
- sample/
|
164
|
-
- sample/
|
165
|
-
- sample/
|
166
|
-
- sample/load_balancers/configure-health-check.rb
|
167
|
-
- sample/load_balancers/deregister-instances-from-load-balancer.rb
|
168
|
-
- sample/load_balancers/delete-load-balancer.rb
|
169
|
-
- sample/load_balancers/update-load-balancer.rb
|
170
|
-
- sample/load_balancers/set-filter-for-load-balancer.rb
|
171
|
-
- sample/load_balancers/describe-instance-health.rb
|
172
|
-
- sample/load_balancers/register-instances-with-load-balancer.rb
|
173
|
-
- test/test_Cloud.rb
|
174
|
-
- test/test_Cloud_uploads.rb
|
175
|
-
- test/test_Cloud_load_balancers.rb
|
176
|
-
- test/test_Cloud_instances.rb
|
177
|
-
- test/test_Cloud_responses.rb
|
204
|
+
- sample/instances/reboot-instances.rb
|
205
|
+
- sample/instances/copy-instances.rb
|
206
|
+
- sample/instances/start-instances.rb
|
207
|
+
- sample/instances/terminate-instances.rb
|
178
208
|
- test/test_Cloud_certificates.rb
|
209
|
+
- test/test_Cloud.rb
|
179
210
|
- test/test_Cloud_volumes.rb
|
211
|
+
- test/test_Cloud_resources.rb
|
180
212
|
- test/test_Cloud_availability_zones.rb
|
181
213
|
- test/test_Cloud_images.rb
|
214
|
+
- test/test_Cloud_load_balancers.rb
|
215
|
+
- test/test_Cloud_responses.rb
|
182
216
|
- test/test_helper.rb
|
183
|
-
- test/test_Cloud_resources.rb
|
184
|
-
- test/test_Cloud_security_groups.rb
|
185
217
|
- test/test_Cloud_keypairs.rb
|
218
|
+
- test/test_Cloud_security_groups.rb
|
219
|
+
- test/test_Cloud_uploads.rb
|
220
|
+
- test/test_Cloud_instances.rb
|
186
221
|
homepage: http://cloud.nifty.com/api/
|
187
222
|
licenses: []
|
188
223
|
post_install_message:
|
@@ -210,22 +245,21 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
245
|
version: 1.3.1
|
211
246
|
requirements: []
|
212
247
|
rubyforge_project:
|
213
|
-
rubygems_version: 1.8.
|
248
|
+
rubygems_version: 1.8.24
|
214
249
|
signing_key:
|
215
250
|
specification_version: 3
|
216
251
|
summary: NIFTY Cloud SDK for Ruby
|
217
252
|
test_files:
|
218
|
-
- test/test_Cloud.rb
|
219
|
-
- test/test_Cloud_uploads.rb
|
220
|
-
- test/test_Cloud_load_balancers.rb
|
221
|
-
- test/test_Cloud_instances.rb
|
222
|
-
- test/test_Cloud_responses.rb
|
223
253
|
- test/test_Cloud_certificates.rb
|
254
|
+
- test/test_Cloud.rb
|
224
255
|
- test/test_Cloud_volumes.rb
|
256
|
+
- test/test_Cloud_resources.rb
|
225
257
|
- test/test_Cloud_availability_zones.rb
|
226
258
|
- test/test_Cloud_images.rb
|
259
|
+
- test/test_Cloud_load_balancers.rb
|
260
|
+
- test/test_Cloud_responses.rb
|
227
261
|
- test/test_helper.rb
|
228
|
-
- test/test_Cloud_resources.rb
|
229
|
-
- test/test_Cloud_security_groups.rb
|
230
262
|
- test/test_Cloud_keypairs.rb
|
231
|
-
|
263
|
+
- test/test_Cloud_security_groups.rb
|
264
|
+
- test/test_Cloud_uploads.rb
|
265
|
+
- test/test_Cloud_instances.rb
|