nifty-cloud-sdk 1.11.beta3 → 1.11.beta4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +9 -0
- data/lib/NIFTY/Cloud/instances.rb +2 -2
- data/lib/NIFTY/version.rb +1 -1
- data/test/test_Cloud_instances.rb +2 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
ニフティクラウド SDK for Ruby
|
3
3
|
-----------------------------
|
4
4
|
|
5
|
+
2015-01-13 SDK for Ruby Version.1.11.beta4
|
6
|
+
-------------------------------------------------------------------------------
|
7
|
+
* 1.11.beta4リリース
|
8
|
+
* 新サーバータイプに対応
|
9
|
+
|
10
|
+
* lib/NIFTY/Cloud/instances.rb
|
11
|
+
* test/test_Cloud_instances.rb
|
12
|
+
- 新サーバータイプに対応
|
13
|
+
|
5
14
|
2014-10-28 SDK for Ruby Version.1.11.beta3
|
6
15
|
-------------------------------------------------------------------------------
|
7
16
|
* 1.11.beta2リリース
|
@@ -2,9 +2,9 @@ module NIFTY
|
|
2
2
|
module Cloud
|
3
3
|
class Base < NIFTY::Base
|
4
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',
|
5
|
+
'e-medium', 'medium', 'e-medium4', 'medium4', 'e-medium8', 'medium8', 'e-medium16', 'medium16', 'medium24',
|
6
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
|
+
'extra-large16', 'extra-large24', 'extra-large32', 'double-large32', 'double-large48', 'double-large64', 'double-large96']
|
8
8
|
ACCOUNTING_TYPE = ['1', '2']
|
9
9
|
BOOLEAN = ['true', 'false']
|
10
10
|
IP_TYPE = ['static', 'dynamic', 'none']
|
data/lib/NIFTY/version.rb
CHANGED
@@ -17,9 +17,9 @@ 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(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
|
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 medium24
|
21
21
|
e-large large e-large8 large8 e-large16 large16 e-large24 large24 e-large32 large32 extra-large16 extra-large24 extra-large32
|
22
|
-
double-large32 double-large48 double-large64)
|
22
|
+
double-large32 double-large48 double-large64 double-large96)
|
23
23
|
@valid_ip_type = %w(static dynamic none)
|
24
24
|
@accounting_type = [1, 2, '1', '2']
|
25
25
|
@windows_image_id = [12, 16, '12', '16']
|
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.beta4
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|