finger-puppet 0.3.0 → 0.3.1
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.
- data/.gitignore +1 -0
- data/bin/finger-puppet +6 -6
- data/finger-puppet.gemspec +1 -1
- metadata +3 -3
data/.gitignore
CHANGED
data/bin/finger-puppet
CHANGED
|
@@ -10,21 +10,21 @@ if ARGV.any? {|arg| arg =~ /help|--help|-h/}
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
# If we are running from the root of a Rump/Puppet repo, load the bundled rump.
|
|
13
|
-
|
|
14
|
-
if
|
|
15
|
-
load
|
|
13
|
+
finger-puppet_binstub = Pathname.new(Dir.pwd) + 'bin' + 'rump'
|
|
14
|
+
if finger-puppet_binstub.exist? and finger-puppet_binstub.to_s != __FILE__
|
|
15
|
+
load finger-puppet_binstub
|
|
16
16
|
exit
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
# Otherwise, load rump from a gem as per usual.
|
|
20
20
|
begin
|
|
21
|
-
require '
|
|
21
|
+
require 'finger-puppet'
|
|
22
22
|
rescue LoadError
|
|
23
23
|
$: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
24
|
-
require '
|
|
24
|
+
require 'finger-puppet'
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
command = ARGV.first
|
|
28
28
|
arguments = ARGV[1..-1]
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Finger-puppet.new.invoke(command, arguments)
|
data/finger-puppet.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "finger-puppet"
|
|
6
|
-
s.version = "0.3.
|
|
6
|
+
s.version = "0.3.1"
|
|
7
7
|
s.authors = ["Anthony Somerset"]
|
|
8
8
|
s.email = ["anthony@somersettechsolutions.co.uk"]
|
|
9
9
|
s.homepage = "http://github.com/anthonysomerset/finger-puppet"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: finger-puppet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.3.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Anthony Somerset
|