cypress-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -3
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +34 -28
- data/lib/cypress-rails/config.rb +9 -2
- data/lib/cypress-rails/version.rb +1 -1
- metadata +2 -4
- data/node_modules/.yarn-integrity +0 -10
- data/yarn.lock +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a14e87a5a70d81fe84303607d0927c51766fb088af7ec1939ba73e57319ecc8e
|
4
|
+
data.tar.gz: 4afd968f15e3074ce55d7d24cedaa0362b9542d4661f061debc76fbd8ffa212e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fe07821acc26a46e1480caf536d03d69f77e400e53fe28672930ec16ae62e55ddda54d1f296f57f5e1535c75c06c74a6221a3ca87f5cbb239236f3e3b0850dc
|
7
|
+
data.tar.gz: f3a026adf4ec214285eaf2fb004b9984d0bc2f1842495a7a6c6809e6363826ee951de8116380309e105ed887f541412aabe5a9c7980c4f2ce36e555ebcd567ee
|
data/.circleci/config.yml
CHANGED
@@ -34,9 +34,9 @@ jobs:
|
|
34
34
|
# Yarn dependencies
|
35
35
|
- restore_cache:
|
36
36
|
keys:
|
37
|
-
-
|
37
|
+
- v4-yarn-{{ checksum "example/an_app/yarn.lock" }}
|
38
38
|
# fallback to using the latest cache if no exact match is found
|
39
|
-
-
|
39
|
+
- v4-yarn-
|
40
40
|
|
41
41
|
- run: |
|
42
42
|
cd example/an_app
|
@@ -46,7 +46,7 @@ jobs:
|
|
46
46
|
paths:
|
47
47
|
- example/an_app/node_modules
|
48
48
|
- ~/.cache
|
49
|
-
key:
|
49
|
+
key: v4-yarn-{{ checksum "example/an_app/yarn.lock" }}
|
50
50
|
|
51
51
|
- run: bundle exec rake
|
52
52
|
- run: ./script/test_example_app
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,53 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cypress-rails (0.4.
|
4
|
+
cypress-rails (0.4.1)
|
5
5
|
puma (>= 3.8.0)
|
6
6
|
railties (>= 5.2.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (6.0.3.
|
12
|
-
actionview (= 6.0.3.
|
13
|
-
activesupport (= 6.0.3.
|
11
|
+
actionpack (6.0.3.4)
|
12
|
+
actionview (= 6.0.3.4)
|
13
|
+
activesupport (= 6.0.3.4)
|
14
14
|
rack (~> 2.0, >= 2.0.8)
|
15
15
|
rack-test (>= 0.6.3)
|
16
16
|
rails-dom-testing (~> 2.0)
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
18
|
-
actionview (6.0.3.
|
19
|
-
activesupport (= 6.0.3.
|
18
|
+
actionview (6.0.3.4)
|
19
|
+
activesupport (= 6.0.3.4)
|
20
20
|
builder (~> 3.1)
|
21
21
|
erubi (~> 1.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
23
23
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
24
|
-
activesupport (6.0.3.
|
24
|
+
activesupport (6.0.3.4)
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
26
26
|
i18n (>= 0.7, < 2)
|
27
27
|
minitest (~> 5.1)
|
28
28
|
tzinfo (~> 1.1)
|
29
29
|
zeitwerk (~> 2.2, >= 2.2.2)
|
30
|
-
ast (2.4.
|
30
|
+
ast (2.4.1)
|
31
31
|
builder (3.2.4)
|
32
|
-
concurrent-ruby (1.1.
|
32
|
+
concurrent-ruby (1.1.7)
|
33
33
|
crass (1.0.6)
|
34
34
|
erubi (1.9.0)
|
35
35
|
i18n (1.8.5)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
|
-
|
38
|
-
loofah (2.6.0)
|
37
|
+
loofah (2.7.0)
|
39
38
|
crass (~> 1.0.2)
|
40
39
|
nokogiri (>= 1.5.9)
|
41
40
|
method_source (1.0.0)
|
42
41
|
mini_portile2 (2.4.0)
|
43
|
-
minitest (5.14.
|
44
|
-
nio4r (2.5.
|
42
|
+
minitest (5.14.2)
|
43
|
+
nio4r (2.5.4)
|
45
44
|
nokogiri (1.10.10)
|
46
45
|
mini_portile2 (~> 2.4.0)
|
47
|
-
parallel (1.19.
|
48
|
-
parser (2.7.1.
|
49
|
-
ast (~> 2.4.
|
50
|
-
puma (
|
46
|
+
parallel (1.19.2)
|
47
|
+
parser (2.7.1.5)
|
48
|
+
ast (~> 2.4.1)
|
49
|
+
puma (5.0.2)
|
51
50
|
nio4r (~> 2.0)
|
52
51
|
rack (2.2.3)
|
53
52
|
rack-test (1.1.0)
|
@@ -57,29 +56,36 @@ GEM
|
|
57
56
|
nokogiri (>= 1.6)
|
58
57
|
rails-html-sanitizer (1.3.0)
|
59
58
|
loofah (~> 2.3)
|
60
|
-
railties (6.0.3.
|
61
|
-
actionpack (= 6.0.3.
|
62
|
-
activesupport (= 6.0.3.
|
59
|
+
railties (6.0.3.4)
|
60
|
+
actionpack (= 6.0.3.4)
|
61
|
+
activesupport (= 6.0.3.4)
|
63
62
|
method_source
|
64
63
|
rake (>= 0.8.7)
|
65
64
|
thor (>= 0.20.3, < 2.0)
|
66
65
|
rainbow (3.0.0)
|
67
66
|
rake (13.0.1)
|
67
|
+
regexp_parser (1.8.1)
|
68
68
|
rexml (3.2.4)
|
69
|
-
rubocop (0.
|
70
|
-
jaro_winkler (~> 1.5.1)
|
69
|
+
rubocop (0.92.0)
|
71
70
|
parallel (~> 1.10)
|
72
|
-
parser (>= 2.7.
|
71
|
+
parser (>= 2.7.1.5)
|
73
72
|
rainbow (>= 2.2.2, < 4.0)
|
73
|
+
regexp_parser (>= 1.7)
|
74
74
|
rexml
|
75
|
+
rubocop-ast (>= 0.5.0)
|
75
76
|
ruby-progressbar (~> 1.7)
|
76
77
|
unicode-display_width (>= 1.4.0, < 2.0)
|
77
|
-
rubocop-
|
78
|
-
|
78
|
+
rubocop-ast (0.7.0)
|
79
|
+
parser (>= 2.7.1.5)
|
80
|
+
strscan (>= 1.0.0)
|
81
|
+
rubocop-performance (1.8.1)
|
82
|
+
rubocop (>= 0.87.0)
|
83
|
+
rubocop-ast (>= 0.4.0)
|
79
84
|
ruby-progressbar (1.10.1)
|
80
|
-
standard (0.
|
81
|
-
rubocop (
|
82
|
-
rubocop-performance (
|
85
|
+
standard (0.7)
|
86
|
+
rubocop (= 0.92)
|
87
|
+
rubocop-performance (= 1.8.1)
|
88
|
+
strscan (1.0.3)
|
83
89
|
thor (1.0.1)
|
84
90
|
thread_safe (0.3.6)
|
85
91
|
tzinfo (1.2.7)
|
data/lib/cypress-rails/config.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
require_relative "env"
|
2
2
|
|
3
3
|
module CypressRails
|
4
|
-
class Config
|
4
|
+
class Config
|
5
|
+
attr_accessor :dir, :host, :port, :base_path, :transactional_server, :cypress_cli_opts
|
6
|
+
|
5
7
|
def initialize(
|
6
8
|
dir: Env.fetch("CYPRESS_RAILS_DIR", default: Dir.pwd),
|
7
9
|
host: Env.fetch("CYPRESS_RAILS_HOST", default: "127.0.0.1"),
|
@@ -10,7 +12,12 @@ module CypressRails
|
|
10
12
|
transactional_server: Env.fetch("CYPRESS_RAILS_TRANSACTIONAL_SERVER", type: :boolean, default: true),
|
11
13
|
cypress_cli_opts: Env.fetch("CYPRESS_RAILS_CYPRESS_OPTS", default: "")
|
12
14
|
)
|
13
|
-
|
15
|
+
@dir = dir
|
16
|
+
@host = host
|
17
|
+
@port = port
|
18
|
+
@base_path = base_path
|
19
|
+
@transactional_server = transactional_server
|
20
|
+
@cypress_cli_opts = cypress_cli_opts
|
14
21
|
end
|
15
22
|
|
16
23
|
def to_s
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -137,9 +137,7 @@ files:
|
|
137
137
|
- lib/cypress-rails/starts_rails_server.rb
|
138
138
|
- lib/cypress-rails/tracks_resets.rb
|
139
139
|
- lib/cypress-rails/version.rb
|
140
|
-
- node_modules/.yarn-integrity
|
141
140
|
- script/test_example_app
|
142
|
-
- yarn.lock
|
143
141
|
homepage: https://github.com/testdouble/cypress-rails
|
144
142
|
licenses:
|
145
143
|
- MIT
|
data/yarn.lock
DELETED