unobtainium-cucumber 0.3.0 → 0.4.0

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
  SHA1:
3
- metadata.gz: e1536dbe03d9a927d71215e77c49761b1592ee34
4
- data.tar.gz: f1016d43b7e61f8ca3eb841c39ca23c06cb8cf48
3
+ metadata.gz: 022fa3502bf3ade9f75304aedf249e93788468ed
4
+ data.tar.gz: dd463df45fa7b6da8cff7aec27d8e66d9aa8a797
5
5
  SHA512:
6
- metadata.gz: 929b79e684a003cb937bf6e6045f1bde6aac02ecd572201fc2bd370c18f189e06802b660333e424ba7254fbec07edcb00aa651b7c860764a0458c62778fdf1ed
7
- data.tar.gz: d861ed535955247e012a6a953f031cb04de1ee46056040c6c7afaf9941c42a884e66db7ea9fd3f7c90e0136b7458788d2107cfbfd5ef676e540eca4eee2aefad
6
+ metadata.gz: e95355f12841e71fb86f7993d86a5d9b4638b3300188a78f53dd750dbb8338feeb411607a1621eeff47e4f04c6558e94f74a80d324edf25c422cd520a8ed018a
7
+ data.tar.gz: 16763313e85a7254883062dc13ddd578706950f84c035c53befc02034f0666110edd42dd28043732a435ecf476a00bda6d59ca924f070ee66fd2a3d1d695643d
data/.gitignore CHANGED
@@ -43,7 +43,7 @@ build-iPhoneSimulator/
43
43
  # for a library or gem, you might want to ignore these files since the code is
44
44
  # intended to run in multiple environments; otherwise, check them in:
45
45
  # Gemfile.lock
46
- # .ruby-version
46
+ .ruby-version
47
47
  # .ruby-gemset
48
48
 
49
49
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
data/.rubocop.yml CHANGED
@@ -1,13 +1,13 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.2
2
+ TargetRubyVersion: 2.3
3
3
 
4
4
  # Metrics
5
5
 
6
6
  Metrics/LineLength:
7
- Max: 83
7
+ Max: 84
8
8
  Details: >-
9
9
  Line length of 80 is ideal for readability and compatibility; we'll accept
10
- an extra 3 for minor edge cases.
10
+ an extra 4 for minor edge cases (e.g. copyright notice).
11
11
 
12
12
  Metrics/MethodLength:
13
13
  Max: 35
@@ -30,6 +30,9 @@ Metrics/ClassLength:
30
30
  Metrics/ModuleLength:
31
31
  Max: 300
32
32
 
33
+ Metrics/BlockLength:
34
+ Max: 300
35
+
33
36
  # Style
34
37
 
35
38
  Style/StringLiterals:
@@ -38,9 +41,6 @@ Style/StringLiterals:
38
41
  Style/ConditionalAssignment:
39
42
  Enabled: false
40
43
 
41
- Style/EmptyLinesAroundModuleBody:
42
- Enabled: false
43
-
44
44
  Style/AndOr:
45
45
  Enabled: false
46
46
 
@@ -59,9 +59,6 @@ Style/IfUnlessModifier:
59
59
  Style/TrailingCommaInLiteral:
60
60
  Enabled: false
61
61
 
62
- Style/FirstParameterIndentation:
63
- Enabled: false
64
-
65
62
  Style/TrailingUnderscoreVariable:
66
63
  Enabled: false
67
64
 
@@ -71,8 +68,30 @@ Style/NumericLiterals:
71
68
  Style/FileName:
72
69
  Enabled: false
73
70
 
74
- Style/SpaceAfterNot:
71
+ Style/FrozenStringLiteralComment:
72
+ Enabled: false
73
+
74
+ Style/PreferredHashMethods:
75
+ Enabled: false
76
+
77
+ Style/NumericPredicate:
78
+ Enabled: false # Not compatible with <= 2.2
79
+
80
+ Style/YodaCondition:
81
+ Enabled: false
82
+
83
+ # Layout
84
+
85
+ Layout/EmptyLineAfterMagicComment:
86
+ Enabled: false
87
+
88
+ Layout/SpaceAfterNot:
89
+ Enabled: false
90
+
91
+ Layout/FirstParameterIndentation:
75
92
  Enabled: false
76
93
 
77
- Style/RegexpLiteral:
94
+ Layout/EmptyLinesAroundModuleBody:
78
95
  Enabled: false
96
+
97
+
data/.travis.yml CHANGED
@@ -1,9 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.2
4
+ - 2.3
5
+ - 2.4
4
6
  script:
5
7
  - bundle exec rake
6
- - bundle exec codeclimate-test-reporter
8
+ - bundle exec codeclimate-test-reporter || true
7
9
  addons:
8
10
  code_climate:
9
- repo_token: 2341a8db591ce8112bd9a012ff0e3cfa20dce5705e69e3a89fda6829caf4f7fd
11
+ repo_token: 5dcf014e3a26ded8ffe8ff8bc70f98d49523e4851613123d8359035d44937953
data/Gemfile.lock CHANGED
@@ -1,37 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unobtainium-cucumber (0.3.0)
4
+ unobtainium-cucumber (0.4.0)
5
5
  cucumber (~> 2.0)
6
- octiron (~> 0.1)
7
- unobtainium (~> 0.11)
6
+ octiron (~> 0.5)
7
+ unobtainium (~> 0.12)
8
8
  unobtainium-multifind (~> 0.3)
9
9
  unobtainium-multiwait (~> 0.2)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- appium_lib (9.1.1)
15
- awesome_print (~> 1.6)
14
+ appium_lib (9.6.1)
15
+ awesome_print (~> 1.8)
16
16
  json (>= 1.8)
17
17
  nokogiri (~> 1.6, >= 1.6.6)
18
- selenium-webdriver (~> 3.0, >= 3.0.2)
18
+ selenium-webdriver (~> 3.4, >= 3.4.1)
19
19
  tomlrb (~> 1.1)
20
20
  archive-zip (0.7.0)
21
21
  io-like (~> 0.3.0)
22
22
  ast (2.3.0)
23
- awesome_print (1.7.0)
24
- builder (3.2.2)
25
- childprocess (0.5.9)
23
+ awesome_print (1.8.0)
24
+ builder (3.2.3)
25
+ childprocess (0.7.1)
26
26
  ffi (~> 1.0, >= 1.0.11)
27
- chromedriver-helper (1.0.0)
27
+ chromedriver-helper (1.1.0)
28
28
  archive-zip (~> 0.7.0)
29
29
  nokogiri (~> 1.6)
30
- codeclimate-test-reporter (1.0.3)
31
- simplecov
32
- collapsium (0.8.2)
33
- collapsium-config (0.4.3)
34
- collapsium (~> 0.7)
30
+ codeclimate-test-reporter (1.0.8)
31
+ simplecov (<= 0.13)
32
+ collapsium (0.9.1)
33
+ collapsium-config (0.6.0)
34
+ collapsium (~> 0.9)
35
35
  cucumber (2.4.0)
36
36
  builder (>= 2.1.2)
37
37
  cucumber-core (~> 1.5.0)
@@ -43,55 +43,57 @@ GEM
43
43
  cucumber-core (1.5.0)
44
44
  gherkin (~> 4.0)
45
45
  cucumber-wire (0.0.1)
46
- diff-lcs (1.2.5)
46
+ diff-lcs (1.3)
47
47
  docile (1.1.5)
48
- ffi (1.9.14)
49
- gherkin (4.0.0)
48
+ ffi (1.9.18)
49
+ gherkin (4.1.3)
50
50
  io-like (0.3.0)
51
- json (2.0.2)
51
+ json (2.1.0)
52
52
  lazy_priority_queue (0.1.1)
53
- mini_portile2 (2.1.0)
53
+ mini_portile2 (2.2.0)
54
54
  multi_json (1.12.1)
55
55
  multi_test (0.1.2)
