fog-aws 3.4.0 → 3.5.0

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: 34b9d6824923baa1db78dada81b380a566b83566a86c816ffb82833c1e63f29e
4
- data.tar.gz: fdd86ad153d797aaafacd6df1bde9ceea9c7f509594f403e0dae8a2d4b565cd9
3
+ metadata.gz: 73a9d19f946bb407c513b64ef5faf8cc7102ed783a1a05c392b4f43766b99f6b
4
+ data.tar.gz: ba260726e0bd0b767ca080c3f6856363af18ea55b50a5e455d6696d3bf1d277b
5
5
  SHA512:
6
- metadata.gz: 3afb36dc1c721980a059105c993719120e1c24defe980d8f8e58033e70ded1f8e4eecfc70af170ae46b6b5adf0b082b807eaf51daf0269f597873db40c4b3b94
7
- data.tar.gz: 25e10c591b5e6fe211f72160682202119215568d09a1ac9cd5a881fef142a4f94500d1fe9b5943e968b079d920056f9231e87830f384ca8778d058435160f60d
6
+ metadata.gz: d525b506e1c9735eea0abeffac0f895c04723a27d6f077d3f0f8cbf613c52f08b1c1888e55cd4b91d2a37fa969bd0ab7061504ce7295c16de48e63b9edc43290
7
+ data.tar.gz: af7d2744fe5af2fb1ffc9814409e6c6e960cb0902d367454f7dd0e96979fb10278aa881dfc628808cb92445558802f3b9d002d028aed14d40a5be1eab5881fa5
@@ -1,17 +1,79 @@
1
1
  # Change Log
2
2
 
3
- ## [Unreleased](https://github.com/fog/fog-aws/tree/HEAD)
3
+ ## [v3.4.0](https://github.com/fog/fog-aws/tree/v3.4.0) (2019-03-11)
4
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.3.0...v3.4.0)
4
5
 
