vagrant-hosts 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,15 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.4.0
5
+ -----
6
+
7
+ 2015-03-06
8
+
9
+ This is a backwards compatible feature release.
10
+
11
+ * (GH-43) Support for bind mounted /etc/hosts on docker containers
12
+
4
13
  2.3.0
5
14
  -----
6
15
 
@@ -15,7 +15,7 @@ class VagrantHosts::Cap::SyncHosts::POSIX < VagrantHosts::Cap::SyncHosts::Base
15
15
 
16
16
  def update_hosts
17
17
  upload_tmphosts
18
- @machine.communicate.sudo('install -m 644 /tmp/hosts /etc/hosts')
18
+ @machine.communicate.sudo('cat /tmp/hosts > /etc/hosts')
19
19
  end
20
20
 
21
21
  # Generates content appropriate for a linux hosts file
@@ -1,3 +1,3 @@
1
1
  module VagrantHosts
2
- VERSION = '2.3.0'
2
+ VERSION = '2.4.0'
3
3
  end
metadata CHANGED
@@ -1,17 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Adrien Thebo
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-12-16 00:00:00.000000000 Z
12
+ date: 2015-03-06 00:00:00.000000000 Z
12
13
  dependencies: []
13
- description: |2
14
- Manage static DNS entries and configuration for Vagrant guests.
14
+ description: ! ' Manage static DNS entries and configuration for Vagrant guests.
15
+
16
+ '
15
17
  email: adrien@somethingsinistral.net
16
18
  executables: []
17
19
  extensions: []
@@ -40,26 +42,27 @@ files:
40
42
  homepage: https://github.com/adrienthebo/vagrant-hosts
41
43
  licenses:
42
44
  - Apache 2.0
43
- metadata: {}
44
45
  post_install_message:
45
46
  rdoc_options: []
46
47
  require_paths:
47
48
  - lib
48
49
  required_ruby_version: !ruby/object:Gem::Requirement
50
+ none: false
49
51
  requirements:
50
- - - '>='
52
+ - - ! '>='
51
53
  - !ruby/object:Gem::Version
52
54
  version: '0'
53
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
+ none: false
54
57
  requirements:
55
- - - '>='
58
+ - - ! '>='
56
59
  - !ruby/object:Gem::Version
57
60
  version: '0'
58
61
  requirements: []
59
62
  rubyforge_project:
60
- rubygems_version: 2.0.14
63
+ rubygems_version: 1.8.23.2
61
64
  signing_key:
62
- specification_version: 4
65
+ specification_version: 3
63
66
  summary: Manage static DNS on vagrant guests
64
67
  test_files: []
65
68
  has_rdoc: true
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 0cf7d369fdb8ae622a3247e6131fa21f625d866b
4
- data.tar.gz: 18e5a173cf296a7ac7b082c93e2b71b0c58f66ef
5
- SHA512:
6
- metadata.gz: 6f03a41e933ab4e34e602b3a1137e0fda791b2a216f02a8b8de8693d05d221f92670394705a7d79bac17c5203932478519ac8f548fc8515fb05173cfa84cbddd
7
- data.tar.gz: e25ca702865bcec6318936a286fb53ab785fbb9e784dd4c7db576690f933984bb5caff225318f28dc80733c5eb5a6b053f1aead08fd36cf85e4a9b0b70380854