cypress_rails 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +4 -0
- data/lib/cypress_rails/runner.rb +3 -1
- data/lib/cypress_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c212de353dc00cfe2301b732d84de95c2e0df047
|
4
|
+
data.tar.gz: 5c7721559a16191db9d1c7eae4667ea732af2617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13c4cb8cf964ece2ce08f7dac3225d407bbbf0f42bf13aff3fa9bbfe58f3d6afca10ca11fdb700512ed57377d21d2e94fb7b52fca2a4ba8dedbd46e0377e9ba7
|
7
|
+
data.tar.gz: c70752e25f1a41dc43b51fc27fecaf661d6fced473709a97f192519d8ec174cb53989ddf7129738af1b0a6bf2f5eecc82dc66a04c122ef154e18fdb9d593be33
|
data/ChangeLog.md
CHANGED
data/lib/cypress_rails/runner.rb
CHANGED
@@ -11,13 +11,15 @@ module CypressRails
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def run
|
14
|
+
command = [bin_path, "run", "-P #{tests_path}"]
|
15
|
+
command << "--record" if ENV.fetch("CYPRESS_RECORD_KEY", false)
|
14
16
|
pid = Process.spawn(
|
15
17
|
{
|
16
18
|
"CYPRESS_app_host" => host,
|
17
19
|
"CYPRESS_app_port" => port.to_s,
|
18
20
|
"CYPRESS_baseUrl" => "http://#{host}:#{port}"
|
19
21
|
},
|
20
|
-
|
22
|
+
command.join(" "),
|
21
23
|
out: output,
|
22
24
|
err: [:child, :out]
|
23
25
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cypress_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Szymon Szeliga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|