gurke 3.3.3 → 3.3.4

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: 0f0e20c2294765e444f6d57c93c0f396aacca045a6e68d38913841d9c10ac455
4
- data.tar.gz: f691ffa3fe1ee9675db5e030b30cab01d0e79444d4865eb42e101278115b7017
3
+ metadata.gz: a6c3045ca393b90c2aece99c8e8af8a9a203d07162fee704b3232daeff5c77da
4
+ data.tar.gz: be4a3e83f444b2febaf716150626047111ab2207010ba073bdbbbaafdb486f77
5
5
  SHA512:
6
- metadata.gz: e5acfcc8dc29a615b5d522ad375d13aa782663c8a1f5e5ccb7385e0416a617afab642911726a8ea4dbe6234a14b15d0dceecfc45e8a527e4537ac06b45570c7f
7
- data.tar.gz: 7b236cecf9842f9905b9160d65ee7641ecdb88004700de5766f88de1ac9c6b63e0e7cbecfef14153b80c8ef6a5add5c144cf47e6d4a41cfe6bdce0ca1e3a7401
6
+ metadata.gz: a2ae469818d990f4b5bedcd6d5ecfed6df52544d3d20e498ae42a19a2f12d3acb7474f93b779ff3785b6b44a05e34b6ac5336a843fae558744dba3d64c5ee29b
7
+ data.tar.gz: d5b85b761c81e99c5a04fba6eb07f2faae55f8ff18c808b298b5272c69b42e98d6d6e1022cfae8c1e27f3d4be50a3c8c66048665ac04f83d697c273c42035923
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.3.4
4
+
5
+ * Replace renamed trollop dependency with optimist
6
+
3
7
  ## 3.3.3
4
8
 
5
9
  * Fix a TC reporter issues reporting all scenarios as aborted
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.add_dependency 'colorize'
30
30
  spec.add_dependency 'gherkin', '~> 2.0'
31
- spec.add_dependency 'trollop'
31
+ spec.add_dependency 'optimist', '~> 3.0'
32
32
 
33
33
  spec.add_development_dependency 'bundler', '~> 1.3'
34
34
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'trollop'
3
+ require 'optimist'
4
4
 
5
5
  module Gurke
6
6
  class CLI
@@ -11,11 +11,11 @@ module Gurke
11
11
  #
12
12
  def run(argv)
13
13
  call parser.parse(argv), argv
14
- rescue Trollop::VersionNeeded
14
+ rescue Optimist::VersionNeeded
15
15
  print_version && exit
16
- rescue Trollop::HelpNeeded
16
+ rescue Optimist::HelpNeeded
17
17
  print_help && exit
18
- rescue Trollop::CommandlineError => e
18
+ rescue Optimist::CommandlineError => e
19
19
  warn "Error: #{e}"
20
20
  warn "Run with `-h' for more information on available arguments."
21
21
  exit 255
@@ -56,7 +56,7 @@ module Gurke
56
56
  end
57
57
 
58
58
  def parser
59
- @parser ||= Trollop::Parser.new do
59
+ @parser ||= Optimist::Parser.new do
60
60
  opt :help, 'Print this help.'
61
61
  opt :version, 'Show program version information.'
62
62
  opt :backtrace, 'Show full error backtraces.'
@@ -4,7 +4,7 @@ module Gurke
4
4
  module VERSION
5
5
  MAJOR = 3
6
6
  MINOR = 3
7
- PATCH = 3
7
+ PATCH = 4
8
8
  STAGE = nil
9
9
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.').freeze
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gurke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-27 00:00:00.000000000 Z
11
+ date: 2018-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -39,19 +39,19 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: trollop
42
+ name: optimist
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement