unobtainium-multifind 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
- SHA1:
3
- metadata.gz: c8353b1d5e748ec3304a0279b370b43a78914df5
4
- data.tar.gz: a73f7d17ed12dccace0cfb453874373f5bc6acb1
2
+ SHA256:
3
+ metadata.gz: 1d7ac80863d6f22173891fa941453fc7b0f3a16b718b1dbe9d7ac9651ade3dbc
4
+ data.tar.gz: 515a49d9dbe43d8ce1e909eb9ec48da6fcfed4d3f1835aa970f6c15e2daf204b
5
5
  SHA512:
6
- metadata.gz: 89196e5772927c51b4e0a07700a2b9dc348380ec2633b6fe779d1aaf2cf9050777b8a4c005e0c9c90a8163bc02e6f17fee39220c5043a6fe06032d3b9341760f
7
- data.tar.gz: b7f000cd8f7159f3ba083a629437953e5a70b7e15e1a2ec8d798a84f843c1047dec7611cb6d2228591ceab8113c3ef8382293ab8c9d0e17cd652deb1a156e1e7
6
+ metadata.gz: 035e9515f8d842370a040a0002e91ed0266b035cfb3a38fb09ce5e250ee3cc49f00eb2f24ce9867856c101bab40f4a08bea4fd2b206e9dda25caf1d00e39071d
7
+ data.tar.gz: 2fd9c65ae3944db7c912a8f6c1b02d0452f927dfb150c9b26397dce9c6294efa3fa211ff437fa3c1cad42967c3ca659536728c69c6bb9873073714ba6dabed99
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: 89d15fbb64d0d6ed4ecc68d5fe9482efdccd047eb5a6b0266434d683115b848c
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-multifind.gemspec
4
4
  gemspec
5
-
6
- gem "codeclimate-test-reporter", group: :test, require: nil
@@ -1,78 +1,67 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unobtainium-multifind (0.3.0)
5
- unobtainium (~> 0.5)
4
+ unobtainium-multifind (0.4.0)
5
+ unobtainium (~> 0.13)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- ast (2.2.0)
11
- childprocess (0.5.9)
10
+ childprocess (0.9.0)
12
11
  ffi (~> 1.0, >= 1.0.11)
13
- codeclimate-test-reporter (0.5.0)
14
- simplecov (>= 0.7.1, < 1.0.0)
15
- diff-lcs (1.2.5)
16
- docile (1.1.5)
17
- ffi (1.9.10)
18
- json (1.8.3)
19
- parser (2.3.1.0)
20
- ast (~> 2.2)
12
+ collapsium (0.10.0)
13
+ collapsium-config (0.7.0)
14
+ collapsium (~> 0.10)
15
+ diff-lcs (1.3)
16
+ docile (1.3.0)
17
+ ffi (1.9.23)
18
+ json (2.1.0)
21
19
  phantomjs (2.1.1.0)
22
- powerpack (0.1.1)
23
- rainbow (2.1.0)
24
- rake (11.1.2)
25
- rspec (3.4.0)
26
- rspec-core (~> 3.4.0)
27
- rspec-expectations (~> 3.4.0)
28
- rspec-mocks (~> 3.4.0)
29
- rspec-core (3.4.4)
30
- rspec-support (~> 3.4.0)
31
- rspec-expectations (3.4.0)
20
+ ptools (1.3.5)
21
+ rake (11.3.0)
22
+ rspec (3.7.0)
23
+ rspec-core (~> 3.7.0)
24
+ rspec-expectations (~> 3.7.0)
25
+ rspec-mocks (~> 3.7.0)
26
+ rspec-core (3.7.1)
27
+ rspec-support (~> 3.7.0)
28
+ rspec-expectations (3.7.0)
32
29
  diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.4.0)
34
- rspec-mocks (3.4.1)
30
+ rspec-support (~> 3.7.0)
31
+ rspec-mocks (3.7.0)
35
32
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.4.0)
37
- rspec-support (3.4.1)
38
- rubocop (0.40.0)
39
- parser (>= 2.3.1.0, < 3.0)
40
- powerpack (~> 0.1)
41
- rainbow (>= 1.99.1, < 3.0)
42
- ruby-progressbar (~> 1.7)
43
- unicode-display_width (~> 1.0, >= 1.0.1)
44
- ruby-progressbar (1.8.0)
45
- rubyzip (1.2.0)
46
- selenium-webdriver (2.53.0)
33
+ rspec-support (~> 3.7.0)
34
+ rspec-support (3.7.1)
35
+ rubyzip (1.2.1)
36
+ selenium-webdriver (3.11.0)
47
37
  childprocess (~> 0.5)
48
- rubyzip (~> 1.0)
49
- websocket (~> 1.0)
50
- simplecov (0.11.2)
51
- docile (~> 1.1.0)
52
- json (~> 1.8)
38
+ rubyzip (~> 1.2)
39
+ simplecov (0.16.1)
40
+ docile (~> 1.1)
41
+ json (>= 1.8, < 3)
53
42
  simplecov-html (~> 0.10.0)