56
- nokogiri (1.6.8.1)
57
- mini_portile2 (~> 2.1.0)
58
- octiron (0.3.0)
59
- collapsium (~> 0.8)
56
+ nokogiri (1.8.0)
57
+ mini_portile2 (~> 2.2.0)
58
+ octiron (0.5.0)
59
+ collapsium (~> 0.9)
60
60
  rgl (~> 0.5)
61
- parser (2.3.3.1)
61
+ parallel (1.12.0)
62
+ parser (2.4.0.0)
62
63
  ast (~> 2.2)
63
64
  phantomjs (2.1.1.0)
64
65
  powerpack (0.1.1)
65
- ptools (1.3.3)
66
- rainbow (2.1.0)
66
+ ptools (1.3.4)
67
+ rainbow (2.2.2)
68
+ rake
67
69
  rake (11.3.0)
68
- rgl (0.5.2)
70
+ rgl (0.5.3)
69
71
  lazy_priority_queue (~> 0.1.0)
70
72
  stream (~> 0.5.0)
71
- rubocop (0.46.0)
72
- parser (>= 2.3.1.1, < 3.0)
73
+ rubocop (0.49.1)
74
+ parallel (~> 1.10)
75
+ parser (>= 2.3.3.1, < 3.0)
73
76
  powerpack (~> 0.1)
74
77
  rainbow (>= 1.99.1, < 3.0)
75
78
  ruby-progressbar (~> 1.7)
76
79
  unicode-display_width (~> 1.0, >= 1.0.1)
77
80
  ruby-progressbar (1.8.1)
78
- rubyzip (1.2.0)
79
- selenium-webdriver (3.0.3)
81
+ rubyzip (1.2.1)
82
+ selenium-webdriver (3.5.1)
80
83
  childprocess (~> 0.5)
81
84
  rubyzip (~> 1.0)
82
- websocket (~> 1.0)
83
- simplecov (0.12.0)
85
+ simplecov (0.13.0)
84
86
  docile (~> 1.1.0)
85
87
  json (>= 1.8, < 3)
86
88
  simplecov-html (~> 0.10.0)
87
- simplecov-html (0.10.0)
89
+ simplecov-html (0.10.2)
88
90
  stream (0.5)
89
- sys-proctable (1.1.3)
90
- tomlrb (1.2.3)
91
- unicode-display_width (1.1.2)
92
- unobtainium (0.11.0)
93
- collapsium (~> 0.8)
94
- collapsium-config (~> 0.4)
91
+ sys-proctable (1.1.5-universal-linux)
92
+ tomlrb (1.2.4)
93
+ unicode-display_width (1.3.0)
94
+ unobtainium (0.12.0)
95
+ collapsium (~> 0.9)
96
+ collapsium-config (~> 0.6)
95
97
  ptools (~> 1.3)
96
98
  sys-proctable (~> 1.1)
97
99
  unobtainium-multifind (0.3.0)
@@ -99,24 +101,23 @@ GEM
99
101
  unobtainium-multiwait (0.2.0)
100
102
  unobtainium (~> 0.5)
101
103
  unobtainium-multifind (~> 0.3)
102
- websocket (1.2.3)
103
- yard (0.9.5)
104
+ yard (0.9.9)
104
105
 
105
106
  PLATFORMS
106
107
  ruby
107
108
 
108
109
  DEPENDENCIES
109
110
  appium_lib (>= 9.1)
110
- bundler (~> 1.13)
111
+ bundler (~> 1.15)
111
112
  chromedriver-helper
112
113
  codeclimate-test-reporter
113
114
  phantomjs
114
115
  rake (~> 11.3)
115
- rubocop (~> 0.46)
116
+ rubocop (~> 0.49)
116
117
  selenium-webdriver
117
- simplecov (~> 0.12)
118
+ simplecov (~> 0.13)
118
119
  unobtainium-cucumber!
119
120
  yard (~> 0.9)
120
121
 
121
122
  BUNDLED WITH
122
- 1.13.6
123
+ 1.15.4
data/config/config.yml CHANGED
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -72,7 +72,7 @@ at_exit do
72
72
  # We expect reset to be called exactly twice, for the driver that defines
