rspec-html 0.2.6 → 0.2.7

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
  SHA256:
3
- metadata.gz: 0b613fed0b8e19c8069435ab30d735afa9660c66bb7beb6ee226aede70014f0e
4
- data.tar.gz: c3526928723a917ed6511d3e17e6627df79090d342203e78fa64ab84e174a309
3
+ metadata.gz: d97c22c301a390a13dd3faa6e259633d6c991346e35da9cb3abded233b2a3809
4
+ data.tar.gz: 10d4ce1f83f23f6a2620050a3d6cf680aab9f5c63dd59d51f2d18170140742bf
5
5
  SHA512:
6
- metadata.gz: f3e0dfbd5105659467f468131d7ea32baaf94e406af8dbef7e521ff762572479ad0394ee69474e1fc2f510e493d62d5981cb32b9756665b63af9c7d12220750d
7
- data.tar.gz: 8cbc3b3579dee20f89d55de6b6e8221f1a32e73b67e3b875a18b8b604d579a12e46d835d63cc14c0c4453022a888f3b44b92d2c7ab97c08299945eb7538382cd
6
+ metadata.gz: 4389b7626dee960fe7933446a09a72d6bf1021395184b3b6fc0a5f2afd8a7d42b40422a7a92880030cc157bd4e15961546799884bb330c90ce251ef575316ee4
7
+ data.tar.gz: d789b659fff49df36383b979b92127af11a268568687f67bcdebf7860e0b12950c93082548fb79540c513eb8b5588c7983fa27b2b34f3c986bc73b1db990ffd3
data/.rubocop.yml CHANGED
@@ -6,82 +6,9 @@ Metrics/BlockLength:
6
6
  Gemspec/RequiredRubyVersion:
7
7
  Enabled: false
8
8
 
9
- Layout/LineLength:
10
- Max: 100
9
+ AllCops:
10
+ NewCops: enable
11
11
 
12
12
  # Compatibility with older (< 2.6) Rubies.
13
13
  Style/SlicingWithRange:
14
14
  Enabled: false
15
-
16
- Layout/EmptyLinesAroundAttributeAccessor:
17
- Enabled: true
18
- Layout/SpaceAroundMethodCallOperator:
19
- Enabled: true
20
- Lint/DeprecatedOpenSSLConstant:
21
- Enabled: true
22
- Lint/DuplicateElsifCondition:
23
- Enabled: true
24
- Lint/MixedRegexpCaptureTypes:
25
- Enabled: true
26
- Lint/RaiseException:
27
- Enabled: true
28
- Lint/StructNewOverride:
29
- Enabled: true
30
- Style/AccessorGrouping:
31
- Enabled: true
32
- Style/ArrayCoercion:
33
- Enabled: true
34
- Style/BisectedAttrAccessor:
35
- Enabled: true
36
- Style/CaseLikeIf:
37
- Enabled: true
38
- Style/ExponentialNotation:
39
- Enabled: true
40
- Style/HashAsLastArrayItem:
41
- Enabled: true
42
- Style/HashEachMethods:
43
- Enabled: true
44
- Style/HashLikeCase:
45
- Enabled: true
46
- Style/HashTransformKeys:
47
- Enabled: true
48
- Style/HashTransformValues:
49
- Enabled: true
50
- Style/RedundantAssignment:
51
- Enabled: true
52
- Style/RedundantFetchBlock:
53
- Enabled: true
54
- Style/RedundantFileExtensionInRequire:
55
- Enabled: true
56
- Style/RedundantRegexpCharacterClass:
57
- Enabled: true
58
- Style/RedundantRegexpEscape:
59
- Enabled: true
60
- Lint/BinaryOperatorWithIdenticalOperands:
61
- Enabled: true
62
- Lint/DuplicateRescueException:
63
- Enabled: true
64
- Lint/EmptyConditionalBody:
65
- Enabled: true
66
- Lint/FloatComparison:
67
- Enabled: true
68
- Lint/MissingSuper:
69
- Enabled: true
70
- Lint/OutOfRangeRegexpRef:
71
- Enabled: true
72
- Lint/SelfAssignment:
73
- Enabled: true
74
- Lint/TopLevelReturnWithArgument:
75
- Enabled: true
76
- Lint/UnreachableLoop:
77
- Enabled: true
78
- Style/ExplicitBlockArgument:
79
- Enabled: true
80
- Style/GlobalStdStream:
81
- Enabled: true
82
- Style/OptionalBooleanParameter:
83
- Enabled: true
84
- Style/SingleArgumentDig:
85
- Enabled: true
86
- Style/StringConcatenation:
87
- Enabled: true
data/Gemfile.lock CHANGED
@@ -1,65 +1,68 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-html (0.2.5)
4
+ rspec-html (0.2.7)
5
5
  nokogiri (~> 1.10)
6
6
  rspec (~> 3.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.4.1)
11
+ ast (2.4.2)
12
12
  byebug (11.1.3)
13
- concurrent-ruby (1.1.6)
14
- devpack (0.1.2)
13
+ concurrent-ruby (1.1.9)
14
+ devpack (0.1.3)
15
15
  diff-lcs (1.4.4)
16
- i18n (1.8.5)
16
+ i18n (1.8.11)
17
17
  concurrent-ruby (~> 1.0)
