vagrant-tagprovision 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 8a669262d9b0838f6a37ace1a3ba9702366ec425
4
- data.tar.gz: bd7db8ceabcead76e3a777d51c261c7eb6f165c9
3
+ metadata.gz: 7cfb9caf67c9eee524dfc5aae9c0d32aa5d05845
4
+ data.tar.gz: 1debb99d197770733e64dc8c720a7be8c7d58efa
5
5
  SHA512:
6
- metadata.gz: 68c5409eda074c01fcfc4cbe5fbb2fb16b81882c629250bfaf98912d0639430cb70c12d80596926d881532c7551f49ef0b8eba2bcbfbf372fc5ddbad558bab3e
7
- data.tar.gz: 67a097342c639f490ebc0893bf2d29db8db5815e0716442f2fb2658d1a5225b547b16578e09fd9124f46ce57eee89264d521c92737a875c1d4c18f8399738498
6
+ metadata.gz: be6fdfdb80961f68c548e92f9c1705033016af6ee5eaf8c7ae158ab3edda37c46c8c3fbc727c3432ff61ddbb25387ac6df8bdcb36ecb5b55cf4c1ebf006041e2
7
+ data.tar.gz: 18773e8fba8f71ececd565735fe14f11aade1997896156b28cbf83f9eb8c291bfbe376d155106b3be42feea999fb0b3c0de6f622573b3323bea4d47e21b678bc
@@ -84,9 +84,9 @@ module VagrantPlugins
84
84
  def update_file(file, resolving_machine = nil, include_id = true)
85
85
  #update the file with the current state of the vagrant config and the user provisioning
86
86
  file = Pathname.new(file)
87
- file_content_line = "Provisioned on #{@time.inspect} using commit #{@commit_hash} by #{@current_user}"
87
+ file_content_line = "#{@time.inspect}\tProvisioned\t#{@commit_hash}\t#{@current_user}"
88
88
  old_file_content = file.read
89
- new_file_content = old_file_content + "\n#{file_content_line}"
89
+ new_file_content = old_file_content + "#{file_content_line}"
90
90
  file.open('wb') { |io| io.write(new_file_content) }
91
91
  old_file_content != new_file_content
92
92
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Tagprovision
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-tagprovision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jimrobinson