vagrant-google 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97ed22f3b15a2264048780aee27f556253b4fc95
4
- data.tar.gz: d25da1e3ffc2df3f7426a3e12925aa4bc712906c
3
+ metadata.gz: ff7fc355aac3b30b66f83ee7dc0032c64060a0dc
4
+ data.tar.gz: aa90cafdd81a4815b3b4f9676827bb7e2403fb16
5
5
  SHA512:
6
- metadata.gz: d93c86649f29f86245324f17397ab4b312ca62f23636473f389b58842708e75b9375a641e940caadd9634ccf5e3f1e48dd3b63853df6e599120d947b1d6e7a56
7
- data.tar.gz: edc17341aeee905871bc2af62c4f0cbc1a19da2835742e1ce104ba8e92717b98c763d6a1b6c3757dd7fb3ab674bd9228830b7e9840ade27c86bf5535969b06d9
6
+ metadata.gz: 3bb5325a938bdf66b431ef25490c90948fc81e0a873e09b4eb862a46cfcfec78d5685077d5dbe83c58b724e8482ceb0b95e0b3d2db4c64f0eebd22084eb44da7
7
+ data.tar.gz: dd90bd55eb16fcd40645a55ca306542586e4e581a1989123f639db5a3715498d9ea35822f6b66e2fc7c9cdb0491c5890687800dfdb07b2c8c373f81bf3ea649f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  The format is loosely based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## 2.2.1 (October 2018)
6
+
7
+ ### User-facing
8
+
9
+ - \#206 Fix image selection logic - Plugin no longer traces back with
10
+ `image_family` config option. [temikus]
11
+
12
+ ### Development
13
+
14
+ - \#206 Bumped dependencies. [temikus]
15
+ - fog-google version to 1.8.1
16
+ - vagrant & vagrant-spec are now pointing to new upstream Hashicorp org repos
17
+
5
18
  ## 2.2.0 (June 2018)
6
19
 
7
20
  #### Fixed
data/Gemfile CHANGED
@@ -23,6 +23,6 @@ group :development do
23
23
  # We depend on Vagrant for development, but we don't add it as a
24
24
  # gem dependency because we expect to be installed within the
25
25
  # Vagrant environment itself using `vagrant plugin`.
26
- gem 'vagrant', git: "https://github.com/mitchellh/vagrant.git"
27
- gem 'vagrant-spec', git: "https://github.com/mitchellh/vagrant-spec.git"
26
+ gem 'vagrant', git: "https://github.com/hashicorp/vagrant.git"
27
+ gem 'vagrant-spec', git: "https://github.com/hashicorp/vagrant-spec.git"
28
28
  end
data/README.md CHANGED
@@ -245,7 +245,7 @@ Vagrant.configure("2") do |config|
245
245
 
246
246
  google.zone_config "us-central1-f" do |zone1f|
247
247
  zone1f.name = "testing-vagrant"
248
- zone1f.image = "debian-8-jessie-v20180307"
248
+ zone1f.image = "debian-9-stretch-v20180611"
249
249
  zone1f.machine_type = "n1-standard-4"
250
250
  zone1f.zone = "us-central1-f"
251
251
  zone1f.metadata = {'custom' => 'metadata', 'testing' => 'foobarbaz'}
@@ -97,12 +97,11 @@ module VagrantPlugins
97
97
  env[:ui].info(" -- Scopes: #{service_account_scopes}") if service_account_scopes
98
98
  env[:ui].info(" -- Service Account: #{service_account}") if service_account
99
99
 
100
- # Munge image configs
101
- image = env[:google_compute].images.get(image, image_project_id).self_link
102
-
103
- # If image_family is set, get the latest image image from the family.
104
- unless image_family.nil?
100
+ # Munge image config
101
+ if image_family
105
102
  image = env[:google_compute].images.get_from_family(image_family, image_project_id).self_link
103
+ else
104
+ image = env[:google_compute].images.get(image, image_project_id).self_link
106
105
  end
107
106
 
108
107
  # Munge network configs
@@ -13,6 +13,6 @@
13
13
  # limitations under the License.
14
14
  module VagrantPlugins
15
15
  module Google
16
- VERSION = "2.2.0".freeze
16
+ VERSION = "2.2.1".freeze
17
17
  end
18
18
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
28
28
  s.required_rubygems_version = ">= 1.3.6"
29
29
  s.rubyforge_project = "vagrant-google"
30
30
 
31
- s.add_runtime_dependency "fog-google", "~> 1.4"
31
+ s.add_runtime_dependency "fog-google", "~> 1.8.1"
32
32
 
33
33
  # This is a restriction to avoid errors on `failure_message_for_should`
34
34
  # TODO: revise after vagrant_spec goes past >0.0.1 (at master@e623a56)
@@ -63,7 +63,7 @@ Vagrant.configure("2") do |config|
63
63
 
64
64
  google.zone_config "us-central1-c" do |z1c_zone|
65
65
  z1c_zone.name = "z1c"
66
- z1c_zone.image = "debian-8-jessie-v20160923"
66
+ z1c_zone.image = "debian-9-stretch-v20180611"
67
67
  z1c_zone.machine_type = "n1-standard-1"
68
68
  z1c_zone.zone = "us-central1-c"
69
69
  z1c_zone.metadata = {"zone" => "US Central 1c"}
@@ -83,7 +83,7 @@ Vagrant.configure("2") do |config|
83
83
 
84
84
  google.zone_config "us-central1-f" do |z1f_zone|
85
85
  z1f_zone.name = "z1f"
86
- z1f_zone.image = "debian-8-jessie-v20160923"
86
+ z1f_zone.image = "debian-9-stretch-v20180611"
87
87
  z1f_zone.machine_type = "n1-standard-2"
88
88
  z1f_zone.zone = "us-central1-f"
89
89
  z1f_zone.metadata = {"zone" => "US Central 1f"}
@@ -36,7 +36,7 @@ Vagrant.configure("2") do |config|
36
36
 
37
37
  # Override provider defaults
38
38
  google.name = "testing-vagrant"
39
- google.image = "debian-8-jessie-v20160923"
39
+ google.image = "debian-9-stretch-v20180611"
40
40
  google.machine_type = "n1-standard-1"
41
41
  google.zone = "us-central1-f"
42
42
  google.metadata = {'custom' => 'metadata', 'testing' => 'foobarbaz'}
@@ -30,7 +30,7 @@ Vagrant.configure("2") do |config|
30
30
 
31
31
  google.zone_config "us-central1-f" do |zone1a|
32
32
  zone1a.name = "testing-vagrant"
33
- zone1a.image = "debian-8-jessie-v20160923"
33
+ zone1a.image = "debian-9-stretch-v20180611"
34
34
  zone1a.machine_type = "n1-standard-4"
35
35
  zone1a.zone = "us-central1-f"
36
36
  zone1a.scopes = ['bigquery', 'monitoring', 'https://www.googleapis.com/auth/compute']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Johnson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-06-08 00:00:00.000000000 Z
12
+ date: 2018-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog-google
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.4'
20
+ version: 1.8.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.4'
27
+ version: 1.8.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec-legacy_formatters
30
30
  requirement: !ruby/object:Gem::Requirement