vagrant-cowsay-fortune 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,17 @@
|
|
1
|
+
begin
|
2
|
+
require "vagrant"
|
3
|
+
rescue LoadError
|
4
|
+
raise "This is a vagrant plugin, do not use standalone."
|
5
|
+
end
|
1
6
|
require "vagrant/cowsay/fortune/version"
|
2
7
|
require "ext/string"
|
3
8
|
|
4
|
-
module
|
9
|
+
module VagrantPlugins
|
5
10
|
module Cowsay
|
6
11
|
module Fortune
|
7
|
-
class
|
12
|
+
class Plugin < Vagrant.plugin("2")
|
8
13
|
name "vagrant-cowsay-fortune"
|
14
|
+
description "Cowsay + Fortune"
|
9
15
|
'fortune'.works? and 'cowsay'.works? and system('fortune -a | cowsay')
|
10
16
|
end
|
11
17
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-cowsay-fortune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Wossal
|