gli 2.0.0.rc7 → 2.0.0.rc8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gli.rb +6 -0
  2. data/lib/gli/version.rb +1 -1
  3. metadata +1 -1
data/lib/gli.rb CHANGED
@@ -24,4 +24,10 @@ module GLI
24
24
  def self.included(klass)
25
25
  warn "You should include GLI::App instead"
26
26
  end
27
+
28
+ def self.run(*args)
29
+ warn "GLI.run no longer works for GLI-2, you must just call `run(ARGV)' instead"
30
+ warn "either fix your app, or use the latest GLI in the 1.x family"
31
+ 1
32
+ end
27
33
  end
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.0.0.rc7' #:nodoc:
3
+ VERSION = '2.0.0.rc8' #:nodoc:
4
4
  end
5
5
  end
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.0.0.rc7
4
+ version: 2.0.0.rc8
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: