cypress-rails 0.5.1 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.standard.yml +1 -0
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +43 -43
- data/README.md +0 -2
- data/lib/cypress-rails/manages_transactions.rb +2 -1
- data/lib/cypress-rails/server/puma.rb +1 -0
- data/lib/cypress-rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0088a9590b5bc5e26f46712eab77a85be92e01cea16722a0945463261a2e517b'
|
4
|
+
data.tar.gz: eb19c0b7022aaea43ead4557247f47b11a8e3d1e90c6f0ce518dd0dadfe811da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be4b582a6f013139ca8599ba08a2ee2b4c6c8f17c8a05d6fa62276bb4f52730959495e3004f635612cb3ac5c2a93d1f30a7a0ce2b09cd9659793aeaef03e22ea
|
7
|
+
data.tar.gz: eadd7f6340cd5f8596cf9abfadf8a758f26893af6c01501100ac361bf067b842d4afdd8b617fef18e83b73643b5aa6d22c5ba47711985a66af601fd34dd39893
|
data/.standard.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.5.4
|
4
|
+
|
5
|
+
* Fix Rails 5 support
|
6
|
+
[#126](https://github.com/testdouble/cypress-rails/pull/126)
|
7
|
+
|
8
|
+
## 0.5.3
|
9
|
+
|
10
|
+
* Fix 2.5 & 2.6 compatibility
|
11
|
+
[#100](https://github.com/testdouble/cypress-rails/issues/100)
|
12
|
+
|
13
|
+
## 0.5.2
|
14
|
+
|
15
|
+
* Fixes a puma deprecation warning
|
16
|
+
[#95](https://github.com/testdouble/cypress-rails/pull/95)
|
17
|
+
|
3
18
|
## 0.5.1
|
4
19
|
|
5
20
|
* Sprinkles two instance variables to the custom transaction manager that cribs
|
data/Gemfile.lock
CHANGED
@@ -1,96 +1,96 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cypress-rails (0.5.
|
4
|
+
cypress-rails (0.5.4)
|
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 (
|
12
|
-
actionview (=
|
13
|
-
activesupport (=
|
14
|
-
rack (~> 2.0, >= 2.0
|
11
|
+
actionpack (7.0.3)
|
12
|
+
actionview (= 7.0.3)
|
13
|
+
activesupport (= 7.0.3)
|
14
|
+
rack (~> 2.0, >= 2.2.0)
|
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 (
|
19
|
-
activesupport (=
|
18
|
+
actionview (7.0.3)
|
19
|
+
activesupport (= 7.0.3)
|
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 (
|
24
|
+
activesupport (7.0.3)
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
26
26
|
i18n (>= 1.6, < 2)
|
27
27
|
minitest (>= 5.1)
|
28
28
|
tzinfo (~> 2.0)
|
29
|
-
zeitwerk (~> 2.3)
|
30
29
|
ast (2.4.2)
|
31
30
|
builder (3.2.4)
|
32
|
-
concurrent-ruby (1.1.
|
31
|
+
concurrent-ruby (1.1.10)
|
33
32
|
crass (1.0.6)
|
34
33
|
erubi (1.10.0)
|
35
|
-
i18n (1.
|
34
|
+
i18n (1.10.0)
|
36
35
|
concurrent-ruby (~> 1.0)
|
37
|
-
loofah (2.
|
36
|
+
loofah (2.18.0)
|
38
37
|
crass (~> 1.0.2)
|
39
38
|
nokogiri (>= 1.5.9)
|
40
39
|
method_source (1.0.0)
|
41
|
-
mini_portile2 (2.
|
42
|
-
minitest (5.
|
43
|
-
nio4r (2.5.
|
44
|
-
nokogiri (1.
|
45
|
-
mini_portile2 (~> 2.
|
40
|
+
mini_portile2 (2.8.0)
|
41
|
+
minitest (5.15.0)
|
42
|
+
nio4r (2.5.8)
|
43
|
+
nokogiri (1.13.6)
|
44
|
+
mini_portile2 (~> 2.8.0)
|
46
45
|
racc (~> 1.4)
|
47
|
-
parallel (1.
|
48
|
-
parser (3.
|
46
|
+
parallel (1.22.1)
|
47
|
+
parser (3.1.2.0)
|
49
48
|
ast (~> 2.4.1)
|
50
|
-
puma (5.
|
49
|
+
puma (5.6.4)
|
51
50
|
nio4r (~> 2.0)
|
52
|
-
racc (1.
|
51
|
+
racc (1.6.0)
|
53
52
|
rack (2.2.3)
|
54
53
|
rack-test (1.1.0)
|
55
54
|
rack (>= 1.0, < 3)
|
56
55
|
rails-dom-testing (2.0.3)
|
57
56
|
activesupport (>= 4.2.0)
|
58
57
|
nokogiri (>= 1.6)
|
59
|
-
rails-html-sanitizer (1.
|
58
|
+
rails-html-sanitizer (1.4.2)
|
60
59
|
loofah (~> 2.3)
|
61
|
-
railties (
|
62
|
-
actionpack (=
|
63
|
-
activesupport (=
|
60
|
+
railties (7.0.3)
|
61
|
+
actionpack (= 7.0.3)
|
62
|
+
activesupport (= 7.0.3)
|
64
63
|
method_source
|
65
|
-
rake (>=
|
64
|
+
rake (>= 12.2)
|
66
65
|
thor (~> 1.0)
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
zeitwerk (~> 2.5)
|
67
|
+
rainbow (3.1.1)
|
68
|
+
rake (13.0.6)
|
69
|
+
regexp_parser (2.4.0)
|
70
70
|
rexml (3.2.5)
|
71
|
-
rubocop (1.
|
71
|
+
rubocop (1.29.1)
|
72
72
|
parallel (~> 1.10)
|
73
|
-
parser (>= 3.
|
73
|
+
parser (>= 3.1.0.0)
|
74
74
|
rainbow (>= 2.2.2, < 4.0)
|
75
75
|
regexp_parser (>= 1.8, < 3.0)
|
76
|
-
rexml
|
77
|
-
rubocop-ast (>= 1.
|
76
|
+
rexml (>= 3.2.5, < 4.0)
|
77
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
78
78
|
ruby-progressbar (~> 1.7)
|
79
79
|
unicode-display_width (>= 1.4.0, < 3.0)
|
80
|
-
rubocop-ast (1.
|
81
|
-
parser (>= 3.
|
82
|
-
rubocop-performance (1.
|
80
|
+
rubocop-ast (1.18.0)
|
81
|
+
parser (>= 3.1.1.0)
|
82
|
+
rubocop-performance (1.13.3)
|
83
83
|
rubocop (>= 1.7.0, < 2.0)
|
84
84
|
rubocop-ast (>= 0.4.0)
|
85
85
|
ruby-progressbar (1.11.0)
|
86
|
-
standard (1.1
|
87
|
-
rubocop (= 1.
|
88
|
-
rubocop-performance (= 1.
|
89
|
-
thor (1.1
|
86
|
+
standard (1.12.1)
|
87
|
+
rubocop (= 1.29.1)
|
88
|
+
rubocop-performance (= 1.13.3)
|
89
|
+
thor (1.2.1)
|
90
90
|
tzinfo (2.0.4)
|
91
91
|
concurrent-ruby (~> 1.0)
|
92
|
-
unicode-display_width (2.
|
93
|
-
zeitwerk (2.4
|
92
|
+
unicode-display_width (2.1.0)
|
93
|
+
zeitwerk (2.5.4)
|
94
94
|
|
95
95
|
PLATFORMS
|
96
96
|
ruby
|
@@ -103,4 +103,4 @@ DEPENDENCIES
|
|
103
103
|
standard (>= 0.2.0)
|
104
104
|
|
105
105
|
BUNDLED WITH
|
106
|
-
2.
|
106
|
+
2.3.13
|
data/README.md
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# cypress-rails
|
2
2
|
|
3
|
-
[![CircleCI](https://circleci.com/gh/testdouble/cypress-rails/tree/main.svg?style=svg)](https://circleci.com/gh/testdouble/cypress-rails/tree/main)
|
4
|
-
|
5
3
|
This is a simple gem to make it easier to start writing browser tests with
|
6
4
|
[Cypress](http://cypress.io) for your [Rails](https://rubyonrails.org) apps,
|
7
5
|
regardless of whether your app is server-side rendered HTML, completely
|
@@ -68,10 +68,11 @@ module CypressRails
|
|
68
68
|
# need to share a connection pool so that the reading connection
|
69
69
|
# can see data in the open transaction on the writing connection.
|
70
70
|
def setup_shared_connection_pool
|
71
|
+
return unless ActiveRecord::TestFixtures.respond_to?(:setup_shared_connection_pool)
|
71
72
|
@legacy_saved_pool_configs ||= Hash.new { |hash, key| hash[key] = {} }
|
72
73
|
@saved_pool_configs ||= Hash.new { |hash, key| hash[key] = {} }
|
73
74
|
|
74
|
-
ActiveRecord::TestFixtures.instance_method(:setup_shared_connection_pool).
|
75
|
+
ActiveRecord::TestFixtures.instance_method(:setup_shared_connection_pool).bind(self).call
|
75
76
|
end
|
76
77
|
end
|
77
78
|
end
|
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.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
161
|
+
rubygems_version: 3.3.6
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Helps you write Cypress tests of your Rails app
|