nifty-cloud-sdk 1.11.beta6 → 1.11.beta7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c289ddd5eb2f352872a3a0873a4af16dee61d08c
4
+ data.tar.gz: 94937e797d254b89c6acd1c2bfedf2e361cdd3bf
5
+ SHA512:
6
+ metadata.gz: bba80e0a276adb2eccaf54322921abf3ce141040de983145eb8a440f76e85a2015794b383970641e17a77f2bd44e67fc426ca1132f6283abd85d662b7448a6ce
7
+ data.tar.gz: 0f4bcb260bd22f22051ab7bb3f9175a995a8c03b1f3f158c441a8e5f14c6a14c53d4e06ea649923782baea8212a3989fe850739ad9d0d35901eba61a9d859905
data/Rakefile CHANGED
@@ -42,20 +42,20 @@ task :default => :test
42
42
  # rdoc.options << '--line-numbers'
43
43
  # rdoc.options << '-c UTF-8'
44
44
  #end
45
-
46
- begin
47
- require 'yard'
48
- YARD::Rake::YardocTask.new do |t|
49
- #t.files = ['lib/**/*.rb']
50
- end
51
- rescue LoadError
52
- puts "YARD (or a dependency) not available. Install it with: [sudo] gem install yard"
53
- end
54
-
55
- desc "Generate a perftools.rb profile"
56
- task :profile do
57
- system("CPUPROFILE=perftools/ec2prof RUBYOPT=\"-r`gem which perftools | tail -1`\" ruby sample/describe-instances.rb")
58
- system("pprof.rb --text --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.txt")
59
- system("pprof.rb --dot --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.dot")
60
- end
61
-
45
+ #
46
+ #begin
47
+ # require 'yard'
48
+ # YARD::Rake::YardocTask.new do |t|
49
+ # #t.files = ['lib/**/*.rb']
50
+ # end
51
+ #rescue LoadError
52
+ # puts "YARD (or a dependency) not available. Install it with: [sudo] gem install yard"
53
+ #end
54
+ #
55
+ #desc "Generate a perftools.rb profile"
56
+ #task :profile do
57
+ # system("CPUPROFILE=perftools/ec2prof RUBYOPT=\"-r`gem which perftools | tail -1`\" ruby sample/describe-instances.rb")
58
+ # system("pprof.rb --text --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.txt")
59
+ # system("pprof.rb --dot --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.dot")
60
+ #end
61
+ #
@@ -8,7 +8,7 @@ module NIFTY
8
8
  '1700', '1800', '1900', '2000']
9
9
  IP_VERSION = ['v4', 'v6']
10
10
  FILTER_TYPE = ['1', '2']
11
- LOAD_BALANCER_NAME = /^([a-z]{3}[0-9]{5}\.)?[a-zA-Z0-9]{1,15}$/
11
+ LOAD_BALANCER_NAME = /^([A-Za-z]{3}[0-9]{5}\.)?[a-zA-Z0-9]{1,15}$/
12
12
  LOAD_BALANCERS_IGNORED_PARAMS = Regexp.union(/AvailabilityZones .member.*/,
13
13
  /HealthCheck .Timeout/)
14
14
  LOAD_BALANCER_SESSION_STICKINESS_POLICY_EXPIRATION_PERIOD = ['3', '5', '10', '15', '30']
@@ -1,3 +1,3 @@
1
1
  module NIFTY
2
- VERSION = '1.11.beta6'
2
+ VERSION = '1.11.beta7'
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_development_dependency('mocha', '>= 0.9.9')
19
19
  s.add_development_dependency('test-unit', '>= 2.1.2')
20
20
  s.add_development_dependency('test-spec', '>= 0.10.0')
21
- s.add_development_dependency('rcov', '>= 0.9.9')
21
+ #s.add_development_dependency('rcov', '>= 0.9.9')
22
22
  s.add_development_dependency('perftools.rb', '>= 0.5.4')
23
23
  s.add_development_dependency('yard', '>= 0.6.2')
24
24
 
@@ -12,7 +12,7 @@
12
12
  require 'rubygems'
13
13
  gem 'test-unit'
14
14
 
