unobtainium-multiwait 0.2.0 → 0.3.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
- SHA1:
3
- metadata.gz: d6218c8b4ef791fd979f639879f639599b674aea
4
- data.tar.gz: 67ca3493e9c0654d8ae28a12ea553831b6311c3f
2
+ SHA256:
3
+ metadata.gz: 821fe1b805f52acb9d0f11ebbd70b6463c623b1af3052172e87b6b35d024d4b9
4
+ data.tar.gz: 9609d73d51b7f4c55c16b258da2816ef16b78bafc4bc47f46dcf80d6f379e51e
5
5
  SHA512:
6
- metadata.gz: 5d9042b75d5fd1667b167deea75f7b447a697d393447fbb472db51450968f7e3914b82cc2588c46ca3acf730e65cd349179b8c107331e32cfcd72134ec0ee190
7
- data.tar.gz: b9e605d3b172779bbd905afb600430a5785ce66ab0cb6962295917cee4dfd5aa6f2223cec405bc40b5d81d437d0ded7058c9eeac2a4dece317a87f8063fcd912
6
+ metadata.gz: 31f325f2997696affa50109b7e1fd89570978dbdcbca0b73d6659cc28e0111efed41604f6800069aba365e369427dff5ba51175a1c760fcdaa5212565d4d210e
7
+ data.tar.gz: 3040d4a329a2c79bb8402d2f36d2cac7559a4bf6caee49d9a897e7691a0e84a9629509dc1853ed6f3a00a9835b4fb3f9f668cddc088bb608106e51bf4dbfc4b8
data/.gitignore CHANGED
@@ -10,10 +10,24 @@
10
10
  /test/version_tmp/
11
11
  /tmp/
12
12
 
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
13
16
  ## Specific to RubyMotion:
14
17
  .dat*
15
18
  .repl_history
16
19
  build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
17
31
 
18
32
  ## Documentation cache and generated files:
19
33
  /.yardoc/
@@ -29,7 +43,7 @@ build/
29
43
  # for a library or gem, you might want to ignore these files since the code is
30
44
  # intended to run in multiple environments; otherwise, check them in:
31
45
  # Gemfile.lock
32
- # .ruby-version
46
+ .ruby-version
33
47
  # .ruby-gemset
34
48
 
35
49
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0
4
- - 2.1
5
3
  - 2.2
6
- addons:
7
- code_climate:
8
- repo_token: 80dc28586def5dc07809b4f5171d54d9087f446ca85092046258618eb27c814e
4
+ - 2.3
5
+ - 2.4
6
+ # - 2.5
7
+ script:
8
+ - bundle exec rake
data/Gemfile CHANGED
@@ -2,5 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in unobtainium-multiwait.gemspec
4
4
  gemspec
5
-
6
- gem "codeclimate-test-reporter", group: :test, require: nil
@@ -1,81 +1,70 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unobtainium-multiwait (0.2.0)
5
- unobtainium (~> 0.5)
6
- unobtainium-multifind (~> 0.3)
4
+ unobtainium-multiwait (0.3.0)
5
+ unobtainium (~> 0.13)
6
+ unobtainium-multifind (~> 0.4)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.2.0)
12
- childprocess (0.5.9)
11
+ childprocess (0.9.0)
13
12
  ffi (~> 1.0, >= 1.0.11)
14
- codeclimate-test-reporter (0.5.0)
15
- simplecov (>= 0.7.1, < 1.0.0)
16
- diff-lcs (1.2.5)
17
- docile (1.1.5)
18
- ffi (1.9.10)
19
- json (1.8.3)
20
- parser (2.3.1.0)
21
- ast (~> 2.2)
13
+ collapsium (0.10.0)
14
+ collapsium-config (0.7.0)
15
+ collapsium (~> 0.10)
16
+ diff-lcs (1.3)
17
+ docile (1.3.0)
18
+ ffi (1.9.23)
19
+ json (2.1.0)
22
20
  phantomjs (2.1.1.0)
