finger-puppet 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,18 +5,18 @@ require 'pathname'
5
5
  # Show the man page
6
6
  if ARGV.any? {|arg| arg =~ /help|--help|-h/}
7
7
  root = Pathname.new(File.dirname(__FILE__)).parent.expand_path
8
- command = "man #{root + 'man' + 'rump.1'}"
8
+ command = "man #{root + 'man' + 'finger-puppet.1'}"
9
9
  exec(command)
10
10
  end
11
11
 
12
- # If we are running from the root of a Rump/Puppet repo, load the bundled rump.
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
12
+ # If we are running from the root of a Finger-Puppet/Puppet repo, load the bundled finger-puppet.
13
+ fingerpuppet_binstub = Pathname.new(Dir.pwd) + 'bin' + 'finger-puppet'
14
+ if fingerpuppet_binstub.exist? and fingerpuppet_binstub.to_s != __FILE__
15
+ load fingerpuppet_binstub
16
16
  exit
17
17
  end
18
18
 
19
- # Otherwise, load rump from a gem as per usual.
19
+ # Otherwise, load finger-puppet from a gem as per usual.
20
20
  begin
21
21
  require 'finger-puppet'
22
22
  rescue LoadError
@@ -27,4 +27,4 @@ end
27
27
  command = ARGV.first
28
28
  arguments = ARGV[1..-1]
29
29
 
30
- Finger-puppet.new.invoke(command, arguments)
30
+ Fingerpuppet.new.invoke(command, arguments)
@@ -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.1"
6
+ s.version = "0.3.2"
7
7
  s.authors = ["Anthony Somerset"]
8
8
  s.email = ["anthony@somersettechsolutions.co.uk"]
9
9
  s.homepage = "http://github.com/anthonysomerset/finger-puppet"
@@ -42,7 +42,7 @@ class Thor
42
42
  end
43
43
 
44
44
 
45
- class finger-puppet < Thor
45
+ class Fingerpuppet < Thor
46
46
  include Logging
47
47
 
48
48
  def initialize
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: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Anthony Somerset