commander 4.3.1 → 4.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61e13c07b5343657433d60e4c43e472a2ed3d556
4
- data.tar.gz: 514acee724f197f3500138992a32dc604b91765c
3
+ metadata.gz: e67ea19807b6a4102a4d364e31685cb7aa1908e5
4
+ data.tar.gz: 7d3b7bcd3282434e8090768a980daa37b0244bc1
5
5
  SHA512:
6
- metadata.gz: cbef7c7332b5399567cbbfffdc3849e49fbeb513814466f0494d32a7326f02c794c0fde96693950287687c84d955b51e23f89dc4c1c9ddf9ab3a7f897a5d6c33
7
- data.tar.gz: 75e421ef03d886623685b3f0f25460b1d72de46ce37d0034384cf098bab9a77d57ce80587220f0a8fba428031b70a62148219eaf6ad6cd2464666e81cc6e95d5
6
+ metadata.gz: 925208b58d0903d9f1c67c5280395ce0765ad77b99a16d270fec2bd1087791e3d2bce1a3c02d858d8aa4b8aa18efbe44fa17128cfe227b0268efe7766f105860
7
+ data.tar.gz: e1d943df80c7760cc9ea57aa73f22ad20006ddba480dca3574bf6b13b1ff26534a98516df938fe5eee7da04d2a26e833cc11d6b701604a534f64fc3ad6421a67
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 4.3.2 / 2015-03-31
2
+
3
+ * Version bump to publish new location of Commander to Rubygems. Moved to https://github.com/commander-rb/commander
4
+
1
5
  === 4.3.1 / 2015-03-27
2
6
 
3
7
  * Fix various Ruby warnings for circular requires, etc.
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
- [<img src="https://secure.travis-ci.org/ggilder/commander.png?branch=master" alt="Build Status" />](http://travis-ci.org/ggilder/commander)
2
- [![Inline docs](http://inch-ci.org/github/tj/commander.png)](http://inch-ci.org/github/tj/commander)
1
+ [<img src="https://secure.travis-ci.org/commander-rb/commander.png?branch=master" alt="Build Status" />](http://travis-ci.org/commander-rb/commander)
2
+ [![Inline docs](http://inch-ci.org/github/commander-rb/commander.png)](http://inch-ci.org/github/commander-rb/commander)
3
3
 
4
4
  # Commander
5
5
 
@@ -449,7 +449,7 @@ OR
449
449
  ## Contrib
450
450
 
451
451
  Feel free to fork and request a pull, or submit a ticket
452
- http://github.com/tj/commander/issues
452
+ http://github.com/commander-rb/commander/issues
453
453
 
454
454
  ## License
455
455
 
data/commander.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.authors = ['TJ Holowaychuk', 'Gabriel Gilder']
9
9
  s.email = ['gabriel@gabrielgilder.com']
10
10
  s.license = 'MIT'
11
- s.homepage = 'https://github.com/tj/commander'
11
+ s.homepage = 'https://github.com/commander-rb/commander'
12
12
  s.summary = 'The complete solution for Ruby command-line executables'
13
13
  s.description = 'The complete solution for Ruby command-line executables. Commander bridges the gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, and an elegant API.'
14
14
 
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.add_runtime_dependency('highline', '~> 1.7.1')
21
21
 
22
- s.add_development_dependency('rspec', '~> 2.14')
22
+ s.add_development_dependency('rspec', '~> 3.2')
23
23
  s.add_development_dependency('rake')
24
24
  s.add_development_dependency('simplecov')
25
- s.add_development_dependency('rubocop', '~> 0.29.0')
25
+ s.add_development_dependency('rubocop', '~> 0.29.1')
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Commander
2
- VERSION = '4.3.1'
2
+ VERSION = '4.3.2'
3
3
  end
data/spec/runner_spec.rb CHANGED
@@ -274,7 +274,6 @@ describe Commander do
274
274
 
275
275
  describe '--trace' do
276
276
  it 'should display pretty errors by default' do
277
- pending("JRuby's Kernel.abort implementation is not testable") if Commander::Platform.jruby?
278
277
  expect do
279
278
  new_command_runner 'foo' do
280
279
  command(:foo) { |c| c.when_called { fail 'cookies!' } }
@@ -356,7 +355,6 @@ describe Commander do
356
355
 
357
356
  describe 'with invalid options' do
358
357
  it 'should output an invalid option message' do
359
- pending("JRuby's Kernel.abort implementation is not testable") if Commander::Platform.jruby?
360
358
  expect do
361
359
  run('test', '--invalid-option')
362
360
  end.to raise_error(SystemExit, /invalid option: --invalid-option/)
@@ -365,7 +363,6 @@ describe Commander do
365
363
 
366
364
  describe 'with invalid command passed' do
367
365
  it 'should output an invalid command message' do
368
- pending("JRuby's Kernel.abort implementation is not testable") if Commander::Platform.jruby?
369
366
  expect do
370
367
  run('foo')
371
368
  end.to raise_error(SystemExit, /invalid command. Use --help for more information/)
@@ -374,7 +371,6 @@ describe Commander do
374
371
 
375
372
  describe 'with invalid command passed to help' do
376
373
  it 'should output an invalid command message' do
377
- pending("JRuby's Kernel.abort implementation is not testable") if Commander::Platform.jruby?
378
374
  expect do
379
375
  run('help', 'does_not_exist')
380
376
  end.to raise_error(SystemExit, /invalid command. Use --help for more information/)
@@ -383,7 +379,6 @@ describe Commander do
383
379
 
384
380
  describe 'with invalid command passed to --help' do
385
381
  it 'should output an invalid command message' do
386
- pending("JRuby's Kernel.abort implementation is not testable") if Commander::Platform.jruby?
387
382
  expect do
388
383
  run('--help', 'does_not_exist')
389
384
  end.to raise_error(SystemExit, /invalid command. Use --help for more information/)
@@ -392,7 +387,6 @@ describe Commander do
392
387
 
393
388
  describe 'with invalid option passed to --help' do
394
389
  it 'should output an invalid option message' do
395
- pending("JRuby's Kernel.abort implementation is not testable") if Commander::Platform.jruby?
396
390
  expect do
397
391
  run('--help', 'test', '--invalid-option')
398
392
  end.to raise_error(SystemExit, /invalid option: --invalid-option/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-27 00:00:00.000000000 Z
12
+ date: 2015-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '2.14'
34
+ version: '3.2'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '2.14'
41
+ version: '3.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.29.0
76
+ version: 0.29.1
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 0.29.0
83
+ version: 0.29.1
84
84
  description: The complete solution for Ruby command-line executables. Commander bridges
85
85
  the gap between other terminal related libraries you know and love (OptionParser,
86
86
  HighLine), while providing many new features, and an elegant API.
@@ -136,7 +136,7 @@ files:
136
136
  - spec/runner_spec.rb
137
137
  - spec/spec_helper.rb
138
138
  - spec/ui_spec.rb
139
- homepage: https://github.com/tj/commander
139
+ homepage: https://github.com/commander-rb/commander
140
140
  licenses:
141
141
  - MIT
142
142
  metadata: {}