capybara-experience 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/lib/capybara-experience.rb +1 -0
- data/lib/capybara/experience.rb +2 -3
- data/lib/capybara/experience/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '01845d3b647bd5c05da6b2cf5dea1cd5683efc0e64c36d8cc92099a7dd2ac266'
|
4
|
+
data.tar.gz: ea5f0e3925085dc98fdfe8bc92ca2a8880b6d630406b50d6bd724b102762f654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e3a38fcfcfa9400c33e14ec4d8717bdc72192f819282e1ec998ee15ced37bd3177a24f5a555a2bea33eb451dc4656fda63ea5837f0bebb250ac642c146ca864
|
7
|
+
data.tar.gz: 472bdb5fedb119defde0e5c1337ce5cf6e30ee1e0cc5573244fbbeb4cde75dee9bcc586f42bf09b5b3e5b9fe9eca711762d20f0a29f492cd63fe943b54c8a24d
|
@@ -0,0 +1 @@
|
|
1
|
+
require "capybara/experience"
|
data/lib/capybara/experience.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
require "capybara/experience/version"
|
3
2
|
require "capybara/experience/session"
|
4
3
|
|
5
4
|
module Capybara
|
@@ -25,11 +24,11 @@ module Capybara
|
|
25
24
|
delegate :driver, to: :page
|
26
25
|
|
27
26
|
def page
|
28
|
-
@page ||=
|
27
|
+
@page ||= Experience::Session.next(driver: driver_name)
|
29
28
|
end
|
30
29
|
|
31
30
|
def self.wait_for_pending_requests
|
32
|
-
|
31
|
+
Experience::Session.pool.taken.each do |session|
|
33
32
|
session.server.try(:wait_for_pending_requests)
|
34
33
|
end
|
35
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-experience
|
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
|
- Ryan Ong
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- bin/console
|
72
72
|
- bin/setup
|
73
73
|
- capybara-experience.gemspec
|
74
|
+
- lib/capybara-experience.rb
|
74
75
|
- lib/capybara/experience.rb
|
75
76
|
- lib/capybara/experience/rspec.rb
|
76
77
|
- lib/capybara/experience/session.rb
|