gli 2.19.0 → 2.19.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d9dfe82dab8b65f6e40398bac8a94cac024b5cd252da184b52b00d29512b78c
4
- data.tar.gz: 3914a6632dc595e1fda18c544665cb2ead472f41f5eeb1a4357bc4bb485f20ae
3
+ metadata.gz: 7089f9a6b96c1d569c7f41a03d8ffce30f3f9498ea39ca7c6c7b3717d96f71ec
4
+ data.tar.gz: '03592a617ed24d6595d0b5c505c2f7dea8ebcc000d654011a0e65e795838564a'
5
5
  SHA512:
6
- metadata.gz: af8cac9a13eaea92e7c76af8036edc21ef7f01e37efd63e475de7ce85b745e20fdcffb8d4d1bc9eff8038c5e05b298f8cc8e868cd19e7d16de0a8c7f2df7dd31
7
- data.tar.gz: 96dd62eed7e82d5072720408df78377d603af67bf52938b4f7844a782e0a91602ad37e33a363dc8b40cab70edd45bb31b977385428d9a33e259e56f6f39c6776
6
+ metadata.gz: 7d1611797b8f4aa7ef04671912a193fbf9882fbfd1bd0106f5d403c8da126cb24ae98fd9accaf8d72e4127d97edb13a79679c5589f0136152a945fe2e1976c08
7
+ data.tar.gz: 41dd9b803e0e660b0ba7f4b6f33ed591da957c99ac52a09e0fe3e171df668175ac77c9513deda9138602ad620c19f1f4470f1aa234e9ec0c84bae1cff8aa3e6a
@@ -1 +1 @@
1
- ruby 2.6.3
1
+ ruby 2.7.1
@@ -8,6 +8,7 @@ Feature: The scaffold GLI generates works
8
8
  And GLI's libs are in my path
9
9
  And my terminal size is "80x24"
10
10
 
11
+ @slow-command
11
12
  Scenario: Scaffold generates and things look good
12
13
  When I run `gli init --rvmrc todo add complete list`
13
14
  Then the exit status should be 0
@@ -0,0 +1,5 @@
1
+ require 'aruba/cucumber'
2
+
3
+ Before '@slow-command' do
4
+ @aruba_timeout_seconds = 10
5
+ end
@@ -20,7 +20,6 @@ spec = Gem::Specification.new do |s|
20
20
  s.extra_rdoc_files = ['README.rdoc', 'gli.rdoc']
21
21
  s.rdoc_options << '--title' << 'Git Like Interface' << '--main' << 'README.rdoc'
22
22
  s.bindir = 'bin'
23
- s.rubyforge_project = 'gli'
24
23
  s.add_development_dependency('rake', '~> 0.9.2.2')
25
24
  s.add_development_dependency('rdoc', '~> 4.2')
26
25
  s.add_development_dependency('rainbow', '~> 1.1', '~> 1.1.1')
@@ -166,12 +166,8 @@ module GLI
166
166
 
167
167
  def generate_error_action(arguments)
168
168
  lambda { |global_options,options,arguments|
169
- if am_subcommand?
170
- if arguments.size > 0
171
- raise UnknownCommand,"Unknown command '#{arguments[0]}'"
172
- else
173
- raise BadCommandLine,"Command '#{name}' requires a subcommand"
174
- end
169
+ if am_subcommand? && arguments.size > 0
170
+ raise UnknownCommand,"Unknown command '#{arguments[0]}'"
175
171
  elsif have_subcommands?
176
172
  raise BadCommandLine,"Command '#{name}' requires a subcommand #{self.commands.keys.join(',')}"
177
173
  else
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.19.0'
3
+ VERSION = '2.19.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.0
4
+ version: 2.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Copeland
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-03 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -173,6 +173,7 @@ files:
173
173
  - features/step_definitions/gli_init_steps.rb
174
174
  - features/step_definitions/todo_steps.rb
175
175
  - features/support/env.rb
176
+ - features/support/hooks.rb
176
177
  - features/todo.feature
177
178
  - features/todo_legacy.feature
178
179
  - gli.cheat
@@ -265,7 +266,7 @@ homepage: http://davetron5000.github.com/gli
265
266
  licenses:
266
267
  - Apache-2.0
267
268
  metadata: {}
268
- post_install_message:
269
+ post_install_message:
269
270
  rdoc_options:
270
271
  - "--title"
271
272
  - Git Like Interface
@@ -284,8 +285,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
285
  - !ruby/object:Gem::Version
285
286
  version: '0'
286
287
  requirements: []
287
- rubygems_version: 3.0.3
288
- signing_key:
288
+ rubygems_version: 3.1.2
289
+ signing_key:
289
290
  specification_version: 4
290
291
  summary: Build command-suite CLI apps that are awesome.
291
292
  test_files:
@@ -295,6 +296,7 @@ test_files:
295
296
  - features/step_definitions/gli_init_steps.rb
296
297
  - features/step_definitions/todo_steps.rb
297
298
  - features/support/env.rb
299
+ - features/support/hooks.rb
298
300
  - features/todo.feature
299
301
  - features/todo_legacy.feature
300
302
  - test/apps/README.md