From 9424624c7a11a986ff8f58068358b8861584356e Mon Sep 17 00:00:00 2001 From: Artem Yakimenko Date: Fri, 21 Jul 2017 12:19:47 +1000 Subject: [PATCH 1/4] Fix Gemfile plugin load --- Gemfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 3774bec..d363723 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,10 @@ source "https://rubygems.org" -gemspec +group :plugins do + # Dependencies need to be specified in vagrant-google.gemspec + gemspec +end group :development do # We depend on Vagrant for development, but we don't add it as a @@ -23,7 +26,3 @@ group :development do gem 'vagrant', git: "https://github.com/mitchellh/vagrant.git" gem 'vagrant-spec', git: "https://github.com/mitchellh/vagrant-spec.git" end - -group :plugins do - gem "vagrant-google" , path: "." -end From 764af1e7e037f8536c4c8c19d42bab05cef05b67 Mon Sep 17 00:00:00 2001 From: Artem Yakimenko Date: Fri, 21 Jul 2017 12:20:05 +1000 Subject: [PATCH 2/4] Bump the ruby version to track newer Vagrant --- .ruby-version | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ruby-version b/.ruby-version index d5694fd..d3b7465 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1,2 +1,2 @@ -2.2.3 -# Tracking Vagrant 1.8.5 \ No newline at end of file +2.3.0 +# Tracking Vagrant 1.9.7 \ No newline at end of file From f03bb3ed4cf07270d3708f36e1c198a5c2b661a9 Mon Sep 17 00:00:00 2001 From: Artem Yakimenko Date: Fri, 21 Jul 2017 14:13:09 +1000 Subject: [PATCH 3/4] Locking rake dep --- vagrant-google.gemspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vagrant-google.gemspec b/vagrant-google.gemspec index 138cb20..50f04eb 100644 --- a/vagrant-google.gemspec +++ b/vagrant-google.gemspec @@ -33,7 +33,11 @@ Gem::Specification.new do |s| s.add_development_dependency "pry" s.add_development_dependency "pry-byebug" - s.add_development_dependency "rake" + + # This is a restriction to avoid an error "undefined method 'last_comment'" + # which is deprecated (see https://github.com/ruby/rake/issues/116) + # Remove it after update rspec-core to version greater than or equal to 3.4.4 + s.add_development_dependency "rake", "< 11.0" s.add_development_dependency "rspec", "~> 2.14" s.add_development_dependency "rubocop", "~> 0.35" s.add_development_dependency "highline" From 3ac223f49afd165ba76d90bfeab34dcabdc3c259 Mon Sep 17 00:00:00 2001 From: Artem Yakimenko Date: Fri, 21 Jul 2017 15:48:47 +1000 Subject: [PATCH 4/4] Releasing 1.0 Vagrant-google plugin can now be considered stable in its basic functionality. - Added subnetwork support [Wyosotis] - Miscellaneous small bugfixes, doc and test updates [coryvirok,scanf,luto,Wyosotis,utdrmac,temikus] Huge thanks to all contributors \o/ --- README.md | 3 ++- lib/vagrant-google/version.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 632b3b9..e277dd8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This is a [Vagrant](http://www.vagrantup.com) 1.2+ plugin that adds an [Google Compute Engine](http://cloud.google.com/compute/) (GCE) provider to Vagrant, allowing Vagrant to control and provision instances in GCE. -**NOTE:** This plugin requires Vagrant 1.2+. +The maintainers for this plugin are @temikus(primary), @erjohnso(backup). ## Features @@ -187,6 +187,7 @@ This provider exposes quite a few provider-specific configuration options: e.g. 10/08/2015 13:15:15 is "i-2015081013-15637fda". * `network` - The name of the network to use for the instance. Default is "default". +* `subnetwork` - The name of the subnetwork to use for the instance. * `tags` - An array of tags to apply to this instance. * `zone` - The zone name where the instance will be created. * `can_ip_forward` - Boolean whether to enable IP Forwarding. diff --git a/lib/vagrant-google/version.rb b/lib/vagrant-google/version.rb index 04463a1..c91ad13 100644 --- a/lib/vagrant-google/version.rb +++ b/lib/vagrant-google/version.rb @@ -13,6 +13,6 @@ # limitations under the License. module VagrantPlugins module Google - VERSION = "0.2.5".freeze + VERSION = "1.0.0".freeze end end