18
- mini_portile2 (2.4.0)
19
- nokogiri (1.10.10)
20
- mini_portile2 (~> 2.4.0)
21
- paint (2.2.0)
22
- parallel (1.19.2)
23
- parser (2.7.1.4)
18
+ mini_portile2 (2.6.1)
19
+ nokogiri (1.12.5)
20
+ mini_portile2 (~> 2.6.1)
21
+ racc (~> 1.4)
22
+ paint (2.2.1)
23
+ parallel (1.21.0)
24
+ parser (3.0.3.2)
24
25
  ast (~> 2.4.1)
26
+ racc (1.6.0)
25
27
  rainbow (3.0.0)
26
- rake (13.0.1)
27
- regexp_parser (1.7.1)
28
- rexml (3.2.4)
29
- rspec (3.9.0)
30
- rspec-core (~> 3.9.0)
31
- rspec-expectations (~> 3.9.0)
32
- rspec-mocks (~> 3.9.0)
33
- rspec-core (3.9.2)
34
- rspec-support (~> 3.9.3)
35
- rspec-expectations (3.9.2)
28
+ rake (13.0.6)
29
+ regexp_parser (2.2.0)
30
+ rexml (3.2.5)
31
+ rspec (3.10.0)
32
+ rspec-core (~> 3.10.0)
33
+ rspec-expectations (~> 3.10.0)
34
+ rspec-mocks (~> 3.10.0)
35
+ rspec-core (3.10.1)
36
+ rspec-support (~> 3.10.0)
37
+ rspec-expectations (3.10.1)
36
38
  diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.9.0)
39
+ rspec-support (~> 3.10.0)
38
40
  rspec-its (1.3.0)
39
41
  rspec-core (>= 3.0.0)
40
42
  rspec-expectations (>= 3.0.0)
41
- rspec-mocks (3.9.1)
43
+ rspec-mocks (3.10.2)
42
44
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.9.0)
44
- rspec-support (3.9.3)
45
- rubocop (0.89.1)
45
+ rspec-support (~> 3.10.0)
46
+ rspec-support (3.10.3)
47
+ rubocop (0.93.1)
46
48
  parallel (~> 1.10)
47
- parser (>= 2.7.1.1)
49
+ parser (>= 2.7.1.5)
48
50
  rainbow (>= 2.2.2, < 4.0)
49
- regexp_parser (>= 1.7)
51
+ regexp_parser (>= 1.8)
50
52
  rexml
51
- rubocop-ast (>= 0.3.0, < 1.0)
53
+ rubocop-ast (>= 0.6.0)
52
54
  ruby-progressbar (~> 1.7)
53
55
  unicode-display_width (>= 1.4.0, < 2.0)
54
- rubocop-ast (0.3.0)
55
- parser (>= 2.7.1.4)
56
- rubocop-rspec (1.42.0)
57
- rubocop (>= 0.87.0)
58
- ruby-progressbar (1.10.1)
56
+ rubocop-ast (1.15.0)
57
+ parser (>= 3.0.1.1)
58
+ rubocop-rspec (1.44.1)
59
+ rubocop (~> 0.87)
60
+ rubocop-ast (>= 0.7.1)
61
+ ruby-progressbar (1.11.0)
59
62
  strong_versions (0.4.5)
60
63
  i18n (>= 0.5)
61
64
  paint (~> 2.0)
62
- unicode-display_width (1.7.0)
65
+ unicode-display_width (1.8.0)
63
66
 
64
67
  PLATFORMS
65
68
  ruby
@@ -72,7 +75,7 @@ DEPENDENCIES
72
75
  rake (~> 13.0)
73
76
  rspec-html!
74
77
  rspec-its (~> 1.3)
75
- rubocop (~> 0.89.1)
78
+ rubocop (~> 0.93.1)
76
79
  rubocop-rspec (~> 1.36)
77
80
  strong_versions (~> 0.4.5)
78
81
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ _RSpec::HTML_ provides a simple object interface to HTML responses from [_RSpec
7
7
  Add the gem to your `Gemfile`:
8
8
 
9
9
  ```ruby
10
- gem 'rspec-html', '~> 0.2.6'
10
+ gem 'rspec-html', '~> 0.2.7'
11
11
  ```
12
12
 
13
13
  And rebuild your bundle:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module HTML
5
- VERSION = '0.2.6'
5
+ VERSION = '0.2.7'
6
6
  end
7
7
  end
@@ -8,7 +8,7 @@ module RSpecHTML
8
8
  extend Forwardable
9
9
 
10
10
  def_delegators :@search,
11
- :has_css?, :has_xpath?, :include?, :text, :truncated_text, :size, :length, :[]
11
+ :has_css?, :has_xpath?, :include?, :text, :truncated_text, :size, :length, :css, :xpath, :[]
12
12
 
13
13
  def initialize(element, name, options: {}, siblings: [])
14
14
  @name = name
data/rspec-html.gemspec CHANGED
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency 'i18n', '~> 1.7'
38
38
  spec.add_development_dependency 'rake', '~> 13.0'
39
39
  spec.add_development_dependency 'rspec-its', '~> 1.3'
40
- spec.add_development_dependency 'rubocop', '~> 0.89.1'
40
+ spec.add_development_dependency 'rubocop', '~> 0.93.1'
41
41
  spec.add_development_dependency 'rubocop-rspec', '~> 1.36'
42
42
  spec.add_development_dependency 'strong_versions', '~> 0.4.5'
43
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2021-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.89.1
131
+ version: 0.93.1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.89.1
138
+ version: 0.93.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop-rspec
141
141
  requirement: !ruby/object:Gem::Requirement