cypress-rails 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +21 -21
- data/lib/cypress-rails/server/puma.rb +7 -7
- 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: ae446250c398506746da939b9c0e4f9aa1aaecbb4be9d3e3124eee346e88cc90
|
4
|
+
data.tar.gz: e6ba7ea44d1f639a553fb993bc61199033b3a261629eb9854884959ca0235610
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bddf7956369cc4d8d00f114317adcde1addb335f42cf223f05e1502ce97241c4f40c6b44a033100c3d753c7dd03778298e99ac4522e86a8baee0ca85da0e300
|
7
|
+
data.tar.gz: 043ccdc00e048ad23fc5adf5e3e1e3bb4a4f7ed2c6dddaf9a4a774a4f301dcda33b9b65224893c9c613fa25ddc6d075436af3f221fc3bceffefc26b2def193e5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cypress-rails (0.5.
|
4
|
+
cypress-rails (0.5.5)
|
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 (7.0.
|
12
|
-
actionview (= 7.0.
|
13
|
-
activesupport (= 7.0.
|
11
|
+
actionpack (7.0.4)
|
12
|
+
actionview (= 7.0.4)
|
13
|
+
activesupport (= 7.0.4)
|
14
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 (7.0.
|
19
|
-
activesupport (= 7.0.
|
18
|
+
actionview (7.0.4)
|
19
|
+
activesupport (= 7.0.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 (7.0.
|
24
|
+
activesupport (7.0.4)
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
26
26
|
i18n (>= 1.6, < 2)
|
27
27
|
minitest (>= 5.1)
|
@@ -30,36 +30,36 @@ GEM
|
|
30
30
|
builder (3.2.4)
|
31
31
|
concurrent-ruby (1.1.10)
|
32
32
|
crass (1.0.6)
|
33
|
-
erubi (1.
|
34
|
-
i18n (1.
|
33
|
+
erubi (1.11.0)
|
34
|
+
i18n (1.12.0)
|
35
35
|
concurrent-ruby (~> 1.0)
|
36
|
-
loofah (2.
|
36
|
+
loofah (2.19.0)
|
37
37
|
crass (~> 1.0.2)
|
38
38
|
nokogiri (>= 1.5.9)
|
39
39
|
method_source (1.0.0)
|
40
40
|
mini_portile2 (2.8.0)
|
41
41
|
minitest (5.15.0)
|
42
42
|
nio4r (2.5.8)
|
43
|
-
nokogiri (1.13.
|
43
|
+
nokogiri (1.13.8)
|
44
44
|
mini_portile2 (~> 2.8.0)
|
45
45
|
racc (~> 1.4)
|
46
46
|
parallel (1.22.1)
|
47
47
|
parser (3.1.2.0)
|
48
48
|
ast (~> 2.4.1)
|
49
|
-
puma (
|
49
|
+
puma (6.0.0)
|
50
50
|
nio4r (~> 2.0)
|
51
51
|
racc (1.6.0)
|
52
|
-
rack (2.2.
|
53
|
-
rack-test (
|
54
|
-
rack (>= 1.
|
52
|
+
rack (2.2.4)
|
53
|
+
rack-test (2.0.2)
|
54
|
+
rack (>= 1.3)
|
55
55
|
rails-dom-testing (2.0.3)
|
56
56
|
activesupport (>= 4.2.0)
|
57
57
|
nokogiri (>= 1.6)
|
58
|
-
rails-html-sanitizer (1.4.
|
58
|
+
rails-html-sanitizer (1.4.3)
|
59
59
|
loofah (~> 2.3)
|
60
|
-
railties (7.0.
|
61
|
-
actionpack (= 7.0.
|
62
|
-
activesupport (= 7.0.
|
60
|
+
railties (7.0.4)
|
61
|
+
actionpack (= 7.0.4)
|
62
|
+
activesupport (= 7.0.4)
|
63
63
|
method_source
|
64
64
|
rake (>= 12.2)
|
65
65
|
thor (~> 1.0)
|
@@ -87,10 +87,10 @@ GEM
|
|
87
87
|
rubocop (= 1.29.1)
|
88
88
|
rubocop-performance (= 1.13.3)
|
89
89
|
thor (1.2.1)
|
90
|
-
tzinfo (2.0.
|
90
|
+
tzinfo (2.0.5)
|
91
91
|
concurrent-ruby (~> 1.0)
|
92
92
|
unicode-display_width (2.1.0)
|
93
|
-
zeitwerk (2.
|
93
|
+
zeitwerk (2.6.1)
|
94
94
|
|
95
95
|
PLATFORMS
|
96
96
|
ruby
|
@@ -12,18 +12,18 @@ module CypressRails
|
|
12
12
|
|
13
13
|
conf = Rack::Handler::Puma.config(app, options)
|
14
14
|
conf.clamp
|
15
|
-
|
15
|
+
logger = (defined?(::Puma::LogWriter) ? ::Puma::LogWriter : ::Puma::Events).stdio
|
16
16
|
|
17
17
|
puma_ver = Gem::Version.new(::Puma::Const::PUMA_VERSION)
|
18
18
|
require_relative "patches/puma_ssl" if (Gem::Version.new("4.0.0")...Gem::Version.new("4.1.0")).cover? puma_ver
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
logger.log "Starting Puma..."
|
21
|
+
logger.log "* Version #{::Puma::Const::PUMA_VERSION} , codename: #{::Puma::Const::CODE_NAME}"
|
22
|
+
logger.log "* Min threads: #{conf.options[:min_threads]}, max threads: #{conf.options[:max_threads]}"
|
23
23
|
|
24
|
-
::Puma::Server.new(conf.app,
|
25
|
-
s.binder.parse conf.options[:binds], s.events
|
26
|
-
s.min_threads, s.max_threads = conf.options[:min_threads], conf.options[:max_threads]
|
24
|
+
::Puma::Server.new(conf.app, defined?(::Puma::LogWriter) ? nil : logger, conf.options).tap do |s|
|
25
|
+
s.binder.parse conf.options[:binds], s.respond_to?(:log_writer) ? s.log_writer : s.events
|
26
|
+
s.min_threads, s.max_threads = conf.options[:min_threads], conf.options[:max_threads] if s.respond_to?(:min_threads=)
|
27
27
|
end.run.join
|
28
28
|
end
|
29
29
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-17 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.3.
|
161
|
+
rubygems_version: 3.3.20
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Helps you write Cypress tests of your Rails app
|