54
- simplecov-html (0.10.0)
55
- sys-proctable (1.0.0)
56
- unicode-display_width (1.0.5)
57
- unobtainium (0.5.0)
58
- sys-proctable (~> 1.0)
59
- websocket (1.2.3)
60
- yard (0.8.7.6)
43
+ simplecov-html (0.10.2)
44
+ sys-proctable (1.2.0)
45
+ ffi
46
+ unobtainium (0.13.0)
47
+ collapsium (~> 0.10)
48
+ collapsium-config (~> 0.7)
49
+ ptools (~> 1.3)
50
+ sys-proctable (~> 1.2)
51
+ yard (0.9.12)
61
52
 
62
53
  PLATFORMS
63
54
  ruby
64
55
 
65
56
  DEPENDENCIES
66
- bundler (~> 1.12)
67
- codeclimate-test-reporter
57
+ bundler (~> 1.16)
68
58
  phantomjs
69
- rake (~> 11.1)
70
- rspec (~> 3.4)
71
- rubocop (~> 0.40)
59
+ rake (~> 11.3)
60
+ rspec (~> 3.7)
72
61
  selenium-webdriver
73
- simplecov (~> 0.11)
62
+ simplecov (~> 0.16)
74
63
  unobtainium-multifind!
75
- yard (~> 0.8)
64
+ yard (~> 0.9, >= 0.9.12)
76
65
 
77
66
  BUNDLED WITH
78
- 1.12.3
67
+ 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-multifind.svg)](https://badge.fury.io/rb/unobtainium-multifind)
7
7
  [![Build status](https://travis-ci.org/jfinkhaeuser/unobtainium-multifind.svg?branch=master)](https://travis-ci.org/jfinkhaeuser/unobtainium-multifind)
8
- [![Code Climate](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multifind/badges/gpa.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multifind)
9
- [![Test Coverage](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multifind/badges/coverage.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium-multifind/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-multifind
4
4
  # https://github.com/jfinkhaeuser/unobtainium-multifind
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-multifind contributors.
6
+ # Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium-multifind contributors.
7
7
  # All rights reserved.
8
8
  #
9
9
  module Unobtainium
10
10
  module MultiFind
11
11
  # The current release version
12
- VERSION = "0.3.0".freeze
12
+ VERSION = "0.4.0".freeze
13
13
  end # module MultiFind
14
14
  end # module Unobtainium
@@ -3,7 +3,7 @@
3
3
  # unobtainium-multifind
4
4
  # https://github.com/jfinkhaeuser/unobtainium-multifind
5
5
  #
6
- # Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-multifind contributors.
6
+ # Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium-multifind contributors.
7
7
  # All rights reserved.
8
8
  #
9
9
 
@@ -41,16 +41,15 @@ Gem::Specification.new do |spec|
41
41
 
42
42
  spec.requirements = "Unobtainium driver implementing the Selenium API"
43
43
 
44
- spec.add_development_dependency "bundler", "~> 1.12"
45
- spec.add_development_dependency "rubocop", "~> 0.40"
46
- spec.add_development_dependency "rake", "~> 11.1"
47
- spec.add_development_dependency "rspec", "~> 3.4"
48
- spec.add_development_dependency "simplecov", "~> 0.11"
49
- spec.add_development_dependency "yard", "~> 0.8"
44
+ spec.add_development_dependency "bundler", "~> 1.16"
45
+ spec.add_development_dependency "rake", "~> 11.3"
46
+ spec.add_development_dependency "rspec", "~> 3.7"
47
+ spec.add_development_dependency "simplecov", "~> 0.16"
48
+ spec.add_development_dependency "yard", "~> 0.9", ">= 0.9.12"
50
49
  spec.add_development_dependency "selenium-webdriver"
51
50
  spec.add_development_dependency "phantomjs"
52
51
 
53
- spec.add_dependency "unobtainium", "~> 0.5"
52
+ spec.add_dependency "unobtainium", "~> 0.13"
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-multifind
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-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,14 +120,14 @@ 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
  description: "\n This gem provides a driver module for unobtainium allowing for
140
132
  more easily\n finding (one of) multiple elements.\n\n It requires a driver
141
133
  implementing the Selenium API, specifically the\n #find_element method.\n "
@@ -145,10 +137,8 @@ executables: []
145
137
  extensions: []
146
138
  extra_rdoc_files: []
147
139
  files:
148
- - ".codeclimate.yml"
149
140
  - ".gitignore"
150
141
  - ".rspec"
151
- - ".rubocop.yml"
152
142
  - ".travis.yml"
153
143
  - Gemfile
154
144
  - Gemfile.lock
@@ -183,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
173
  requirements:
184
174
  - Unobtainium driver implementing the Selenium API
185
175
  rubyforge_project:
186
- rubygems_version: 2.4.5.1
176
+ rubygems_version: 2.7.6
187
177
  signing_key:
188
178
  specification_version: 4
189
179
  summary: This gem provides a driver module for unobtainium allowing for more easily
@@ -192,4 +182,3 @@ test_files:
192
182
  - spec/data/foo.html
193
183
  - spec/module_spec.rb
194
184
  - spec/spec_helper.rb
195
- 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