23
- powerpack (0.1.1)
24
- rainbow (2.1.0)
25
- rake (11.1.2)
26
- rspec (3.4.0)
27
- rspec-core (~> 3.4.0)
28
- rspec-expectations (~> 3.4.0)
29
- rspec-mocks (~> 3.4.0)
30
- rspec-core (3.4.4)
31
- rspec-support (~> 3.4.0)
32
- rspec-expectations (3.4.0)
21
+ ptools (1.3.5)
22
+ rake (11.3.0)
23
+ rspec (3.7.0)
24
+ rspec-core (~> 3.7.0)
25
+ rspec-expectations (~> 3.7.0)
26
+ rspec-mocks (~> 3.7.0)
27
+ rspec-core (3.7.1)
28
+ rspec-support (~> 3.7.0)
29
+ rspec-expectations (3.7.0)
33
30
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.4.0)
35
- rspec-mocks (3.4.1)
31
+ rspec-support (~> 3.7.0)
32
+ rspec-mocks (3.7.0)
36
33
  diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.4.0)
38
- rspec-support (3.4.1)
39
- rubocop (0.40.0)
40
- parser (>= 2.3.1.0, < 3.0)
41
- powerpack (~> 0.1)
42
- rainbow (>= 1.99.1, < 3.0)
43
- ruby-progressbar (~> 1.7)
44
- unicode-display_width (~> 1.0, >= 1.0.1)
45
- ruby-progressbar (1.8.0)
46
- rubyzip (1.2.0)
47
- selenium-webdriver (2.53.0)
34
+ rspec-support (~> 3.7.0)
35
+ rspec-support (3.7.1)
36
+ rubyzip (1.2.1)
37
+ selenium-webdriver (3.11.0)
48
38
  childprocess (~> 0.5)
49
- rubyzip (~> 1.0)
50
- websocket (~> 1.0)
51
- simplecov (0.11.2)
52
- docile (~> 1.1.0)
53
- json (~> 1.8)
39
+ rubyzip (~> 1.2)
40
+ simplecov (0.16.1)
41
+ docile (~> 1.1)
42
+ json (>= 1.8, < 3)
54
43
  simplecov-html (~> 0.10.0)
55
- simplecov-html (0.10.0)
56
- sys-proctable (1.0.0)
57
- unicode-display_width (1.0.5)
58
- unobtainium (0.5.0)
59
- sys-proctable (~> 1.0)
60
- unobtainium-multifind (0.3.0)
61
- unobtainium (~> 0.5)
62
- websocket (1.2.3)
63
- yard (0.8.7.6)
44
+ simplecov-html (0.10.2)
45
+ sys-proctable (1.2.0)
46
+ ffi
47
+ unobtainium (0.13.0)
48
+ collapsium (~> 0.10)
49
+ collapsium-config (~> 0.7)
50
+ ptools (~> 1.3)
51
+ sys-proctable (~> 1.2)
52
+ unobtainium-multifind (0.4.0)
53
+ unobtainium (~> 0.13)
54
+ yard (0.9.12)
64
55
 
65
56
  PLATFORMS
66
57
  ruby
67
58
 
68
59
  DEPENDENCIES
69
- bundler (~> 1.12)
70
- codeclimate-test-reporter
60
+ bundler (~> 1.16)
71
61
  phantomjs
72
- rake (~> 11.1)
73
- rspec (~> 3.4)
74
- rubocop (~> 0.40)
62
+ rake (~> 11.3)
63
+ rspec (~> 3.7)
75
64
  selenium-webdriver
76
- simplecov (~> 0.11)
65
+ simplecov (~> 0.16)
77
66
  unobtainium-multiwait!
78
- yard (~> 0.8)
67
+ yard (~> 0.9, >= 0.9.12)
79
68
 
80
69
  BUNDLED WITH
81
- 1.12.3
70
+ 1.16.1
data/README.md CHANGED
@@ -5,8 +5,6 @@ allowing for more easily finding (one of) multiple elements.
5
5
 
