fog-sakuracloud 1.7.0 → 1.7.1

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: 3713f5daf69fb6aeff433b4b744b57c8d8ca5236
4
- data.tar.gz: 5554058a97ba7bdb41a6113b572c6edc39ddadbb
3
+ metadata.gz: 9faa7e1c72af7aab6d6d2bd4ffff2b9bba0cef1d
4
+ data.tar.gz: 3c07e65b1476adf2891027522bf5c621c8c94475
5
5
  SHA512:
6
- metadata.gz: 86709dec8f30c696e647f59a118f411bef6b5fcac34db1c65aeeeecd645e76cd697d5f87a69462dbef5a6a85f50f1b22c516c760075faf2c031b95257a7cb9f1
7
- data.tar.gz: c8dd0f52ec47ecaf8ef876c8f4e6dc14667b231e8d958e22c0a4d45cbf6c292a6fca910380c35abd5320477032db7db77fd5bc63dfdb2f89298dd1da0ce4b1cb
6
+ metadata.gz: bae1c9cbf5db7180114a0beb1d02b2f4fd41a392bc998e593056e0dc8e8e09fc2587a086b263a734427066febdda3d451e0e3d7d1057aeb4ec61bdd5fe1aa1ce
7
+ data.tar.gz: 824c68e088f9cc9fccc849978d6ca90f89a7c9d9f6551768bd0a714706a25d673ad1377be7455d2e36670f47616c76d09098d6e8856bd107196cb570681c3cdc
@@ -1,5 +1,9 @@
1
1
  # Changelog of fog-sakuracloud
2
2
 
3
+ ## v1.7.1
4
+
5
+ - Misc: Pass zone from Fog.credentials[:sakuracloud_api_zone].
6
+
3
7
  ## v1.7.0
4
8
 
5
9
  - Change: Rebuild router model from internet resource.
@@ -38,7 +38,7 @@ module Fog
38
38
  Fog.credentials[:sakuracloud_api_token_secret] = options[:sakuracloud_api_token_secret]
39
39
 
40
40
  @sakuracloud_api_url = options[:sakuracloud_api_url] || 'https://secure.sakura.ad.jp'
41
- @api_zone = options[:api_zone] || 'is1b'
41
+ @api_zone = options[:api_zone] || Fog.credentials[:sakuracloud_api_zone] || 'is1b'
42
42
  Fog::SakuraCloud.validate_api_zone!(@api_zone)
43
43
 
44
44
  @connection = Fog::Core::Connection.new(@sakuracloud_api_url)
@@ -28,7 +28,7 @@ module Fog
28
28
  Fog.credentials[:sakuracloud_api_token_secret] = options[:sakuracloud_api_token_secret]
29
29
 
30
30
  @sakuracloud_api_url = options[:sakuracloud_api_url] || 'https://secure.sakura.ad.jp'
31
- @api_zone = options[:api_zone] || 'is1b'
31
+ @api_zone = options[:api_zone] || Fog.credentials[:sakuracloud_api_zone] || 'is1b'
32
32
  Fog::SakuraCloud.validate_api_zone!(@api_zone)
33
33
 
34
34
  @connection = Fog::Core::Connection.new(@sakuracloud_api_url)
@@ -40,7 +40,7 @@ module Fog
40
40
  Fog.credentials[:sakuracloud_api_token_secret] = options[:sakuracloud_api_token_secret]
41
41
 
42
42
  @sakuracloud_api_url = options[:sakuracloud_api_url] || 'https://secure.sakura.ad.jp'
43
- @api_zone = options[:api_zone] || 'is1b'
43
+ @api_zone = options[:api_zone] || Fog.credentials[:sakuracloud_api_zone] || 'is1b'
44
44
  Fog::SakuraCloud.validate_api_zone!(@api_zone)
45
45
 
46
46
  @connection = Fog::Core::Connection.new(@sakuracloud_api_url)
@@ -28,7 +28,7 @@ module Fog
28
28
  Fog.credentials[:sakuracloud_api_token_secret] = options[:sakuracloud_api_token_secret]
29
29
 
30
30
  @sakuracloud_api_url = options[:sakuracloud_api_url] || 'https://secure.sakura.ad.jp'
31
- @api_zone = options[:api_zone] || 'is1b'
31
+ @api_zone = options[:api_zone] || Fog.credentials[:sakuracloud_api_zone] || 'is1b'
32
32
  Fog::SakuraCloud.validate_api_zone!(@api_zone)
33
33
 
34
34
  @connection = Fog::Core::Connection.new(@sakuracloud_api_url)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Sakuracloud
3
- VERSION = "1.7.0"
3
+ VERSION = "1.7.1"
4
4
  end
5
5
  end
@@ -38,7 +38,7 @@ module Fog
38
38
  Fog.credentials[:sakuracloud_api_token_secret] = options[:sakuracloud_api_token_secret]
39
39
 
40
40
  @sakuracloud_api_url = options[:sakuracloud_api_url] || 'https://secure.sakura.ad.jp'
41
- @api_zone = options[:api_zone] || 'is1b'
41
+ @api_zone = options[:api_zone] || Fog.credentials[:sakuracloud_api_zone] || 'is1b'
42
42
  Fog::SakuraCloud.validate_api_zone!(@api_zone)
43
43
 
44
44
  @connection = Fog::Core::Connection.new(@sakuracloud_api_url)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-sakuracloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly