vagrant-cowsay-fortune 0.0.3 → 0.0.4

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.
@@ -1,7 +1,7 @@
1
1
  module Vagrant
2
2
  module Cowsay
3
3
  module Fortune
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end
7
7
  end
@@ -4,14 +4,14 @@ rescue LoadError
4
4
  raise "This is a vagrant plugin, do not use standalone."
5
5
  end
6
6
  require "vagrant/cowsay/fortune/version"
7
- require "ext/string"
7
+ #require "ext/string"
8
8
 
9
9
  module VagrantPlugins
10
10
  module Cowsay
11
11
  module Fortune
12
12
  class Plugin < Vagrant.plugin("2")
13
- name "vagrant-cowsay-fortune"
14
- description "Cowsay + Fortune"
13
+ #name "vagrant-cowsay-fortune"
14
+ #description "Cowsay + Fortune"
15
15
  puts "hello"
16
16
  #'fortune'.works? and 'cowsay'.works? and system('fortune -a | cowsay')
17
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Wossal
@@ -61,7 +61,6 @@ files:
61
61
  - LICENSE.txt
62
62
  - README.md
63
63
  - Rakefile
64
- - lib/ext/string.rb
65
64
  - lib/vagrant/cowsay/fortune.rb
66
65
  - lib/vagrant/cowsay/fortune/version.rb
67
66
  - vagrant-cowsay-fortune.gemspec
data/lib/ext/string.rb DELETED
@@ -1,3 +0,0 @@
1
- class String
2
- def works?() system("which #{self} 2>&1 > /dev/null") end
3
- end