falcon-capybara 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/falcon/capybara/drivers.rb +15 -11
- data/lib/falcon/capybara/servers.rb +1 -1
- data/lib/falcon/capybara/version.rb +2 -2
- data/lib/falcon/capybara/wrapper.rb +2 -2
- data/lib/falcon/capybara.rb +1 -1
- data/license.md +2 -1
- data/readme.md +13 -5
- data.tar.gz.sig +0 -0
- metadata +10 -77
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8e7977dc4633d5212b5ae4de9d576a60e4beb4752a7456b4c465c15863f1320
|
4
|
+
data.tar.gz: 35a3332d05ee3042ff33aff09f6eec63c796ec9676f6866caf1aaa10e4364397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a103db356e44a87fdebe83956e4a4b6ffc159153726d6aba3c67299540d9bfa5f1e569ff1446812bccfd1a0a6d2db409d8d9c149f52545c0bba759665558f8d7
|
7
|
+
data.tar.gz: da848c99ca1681c0bb6ed9457f8ba189d0cfcf30dd969e4a53d7b9d2319757fde63377164906b5d29e24da2f50be8d8cb1daf8fd04aeeb3a50b3127a8afe825e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -1,7 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2020, by Samuel Williams.
|
4
|
+
# Copyright, 2020-2024, by Samuel Williams.
|
5
|
+
# Copyright, 2024, by David Siaw.
|
5
6
|
|
6
7
|
require 'capybara'
|
7
8
|
|
@@ -10,11 +11,12 @@ require 'capybara'
|
|
10
11
|
# @name selenium_chrome_https
|
11
12
|
# @attribute [Block]
|
12
13
|
Capybara.register_driver :selenium_chrome_https do |app|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
chrome_options = Selenium::WebDriver::Chrome::Options.new
|
15
|
+
chrome_options.add_argument('--allow-insecure-localhost')
|
16
|
+
chrome_options.add_argument('--ignore-certificate-errors')
|
17
|
+
Capybara::Selenium::Driver.new(app,
|
18
|
+
browser: :chrome,
|
19
|
+
options: chrome_options)
|
18
20
|
end
|
19
21
|
|
20
22
|
# A headless selenium driver for chrome which allows insecure localhost https protocol.
|
@@ -22,9 +24,11 @@ end
|
|
22
24
|
# @name selenium_chrome_headless_https
|
23
25
|
# @attribute [Block]
|
24
26
|
Capybara.register_driver :selenium_chrome_headless_https do |app|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
chrome_options = Selenium::WebDriver::Chrome::Options.new
|
28
|
+
chrome_options.add_argument('--allow-insecure-localhost')
|
29
|
+
chrome_options.add_argument('--ignore-certificate-errors')
|
30
|
+
chrome_options.add_argument('--headless=true')
|
31
|
+
Capybara::Selenium::Driver.new(app,
|
32
|
+
browser: :chrome,
|
33
|
+
options: chrome_options)
|
30
34
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2021, by Philip Arndt.
|
6
6
|
# Copyright, 2022, by William T. Nelson.
|
7
|
+
# Copyright, 2024, by David Siaw.
|
7
8
|
|
8
9
|
require 'thread'
|
9
10
|
|
10
11
|
require 'async'
|
11
12
|
require 'falcon/endpoint'
|
12
|
-
require 'async/io/notification'
|
13
13
|
|
14
14
|
module Falcon
|
15
15
|
module Capybara
|
data/lib/falcon/capybara.rb
CHANGED
data/license.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# MIT License
|
2
2
|
|
3
|
-
Copyright, 2017-
|
3
|
+
Copyright, 2017-2022, by Samuel Williams.
|
4
4
|
Copyright, 2021, by Philip Arndt.
|
5
5
|
Copyright, 2022, by William T. Nelson.
|
6
|
+
Copyright, 2024, by David Siaw.
|
6
7
|
|
7
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
9
|
of this software and associated documentation files (the "Software"), to deal
|
data/readme.md
CHANGED
@@ -18,8 +18,16 @@ Please see the [project documentation](https://socketry.github.io/falcon-capybar
|
|
18
18
|
|
19
19
|
We welcome contributions to this project.
|
20
20
|
|
21
|
-
1. Fork it
|
22
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
23
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
24
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
25
|
-
5. Create new Pull Request
|
21
|
+
1. Fork it.
|
22
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
23
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
24
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
25
|
+
5. Create new Pull Request.
|
26
|
+
|
27
|
+
### Developer Certificate of Origin
|
28
|
+
|
29
|
+
This project uses the [Developer Certificate of Origin](https://developercertificate.org/). All contributors to this project must agree to this document to have their contributions accepted.
|
30
|
+
|
31
|
+
### Contributor Covenant
|
32
|
+
|
33
|
+
This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falcon-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- David Siaw
|
8
9
|
- Philip Arndt
|
9
10
|
- William T. Nelson
|
10
11
|
autorequire:
|
@@ -39,7 +40,7 @@ cert_chain:
|
|
39
40
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
40
41
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
41
42
|
-----END CERTIFICATE-----
|
42
|
-
date:
|
43
|
+
date: 2024-05-27 00:00:00.000000000 Z
|
43
44
|
dependencies:
|
44
45
|
- !ruby/object:Gem::Dependency
|
45
46
|
name: capybara
|
@@ -57,20 +58,6 @@ dependencies:
|
|
57
58
|
version: '3.37'
|
58
59
|
- !ruby/object:Gem::Dependency
|
59
60
|
name: falcon
|
60
|
-
requirement: !ruby/object:Gem::Requirement
|
61
|
-
requirements:
|
62
|
-
- - "~>"
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '0.34'
|
65
|
-
type: :runtime
|
66
|
-
prerelease: false
|
67
|
-
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
requirements:
|
69
|
-
- - "~>"
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: '0.34'
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: selenium-webdriver
|
74
61
|
requirement: !ruby/object:Gem::Requirement
|
75
62
|
requirements:
|
76
63
|
- - ">="
|
@@ -84,75 +71,19 @@ dependencies:
|
|
84
71
|
- !ruby/object:Gem::Version
|
85
72
|
version: '0'
|
86
73
|
- !ruby/object:Gem::Dependency
|
87
|
-
name:
|
88
|
-
requirement: !ruby/object:Gem::Requirement
|
89
|
-
requirements:
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '0'
|
93
|
-
type: :development
|
94
|
-
prerelease: false
|
95
|
-
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0'
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
name: bundler
|
102
|
-
requirement: !ruby/object:Gem::Requirement
|
103
|
-
requirements:
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: '0'
|
107
|
-
type: :development
|
108
|
-
prerelease: false
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '0'
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: covered
|
74
|
+
name: selenium-webdriver
|
116
75
|
requirement: !ruby/object:Gem::Requirement
|
117
76
|
requirements:
|
118
77
|
- - ">="
|
119
78
|
- !ruby/object:Gem::Version
|
120
79
|
version: '0'
|
121
|
-
type: :
|
80
|
+
type: :runtime
|
122
81
|
prerelease: false
|
123
82
|
version_requirements: !ruby/object:Gem::Requirement
|
124
83
|
requirements:
|
125
84
|
- - ">="
|
126
85
|
- !ruby/object:Gem::Version
|
127
86
|
version: '0'
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: rspec
|
130
|
-
requirement: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - "~>"
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: '3.0'
|
135
|
-
type: :development
|
136
|
-
prerelease: false
|
137
|
-
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - "~>"
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '3.0'
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: webdrivers
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
requirements:
|
146
|
-
- - "~>"
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: '4.0'
|
149
|
-
type: :development
|
150
|
-
prerelease: false
|
151
|
-
version_requirements: !ruby/object:Gem::Requirement
|
152
|
-
requirements:
|
153
|
-
- - "~>"
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '4.0'
|
156
87
|
description:
|
157
88
|
email:
|
158
89
|
executables: []
|
@@ -171,7 +102,9 @@ files:
|
|
171
102
|
homepage: https://github.com/socketry/falcon-capybara
|
172
103
|
licenses:
|
173
104
|
- MIT
|
174
|
-
metadata:
|
105
|
+
metadata:
|
106
|
+
documentation_uri: https://socketry.github.io/falcon-capybara/
|
107
|
+
source_code_uri: https://github.com/socketry/falcon-capybara.git
|
175
108
|
post_install_message:
|
176
109
|
rdoc_options: []
|
177
110
|
require_paths:
|
@@ -180,14 +113,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
113
|
requirements:
|
181
114
|
- - ">="
|
182
115
|
- !ruby/object:Gem::Version
|
183
|
-
version: '
|
116
|
+
version: '3.1'
|
184
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
118
|
requirements:
|
186
119
|
- - ">="
|
187
120
|
- !ruby/object:Gem::Version
|
188
121
|
version: '0'
|
189
122
|
requirements: []
|
190
|
-
rubygems_version: 3.3
|
123
|
+
rubygems_version: 3.5.3
|
191
124
|
signing_key:
|
192
125
|
specification_version: 4
|
193
126
|
summary: Use the falcon web server to run capybara/selenium tests.
|
metadata.gz.sig
CHANGED
Binary file
|