vagrant_hook 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 +4 -4
- data/README.md +21 -35
- data/lib/vagrant_hook/plugin.rb +1 -1
- data/lib/vagrant_hook/version.rb +1 -1
- data/pkg/vagrant_hook-0.1.0.gem +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c63a8c9db285f71c732223f795936b9563a5f64
|
4
|
+
data.tar.gz: 7c3a77e8d925db5e9a0fd0204f0734b1f7c2f025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733906e032b43036b78907d0b6a50c9e6be746f3f8bde9ac2f02d865ae10db7e7e2cb2ec66f0e6fd0c693dd52e19dd35a7bbf48325518e1bdd7722f6eaca6281
|
7
|
+
data.tar.gz: 9f01f1919faf162da54172e2d5c7a9045b3c31d2c270bd1e80f2f5d0f4b878b9067aea94fba7e5ffd6a3a63aac4df45b3960fbfa36715cf617cda567dd0b3777
|
data/README.md
CHANGED
@@ -1,35 +1,21 @@
|
|
1
|
-
# Vagranthook
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/vagranthook.
|
1
|
+
# Vagranthook
|
2
|
+
|
3
|
+
This project proves how to create a basic plugin that can hook to a specific event chain.
|
4
|
+
|
5
|
+
It is a base, so that in the future it can support further events.
|
6
|
+
|
7
|
+
Feel free to contribute.
|
8
|
+
|
9
|
+
# Installation
|
10
|
+
|
11
|
+
> vagrant plugin install vagrant_hook
|
12
|
+
|
13
|
+
# How to use
|
14
|
+
|
15
|
+
In your vagrant box add something like:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
config.vagrant_hook.check_outdated do |host|
|
19
|
+
puts "hello world!"
|
20
|
+
end
|
21
|
+
```
|
data/lib/vagrant_hook/plugin.rb
CHANGED
data/lib/vagrant_hook/version.rb
CHANGED
data/pkg/vagrant_hook-0.1.0.gem
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant_hook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruben
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|