landrush 0.17.0 → 0.18.0

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: 3d844f0d5221ad140ee8dd79a0331caae1d6bcf7
4
- data.tar.gz: b00c840ab43a300b9877ebceb001196cfecabd10
3
+ metadata.gz: 6565b76889bc1b8e51cc9b0c84f18dea5e098f26
4
+ data.tar.gz: db1b157372c569ad550c4fc428a7c76415ff0b53
5
5
  SHA512:
6
- metadata.gz: 0f07b9ace631e7d2f87dd72421c1e752ae605c12649c8937911a5e4d62f98ee7b7975e7b5a7e3a8ca79782b2011d404ee856d6dcf5ec96ae744817824c6efdcf
7
- data.tar.gz: 10a22b92b66bef837b5c31cbd9815e361300c9ce8eb1b670d9e66b5b4f63c2560ae0face20cbcdc2aae79d0075838cc7692ac1c7a5fbb5a334623a4e058834a0
6
+ metadata.gz: 71f9a2774ad3556b090813cec7c9c646e531a901cb1bb9fcd0f15f38bed465fd9f5cb719f65dfcf464c6c37518dee0b5b6f5a1bd0733cb5c5b41a978a24e37e1
7
+ data.tar.gz: 863b64defc70b3ebc340164ff7cd510d0c26ec1bcbc0960211c34a3fcd33807b74f50b59e21c0b4c63d1c7bb1d226a974c0ab366e6ed4f3bae210ff2182b2458
data/CHANGELOG.md ADDED
@@ -0,0 +1,24 @@
1
+ ## [Unreleased][unreleased]
2
+
3
+ ## [0.18.0] - 2015-01-24
4
+
5
+ ### Added
6
+ - vagrant: support for `vagrant reload` (#101)
7
+
8
+ ## [0.17.0] - 2015-01-18
9
+
10
+ ### Added
11
+ - cli: `add` / `rm|del` subcommands (#96)
12
+
13
+ ### Fixed
14
+ - cli: default to showing help when no command is specified
15
+
16
+ ## [0.16.0] - 2015-01-18
17
+
18
+ ### Added
19
+ - dns: support for IN::PTR records (#98)
20
+
21
+ [unreleased]: https://github.com/phinze/landrush/compare/v0.18.0...HEAD
22
+ [0.18.0]: https://github.com/phinze/landrush/compare/v0.17.0...v0.18.0
23
+ [0.17.0]: https://github.com/phinze/landrush/compare/v0.16.0...v0.17.0
24
+ [0.16.0]: https://github.com/phinze/landrush/compare/v0.15.4...v0.16.0
@@ -12,7 +12,7 @@ module Landrush
12
12
  Config
13
13
  end
14
14
 
15
- action_hook 'landrush_setup', :machine_action_up do |hook|
15
+ landrush_setup = -> (hook) {
16
16
  require_relative 'action/common'
17
17
  require_relative 'action/setup'
18
18
  require_relative 'action/install_prerequisites'
@@ -29,7 +29,10 @@ module Landrush
29
29
  if defined?(VagrantPlugins::Parallels)
30
30
  hook.before(VagrantPlugins::Parallels::Action::Network, pre_boot_actions)
31
31
  end
32
- end
32
+ }
33
+
34
+ action_hook 'landrush_setup', :machine_action_up, &landrush_setup
35
+ action_hook 'landrush_setup', :machine_action_reload, &landrush_setup
33
36
 
34
37
  def self.pre_boot_actions
35
38
  Vagrant::Action::Builder.new.tap do |b|
@@ -44,17 +47,15 @@ module Landrush
44
47
  end
45
48
  end
46
49
 
47
- action_hook 'landrush_teardown', :machine_action_halt do |hook|
50
+ landrush_teardown = -> (hook) {
48
51
  require_relative 'action/common'
49
52
  require_relative 'action/teardown'
50
53
  hook.after(Vagrant::Action::Builtin::GracefulHalt, Action::Teardown)
51
- end
54
+ }
52
55
 
53
- action_hook 'landrush_teardown', :machine_action_destroy do |hook|
54
- require_relative 'action/common'
55
- require_relative 'action/teardown'
56
- hook.after(Vagrant::Action::Builtin::GracefulHalt, Action::Teardown)
57
- end
56
+ action_hook 'landrush_teardown', :machine_action_halt, &landrush_teardown
57
+ action_hook 'landrush_teardown', :machine_action_destroy, &landrush_teardown
58
+ action_hook 'landrush_teardown', :machine_action_reload, &landrush_teardown
58
59
 
59
60
  guest_capability('debian', 'iptables_installed') do
60
61
  require_relative 'cap/debian/iptables_installed'
@@ -1,3 +1,3 @@
1
1
  module Landrush
2
- VERSION = "0.17.0"
2
+ VERSION = "0.18.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landrush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Hinze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2015-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubydns
@@ -56,6 +56,7 @@ extra_rdoc_files: []
56
56
  files:
57
57
  - ".gitignore"
58
58
  - ".travis.yml"
59
+ - CHANGELOG.md
59
60
  - Gemfile
60
61
  - LICENSE.txt
61
62
  - README.md