fog-sakuracloud 1.7.2 → 1.7.3

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: b3e45267e7e8d49586a451ef1335c6ab094aa574
4
- data.tar.gz: 9f67bd69860395c987593a5161d32ad71ce3f220
3
+ metadata.gz: 5e9dc82140da9fd47634e21c788d4ec09c29aaab
4
+ data.tar.gz: ff421b3df465dd64594519920835471620de9d44
5
5
  SHA512:
6
- metadata.gz: affff28d406fcdc97ac0e0c9ebba77ae5974d5e59145cfcd506fdf4f472de802450c06c36616ae883455c1cdaac7c5557846ea5c6108507d37d80a04b982c8a2
7
- data.tar.gz: f1883cefe8b7dfbce112b5d5c8bd03f3012eab05cdc99df91a201d12b2d0ba0b76e347e10ec52f15ac67e8f2e1814198969bdb6f1b3250c44339bc54b062ba1c
6
+ metadata.gz: 59582dc7b87c166fc59e51d0c45ce120073533a60655ae06f302a045d0d5d71825fbbf4b25e4b68852f8eb05104c91d166e34c459c86edfb32e9ead880e63ecd
7
+ data.tar.gz: 3c05287fc515a424257b6af81e46402df4a8cb8d835e2cecc3da869e8becc5f7229951b6942aafff9671dd2d9a653a13bd340316889bec87a5e3ceb27f4f1b3c
@@ -1,5 +1,9 @@
1
1
  # Changelog of fog-sakuracloud
2
2
 
3
+ ## v1.7.3
4
+
5
+ - Coordinate: Router#change_bandwidth update current instance by new ID.
6
+
3
7
  ## v1.7.2
4
8
 
5
9
  - Bug: remove debug code from create_router
@@ -35,7 +35,10 @@ module Fog
35
35
  end
36
36
 
37
37
  def change_bandwidth(bandwidth)
38
- service.change_router_bandwidth(identity, bandwidth).body["Success"]
38
+ ## change_bandwidth returns router as new one.
39
+ new_router = service.change_router_bandwidth(identity, bandwidth).body["Internet"]
40
+ self.id = new_router['ID']
41
+ self.reload
39
42
  end
40
43
 
41
44
  def switch_available?(network, router_id)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Sakuracloud
3
- VERSION = "1.7.2"
3
+ VERSION = "1.7.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-sakuracloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-21 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core