6
6
  [![Gem Version](https://badge.fury.io/rb/unobtainium-multiwait.svg)](https://badge.fury.io/rb/unobtainium-multiwait)
7
7
  [![Build status](https://travis-ci.org/jfinkhaeuser/unobtainium-multiwait.svg?branch=master)](https://travis-ci.org/jfinkhaeuser/unobtainium-multiwait)
8
- [![Code Climate](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multiwait/badges/gpa.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multiwait)
9
- [![Test Coverage](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multiwait/badges/coverage.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multiwait/coverage)
10
8
 
11
9
  To use it, require it after requiring unobtainium, then create the any driver
12
10
  with a Selenium API:
data/Rakefile CHANGED
@@ -1,7 +1,3 @@
1
- # Rubocop
2
- require 'rubocop/rake_task'
3
- RuboCop::RakeTask.new(:rubocop)
4
-
5
1
  # Rspec
6
2
  require 'rspec/core/rake_task'
7
3
  RSpec::Core::RakeTask.new(:rspec)
@@ -17,7 +13,6 @@ end
17
13
  # Combined test task
18
14
  desc "Test all the things!"
19
15
  task :test do
20
- Rake::Task[:rubocop].invoke
21
16
  Rake::Task[:rspec].invoke
22
17
  end
23
18
 
@@ -3,12 +3,12 @@
3
3
  # unobtainium-multiwait
4
4
  # https://github.com/jfinkhaeuser/unobtainium-multiwait
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-multiwait contributors.
6
+ # Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium-multiwait contributors.
7
7
  # All rights reserved.
8
8
  #
9
9
  module Unobtainium
10
10
  module MultiWait
11
11
  # The current release version
12
- VERSION = "0.2.0".freeze
12
+ VERSION = "0.3.0".freeze
13
13
  end # module MultiWait
14
14
  end # module Unobtainium
@@ -3,7 +3,7 @@
3
3
  # unobtainium-multiwait
4
4
  # https://github.com/jfinkhaeuser/unobtainium-multiwait
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-multiwait contributors.
6
+ # Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium-multiwait contributors.
7
7
  # All rights reserved.
8
8
  #
9
9
 
@@ -40,17 +40,16 @@ Gem::Specification.new do |spec|
40
40
 
41
41
  spec.requirements = "Unobtainium driver implementing the Selenium API"
42
42
 
43
- spec.add_development_dependency "bundler", "~> 1.12"
44
- spec.add_development_dependency "rubocop", "~> 0.40"
45
- spec.add_development_dependency "rake", "~> 11.1"
46
- spec.add_development_dependency "rspec", "~> 3.4"
47
- spec.add_development_dependency "simplecov", "~> 0.11"
48
- spec.add_development_dependency "yard", "~> 0.8"
43
+ spec.add_development_dependency "bundler", "~> 1.16"
44
+ spec.add_development_dependency "rake", "~> 11.3"
45
+ spec.add_development_dependency "rspec", "~> 3.7"
46
+ spec.add_development_dependency "simplecov", "~> 0.16"
47
+ spec.add_development_dependency "yard", "~> 0.9", ">= 0.9.12"
49
48
  spec.add_development_dependency "selenium-webdriver"
50
49
  spec.add_development_dependency "phantomjs"
51
50
 
52
- spec.add_dependency "unobtainium", "~> 0.5"
53
- spec.add_dependency "unobtainium-multifind", "~> 0.3"
51
+ spec.add_dependency "unobtainium", "~> 0.13"
52
+ spec.add_dependency "unobtainium-multifind", "~> 0.4"
54
53
  end
55
54
  # rubocop:enable Style/SpaceAroundOperators
56
55
  # rubocop:enable Style/UnneededPercentQ, Style/ExtraSpacing
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unobtainium-multiwait
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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-05-11 00:00:00.000000000 Z
11
+ date: 2018-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,84 +16,76 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: '1.16'
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.12'
27
- - !ruby/object:Gem::Dependency
28
- name: rubocop
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.40'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.40'
26
+ version: '1.16'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '11.1'
33
+ version: '11.3'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '11.1'
40
+ version: '11.3'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '3.4'
47
+ version: '3.7'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '3.4'
54
+ version: '3.7'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: simplecov
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '0.11'
61
+ version: '0.16'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '0.11'
68
+ version: '0.16'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: yard
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '0.8'
75
+ version: '0.9'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 0.9.12
90
79
  type: :development
91
80
  prerelease: false
92
81
  version_requirements: !ruby/object:Gem::Requirement
93
82
  requirements:
94
83
  - - "~>"
95
84
  - !ruby/object:Gem::Version
96
- version: '0.8'
85
+ version: '0.9'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 0.9.12
97
89
  - !ruby/object:Gem::Dependency
98
90
  name: selenium-webdriver
99
91
  requirement: !ruby/object:Gem::Requirement
@@ -128,28 +120,28 @@ dependencies:
128
120
  requirements:
129
121
  - - "~>"
130
122
  - !ruby/object:Gem::Version
131
- version: '0.5'
123
+ version: '0.13'
132
124
  type: :runtime
133
125
  prerelease: false
134
126
  version_requirements: !ruby/object:Gem::Requirement
135
127
  requirements:
136
128
  - - "~>"
137
129
  - !ruby/object:Gem::Version
138
- version: '0.5'
130
+ version: '0.13'
139
131
  - !ruby/object:Gem::Dependency
140
132
  name: unobtainium-multifind
141
133
  requirement: !ruby/object:Gem::Requirement
142
134
  requirements:
143
135
  - - "~>"
144
136
  - !ruby/object:Gem::Version
145
- version: '0.3'
137
+ version: '0.4'
146
138
  type: :runtime
147
139
  prerelease: false
148
140
  version_requirements: !ruby/object:Gem::Requirement
149
141
  requirements:
150
142
  - - "~>"
151
143
  - !ruby/object:Gem::Version
152
- version: '0.3'
144
+ version: '0.4'
153
145
  description: "\n This gem provides a driver module for unobtainium allowing for
154
146
  more easily\n waiting for (one of) multiple elements to change state.\n\n It
155
147
  is based on the unobtainium-multifind gem.\n "
@@ -159,10 +151,8 @@ executables: []
159
151
  extensions: []
160
152
  extra_rdoc_files: []
161
153
  files:
162
- - ".codeclimate.yml"
163
154
  - ".gitignore"
164
155
  - ".rspec"
165
- - ".rubocop.yml"
166
156
  - ".travis.yml"
167
157
  - Gemfile
168
158
  - Gemfile.lock
@@ -197,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
187
  requirements:
198
188
  - Unobtainium driver implementing the Selenium API
199
189
  rubyforge_project:
200
- rubygems_version: 2.4.5.1
190
+ rubygems_version: 2.7.6
201
191
  signing_key:
202
192
  specification_version: 4
203
193
  summary: This gem provides a driver module for unobtainium allowing for more easily
@@ -206,4 +196,3 @@ test_files:
206
196
  - spec/data/foo.html
207
197
  - spec/module_spec.rb
208
198
  - spec/spec_helper.rb
209
- has_rdoc:
@@ -1,28 +0,0 @@
1
- ---
2
- engines:
3
- bundler-audit:
4
- enabled: true
5
- duplication:
6
- enabled: true
7
- config:
8
- languages:
9
- - ruby
10
- - javascript
11
- - python
12
- - php
13
- fixme:
14
- enabled: true
15
- rubocop:
16
- enabled: true
17
- ratings:
18
- paths:
19
- - Gemfile.lock
20
- - "**.inc"
21
- - "**.js"
22
- - "**.jsx"
23
- - "**.module"
24
- - "**.php"
25
- - "**.py"
26
- - "**.rb"
27
- exclude_paths:
28
- - spec/
@@ -1,75 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.2
3
-
4
- # Metrics
5
-
6
- Metrics/LineLength:
7
- Max: 83
8
- Details: >-
9
- Line length of 80 is ideal for readability and compatibility; we'll accept
10
- an extra 3 for minor edge cases.
11
-
12
- Metrics/MethodLength:
13
- Max: 35
14
-
15
- Metrics/BlockNesting:
16
- Max: 5
17
-
18
- Metrics/AbcSize:
19
- Max: 50
20
-
21
- Metrics/PerceivedComplexity:
22
- Max: 15
23
-
24
- Metrics/CyclomaticComplexity:
25
- Max: 15
26
-
27
- Metrics/ClassLength:
28
- Max: 300
29
-
30
- Metrics/ModuleLength:
31
- Max: 300
32
-
33
- # Style
34
-
35
- Style/StringLiterals:
36
- Enabled: false
37
-
38
- Style/ConditionalAssignment:
39
- Enabled: false
40
-
41
- Style/EmptyLinesAroundModuleBody:
42
- Enabled: false
43
-
44
- Style/AndOr:
45
- Enabled: false
46
-
47
- Style/Not:
48
- Enabled: false
49
-
50
- Style/NegatedIf:
51
- Enabled: false
52
-
53
- Style/RedundantReturn:
54
- Enabled: false
55
-
56
- Style/IfUnlessModifier:
57
- Enabled: false
58
-
59
- Style/TrailingCommaInLiteral:
60
- Enabled: false
61
-
62
- Style/FirstParameterIndentation:
63
- Enabled: false
64
-
65
- Style/TrailingUnderscoreVariable:
66
- Enabled: false
67
-
68
- Style/NumericLiterals:
69
- Enabled: false
70
-
71
- Style/FileName:
72
- Enabled: false
73
-
74
- Style/SpaceAfterNot:
75
- Enabled: false