5
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.0.0...HEAD)
6
+ **Closed issues:**
7
+
8
+ - Warning: possibly useless use of == in void context [\#498](https://github.com/fog/fog-aws/issues/498)
9
+ - Cluster.ready? returns false [\#496](https://github.com/fog/fog-aws/issues/496)
10
+ - With out AWS access key & secrect AWS services not working\(IAM Role associated\) [\#495](https://github.com/fog/fog-aws/issues/495)
11
+ - "AWS::STS | assume role with web identity \(aws\)" interferes with "Fog::Compute\[:iam\] | roles \(aws, iam\)" [\#491](https://github.com/fog/fog-aws/issues/491)
12
+ - Access S3 using a proxy [\#486](https://github.com/fog/fog-aws/issues/486)
13
+ - Warning that doesn't make sense [\#479](https://github.com/fog/fog-aws/issues/479)
14
+ - Undefined method `change\_resource\_record\_sets\_data' for Fog::AWS:Module called from fog/aws/requests/dns/change\_resource\_record\_sets.rb when attempting to modify a DNS record. [\#477](https://github.com/fog/fog-aws/issues/477)
15
+ - Is DescribeImageAttribute support missing? [\#473](https://github.com/fog/fog-aws/issues/473)
16
+ - How to fix deprecation warning: "The format Fog::CDN::AWS is deprecated" [\#466](https://github.com/fog/fog-aws/issues/466)
17
+ - Test suite failures in "Fog::Compute\[:iam\] | roles" [\#296](https://github.com/fog/fog-aws/issues/296)
18
+ - Support Amazon S3 Transfer Acceleration [\#250](https://github.com/fog/fog-aws/issues/250)
19
+ - Creating VPC instances in AWS [\#116](https://github.com/fog/fog-aws/issues/116)
20
+
21
+ **Merged pull requests:**
22
+
23
+ - Avoid using bucket\_name.host if host is overriden. [\#507](https://github.com/fog/fog-aws/pull/507) ([deepfryed](https://github.com/deepfryed))
24
+ - Fix some requests when S3 acceleration is enabled [\#506](https://github.com/fog/fog-aws/pull/506) ([NARKOZ](https://github.com/NARKOZ))
25
+ - Add support for S3 transfer acceleration [\#505](https://github.com/fog/fog-aws/pull/505) ([NARKOZ](https://github.com/NARKOZ))
26
+ - Correct DynamoDB update\_item method [\#503](https://github.com/fog/fog-aws/pull/503) ([postmodern](https://github.com/postmodern))
27
+ - Add MaxResults filter to describe security groups [\#502](https://github.com/fog/fog-aws/pull/502) ([KevinLoiseau](https://github.com/KevinLoiseau))
28
+ - Fix for Aurora Server Provisioning. [\#501](https://github.com/fog/fog-aws/pull/501) ([lockstone](https://github.com/lockstone))
29
+ - Fixes/fog/aws/rds/ready [\#497](https://github.com/fog/fog-aws/pull/497) ([villemuittari](https://github.com/villemuittari))
30
+ - Feature/adding modify instance placement [\#494](https://github.com/fog/fog-aws/pull/494) ([loperaja](https://github.com/loperaja))
31
+ - Add AMD CPU instance types [\#493](https://github.com/fog/fog-aws/pull/493) ([jfuechsl](https://github.com/jfuechsl))
32
+ - Update documentation for x-amz headers [\#492](https://github.com/fog/fog-aws/pull/492) ([knapo](https://github.com/knapo))
33
+ - Add missing generation 5 compute instance flavors [\#490](https://github.com/fog/fog-aws/pull/490) ([jfuechsl](https://github.com/jfuechsl))
34
+ - Add ability to force delete a bucket with objects [\#488](https://github.com/fog/fog-aws/pull/488) ([ramonpm](https://github.com/ramonpm))
35
+ - Modernize various tests to Ruby 2.x syntax [\#485](https://github.com/fog/fog-aws/pull/485) ([teancom](https://github.com/teancom))
36
+ - EYPP-6850 add m4.16xlarge flavor [\#480](https://github.com/fog/fog-aws/pull/480) ([thorn](https://github.com/thorn))
37
+ - pull request in attempt at fix for undefined method issue mentioned in fog/fog-aws\#477 [\#478](https://github.com/fog/fog-aws/pull/478) ([klarrimore](https://github.com/klarrimore))
38
+ - Changes to add describe\_image\_attribute support [\#476](https://github.com/fog/fog-aws/pull/476) ([keithjpaulson](https://github.com/keithjpaulson))
39
+ - add tags for describe address [\#474](https://github.com/fog/fog-aws/pull/474) ([toubs13](https://github.com/toubs13))
40
+
41
+ ## [v3.3.0](https://github.com/fog/fog-aws/tree/v3.3.0) (2018-09-18)
42
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.2.0...v3.3.0)
43
+
44
+ **Merged pull requests:**
45
+
46
+ - Rename CDN::AWS to AWS::CDN [\#467](https://github.com/fog/fog-aws/pull/467) ([jaredbeck](https://github.com/jaredbeck))
47
+
48
+ ## [v3.2.0](https://github.com/fog/fog-aws/tree/v3.2.0) (2018-09-17)
49
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.1.0...v3.2.0)
50
+
51
+ **Merged pull requests:**
52
+
53
+ - Rename Storage::AWS to AWS::Storage [\#470](https://github.com/fog/fog-aws/pull/470) ([sue445](https://github.com/sue445))
54
+ - Rename DNS::AWS to AWS::DNS [\#469](https://github.com/fog/fog-aws/pull/469) ([sue445](https://github.com/sue445))
55
+ - Rename Compute::AWS to AWS::Compute [\#468](https://github.com/fog/fog-aws/pull/468) ([sue445](https://github.com/sue445))
56
+
57
+ ## [v3.1.0](https://github.com/fog/fog-aws/tree/v3.1.0) (2018-09-17)
58
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.0.0...v3.1.0)
6
59
 
7
60
  **Closed issues:**
8
61
 
62
+ - Option to disable ssl verification [\#465](https://github.com/fog/fog-aws/issues/465)
63
+ - s3: fog returns bad URL \(with correct signature\) [\#462](https://github.com/fog/fog-aws/issues/462)
64
+ - Getting permanent link without X-Amz-Expires=600 [\#459](https://github.com/fog/fog-aws/issues/459)
9
65
  - add region cn-northwest-1 [\#455](https://github.com/fog/fog-aws/issues/455)
10
66
  - Parameterize "RequestLimitExceeded" jitter magnitude [\#448](https://github.com/fog/fog-aws/issues/448)
11
67
  - Release new version to RubyGems [\#442](https://github.com/fog/fog-aws/issues/442)
68
+ - Fog::Compute::AWS::Vpcs returns VPCs with nil ids [\#387](https://github.com/fog/fog-aws/issues/387)
12
69
 
13
70
  **Merged pull requests:**
14
71
 
72
+ - Escape / in presigned URLs [\#463](https://github.com/fog/fog-aws/pull/463) ([alexcern](https://github.com/alexcern))
73
+ - Fix t1.micro bits [\#460](https://github.com/fog/fog-aws/pull/460) ([tas50](https://github.com/tas50))
74
+ - Storage region support for cn-northwest-1 [\#458](https://github.com/fog/fog-aws/pull/458) ([deepfryed](https://github.com/deepfryed))
75
+ - Simplify constructor [\#457](https://github.com/fog/fog-aws/pull/457) ([lvangool](https://github.com/lvangool))
76
+ - Add missing attribute to RDS server [\#456](https://github.com/fog/fog-aws/pull/456) ([brianknight10](https://github.com/brianknight10))
15
77
  - Fix & update aws flavor \(provided in GiB\) to Megabytes \(floor rounded\). [\#454](https://github.com/fog/fog-aws/pull/454) ([xward](https://github.com/xward))
16
78
  - Update aws flavors cpu count for gpu oriented flavor. [\#453](https://github.com/fog/fog-aws/pull/453) ([xward](https://github.com/xward))
17
79
  - Update aws flavors cpu count. [\#452](https://github.com/fog/fog-aws/pull/452) ([xward](https://github.com/xward))
@@ -721,4 +783,4 @@
721
783
  ## [fog-brightbox_v0.0.1](https://github.com/fog/fog-aws/tree/fog-brightbox_v0.0.1) (2014-02-19)
722
784
 
723
785
 
724
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
786
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require "github_changelog_generator/task"
2
3
 
3
4
  task :default => :test
4
5
 
@@ -6,3 +7,8 @@ mock = ENV['FOG_MOCK'] || 'true'
6
7
  task :test do
7
8
  sh("export FOG_MOCK=#{mock} && bundle exec shindont")
8
9
  end
10
+
11
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
12
+ config.user = 'fog'
13
+ config.project = 'fog-aws'
14
+ end
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.required_ruby_version = '>= 2.0.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 2.0'
25
+ spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
25
26
  spec.add_development_dependency 'rake', '~> 10.0'
26
27
  spec.add_development_dependency 'rubyzip', '~> 1.2.1'
27
28
  spec.add_development_dependency 'shindo', '~> 0.3'
@@ -225,6 +225,7 @@ module Fog
225
225
  'cn-north-1',
226
226
  'cn-northwest-1',
227
227
  'eu-central-1',
228
+ 'eu-north-1',
228
229
  'eu-west-1', 'eu-west-2', 'eu-west-3',
229
230
  'us-east-1', 'us-east-2',
230
231
  'us-west-1', 'us-west-2',
@@ -14,7 +14,7 @@ module Fog
14
14
  class ValidationError < Fog::Errors::Error; end
15
15
 
16
16
  requires :aws_access_key_id, :aws_secret_access_key
17
- recognizes :region, :host, :path, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :instrumentor, :instrumentor_name
17
+ recognizes :region, :host, :path, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :version, :instrumentor, :instrumentor_name
18
18
 
19
19
  request_path 'fog/aws/requests/elb'
20
20
  request :configure_health_check
@@ -142,6 +142,7 @@ module Fog
142
142
  @port = options[:port] || 443
143
143
  @scheme = options[:scheme] || 'https'
144
144
  @connection = Fog::XML::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", @persistent, @connection_options)
145
+ @version = options[:version] || '2012-06-01'
145
146
 
146
147
  setup_credentials(options)
147
148
  end
@@ -178,7 +179,7 @@ module Fog
178
179
  :host => @host,
179
180
  :path => @path,
180
181
  :port => @port,
181
- :version => '2012-06-01',
182
+ :version => @version,
182
183
  :method => 'POST'
183
184
  }
184
185
  )
@@ -39,6 +39,7 @@ module Fog
39
39
  attribute :storage_type, :aliases => 'StorageType'
40
40
  attribute :tde_credential_arn, :aliases => 'TdeCredentialArn'
41
41
  attribute :vpc_security_groups, :aliases => 'VpcSecurityGroups', :type => :array
42
+ attribute :db_subnet_group, :aliases => 'DBSubnetGroup'
42
43
 
43
44
  attr_accessor :password, :parameter_group_name, :security_group_names, :port, :source_snapshot_id
44
45
 
@@ -101,7 +101,8 @@ module Fog
101
101
  @listener_description['Listener'][name] = value.to_i
102
102
  end
103
103
 
104
- when 'CanonicalHostedZoneName', 'CanonicalHostedZoneNameID', 'LoadBalancerName', 'DNSName', 'Scheme'
104
+ when 'CanonicalHostedZoneName', 'CanonicalHostedZoneNameID', 'LoadBalancerName', 'DNSName', 'Scheme', 'Type', 'State',
105
+ 'LoadBalancerArn', 'IpAddressType', 'CanonicalHostedZoneId'
105
106
  @load_balancer[name] = value
106
107
  when 'CreatedTime'
107
108
  @load_balancer[name] = Time.parse(value)
@@ -119,9 +120,8 @@ module Fog
119
120
  @in_instances = false
120
121
  when 'InstanceId'
121
122
  @load_balancer['Instances'] << value
122
- when 'VPCId'
123
+ when 'VPCId', 'VpcId'
123
124
  @load_balancer[name] = value
124
-
125
125
  when 'AvailabilityZones'
126
126
  @in_availability_zones = false
127
127
  when 'SecurityGroups'
@@ -8,7 +8,7 @@ module Fog
8
8
  end
9
9
 
10
10
  def fresh_instance
11
- {'PendingModifiedValues' => [], 'DBSecurityGroups' => [], 'ReadReplicaDBInstanceIdentifiers' => [], 'Endpoint' => {}}
11
+ {'PendingModifiedValues' => [], 'DBSecurityGroups' => [], 'ReadReplicaDBInstanceIdentifiers' => [], 'Endpoint' => {}, 'DBSubnetGroup' => {}}
12
12
  end
13
13
 
14
14
  def start_element(name, attrs = [])
@@ -35,6 +35,17 @@ module Fog
35
35
  when 'VpcSecurityGroups'
36
36
  @in_vpc_security_groups = true
37
37
  @vpc_security_groups = []
38
+ when 'DBSubnetGroup'
39
+ @in_db_subnet_group = true
40
+ @db_subnet_group = {}
41
+ when 'Subnets'
42
+ @in_subnets = true
43
+ @subnets = []
44
+ when 'Subnet'
45
+ @subnet = {}
46
+ when 'SubnetAvailabilityZone'
47
+ @in_subnet_availability_zone = true
48
+ @subnet_availability_zone = {}
38
49
  end
39
50
  end
40
51
 
@@ -122,6 +133,33 @@ module Fog
122
133
  @db_instance['ReadReplicaSourceDBInstanceIdentifier'] = value
123
134
  when 'DBInstance'
124
135
  @db_instance = fresh_instance
136
+ when 'DBSubnetGroup'
137
+ @in_db_subnet_group = false
138
+ @db_instance['DBSubnetGroup'] = @db_subnet_group
139
+ when 'VpcId'
140
+ if @in_db_subnet_group
141
+ @db_subnet_group[name] = value
142
+ end
143
+ when 'Subnets'
144
+ @in_subnets = false
145
+ if @in_db_subnet_group
146
+ @db_subnet_group['Subnets'] = @subnets
147
+ end
148
+ when 'Subnet'
149
+ if @in_subnets
150
+ @subnets << @subnet
151
+ end
152
+ when 'SubnetIdentifier', 'SubnetStatus'
153
+ if @in_subnets
154
+ @subnet[name] = value
155
+ end
156
+ when 'SubnetAvailabilityZone'
157
+ @in_subnet_availability_zone = false
158
+ @subnet['SubnetAvailabilityZone'] = @subnet_availability_zone
159
+ when 'Name'
160
+ if @in_subnet_availability_zone
161
+ @subnet_availability_zone[name] = value
162
+ end
125
163
  end
126
164
  end
127
165
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = "3.4.0"
3
+ VERSION = "3.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-11 00:00:00.000000000 Z
12
+ date: 2019-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '2.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: github_changelog_generator
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.14'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.14'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: rake
30
44
  requirement: !ruby/object:Gem::Requirement