fog-sakuracloud 1.3.0 → 1.3.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: 014fe488d00660395b62a242e215abe51ca05c63
4
- data.tar.gz: fb076fcce9be47923d125cf7a8bc112c66f397f9
3
+ metadata.gz: e348c6a6343283d64699fc5bc4b01ce7b4785092
4
+ data.tar.gz: 22b664eb56c0bda45a3be2bcf385fa8d25295a73
5
5
  SHA512:
6
- metadata.gz: ead625df63feec5beb0f5007a6d8ce8afa07583b5889482abb4c2a1352883330ba9396a4f2f59ac24d285f820aab3c791f238fd696054a32b27759f090a1e7e9
7
- data.tar.gz: 65dd7c88569457e006ed7563360d24a1c9a4faa088dfa2b07f231a186594a11c036b631beb83021916dd71e640781e1046117f574724fc09aa816b164289e202
6
+ metadata.gz: c739636d7fc04ad54e6d31da57411f6d53815165f4a9d42541c7fa5e3145d4daf160f47a5b12561e4a8d47c9211b054f4d541c308370cf9d95b15efe0fae9312
7
+ data.tar.gz: 544fa5bfb1f86b26873ebdbe8197a92129bf4ad046cc40b47eb9f5dc7b155b0cf59fa8ccf46cf41c474dd8936a5f05ceb2b0b5c0032c69f7ed3d0c6b47cacb63
@@ -1,5 +1,9 @@
1
1
  # Changelog of fog-sakuracloud
2
2
 
3
+ ## v1.3.1
4
+
5
+ - Feature: Add simple setter to ResourceRecordSets
6
+
3
7
  ## v1.3.0
4
8
 
5
9
  - Feature: Manage Cloud DNS
@@ -17,6 +17,15 @@ module Fog
17
17
  settings.fetch('DNS', {}).fetch('ResourceRecordSets', []) if settings
18
18
  end
19
19
 
20
+ def rr_sets=(rrsets)
21
+ raise "ResourceRecordSets must be Array of Hash!" unless rrsets.is_a?(Array)
22
+ self.settings = {
23
+ 'DNS' => {
24
+ 'ResourceRecordSets' => rrsets
25
+ }
26
+ }
27
+ end
28
+
20
29
  def zone
21
30
  status.fetch('Zone') if status
22
31
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Sakuracloud
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
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.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-21 00:00:00.000000000 Z
11
+ date: 2015-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core