gli 2.5.2 → 2.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ require 'etc'
2
2
  require 'optparse'
3
3
  require 'gli/copy_options_to_aliases'
4
4
  require 'gli/dsl'
5
+ require 'pathname'
5
6
 
6
7
  module GLI
7
8
  # A means to define and parse a command line interface that works as
@@ -277,7 +277,7 @@ require 'gli'
277
277
  begin # XXX: Remove this begin/rescue before distributing your app
278
278
  require '#{project_name}'
279
279
  rescue LoadError
280
- STDERR.puts "In development, you need to use `bundle exec bin/todo` to run your app"
280
+ STDERR.puts "In development, you need to use `bundle exec bin/#{project_name}` to run your app"
281
281
  STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path"
282
282
  STDERR.puts "Feel free to remove this message from bin/#{project_name} now"
283
283
  exit 64
@@ -339,7 +339,7 @@ EOS
339
339
 
340
340
  pre do |global,command,options,args|
341
341
  # Pre logic here
342
- # Return true to proceed; false to abourt and not call the
342
+ # Return true to proceed; false to abort and not call the
343
343
  # chosen command
344
344
  # Use skips_pre before a command to skip this block
345
345
  # on that command only
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.5.2' #:nodoc:
3
+ VERSION = '2.5.3' #:nodoc:
4
4
  end
5
5
  end
@@ -39,7 +39,7 @@ command [:chained2,:ch2] => [ :second, :first ]
39
39
 
40
40
  pre do |global,command,options,args|
41
41
  # Pre logic here
42
- # Return true to proceed; false to abourt and not call the
42
+ # Return true to proceed; false to abort and not call the
43
43
  # chosen command
44
44
  # Use skips_pre before a command to skip this block
45
45
  # on that command only
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.2
4
+ version: 2.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-10 00:00:00.000000000 Z
12
+ date: 2012-12-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -333,7 +333,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
333
333
  version: '0'
334
334
  segments:
335
335
  - 0
336
- hash: -3329046397678214903
336
+ hash: -3516893403879120401
337
337
  required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  none: false
339
339
  requirements:
@@ -342,7 +342,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
342
342
  version: '0'
343
343
  segments:
344
344
  - 0
345
- hash: -3329046397678214903
345
+ hash: -3516893403879120401
346
346
  requirements: []
347
347
  rubyforge_project: gli
348
348
  rubygems_version: 1.8.23