15
- %w[ test/unit test/spec mocha ].each { |f|
15
+ %w[ test/unit test/spec mocha/test_unit ].each { |f|
16
16
  begin
17
17
  require f
18
18
  rescue LoadError
metadata CHANGED
@@ -1,131 +1,101 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nifty-cloud-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.beta6
5
- prerelease: 5
4
+ version: 1.11.beta7
6
5
  platform: ruby
7
6
  authors:
8
7
  - NIFTY Corporation
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-07-14 00:00:00.000000000 Z
11
+ date: 2016-06-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: xml-simple
16
14
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
15
  requirements:
19
- - - ! '>='
16
+ - - '>='
20
17
  - !ruby/object:Gem::Version
21
18
  version: 1.0.12
22
- type: :runtime
19
+ name: xml-simple
23
20
  prerelease: false
21
+ type: :runtime
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.0.12
30
27
  - !ruby/object:Gem::Dependency
31
- name: mocha
32
28
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
29
  requirements:
35
- - - ! '>='
30
+ - - '>='
36
31
  - !ruby/object:Gem::Version
37
32
  version: 0.9.9
38
- type: :development
33
+ name: mocha
39
34
  prerelease: false
35
+ type: :development
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 0.9.9
46
41
  - !ruby/object:Gem::Dependency
47
- name: test-unit
48
42
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
43
  requirements:
51
- - - ! '>='
44
+ - - '>='
52
45
  - !ruby/object:Gem::Version
53
46
  version: 2.1.2
54
- type: :development
47
+ name: test-unit
55
48
  prerelease: false
49
+ type: :development
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: 2.1.2
62
55
  - !ruby/object:Gem::Dependency
63
- name: test-spec
64
56
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
57
  requirements:
67
- - - ! '>='
58
+ - - '>='
68
59
  - !ruby/object:Gem::Version
69
60
  version: 0.10.0
70
- type: :development
61
+ name: test-spec
71
62
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: 0.10.0
78
- - !ruby/object:Gem::Dependency
79
- name: rcov
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: 0.9.9
86
63
  type: :development
87
- prerelease: false
88
64
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
65
  requirements:
91
- - - ! '>='
66
+ - - '>='
92
67
  - !ruby/object:Gem::Version
93
- version: 0.9.9
68
+ version: 0.10.0
94
69
  - !ruby/object:Gem::Dependency
95
- name: perftools.rb
96
70
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
71
  requirements:
99
- - - ! '>='
72
+ - - '>='
100
73
  - !ruby/object:Gem::Version
101
74
  version: 0.5.4
102
- type: :development
75
+ name: perftools.rb
103
76
  prerelease: false
77
+ type: :development
104
78
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
79
  requirements:
107
- - - ! '>='
80
+ - - '>='
108
81
  - !ruby/object:Gem::Version
109
82
  version: 0.5.4
110
83
  - !ruby/object:Gem::Dependency
111
- name: yard
112
84
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
85
  requirements:
115
- - - ! '>='
86
+ - - '>='
116
87
  - !ruby/object:Gem::Version
117
88
  version: 0.6.2
118
- type: :development
89
+ name: yard
119
90
  prerelease: false
91
+ type: :development
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
93
  requirements:
123
- - - ! '>='
94
+ - - '>='
124
95
  - !ruby/object:Gem::Version
125
96
  version: 0.6.2
126
- description: It is an operation library for Nifty Cloud APIs that the server making,
127
- starting, stoping, and the server status confirming etc.
128
- email:
97
+ description: It is an operation library for Nifty Cloud APIs that the server making, starting, stoping, and the server status confirming etc.
98
+ email:
129
99
  executables: []
130
100
  extensions: []
131
101
  extra_rdoc_files:
@@ -140,87 +110,88 @@ files:
140
110
  - CHANGELOG
141
111
  - README.rdoc
142
112
  - lib/NIFTY.rb
113
+ - lib/NIFTY/config.rb
143
114
  - lib/NIFTY/version.rb
144
115
  - lib/NIFTY/exceptions.rb
145
- - lib/NIFTY/config.rb
116
+ - lib/NIFTY/Cloud.rb
146
117
  - lib/NIFTY/responses.rb
147
- - lib/NIFTY/Cloud/instances.rb
148
- - lib/NIFTY/Cloud/load_balancers.rb
118
+ - lib/NIFTY/Cloud/security_groups.rb
119
+ - lib/NIFTY/Cloud/volumes.rb
149
120
  - lib/NIFTY/Cloud/uploads.rb
150
121
  - lib/NIFTY/Cloud/availability_zones.rb
151
- - lib/NIFTY/Cloud/keypairs.rb
122
+ - lib/NIFTY/Cloud/load_balancers.rb
123
+ - lib/NIFTY/Cloud/resources.rb
152
124
  - lib/NIFTY/Cloud/certificates.rb
153
125
  - lib/NIFTY/Cloud/images.rb
154
- - lib/NIFTY/Cloud/security_groups.rb
155
- - lib/NIFTY/Cloud/volumes.rb
156
- - lib/NIFTY/Cloud/resources.rb
157
- - lib/NIFTY/Cloud.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
163
- - sample/certificate/describe-ssl-certificate-attribute.rb
164
- - sample/certificate/modify-ssl-certificate-attribute.rb
165
- - sample/certificate/delete-ssl-certificate.rb
166
- - sample/certificate/create-ssl-certificate.rb
167
- - sample/certificate/download-ssl-certificate.rb
168
- - sample/certificate/upload-ssl-certificate.rb
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
181
- - sample/volumes/attach-volumes.rb
126
+ - lib/NIFTY/Cloud/instances.rb
127
+ - lib/NIFTY/Cloud/keypairs.rb
128
+ - sample/instances/cancel_copy_instances.rb
129
+ - sample/instances/describe-instances.rb
130
+ - sample/instances/start-instances.rb
131
+ - sample/instances/reboot-instances.rb
132
+ - sample/instances/describe-instance-attribute.rb
133
+ - sample/instances/copy-instances.rb
134
+ - sample/instances/terminate-instances.rb
135
+ - sample/instances/modify-instance-attribute.rb
136
+ - sample/instances/run-instances.rb
137
+ - sample/instances/stop-instances.rb
182
138
  - sample/volumes/describe-volumes.rb
139
+ - sample/volumes/attach-volumes.rb
183
140
  - sample/volumes/create-volume.rb
184
141
  - sample/volumes/delete-volume.rb
185
142
  - sample/volumes/detach-volume.rb
143
+ - sample/availability_zones/describe-availability-zones.rb
186
144
  - sample/keypairs/delete-key-pair.rb
187
- - sample/keypairs/create-key-pair.rb
188
145
  - sample/keypairs/describe-key-pairs.rb
189
- - sample/security_groups/register-instances-with-security-group.rb
146
+ - sample/keypairs/create-key-pair.rb
190
147
  - sample/security_groups/describe-security-activities.rb
191
148
  - 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
149
+ - sample/security_groups/register-instances-with-security-group.rb
195
150
  - sample/security_groups/create-security-group.rb
151
+ - sample/security_groups/delete-security-group.rb
196
152
  - sample/security_groups/update-security-group.rb
153
+ - sample/security_groups/deregister-instances-from-security-group.rb
154
+ - sample/security_groups/revoke-security-group-ingress.rb
197
155
  - sample/security_groups/describe-security-groups.rb
198
- - sample/instances/describe-instance-attribute.rb
199
- - sample/instances/modify-instance-attribute.rb
200
- - sample/instances/describe-instances.rb
201
- - sample/instances/cancel_copy_instances.rb
202
- - sample/instances/run-instances.rb
203
- - sample/instances/stop-instances.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
208
- - test/test_Cloud_certificates.rb
156
+ - sample/load_balancers/delete-load-balancer.rb
157
+ - sample/load_balancers/register-port-with-load-balancer.rb
158
+ - sample/load_balancers/register-instances-with-load-balancer.rb
159
+ - sample/load_balancers/deregister-instances-from-load-balancer.rb
160
+ - sample/load_balancers/describe-load-balancers.rb
161
+ - sample/load_balancers/configure-health-check.rb
162
+ - sample/load_balancers/set-filter-for-load-balancer.rb
163
+ - sample/load_balancers/create-load-balancer.rb
164
+ - sample/load_balancers/update-load-balancer.rb
165
+ - sample/load_balancers/describe-instance-health.rb
166
+ - sample/images/describe-images.rb
167
+ - sample/images/delete-image.rb
168
+ - sample/images/modify-image-attribute.rb
169
+ - sample/images/create-image.rb
170
+ - sample/certificate/describe-ssl-certificate-attribute.rb
171
+ - sample/certificate/register-corporate-info-for-certificate.rb
172
+ - sample/certificate/download-ssl-certificate.rb
173
+ - sample/certificate/describe-ssl-certificates.rb
174
+ - sample/certificate/modify-ssl-certificate-attribute.rb
175
+ - sample/certificate/create-ssl-certificate.rb
176
+ - sample/certificate/delete-ssl-certificate.rb
177
+ - sample/certificate/upload-ssl-certificate.rb
209
178
  - test/test_Cloud.rb
210
- - test/test_Cloud_volumes.rb
211
- - test/test_Cloud_resources.rb
212
- - test/test_Cloud_availability_zones.rb
213
- - test/test_Cloud_images.rb
214
179
  - test/test_Cloud_load_balancers.rb
215
- - test/test_Cloud_responses.rb
180
+ - test/test_Cloud_resources.rb
181
+ - test/test_Cloud_volumes.rb
182
+ - test/test_Cloud_security_groups.rb
216
183
  - test/test_helper.rb
184
+ - test/test_Cloud_certificates.rb
217
185
  - test/test_Cloud_keypairs.rb
218
- - test/test_Cloud_security_groups.rb
219
186
  - test/test_Cloud_uploads.rb
220
187
  - test/test_Cloud_instances.rb
188
+ - test/test_Cloud_images.rb
189
+ - test/test_Cloud_responses.rb
190
+ - test/test_Cloud_availability_zones.rb
221
191
  homepage: http://cloud.nifty.com/api/
222
192
  licenses: []
223
- post_install_message:
193
+ metadata: {}
194
+ post_install_message:
224
195
  rdoc_options:
225
196
  - --title
226
197
  - NIFTY Cloud SDK documentation
@@ -232,34 +203,32 @@ rdoc_options:
232
203
  require_paths:
233
204
  - lib
234
205
  required_ruby_version: !ruby/object:Gem::Requirement
235
- none: false
236
206
  requirements:
237
- - - ! '>='
207
+ - - '>='
238
208
  - !ruby/object:Gem::Version
239
209
  version: '0'
240
210
  required_rubygems_version: !ruby/object:Gem::Requirement
241
- none: false
242
211
  requirements:
243
- - - ! '>'
212
+ - - '>'
244
213
  - !ruby/object:Gem::Version
245
214
  version: 1.3.1
246
215
  requirements: []
247
- rubyforge_project:
248
- rubygems_version: 1.8.24
249
- signing_key:
250
- specification_version: 3
216
+ rubyforge_project:
217
+ rubygems_version: 2.1.9
218
+ signing_key:
219
+ specification_version: 4
251
220
  summary: NIFTY Cloud SDK for Ruby
252
221
  test_files:
253
- - test/test_Cloud_certificates.rb
254
222
  - test/test_Cloud.rb
255
- - test/test_Cloud_volumes.rb
256
- - test/test_Cloud_resources.rb
257
- - test/test_Cloud_availability_zones.rb
258
- - test/test_Cloud_images.rb
259
223
  - test/test_Cloud_load_balancers.rb
260
- - test/test_Cloud_responses.rb
224
+ - test/test_Cloud_resources.rb
225
+ - test/test_Cloud_volumes.rb
226
+ - test/test_Cloud_security_groups.rb
261
227
  - test/test_helper.rb
228
+ - test/test_Cloud_certificates.rb
262
229
  - test/test_Cloud_keypairs.rb
263
- - test/test_Cloud_security_groups.rb
264
230
  - test/test_Cloud_uploads.rb
265
231
  - test/test_Cloud_instances.rb
232
+ - test/test_Cloud_images.rb
233
+ - test/test_Cloud_responses.rb
234
+ - test/test_Cloud_availability_zones.rb