splinter-pto 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +12 -3
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/splinter/api.rb +2 -2
- data/lib/splinter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97f680557f8c6122b3e73eae844f4f7e3fa30fd364595c9d8477d069bc77c41d
|
4
|
+
data.tar.gz: 96bde8eb8547e092839641d7f332a26bd9ce25bd41821a99072dcd974c3ab76a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26aaee7c2175697048ee100e2e0a960083ffa1a062c2cea0e59ceca2bd545a408dec00be7cc5343b95aee415add1d048571c9c8b2ca5e993a9d278b425278687
|
7
|
+
data.tar.gz: 46da239476c2f4d6fc00fc3b4ecc3992aa8e80f9ee5f9bf55e31a180ef985cd2c7b1f8e6da72bf74876796e8d1c855cd50823e2dc856fcad96ec71d8a10caeed
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2020-
|
3
|
+
# on 2020-10-30 09:28:15 UTC using RuboCop version 0.90.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -16,14 +16,15 @@ Packaging/GemspecGit:
|
|
16
16
|
Exclude:
|
17
17
|
- 'splinter.gemspec'
|
18
18
|
|
19
|
-
# Offense count:
|
19
|
+
# Offense count: 6
|
20
20
|
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
21
21
|
RSpec/VerifiedDoubles:
|
22
22
|
Exclude:
|
23
23
|
- 'spec/lib/splinter/api_spec.rb'
|
24
24
|
- 'spec/lib/splinter/ooo_events_spec.rb'
|
25
|
+
- 'spec/lib/splinter/ooo_types_spec.rb'
|
25
26
|
|
26
|
-
# Offense count:
|
27
|
+
# Offense count: 3
|
27
28
|
# Cop supports --auto-correct.
|
28
29
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
29
30
|
# SupportedStyles: single_quotes, double_quotes
|
@@ -31,3 +32,11 @@ Style/StringLiterals:
|
|
31
32
|
Exclude:
|
32
33
|
- 'spec/lib/splinter/api_spec.rb'
|
33
34
|
- 'spec/lib/splinter/ooo_events_spec.rb'
|
35
|
+
- 'spec/lib/splinter/ooo_types_spec.rb'
|
36
|
+
|
37
|
+
# Offense count: 2
|
38
|
+
# Cop supports --auto-correct.
|
39
|
+
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
40
|
+
# URISchemes: http, https
|
41
|
+
Layout/LineLength:
|
42
|
+
Max: 121
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/splinter/api.rb
CHANGED
@@ -20,9 +20,9 @@ module Splinter
|
|
20
20
|
loop do
|
21
21
|
result = RestClient.get(url, headers.merge({ params: params }))
|
22
22
|
parsed_result = JSON.parse(result.body)
|
23
|
-
url = parsed_result.dig('next')
|
24
23
|
results.concat(parsed_result['results'])
|
25
|
-
|
24
|
+
url = parsed_result.dig('next')
|
25
|
+
break if url.nil?
|
26
26
|
end
|
27
27
|
results
|
28
28
|
end
|
data/lib/splinter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splinter-pto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lien van den steen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|