standout-capybara 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +77 -0
- data/LICENSE.txt +21 -0
- data/README.md +91 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/standout/capybara/drivers/base.rb +26 -0
- data/lib/standout/capybara/drivers/chrome.rb +21 -0
- data/lib/standout/capybara/drivers/headless_chrome.rb +23 -0
- data/lib/standout/capybara/drivers/nanobox_chrome.rb +25 -0
- data/lib/standout/capybara/setup.rb +3 -0
- data/lib/standout/capybara/version.rb +5 -0
- data/lib/standout/capybara.rb +41 -0
- data/standout-capybara.gemspec +32 -0
- metadata +147 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6950cf22eb3d1e45eecf589e318c44b191c3d4c93797a433313dd4bc6722821f
|
4
|
+
data.tar.gz: 37dcac1e6d09906a048af2bf808afc4f245fb324d6f89e00d75fb895b2549908
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 68e155be9d9027b5cb2b587202f4cc2764dafc688fbe7bba075d263fca7145337708b848b4a0914f708615a39e0791fd4201183feb98b57cd37aa9765e3e2ea2
|
7
|
+
data.tar.gz: 4417731c817dba3f3fa09ee4e33ee10a1aa94bb800411ba06e47aad7b795a1565d9fe02ad16d3714038151469e5d890eccfa6dc80b88d89239c53d3d951068fc
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at alex@aross.se. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
standout-capybara (0.1.0)
|
5
|
+
capybara
|
6
|
+
capybara-screenshot
|
7
|
+
chromedriver-helper
|
8
|
+
selenium-webdriver
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
addressable (2.5.2)
|
14
|
+
public_suffix (>= 2.0.2, < 4.0)
|
15
|
+
archive-zip (0.11.0)
|
16
|
+
io-like (~> 0.3.0)
|
17
|
+
capybara (3.11.1)
|
18
|
+
addressable
|
19
|
+
mini_mime (>= 0.1.3)
|
20
|
+
nokogiri (~> 1.8)
|
21
|
+
rack (>= 1.6.0)
|
22
|
+
rack-test (>= 0.6.3)
|
23
|
+
regexp_parser (~> 1.2)
|
24
|
+
xpath (~> 3.2)
|
25
|
+
capybara-screenshot (1.0.22)
|
26
|
+
capybara (>= 1.0, < 4)
|
27
|
+
launchy
|
28
|
+
childprocess (0.9.0)
|
29
|
+
ffi (~> 1.0, >= 1.0.11)
|
30
|
+
chromedriver-helper (2.1.0)
|
31
|
+
archive-zip (~> 0.10)
|
32
|
+
nokogiri (~> 1.8)
|
33
|
+
diff-lcs (1.3)
|
34
|
+
ffi (1.9.25)
|
35
|
+
io-like (0.3.0)
|
36
|
+
launchy (2.4.3)
|
37
|
+
addressable (~> 2.3)
|
38
|
+
mini_mime (1.0.1)
|
39
|
+
mini_portile2 (2.3.0)
|
40
|
+
nokogiri (1.8.5)
|
41
|
+
mini_portile2 (~> 2.3.0)
|
42
|
+
public_suffix (3.0.3)
|
43
|
+
rack (2.0.6)
|
44
|
+
rack-test (1.1.0)
|
45
|
+
rack (>= 1.0, < 3)
|
46
|
+
rake (10.5.0)
|
47
|
+
regexp_parser (1.3.0)
|
48
|
+
rspec (3.8.0)
|
49
|
+
rspec-core (~> 3.8.0)
|
50
|
+
rspec-expectations (~> 3.8.0)
|
51
|
+
rspec-mocks (~> 3.8.0)
|
52
|
+
rspec-core (3.8.0)
|
53
|
+
rspec-support (~> 3.8.0)
|
54
|
+
rspec-expectations (3.8.2)
|
55
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
+
rspec-support (~> 3.8.0)
|
57
|
+
rspec-mocks (3.8.0)
|
58
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
+
rspec-support (~> 3.8.0)
|
60
|
+
rspec-support (3.8.0)
|
61
|
+
rubyzip (1.2.2)
|
62
|
+
selenium-webdriver (3.141.0)
|
63
|
+
childprocess (~> 0.5)
|
64
|
+
rubyzip (~> 1.2, >= 1.2.2)
|
65
|
+
xpath (3.2.0)
|
66
|
+
nokogiri (~> 1.8)
|
67
|
+
|
68
|
+
PLATFORMS
|
69
|
+
ruby
|
70
|
+
|
71
|
+
DEPENDENCIES
|
72
|
+
rake (~> 10.0)
|
73
|
+
rspec (~> 3.0)
|
74
|
+
standout-capybara!
|
75
|
+
|
76
|
+
BUNDLED WITH
|
77
|
+
1.17.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Alexander Ross
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
# Standout Capybara
|
2
|
+
|
3
|
+
The purpose of this gem is to make it easier to setup Capybara drivers with sane defaults. It will default to `headless_chrome`, and if you use it with nanobox it will default to `nanobox_chrome`. But feel free to overwrite the environment variable CAPYBARA to use another capybara driver.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
# Gemfile
|
11
|
+
group :development, :test do
|
12
|
+
gem "capybara"
|
13
|
+
gem "standout-capybara", require: false
|
14
|
+
end
|
15
|
+
|
16
|
+
# test_helper.rb, spec_helper.rb or rails_helper.rb etc
|
17
|
+
require 'capybara/rails'
|
18
|
+
require 'standout/capybara/setup'
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
### Headless chrome
|
28
|
+
|
29
|
+
Just run your test command, the `headless_chrome` is the default driver
|
30
|
+
|
31
|
+
|
32
|
+
### Chrome
|
33
|
+
|
34
|
+
Run the test command with `CAPYBARA=chrome`.
|
35
|
+
|
36
|
+
Example:
|
37
|
+
|
38
|
+
```bash
|
39
|
+
$ CAPYBARA=chrome rake
|
40
|
+
```
|
41
|
+
|
42
|
+
### Nanobox chrome
|
43
|
+
|
44
|
+
Add a local only component of standalone chrome to your `boxfile.yml`
|
45
|
+
|
46
|
+
```yml
|
47
|
+
data.chrome:
|
48
|
+
image: selenium/standalone-chrome
|
49
|
+
local_only: true
|
50
|
+
```
|
51
|
+
|
52
|
+
Now you can run the test as usual.
|
53
|
+
|
54
|
+
Example:
|
55
|
+
|
56
|
+
```bash
|
57
|
+
$ nanobox run rake
|
58
|
+
```
|
59
|
+
|
60
|
+
### Available drivers
|
61
|
+
|
62
|
+
Override the driver using the environment variable `CAPYBARA`.
|
63
|
+
|
64
|
+
Example:
|
65
|
+
|
66
|
+
```bash
|
67
|
+
CAPYBARA=[driver name] test-command
|
68
|
+
```
|
69
|
+
|
70
|
+
| Driver name | Description |
|
71
|
+
|:-----------------|:------------|
|
72
|
+
| chrome | Regular chrome driver that will use a visual browser window. |
|
73
|
+
| headless_chrome | Headless chrome driver. The default driver. |
|
74
|
+
| nanobox_chrome | Default driver when inside Nanobox. |
|
75
|
+
## Development
|
76
|
+
|
77
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
78
|
+
|
79
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
80
|
+
|
81
|
+
## Contributing
|
82
|
+
|
83
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/standout-capybara. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
84
|
+
|
85
|
+
## License
|
86
|
+
|
87
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
88
|
+
|
89
|
+
## Code of Conduct
|
90
|
+
|
91
|
+
Everyone interacting in the Standout::Capybara project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/standout-capybara/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "standout/capybara"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
module Standout
|
2
|
+
module Capybara
|
3
|
+
module Drivers
|
4
|
+
class Base
|
5
|
+
def self.use!
|
6
|
+
::Capybara.javascript_driver = driver_name
|
7
|
+
::Capybara.default_driver = driver_name
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.register
|
11
|
+
::Capybara::Screenshot.register_driver(driver_name) do |driver, path|
|
12
|
+
driver.browser.save_screenshot(path)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.driver_name=(value)
|
17
|
+
@driver_name = value
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.driver_name
|
21
|
+
@driver_name
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Standout
|
2
|
+
module Capybara
|
3
|
+
module Drivers
|
4
|
+
class Chrome < Standout::Capybara::Drivers::Base
|
5
|
+
self.driver_name = :chrome
|
6
|
+
|
7
|
+
def self.register
|
8
|
+
::Capybara.register_driver driver_name do |driver|
|
9
|
+
options = Selenium::WebDriver::Chrome::Options.new
|
10
|
+
options.args << "window-size=1920,1024"
|
11
|
+
|
12
|
+
::Capybara::Selenium::Driver.new(driver,
|
13
|
+
browser: :chrome,
|
14
|
+
options: options)
|
15
|
+
end
|
16
|
+
super
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Standout
|
2
|
+
module Capybara
|
3
|
+
module Drivers
|
4
|
+
class HeadlessChrome < Standout::Capybara::Drivers::Base
|
5
|
+
self.driver_name = :headless_chrome
|
6
|
+
|
7
|
+
def self.register
|
8
|
+
::Capybara.register_driver driver_name do |driver|
|
9
|
+
options = Selenium::WebDriver::Chrome::Options.new
|
10
|
+
options.args << "window-size=1920,1024"
|
11
|
+
options.args << "disable-gpu"
|
12
|
+
options.args << "headless"
|
13
|
+
|
14
|
+
::Capybara::Selenium::Driver.new(driver,
|
15
|
+
browser: :chrome,
|
16
|
+
options: options)
|
17
|
+
end
|
18
|
+
super
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Standout
|
2
|
+
module Capybara
|
3
|
+
module Drivers
|
4
|
+
class NanoboxChrome < Standout::Capybara::Drivers::Base
|
5
|
+
self.driver_name = :nanobox_chrome
|
6
|
+
|
7
|
+
def self.use!
|
8
|
+
::Capybara.server_host = ENV["HOSTNAME"] if ENV["HOSTNAME"]&.empty?
|
9
|
+
super
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.register
|
13
|
+
::Capybara.register_driver driver_name do |driver|
|
14
|
+
chrome_host = ENV["CHROME_HOST"] || ENV["DATA_CHROME_HOST"]
|
15
|
+
::Capybara::Selenium::Driver.new(driver,
|
16
|
+
browser: :remote,
|
17
|
+
desired_capabilities: :chrome,
|
18
|
+
url: "http://#{chrome_host}:4444/wd/hub")
|
19
|
+
end
|
20
|
+
super
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require "standout/capybara/version"
|
2
|
+
require "capybara"
|
3
|
+
require "capybara-screenshot"
|
4
|
+
require "selenium-webdriver"
|
5
|
+
require "chromedriver-helper"
|
6
|
+
require "standout/capybara/drivers/base"
|
7
|
+
require "standout/capybara/drivers/chrome"
|
8
|
+
require "standout/capybara/drivers/nanobox_chrome"
|
9
|
+
require "standout/capybara/drivers/headless_chrome"
|
10
|
+
|
11
|
+
module Standout
|
12
|
+
module Capybara
|
13
|
+
def self.setup_driver
|
14
|
+
driver_name = ENV["CAPYBARA"]
|
15
|
+
is_using_nanobox = `whoami`.chomp == "gonano"
|
16
|
+
fallback_driver = is_using_nanobox ? :nanobox_chrome : :headless_chrome
|
17
|
+
driver_name ||= fallback_driver
|
18
|
+
driver_name = driver_name.to_sym
|
19
|
+
|
20
|
+
case driver_name
|
21
|
+
when :chrome
|
22
|
+
Standout::Capybara::Drivers::Chrome.register
|
23
|
+
Standout::Capybara::Drivers::Chrome.use!
|
24
|
+
when :nanobox_chrome
|
25
|
+
Standout::Capybara::Drivers::NanoboxChrome.register
|
26
|
+
Standout::Capybara::Drivers::NanoboxChrome.use!
|
27
|
+
else
|
28
|
+
Standout::Capybara::Drivers::HeadlessChrome.register
|
29
|
+
Standout::Capybara::Drivers::HeadlessChrome.use!
|
30
|
+
end
|
31
|
+
|
32
|
+
if ::Capybara.respond_to? :default_max_wait_time
|
33
|
+
::Capybara.default_max_wait_time = 30
|
34
|
+
else
|
35
|
+
::Capybara.default_wait_time = 30
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
class Error < StandardError; end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "standout/capybara/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "standout-capybara"
|
8
|
+
spec.version = Standout::Capybara::VERSION
|
9
|
+
spec.authors = ["Standout AB"]
|
10
|
+
spec.email = ["standout-capybara-gem@standout.se"]
|
11
|
+
|
12
|
+
spec.summary = %q{Sane defaults for capybara}
|
13
|
+
spec.homepage = "https://github.com/standout/standout-capybara"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_dependency "capybara"
|
26
|
+
spec.add_dependency "capybara-screenshot"
|
27
|
+
spec.add_dependency "selenium-webdriver"
|
28
|
+
spec.add_dependency "chromedriver-helper"
|
29
|
+
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
31
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: standout-capybara
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Standout AB
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-11-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capybara
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: capybara-screenshot
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: selenium-webdriver
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: chromedriver-helper
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- standout-capybara-gem@standout.se
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".travis.yml"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/console
|
114
|
+
- bin/setup
|
115
|
+
- lib/standout/capybara.rb
|
116
|
+
- lib/standout/capybara/drivers/base.rb
|
117
|
+
- lib/standout/capybara/drivers/chrome.rb
|
118
|
+
- lib/standout/capybara/drivers/headless_chrome.rb
|
119
|
+
- lib/standout/capybara/drivers/nanobox_chrome.rb
|
120
|
+
- lib/standout/capybara/setup.rb
|
121
|
+
- lib/standout/capybara/version.rb
|
122
|
+
- standout-capybara.gemspec
|
123
|
+
homepage: https://github.com/standout/standout-capybara
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.7.6
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: Sane defaults for capybara
|
147
|
+
test_files: []
|