gli 2.0.0.rc7 → 2.0.0.rc8
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/lib/gli.rb +6 -0
- data/lib/gli/version.rb +1 -1
- 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
|
data/lib/gli/version.rb
CHANGED