73
73
  # such a function. But see the scenario for switching off driver reset
74
74
  # above.
75
- if not $reset_called >= 2
75
+ if $reset_called < 2
76
76
  warn '*' * 80
77
77
  warn "* If this fails, check the steps in 'driver_reset.feature'!"
78
78
  warn "* We expected reset to be twice or more, but it got called "\
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -237,22 +237,22 @@ end
237
237
 
238
238
  Then(/^I expect only configured actions to be present$/) do
239
239
  registered = @status_actions.registered_actions(:passed?, :scenario)
240
- if registered != %w(global_action)
240
+ if registered != %w[global_action]
241
241
  raise "Expected different actions than #{registered}!"
242
242
  end
243
243
 
244
244
  registered = @status_actions.registered_actions(:passed?, :outline)
245
- if registered != %w(global_action)
245
+ if registered != %w[global_action]
246
246
  raise "Expected different actions than #{registered}!"
247
247
  end
248
248
 
249
249
  registered = @status_actions.registered_actions(:failed?, :scenario)
250
- if registered != %w(method_from_own_extension)
250
+ if registered != %w[method_from_own_extension]
251
251
  raise "Expected different actions than #{registered}!"
252
252
  end
253
253
 
254
254
  registered = @status_actions.registered_actions(:failed?, :outline)
255
- if registered != %w(dummy_action)
255
+ if registered != %w[dummy_action]
256
256
  raise "Expected different actions than #{registered}!"
257
257
  end
258
258
  end
@@ -347,7 +347,7 @@ end
347
347
 
348
348
  at_exit do
349
349
  # We expect the counting_action to be called once.
350
- if not $counter >= 1
350
+ if $counter < 1
351
351
  warn '*' * 80
352
352
  warn "* If this fails, check the steps in 'status_actions.feature'!"
353
353
  warn '*' * 80
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
  module Unobtainium
@@ -32,7 +32,7 @@ module Unobtainium
32
32
  base_name = [timestamp, tag, scenario_name].reject(&:nil?).join('-')
33
33
 
34
34
  # Make base name filename safe
35
- base_name.gsub!(/^.*(\\|\/)/, '')
35
+ base_name.gsub!(%r{^.*(\\|/)}, '')
36
36
  base_name.gsub!(/[^0-9A-Za-z.\-]+/, '_')
37
37
 
38
38
  return base_name
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -44,13 +44,13 @@ module Unobtainium
44
44
  end
45
45
 
46
46
  # Parameter checks!
47
- if not [:passed?, :failed?].include?(status)
47
+ if not %i[passed? failed?].include?(status)
48
48
  raise "Status may be one of :passed? or :failed? only!"
49
49
  end
50
50
 
51
51
  options ||= {}
52
52
  type = options[:type] || :scenario
53
- if not [:scenario, :outline].include?(type)
53
+ if not %i[scenario outline].include?(type)
54
54
  raise "The :type option may be one of :scenario or :outline only!"
55
55
  end
56
56
 
@@ -98,7 +98,7 @@ module Unobtainium
98
98
  def register_config_actions(world)
99
99
  to_register = world.config['cucumber.status_actions'] || DEFAULTS
100
100
 
101
- [:passed?, :failed?].each do |status|
101
+ %i[passed? failed?].each do |status|
102
102
  for_status = to_register[status]
103
103
  if for_status.nil?
104
104
  # :nocov:
@@ -125,7 +125,7 @@ module Unobtainium
125
125
  end
126
126
 
127
127
  # Now we have actions for the statuses, we can register them.
128
- [:scenario, :outline].each do |type|
128
+ %i[scenario outline].each do |type|
129
129
  actions[type].each do |action|
130
130
  register_action(status, action, type: type)
131
131
  end
@@ -3,12 +3,12 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
  module Unobtainium
10
10
  module Cucumber
11
11
  # The current release version
12
- VERSION = "0.3.0".freeze
12
+ VERSION = "0.4.0".freeze
13
13
  end # module Cucumber
