vagrant-niftycloud 0.1.3 → 0.1.4

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.
@@ -1,6 +1,11 @@
1
+ # 0.1.4 (July 25, 2013)
2
+
3
+ * Vagrantfileでinstance_idを指定せずにvagrant upした場合に、instance_id決定ロジックが can't convert nil into String を吐くケースがある問題を修正
4
+ * rsyncでのローカルファイル転送時に.gitディレクトリをexcludeするよう修正
5
+
1
6
  # 0.1.3 (July 24, 2013)
2
7
 
3
8
  * access_key_id、secret_access_keyがVagrantfileで指定されていない場合に取得する環境変数名が間違っていた
4
9
 
5
10
  # 0.1.0 (July 22, 2013)
6
- * Initial release.
11
+ * Initial release.
@@ -125,10 +125,9 @@ module VagrantPlugins
125
125
  end
126
126
 
127
127
  def get_instance_id(length)
128
- result = "vagrant"
128
+ instance_id = "vagrant"
129
129
  uid = (("a".."z").to_a + (0..9).to_a).shuffle[0..length].join
130
- result << uid.capitalize!
131
- result
130
+ instance_id << uid.capitalize
132
131
  end
133
132
  end
134
133
  end
@@ -41,7 +41,7 @@ module VagrantPlugins
41
41
  # Rsync over to the guest path using the SSH info
42
42
  command = [
43
43
  "rsync", "--verbose", "--archive", "-z",
44
- "--exclude", ".vagrant/",
44
+ "--exclude", ".vagrant/", "--exclude", ".git/",
45
45
  "-e", "ssh -p #{ssh_info[:port]} -o StrictHostKeyChecking=no -i '#{ssh_info[:private_key_path]}'",
46
46
  hostpath,
47
47
  "#{ssh_info[:username]}@#{ssh_info[:host]}:#{guestpath}"]
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module NiftyCloud
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-niftycloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-24 00:00:00.000000000 Z
12
+ date: 2013-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: -904776018718840913
148
+ hash: -1485453421114679184
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements: