fog-brightbox 1.8.0 → 1.8.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
  SHA256:
3
- metadata.gz: 2fd48abde8380eb206f3b30abcb6000a8bec7c066d1913649efdde89719f0a79
4
- data.tar.gz: b75f15aabc38798dcb1a8bcb13eb3e0b66e9ee9fe93beb91e462808d822f9fb7
3
+ metadata.gz: 1061e46a1ab7bab3542b35bd9a37f966370f5ab44c98d9ce003c56aecabbea47
4
+ data.tar.gz: '09abdac10bca6dbafddf1a7931d0243456caf605c62757e05353b9f8611bf9ab'
5
5
  SHA512:
6
- metadata.gz: 6ea1059b94824d5ae37fda327001f94704a544fd29bfa7825627599cef850653fdcb55c18d493352af9bb1afd6864faf89c2d824da4baccd9fcdbd0d020096e4
7
- data.tar.gz: 464af05ddefa022497cce27fb7535eaac5f9db282e32037e922780f0ab05f96eb1f72ccad07f9ad5860c5a2e62228a5a05c676ee83e666507d1a62191e7f3580
6
+ metadata.gz: b587653fc85f39d14e3a9a46bdbff8d83b79046f3fa9baf9de12258db58d3e03c68e22b8930c409c3c5fa2209fc04606fd2d9089737321aaf28bff1c66c3e79f
7
+ data.tar.gz: eff1f83c2b30a808b6b569e73c321788838c2887a9844a129137789c0052fb260e613c71497bc73733d922381d8759615284407c13fc514b1c650adff255f326
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 1.8.1 / 2022-12-05
2
+
3
+ Bug fixes:
4
+
5
+ * Remove outdated check for required arguments in `Image.create` model which
6
+ prevented using newer arguments in the latest API version
7
+
1
8
  ### 1.8.0 / 2022-08-31
2
9
 
3
10
  Changes:
@@ -14,13 +14,16 @@ module Fog
14
14
 
15
15
  attribute :arch
16
16
  attribute :disk_size, type: :integer
17
+ attribute :http_url
17
18
  attribute :licence_name
18
19
  attribute :min_ram, type: :integer
20
+ attribute :server
19
21
  attribute :source
20
22
  attribute :source_trigger
21
23
  attribute :source_type
22
24
  attribute :username
23
25
  attribute :virtual_size, type: :integer
26
+ attribute :volume
24
27
 
25
28
  # Boolean flags
26
29
  attribute :compatibility_mode, type: :boolean
@@ -40,13 +43,16 @@ module Fog
40
43
 
41
44
  def save
42
45
  raise Fog::Errors::Error.new("Resaving an existing object may create a duplicate") if persisted?
43
- requires :source, :arch
46
+
44
47
  options = {
45
- :source => source,
46
48
  :arch => arch,
49
+ :description => description,
50
+ :http_url => http_url,
47
51
  :name => name,
52
+ :server => server,
53
+ :source => source,
48
54
  :username => username,
49
- :description => description
55
+ :volume => volume
50
56
  }.delete_if { |_k, v| v.nil? || v == "" }
51
57
  data = service.create_image(options)
52
58
  merge_attributes(data)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Brightbox
3
- VERSION = "1.8.0"
3
+ VERSION = "1.8.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-brightbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Thornthwaite