14
14
  end # module Unobtainium
@@ -3,7 +3,7 @@
3
3
  # unobtainium-cucumber
4
4
  # https://github.com/jfinkhaeuser/unobtainium-cucumber
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-cucumber
6
+ # Copyright (c) 2016-2017 Jens Finkhaeuser and other unobtainium-cucumber
7
7
  # contributors. All rights reserved.
8
8
  #
9
9
 
@@ -11,9 +11,8 @@ lib = File.expand_path('../lib', __FILE__)
11
11
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
12
12
  require 'unobtainium-cucumber/version'
13
13
 
14
- # rubocop:disable Style/UnneededPercentQ, Style/ExtraSpacing
15
- # rubocop:disable Style/SpaceAroundOperators
16
- # rubocop:disable Metrics/BlockLength
14
+ # rubocop:disable Style/UnneededPercentQ, Layout/ExtraSpacing
15
+ # rubocop:disable Layout/SpaceAroundOperators
17
16
  Gem::Specification.new do |spec|
18
17
  spec.name = "unobtainium-cucumber"
19
18
  spec.version = Unobtainium::Cucumber::VERSION
@@ -36,22 +35,21 @@ Gem::Specification.new do |spec|
36
35
 
37
36
  spec.required_ruby_version = '>= 2.2'
38
37
 
39
- spec.add_development_dependency "bundler", "~> 1.13"
40
- spec.add_development_dependency "rubocop", "~> 0.46"
38
+ spec.add_development_dependency "bundler", "~> 1.15"
39
+ spec.add_development_dependency "rubocop", "~> 0.49"
41
40
  spec.add_development_dependency "rake", "~> 11.3"
42
- spec.add_development_dependency "simplecov", "~> 0.12"
41
+ spec.add_development_dependency "simplecov", "~> 0.13"
43
42
  spec.add_development_dependency "yard", "~> 0.9"
44
43
  spec.add_development_dependency "appium_lib", ">= 9.1"
45
44
  spec.add_development_dependency "selenium-webdriver"
46
45
  spec.add_development_dependency "chromedriver-helper"
47
46
  spec.add_development_dependency "phantomjs"
48
47
 
49
- spec.add_dependency "unobtainium", "~> 0.11"
48
+ spec.add_dependency "unobtainium", "~> 0.12"
50
49
  spec.add_dependency "unobtainium-multifind", "~> 0.3"
51
50
  spec.add_dependency "unobtainium-multiwait", "~> 0.2"
52
51
  spec.add_dependency "cucumber", "~> 2.0"
53
- spec.add_dependency "octiron", "~> 0.1"
52
+ spec.add_dependency "octiron", "~> 0.5"
54
53
  end
55
- # rubocop:enable Metrics/BlockLength
56
- # rubocop:enable Style/SpaceAroundOperators
57
- # rubocop:enable Style/UnneededPercentQ, Style/ExtraSpacing
54
+ # rubocop:enable Layout/SpaceAroundOperators
55
+ # rubocop:enable Style/UnneededPercentQ, Layout/ExtraSpacing
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unobtainium-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Finkhaeuser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.13'
19
+ version: '1.15'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.13'
26
+ version: '1.15'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.46'
33
+ version: '0.49'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.46'
40
+ version: '0.49'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.12'
61
+ version: '0.13'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.12'
68
+ version: '0.13'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: yard
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0.11'
145
+ version: '0.12'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0.11'
152
+ version: '0.12'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: unobtainium-multifind
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0.1'
201
+ version: '0.5'
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0.1'
208
+ version: '0.5'
209
209
  description: "\n The unobtainium-cucucmber gem adds some convenient cucumber specific
210
210
  hooks\n for use with unobtainium.\n "
211
211
  email:
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  version: '0'
272
272
  requirements: []
273
273
  rubyforge_project:
274
- rubygems_version: 2.4.5.1
274
+ rubygems_version: 2.6.11
275
275
  signing_key:
276
276
  specification_version: 4
277
277
  summary: Cucumber hooks for unobtainium.