browsed 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +27 -29
- data/browsed.gemspec +3 -5
- data/lib/browsed/client.rb +1 -1
- data/lib/browsed/version.rb +1 -1
- metadata +11 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a23bde2e25fb199b1f161da62df8f2dd8912687321de290fbb1dbd55e6c80ba6
|
4
|
+
data.tar.gz: d8369a940d804da5447eedfc4e9efeae3906914002a1c7225453bc6f00b385b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40c6c48e6e52bc23562c15769f19b53fd06fb1500eec41349122fe451a2d8356efe640ccc97b233cafa4cbfc31390f6a54aaae247c623cba949b85ad6d9a24e2
|
7
|
+
data.tar.gz: 19bc258d649db6a64a25404e103219c64b8a32c3ef9a62ef414f3de6447e007aec9701d02b904c4ad71a484bb4c1bda2297fcc6f0e3b435a3305601dcbfcb7b5
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
browsed (0.3.
|
4
|
+
browsed (0.3.4)
|
5
5
|
agents (>= 0.1.4)
|
6
|
-
capybara (>=
|
6
|
+
capybara (>= 3.33)
|
7
7
|
poltergeist (>= 1.18)
|
8
|
-
proxy_chain_rb (
|
9
|
-
selenium-webdriver (>= 3.
|
8
|
+
proxy_chain_rb (>= 0.1.2)
|
9
|
+
selenium-webdriver (>= 3.142.7)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
addressable (2.
|
15
|
-
public_suffix (>= 2.0.2, <
|
14
|
+
addressable (2.7.0)
|
15
|
+
public_suffix (>= 2.0.2, < 5.0)
|
16
16
|
agents (0.1.4)
|
17
|
-
capybara (3.
|
17
|
+
capybara (3.33.0)
|
18
18
|
addressable
|
19
19
|
mini_mime (>= 0.1.3)
|
20
20
|
nokogiri (~> 1.8)
|
@@ -22,52 +22,51 @@ GEM
|
|
22
22
|
rack-test (>= 0.6.3)
|
23
23
|
regexp_parser (~> 1.5)
|
24
24
|
xpath (~> 3.2)
|
25
|
-
childprocess (
|
26
|
-
rake (< 13.0)
|
25
|
+
childprocess (3.0.0)
|
27
26
|
cliver (0.3.2)
|
28
|
-
coderay (1.1.
|
29
|
-
diff-lcs (1.3)
|
30
|
-
launchy (2.
|
31
|
-
addressable (~> 2.
|
27
|
+
coderay (1.1.3)
|
28
|
+
diff-lcs (1.4.3)
|
29
|
+
launchy (2.5.0)
|
30
|
+
addressable (~> 2.7)
|
32
31
|
method_source (0.9.2)
|
33
32
|
mini_mime (1.0.2)
|
34
33
|
mini_portile2 (2.4.0)
|
35
|
-
nokogiri (1.10.
|
34
|
+
nokogiri (1.10.9)
|
36
35
|
mini_portile2 (~> 2.4.0)
|
37
36
|
poltergeist (1.18.1)
|
38
37
|
capybara (>= 2.1, < 4)
|
39
38
|
cliver (~> 0.3.1)
|
40
39
|
websocket-driver (>= 0.2.0)
|
41
|
-
proxy_chain_rb (0.1.
|
40
|
+
proxy_chain_rb (0.1.2)
|
42
41
|
pry (0.12.2)
|
43
42
|
coderay (~> 1.1.0)
|
44
43
|
method_source (~> 0.9.0)
|
45
|
-
public_suffix (
|
46
|
-
rack (2.
|
44
|
+
public_suffix (4.0.5)
|
45
|
+
rack (2.2.3)
|
47
46
|
rack-test (1.1.0)
|
48
47
|
rack (>= 1.0, < 3)
|
49
48
|
rake (12.3.3)
|
50
|
-
regexp_parser (1.
|
49
|
+
regexp_parser (1.7.1)
|
51
50
|
rspec (3.8.0)
|
52
51
|
rspec-core (~> 3.8.0)
|
53
52
|
rspec-expectations (~> 3.8.0)
|
54
53
|
rspec-mocks (~> 3.8.0)
|
55
54
|
rspec-core (3.8.2)
|
56
55
|
rspec-support (~> 3.8.0)
|
57
|
-
rspec-expectations (3.8.
|
56
|
+
rspec-expectations (3.8.6)
|
58
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
58
|
rspec-support (~> 3.8.0)
|
60
|
-
rspec-mocks (3.8.
|
59
|
+
rspec-mocks (3.8.2)
|
61
60
|
diff-lcs (>= 1.2.0, < 2.0)
|
62
61
|
rspec-support (~> 3.8.0)
|
63
|
-
rspec-support (3.8.
|
64
|
-
rubyzip (
|
65
|
-
selenium-webdriver (3.142.
|
66
|
-
childprocess (>= 0.5, <
|
67
|
-
rubyzip (
|
68
|
-
websocket-driver (0.7.
|
62
|
+
rspec-support (3.8.3)
|
63
|
+
rubyzip (2.3.0)
|
64
|
+
selenium-webdriver (3.142.7)
|
65
|
+
childprocess (>= 0.5, < 4.0)
|
66
|
+
rubyzip (>= 1.2.2)
|
67
|
+
websocket-driver (0.7.2)
|
69
68
|
websocket-extensions (>= 0.1.0)
|
70
|
-
websocket-extensions (0.1.
|
69
|
+
websocket-extensions (0.1.5)
|
71
70
|
xpath (3.2.0)
|
72
71
|
nokogiri (~> 1.8)
|
73
72
|
|
@@ -76,11 +75,10 @@ PLATFORMS
|
|
76
75
|
|
77
76
|
DEPENDENCIES
|
78
77
|
browsed!
|
79
|
-
bundler (~> 1.17)
|
80
78
|
launchy (~> 2.4, >= 2.4.3)
|
81
79
|
pry (~> 0.12.2)
|
82
80
|
rake (~> 12.3.2)
|
83
81
|
rspec (~> 3.8.0)
|
84
82
|
|
85
83
|
BUNDLED WITH
|
86
|
-
1.
|
84
|
+
2.1.4
|
data/browsed.gemspec
CHANGED
@@ -23,14 +23,12 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
|
-
spec.add_dependency "capybara", '>=
|
26
|
+
spec.add_dependency "capybara", '>= 3.33'
|
27
27
|
spec.add_dependency "poltergeist", '>= 1.18'
|
28
|
-
spec.add_dependency "selenium-webdriver", '>= 3.
|
29
|
-
|
28
|
+
spec.add_dependency "selenium-webdriver", '>= 3.142.7'
|
30
29
|
spec.add_dependency "agents", '>= 0.1.4'
|
31
|
-
spec.add_dependency "proxy_chain_rb", "
|
30
|
+
spec.add_dependency "proxy_chain_rb", ">= 0.1.2"
|
32
31
|
|
33
|
-
spec.add_development_dependency "bundler", "~> 1.17"
|
34
32
|
spec.add_development_dependency "rake", "~> 12.3.2"
|
35
33
|
spec.add_development_dependency "rspec", "~> 3.8.0"
|
36
34
|
spec.add_development_dependency "pry", "~> 0.12.2"
|
data/lib/browsed/client.rb
CHANGED
@@ -62,7 +62,7 @@ module Browsed
|
|
62
62
|
self.browser = (browser || self.configuration.browser)&.to_sym
|
63
63
|
self.browser_id = generate_browser_id
|
64
64
|
|
65
|
-
raise ::Browsed::
|
65
|
+
raise ::Browsed::InvalidBrowserError unless ::Browsed::Constants::BROWSERS.include?(self.browser)
|
66
66
|
end
|
67
67
|
|
68
68
|
def setup_capybara(options: {}, retries: 3)
|
data/lib/browsed/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.33'
|
20
20
|
type: :runtime
|
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: '
|
26
|
+
version: '3.33'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: poltergeist
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 3.142.7
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.142.7
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: agents
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,30 +70,16 @@ dependencies:
|
|
70
70
|
name: proxy_chain_rb
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1.
|
75
|
+
version: 0.1.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.1.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.17'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
80
|
+
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
82
|
+
version: 0.1.2
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rake
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
195
|
- !ruby/object:Gem::Version
|
210
196
|
version: '0'
|
211
197
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
198
|
+
rubygems_version: 3.1.2
|
213
199
|
signing_key:
|
214
200
|
specification_version: 4
|
215
201
|
summary: 'Browsed: Lightweight Capybara/PhantomJS/Selenium framework'
|