gli 2.5.2 → 2.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gli/app.rb +1 -0
- data/lib/gli/commands/scaffold.rb +2 -2
- data/lib/gli/version.rb +1 -1
- data/test/apps/todo/bin/todo +1 -1
- metadata +4 -4
data/lib/gli/app.rb
CHANGED
@@ -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
|
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
|
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
|
data/lib/gli/version.rb
CHANGED
data/test/apps/todo/bin/todo
CHANGED
@@ -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
|
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.
|
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-
|
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: -
|
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: -
|
345
|
+
hash: -3516893403879120401
|
346
346
|
requirements: []
|
347
347
|
rubyforge_project: gli
|
348
348
|
rubygems_version: 1.8.23
|