zapp 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -1
- data/Gemfile.lock +1 -1
- data/examples/config/app.rb +5 -0
- data/examples/config/puma.rb +10 -0
- data/examples/config/zapp.rb +13 -0
- data/lib/zapp/configuration.rb +9 -1
- data/lib/zapp/http_context/request.rb +2 -2
- data/lib/zapp/logger/base.rb +103 -0
- data/lib/zapp/logger.rb +20 -57
- data/lib/zapp/server.rb +6 -4
- data/lib/zapp/socket_pipe/receiver.rb +0 -8
- data/lib/zapp/version.rb +1 -1
- data/lib/zapp/worker/request_processor.rb +27 -32
- data/lib/zapp/worker.rb +5 -6
- data/lib/zapp/worker_pool.rb +6 -5
- data/lib/zapp.rb +5 -2
- metadata +6 -96
- data/examples/rails-app/.browserslistrc +0 -1
- data/examples/rails-app/.gitattributes +0 -10
- data/examples/rails-app/.gitignore +0 -40
- data/examples/rails-app/.ruby-version +0 -1
- data/examples/rails-app/Gemfile +0 -58
- data/examples/rails-app/Gemfile.lock +0 -255
- data/examples/rails-app/Rakefile +0 -8
- data/examples/rails-app/app/assets/config/manifest.js +0 -2
- data/examples/rails-app/app/assets/images/.keep +0 -0
- data/examples/rails-app/app/assets/stylesheets/application.css +0 -15
- data/examples/rails-app/app/channels/application_cable/channel.rb +0 -6
- data/examples/rails-app/app/channels/application_cable/connection.rb +0 -6
- data/examples/rails-app/app/controllers/application_controller.rb +0 -4
- data/examples/rails-app/app/controllers/concerns/.keep +0 -0
- data/examples/rails-app/app/helpers/application_helper.rb +0 -4
- data/examples/rails-app/app/javascript/channels/consumer.js +0 -6
- data/examples/rails-app/app/javascript/channels/index.js +0 -5
- data/examples/rails-app/app/javascript/packs/application.js +0 -13
- data/examples/rails-app/app/jobs/application_job.rb +0 -9
- data/examples/rails-app/app/mailers/application_mailer.rb +0 -6
- data/examples/rails-app/app/models/application_record.rb +0 -5
- data/examples/rails-app/app/models/concerns/.keep +0 -0
- data/examples/rails-app/app/views/layouts/application.html.erb +0 -16
- data/examples/rails-app/app/views/layouts/mailer.html.erb +0 -13
- data/examples/rails-app/app/views/layouts/mailer.text.erb +0 -1
- data/examples/rails-app/babel.config.js +0 -82
- data/examples/rails-app/bin/bundle +0 -118
- data/examples/rails-app/bin/rails +0 -7
- data/examples/rails-app/bin/rake +0 -7
- data/examples/rails-app/bin/setup +0 -38
- data/examples/rails-app/bin/spring +0 -16
- data/examples/rails-app/bin/webpack +0 -21
- data/examples/rails-app/bin/webpack-dev-server +0 -21
- data/examples/rails-app/bin/yarn +0 -19
- data/examples/rails-app/bin/zapp +0 -1
- data/examples/rails-app/config/application.rb +0 -24
- data/examples/rails-app/config/boot.rb +0 -6
- data/examples/rails-app/config/cable.yml +0 -10
- data/examples/rails-app/config/credentials.yml.enc +0 -1
- data/examples/rails-app/config/database.yml +0 -25
- data/examples/rails-app/config/environment.rb +0 -7
- data/examples/rails-app/config/environments/development.rb +0 -78
- data/examples/rails-app/config/environments/production.rb +0 -122
- data/examples/rails-app/config/environments/test.rb +0 -62
- data/examples/rails-app/config/initializers/application_controller_renderer.rb +0 -9
- data/examples/rails-app/config/initializers/assets.rb +0 -16
- data/examples/rails-app/config/initializers/backtrace_silencers.rb +0 -10
- data/examples/rails-app/config/initializers/content_security_policy.rb +0 -31
- data/examples/rails-app/config/initializers/cookies_serializer.rb +0 -7
- data/examples/rails-app/config/initializers/filter_parameter_logging.rb +0 -8
- data/examples/rails-app/config/initializers/inflections.rb +0 -17
- data/examples/rails-app/config/initializers/mime_types.rb +0 -5
- data/examples/rails-app/config/initializers/permissions_policy.rb +0 -12
- data/examples/rails-app/config/initializers/wrap_parameters.rb +0 -16
- data/examples/rails-app/config/locales/en.yml +0 -33
- data/examples/rails-app/config/puma.rb +0 -45
- data/examples/rails-app/config/routes.rb +0 -5
- data/examples/rails-app/config/spring.rb +0 -8
- data/examples/rails-app/config/storage.yml +0 -34
- data/examples/rails-app/config/webpack/development.js +0 -5
- data/examples/rails-app/config/webpack/environment.js +0 -3
- data/examples/rails-app/config/webpack/production.js +0 -5
- data/examples/rails-app/config/webpack/test.js +0 -5
- data/examples/rails-app/config/webpacker.yml +0 -92
- data/examples/rails-app/config/zapp.rb +0 -10
- data/examples/rails-app/config.ru +0 -7
- data/examples/rails-app/db/seeds.rb +0 -8
- data/examples/rails-app/lib/assets/.keep +0 -0
- data/examples/rails-app/lib/tasks/.keep +0 -0
- data/examples/rails-app/log/.keep +0 -0
- data/examples/rails-app/package.json +0 -17
- data/examples/rails-app/postcss.config.js +0 -12
- data/examples/rails-app/public/404.html +0 -67
- data/examples/rails-app/public/422.html +0 -67
- data/examples/rails-app/public/500.html +0 -66
- data/examples/rails-app/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails-app/public/apple-touch-icon.png +0 -0
- data/examples/rails-app/public/favicon.ico +0 -0
- data/examples/rails-app/public/robots.txt +0 -1
- data/examples/rails-app/storage/.keep +0 -0
- data/examples/rails-app/test/application_system_test_case.rb +0 -7
- data/examples/rails-app/test/channels/application_cable/connection_test.rb +0 -15
- data/examples/rails-app/test/controllers/.keep +0 -0
- data/examples/rails-app/test/fixtures/files/.keep +0 -0
- data/examples/rails-app/test/helpers/.keep +0 -0
- data/examples/rails-app/test/integration/.keep +0 -0
- data/examples/rails-app/test/mailers/.keep +0 -0
- data/examples/rails-app/test/models/.keep +0 -0
- data/examples/rails-app/test/system/.keep +0 -0
- data/examples/rails-app/test/test_helper.rb +0 -17
- data/examples/rails-app/tmp/.keep +0 -0
- data/examples/rails-app/tmp/pids/.keep +0 -0
- data/examples/rails-app/vendor/.keep +0 -0
- data/examples/rails-app/yarn.lock +0 -6973
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias H Steffensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -113,100 +113,9 @@ files:
|
|
113
113
|
- README.md
|
114
114
|
- Rakefile
|
115
115
|
- bin/zapp
|
116
|
-
- examples/
|
117
|
-
- examples/
|
118
|
-
- examples/
|
119
|
-
- examples/rails-app/.ruby-version
|
120
|
-
- examples/rails-app/Gemfile
|
121
|
-
- examples/rails-app/Gemfile.lock
|
122
|
-
- examples/rails-app/Rakefile
|
123
|
-
- examples/rails-app/app/assets/config/manifest.js
|
124
|
-
- examples/rails-app/app/assets/images/.keep
|
125
|
-
- examples/rails-app/app/assets/stylesheets/application.css
|
126
|
-
- examples/rails-app/app/channels/application_cable/channel.rb
|
127
|
-
- examples/rails-app/app/channels/application_cable/connection.rb
|
128
|
-
- examples/rails-app/app/controllers/application_controller.rb
|
129
|
-
- examples/rails-app/app/controllers/concerns/.keep
|
130
|
-
- examples/rails-app/app/helpers/application_helper.rb
|
131
|
-
- examples/rails-app/app/javascript/channels/consumer.js
|
132
|
-
- examples/rails-app/app/javascript/channels/index.js
|
133
|
-
- examples/rails-app/app/javascript/packs/application.js
|
134
|
-
- examples/rails-app/app/jobs/application_job.rb
|
135
|
-
- examples/rails-app/app/mailers/application_mailer.rb
|
136
|
-
- examples/rails-app/app/models/application_record.rb
|
137
|
-
- examples/rails-app/app/models/concerns/.keep
|
138
|
-
- examples/rails-app/app/views/layouts/application.html.erb
|
139
|
-
- examples/rails-app/app/views/layouts/mailer.html.erb
|
140
|
-
- examples/rails-app/app/views/layouts/mailer.text.erb
|
141
|
-
- examples/rails-app/babel.config.js
|
142
|
-
- examples/rails-app/bin/bundle
|
143
|
-
- examples/rails-app/bin/rails
|
144
|
-
- examples/rails-app/bin/rake
|
145
|
-
- examples/rails-app/bin/setup
|
146
|
-
- examples/rails-app/bin/spring
|
147
|
-
- examples/rails-app/bin/webpack
|
148
|
-
- examples/rails-app/bin/webpack-dev-server
|
149
|
-
- examples/rails-app/bin/yarn
|
150
|
-
- examples/rails-app/bin/zapp
|
151
|
-
- examples/rails-app/config.ru
|
152
|
-
- examples/rails-app/config/application.rb
|
153
|
-
- examples/rails-app/config/boot.rb
|
154
|
-
- examples/rails-app/config/cable.yml
|
155
|
-
- examples/rails-app/config/credentials.yml.enc
|
156
|
-
- examples/rails-app/config/database.yml
|
157
|
-
- examples/rails-app/config/environment.rb
|
158
|
-
- examples/rails-app/config/environments/development.rb
|
159
|
-
- examples/rails-app/config/environments/production.rb
|
160
|
-
- examples/rails-app/config/environments/test.rb
|
161
|
-
- examples/rails-app/config/initializers/application_controller_renderer.rb
|
162
|
-
- examples/rails-app/config/initializers/assets.rb
|
163
|
-
- examples/rails-app/config/initializers/backtrace_silencers.rb
|
164
|
-
- examples/rails-app/config/initializers/content_security_policy.rb
|
165
|
-
- examples/rails-app/config/initializers/cookies_serializer.rb
|
166
|
-
- examples/rails-app/config/initializers/filter_parameter_logging.rb
|
167
|
-
- examples/rails-app/config/initializers/inflections.rb
|
168
|
-
- examples/rails-app/config/initializers/mime_types.rb
|
169
|
-
- examples/rails-app/config/initializers/permissions_policy.rb
|
170
|
-
- examples/rails-app/config/initializers/wrap_parameters.rb
|
171
|
-
- examples/rails-app/config/locales/en.yml
|
172
|
-
- examples/rails-app/config/puma.rb
|
173
|
-
- examples/rails-app/config/routes.rb
|
174
|
-
- examples/rails-app/config/spring.rb
|
175
|
-
- examples/rails-app/config/storage.yml
|
176
|
-
- examples/rails-app/config/webpack/development.js
|
177
|
-
- examples/rails-app/config/webpack/environment.js
|
178
|
-
- examples/rails-app/config/webpack/production.js
|
179
|
-
- examples/rails-app/config/webpack/test.js
|
180
|
-
- examples/rails-app/config/webpacker.yml
|
181
|
-
- examples/rails-app/config/zapp.rb
|
182
|
-
- examples/rails-app/db/seeds.rb
|
183
|
-
- examples/rails-app/lib/assets/.keep
|
184
|
-
- examples/rails-app/lib/tasks/.keep
|
185
|
-
- examples/rails-app/log/.keep
|
186
|
-
- examples/rails-app/package.json
|
187
|
-
- examples/rails-app/postcss.config.js
|
188
|
-
- examples/rails-app/public/404.html
|
189
|
-
- examples/rails-app/public/422.html
|
190
|
-
- examples/rails-app/public/500.html
|
191
|
-
- examples/rails-app/public/apple-touch-icon-precomposed.png
|
192
|
-
- examples/rails-app/public/apple-touch-icon.png
|
193
|
-
- examples/rails-app/public/favicon.ico
|
194
|
-
- examples/rails-app/public/robots.txt
|
195
|
-
- examples/rails-app/storage/.keep
|
196
|
-
- examples/rails-app/test/application_system_test_case.rb
|
197
|
-
- examples/rails-app/test/channels/application_cable/connection_test.rb
|
198
|
-
- examples/rails-app/test/controllers/.keep
|
199
|
-
- examples/rails-app/test/fixtures/files/.keep
|
200
|
-
- examples/rails-app/test/helpers/.keep
|
201
|
-
- examples/rails-app/test/integration/.keep
|
202
|
-
- examples/rails-app/test/mailers/.keep
|
203
|
-
- examples/rails-app/test/models/.keep
|
204
|
-
- examples/rails-app/test/system/.keep
|
205
|
-
- examples/rails-app/test/test_helper.rb
|
206
|
-
- examples/rails-app/tmp/.keep
|
207
|
-
- examples/rails-app/tmp/pids/.keep
|
208
|
-
- examples/rails-app/vendor/.keep
|
209
|
-
- examples/rails-app/yarn.lock
|
116
|
+
- examples/config/app.rb
|
117
|
+
- examples/config/puma.rb
|
118
|
+
- examples/config/zapp.rb
|
210
119
|
- lib/rack/handler/zapp.rb
|
211
120
|
- lib/zapp.rb
|
212
121
|
- lib/zapp/cli.rb
|
@@ -216,6 +125,7 @@ files:
|
|
216
125
|
- lib/zapp/http_context/response.rb
|
217
126
|
- lib/zapp/input_stream.rb
|
218
127
|
- lib/zapp/logger.rb
|
128
|
+
- lib/zapp/logger/base.rb
|
219
129
|
- lib/zapp/parser.rb
|
220
130
|
- lib/zapp/pipe.rb
|
221
131
|
- lib/zapp/server.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
defaults
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
|
2
|
-
|
3
|
-
# Mark the database schema as having been generated.
|
4
|
-
db/schema.rb linguist-generated
|
5
|
-
|
6
|
-
# Mark the yarn lockfile as having been generated.
|
7
|
-
yarn.lock linguist-generated
|
8
|
-
|
9
|
-
# Mark any vendored files as having been vendored.
|
10
|
-
vendor/* linguist-vendored
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
-
#
|
3
|
-
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
-
# or operating system, you probably want to add a global ignore instead:
|
5
|
-
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
-
|
7
|
-
# Ignore bundler config.
|
8
|
-
/.bundle
|
9
|
-
|
10
|
-
# Ignore the default SQLite database.
|
11
|
-
/db/*.sqlite3
|
12
|
-
/db/*.sqlite3-*
|
13
|
-
|
14
|
-
# Ignore all logfiles and tempfiles.
|
15
|
-
/log/*
|
16
|
-
/tmp/*
|
17
|
-
!/log/.keep
|
18
|
-
!/tmp/.keep
|
19
|
-
|
20
|
-
# Ignore pidfiles, but keep the directory.
|
21
|
-
/tmp/pids/*
|
22
|
-
!/tmp/pids/
|
23
|
-
!/tmp/pids/.keep
|
24
|
-
|
25
|
-
# Ignore uploaded files in development.
|
26
|
-
/storage/*
|
27
|
-
!/storage/.keep
|
28
|
-
|
29
|
-
/public/assets
|
30
|
-
.byebug_history
|
31
|
-
|
32
|
-
# Ignore master key for decrypting credentials and more.
|
33
|
-
/config/master.key
|
34
|
-
|
35
|
-
/public/packs
|
36
|
-
/public/packs-test
|
37
|
-
/node_modules
|
38
|
-
/yarn-error.log
|
39
|
-
yarn-debug.log*
|
40
|
-
.yarn-integrity
|
@@ -1 +0,0 @@
|
|
1
|
-
3.0.0
|
data/examples/rails-app/Gemfile
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source("https://rubygems.org")
|
4
|
-
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
5
|
-
|
6
|
-
ruby("3.0.0")
|
7
|
-
|
8
|
-
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
|
9
|
-
gem("rails", "~> 6.1.4", ">= 6.1.4.1")
|
10
|
-
# Use sqlite3 as the database for Active Record
|
11
|
-
gem("sqlite3", "~> 1.4")
|
12
|
-
# Use Zapp as the app server
|
13
|
-
gem("zapp", path: "../..")
|
14
|
-
# Use SCSS for stylesheets
|
15
|
-
gem("sass-rails", ">= 6")
|
16
|
-
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
17
|
-
gem("webpacker", "~> 5.0")
|
18
|
-
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
19
|
-
gem("turbolinks", "~> 5")
|
20
|
-
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
21
|
-
gem("jbuilder", "~> 2.7")
|
22
|
-
# Use Redis adapter to run Action Cable in production
|
23
|
-
# gem 'redis', '~> 4.0'
|
24
|
-
# Use Active Model has_secure_password
|
25
|
-
# gem 'bcrypt', '~> 3.1.7'
|
26
|
-
|
27
|
-
# Use Active Storage variant
|
28
|
-
# gem 'image_processing', '~> 1.2'
|
29
|
-
|
30
|
-
# Reduces boot times through caching; required in config/boot.rb
|
31
|
-
gem("bootsnap", ">= 1.4.4", require: false)
|
32
|
-
|
33
|
-
group(:development, :test) do
|
34
|
-
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
35
|
-
gem("byebug", platforms: %i[mri mingw x64_mingw])
|
36
|
-
end
|
37
|
-
|
38
|
-
group(:development) do
|
39
|
-
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
40
|
-
gem("web-console", ">= 4.1.0")
|
41
|
-
# Display performance information such as SQL time and flame graphs for each request in your browser.
|
42
|
-
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
|
43
|
-
gem("listen", "~> 3.3")
|
44
|
-
gem("rack-mini-profiler", "~> 2.0")
|
45
|
-
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
46
|
-
gem("spring")
|
47
|
-
end
|
48
|
-
|
49
|
-
group(:test) do
|
50
|
-
# Adds support for Capybara system testing and selenium driver
|
51
|
-
gem("capybara", ">= 3.26")
|
52
|
-
gem("selenium-webdriver")
|
53
|
-
# Easy installation and use of web drivers to run system tests with browsers
|
54
|
-
gem("webdrivers")
|
55
|
-
end
|
56
|
-
|
57
|
-
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
58
|
-
gem("tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby])
|
@@ -1,255 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../..
|
3
|
-
specs:
|
4
|
-
zapp (0.1.1)
|
5
|
-
concurrent-ruby (~> 1.1.9)
|
6
|
-
puma (~> 5.5.2)
|
7
|
-
rack (~> 2.2.3)
|
8
|
-
rake (~> 13.0)
|
9
|
-
rspec (~> 3.0)
|
10
|
-
webrick
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: https://rubygems.org/
|
14
|
-
specs:
|
15
|
-
actioncable (6.1.4.1)
|
16
|
-
actionpack (= 6.1.4.1)
|
17
|
-
activesupport (= 6.1.4.1)
|
18
|
-
nio4r (~> 2.0)
|
19
|
-
websocket-driver (>= 0.6.1)
|
20
|
-
actionmailbox (6.1.4.1)
|
21
|
-
actionpack (= 6.1.4.1)
|
22
|
-
activejob (= 6.1.4.1)
|
23
|
-
activerecord (= 6.1.4.1)
|
24
|
-
activestorage (= 6.1.4.1)
|
25
|
-
activesupport (= 6.1.4.1)
|
26
|
-
mail (>= 2.7.1)
|
27
|
-
actionmailer (6.1.4.1)
|
28
|
-
actionpack (= 6.1.4.1)
|
29
|
-
actionview (= 6.1.4.1)
|
30
|
-
activejob (= 6.1.4.1)
|
31
|
-
activesupport (= 6.1.4.1)
|
32
|
-
mail (~> 2.5, >= 2.5.4)
|
33
|
-
rails-dom-testing (~> 2.0)
|
34
|
-
actionpack (6.1.4.1)
|
35
|
-
actionview (= 6.1.4.1)
|
36
|
-
activesupport (= 6.1.4.1)
|
37
|
-
rack (~> 2.0, >= 2.0.9)
|
38
|
-
rack-test (>= 0.6.3)
|
39
|
-
rails-dom-testing (~> 2.0)
|
40
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
41
|
-
actiontext (6.1.4.1)
|
42
|
-
actionpack (= 6.1.4.1)
|
43
|
-
activerecord (= 6.1.4.1)
|
44
|
-
activestorage (= 6.1.4.1)
|
45
|
-
activesupport (= 6.1.4.1)
|
46
|
-
nokogiri (>= 1.8.5)
|
47
|
-
actionview (6.1.4.1)
|
48
|
-
activesupport (= 6.1.4.1)
|
49
|
-
builder (~> 3.1)
|
50
|
-
erubi (~> 1.4)
|
51
|
-
rails-dom-testing (~> 2.0)
|
52
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
53
|
-
activejob (6.1.4.1)
|
54
|
-
activesupport (= 6.1.4.1)
|
55
|
-
globalid (>= 0.3.6)
|
56
|
-
activemodel (6.1.4.1)
|
57
|
-
activesupport (= 6.1.4.1)
|
58
|
-
activerecord (6.1.4.1)
|
59
|
-
activemodel (= 6.1.4.1)
|
60
|
-
activesupport (= 6.1.4.1)
|
61
|
-
activestorage (6.1.4.1)
|
62
|
-
actionpack (= 6.1.4.1)
|
63
|
-
activejob (= 6.1.4.1)
|
64
|
-
activerecord (= 6.1.4.1)
|
65
|
-
activesupport (= 6.1.4.1)
|
66
|
-
marcel (~> 1.0.0)
|
67
|
-
mini_mime (>= 1.1.0)
|
68
|
-
activesupport (6.1.4.1)
|
69
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
70
|
-
i18n (>= 1.6, < 2)
|
71
|
-
minitest (>= 5.1)
|
72
|
-
tzinfo (~> 2.0)
|
73
|
-
zeitwerk (~> 2.3)
|
74
|
-
addressable (2.8.0)
|
75
|
-
public_suffix (>= 2.0.2, < 5.0)
|
76
|
-
bindex (0.8.1)
|
77
|
-
bootsnap (1.9.1)
|
78
|
-
msgpack (~> 1.0)
|
79
|
-
builder (3.2.4)
|
80
|
-
byebug (11.1.3)
|
81
|
-
capybara (3.36.0)
|
82
|
-
addressable
|
83
|
-
matrix
|
84
|
-
mini_mime (>= 0.1.3)
|
85
|
-
nokogiri (~> 1.8)
|
86
|
-
rack (>= 1.6.0)
|
87
|
-
rack-test (>= 0.6.3)
|
88
|
-
regexp_parser (>= 1.5, < 3.0)
|
89
|
-
xpath (~> 3.2)
|
90
|
-
childprocess (4.1.0)
|
91
|
-
concurrent-ruby (1.1.9)
|
92
|
-
crass (1.0.6)
|
93
|
-
diff-lcs (1.5.0)
|
94
|
-
erubi (1.10.0)
|
95
|
-
ffi (1.15.4)
|
96
|
-
globalid (0.5.2)
|
97
|
-
activesupport (>= 5.0)
|
98
|
-
i18n (1.8.11)
|
99
|
-
concurrent-ruby (~> 1.0)
|
100
|
-
jbuilder (2.11.3)
|
101
|
-
activesupport (>= 5.0.0)
|
102
|
-
listen (3.7.0)
|
103
|
-
rb-fsevent (~> 0.10, >= 0.10.3)
|
104
|
-
rb-inotify (~> 0.9, >= 0.9.10)
|
105
|
-
loofah (2.12.0)
|
106
|
-
crass (~> 1.0.2)
|
107
|
-
nokogiri (>= 1.5.9)
|
108
|
-
mail (2.7.1)
|
109
|
-
mini_mime (>= 0.1.1)
|
110
|
-
marcel (1.0.2)
|
111
|
-
matrix (0.4.2)
|
112
|
-
method_source (1.0.0)
|
113
|
-
mini_mime (1.1.2)
|
114
|
-
minitest (5.14.4)
|
115
|
-
msgpack (1.4.2)
|
116
|
-
nio4r (2.5.8)
|
117
|
-
nokogiri (1.12.5-x86_64-linux)
|
118
|
-
racc (~> 1.4)
|
119
|
-
public_suffix (4.0.6)
|
120
|
-
puma (5.5.2)
|
121
|
-
nio4r (~> 2.0)
|
122
|
-
racc (1.6.0)
|
123
|
-
rack (2.2.3)
|
124
|
-
rack-mini-profiler (2.3.3)
|
125
|
-
rack (>= 1.2.0)
|
126
|
-
rack-proxy (0.7.0)
|
127
|
-
rack
|
128
|
-
rack-test (1.1.0)
|
129
|
-
rack (>= 1.0, < 3)
|
130
|
-
rails (6.1.4.1)
|
131
|
-
actioncable (= 6.1.4.1)
|
132
|
-
actionmailbox (= 6.1.4.1)
|
133
|
-
actionmailer (= 6.1.4.1)
|
134
|
-
actionpack (= 6.1.4.1)
|
135
|
-
actiontext (= 6.1.4.1)
|
136
|
-
actionview (= 6.1.4.1)
|
137
|
-
activejob (= 6.1.4.1)
|
138
|
-
activemodel (= 6.1.4.1)
|
139
|
-
activerecord (= 6.1.4.1)
|
140
|
-
activestorage (= 6.1.4.1)
|
141
|
-
activesupport (= 6.1.4.1)
|
142
|
-
bundler (>= 1.15.0)
|
143
|
-
railties (= 6.1.4.1)
|
144
|
-
sprockets-rails (>= 2.0.0)
|
145
|
-
rails-dom-testing (2.0.3)
|
146
|
-
activesupport (>= 4.2.0)
|
147
|
-
nokogiri (>= 1.6)
|
148
|
-
rails-html-sanitizer (1.4.2)
|
149
|
-
loofah (~> 2.3)
|
150
|
-
railties (6.1.4.1)
|
151
|
-
actionpack (= 6.1.4.1)
|
152
|
-
activesupport (= 6.1.4.1)
|
153
|
-
method_source
|
154
|
-
rake (>= 0.13)
|
155
|
-
thor (~> 1.0)
|
156
|
-
rake (13.0.6)
|
157
|
-
rb-fsevent (0.11.0)
|
158
|
-
rb-inotify (0.10.1)
|
159
|
-
ffi (~> 1.0)
|
160
|
-
regexp_parser (2.1.1)
|
161
|
-
rexml (3.2.5)
|
162
|
-
rspec (3.11.0)
|
163
|
-
rspec-core (~> 3.11.0)
|
164
|
-
rspec-expectations (~> 3.11.0)
|
165
|
-
rspec-mocks (~> 3.11.0)
|
166
|
-
rspec-core (3.11.0)
|
167
|
-
rspec-support (~> 3.11.0)
|
168
|
-
rspec-expectations (3.11.0)
|
169
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
170
|
-
rspec-support (~> 3.11.0)
|
171
|
-
rspec-mocks (3.11.1)
|
172
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
173
|
-
rspec-support (~> 3.11.0)
|
174
|
-
rspec-support (3.11.0)
|
175
|
-
rubyzip (2.3.2)
|
176
|
-
sass-rails (6.0.0)
|
177
|
-
sassc-rails (~> 2.1, >= 2.1.1)
|
178
|
-
sassc (2.4.0)
|
179
|
-
ffi (~> 1.9)
|
180
|
-
sassc-rails (2.1.2)
|
181
|
-
railties (>= 4.0.0)
|
182
|
-
sassc (>= 2.0)
|
183
|
-
sprockets (> 3.0)
|
184
|
-
sprockets-rails
|
185
|
-
tilt
|
186
|
-
selenium-webdriver (4.0.3)
|
187
|
-
childprocess (>= 0.5, < 5.0)
|
188
|
-
rexml (~> 3.2, >= 3.2.5)
|
189
|
-
rubyzip (>= 1.2.2)
|
190
|
-
semantic_range (3.0.0)
|
191
|
-
spring (3.0.0)
|
192
|
-
sprockets (4.0.2)
|
193
|
-
concurrent-ruby (~> 1.0)
|
194
|
-
rack (> 1, < 3)
|
195
|
-
sprockets-rails (3.4.0)
|
196
|
-
actionpack (>= 5.2)
|
197
|
-
activesupport (>= 5.2)
|
198
|
-
sprockets (>= 3.0.0)
|
199
|
-
sqlite3 (1.4.2)
|
200
|
-
thor (1.1.0)
|
201
|
-
tilt (2.0.10)
|
202
|
-
turbolinks (5.2.1)
|
203
|
-
turbolinks-source (~> 5.2)
|
204
|
-
turbolinks-source (5.2.0)
|
205
|
-
tzinfo (2.0.4)
|
206
|
-
concurrent-ruby (~> 1.0)
|
207
|
-
web-console (4.2.0)
|
208
|
-
actionview (>= 6.0.0)
|
209
|
-
activemodel (>= 6.0.0)
|
210
|
-
bindex (>= 0.4.0)
|
211
|
-
railties (>= 6.0.0)
|
212
|
-
webdrivers (5.0.0)
|
213
|
-
nokogiri (~> 1.6)
|
214
|
-
rubyzip (>= 1.3.0)
|
215
|
-
selenium-webdriver (~> 4.0)
|
216
|
-
webpacker (5.4.3)
|
217
|
-
activesupport (>= 5.2)
|
218
|
-
rack-proxy (>= 0.6.1)
|
219
|
-
railties (>= 5.2)
|
220
|
-
semantic_range (>= 2.3.0)
|
221
|
-
webrick (1.7.0)
|
222
|
-
websocket-driver (0.7.5)
|
223
|
-
websocket-extensions (>= 0.1.0)
|
224
|
-
websocket-extensions (0.1.5)
|
225
|
-
xpath (3.2.0)
|
226
|
-
nokogiri (~> 1.8)
|
227
|
-
zeitwerk (2.5.1)
|
228
|
-
|
229
|
-
PLATFORMS
|
230
|
-
x86_64-linux
|
231
|
-
|
232
|
-
DEPENDENCIES
|
233
|
-
bootsnap (>= 1.4.4)
|
234
|
-
byebug
|
235
|
-
capybara (>= 3.26)
|
236
|
-
jbuilder (~> 2.7)
|
237
|
-
listen (~> 3.3)
|
238
|
-
rack-mini-profiler (~> 2.0)
|
239
|
-
rails (~> 6.1.4, >= 6.1.4.1)
|
240
|
-
sass-rails (>= 6)
|
241
|
-
selenium-webdriver
|
242
|
-
spring
|
243
|
-
sqlite3 (~> 1.4)
|
244
|
-
turbolinks (~> 5)
|
245
|
-
tzinfo-data
|
246
|
-
web-console (>= 4.1.0)
|
247
|
-
webdrivers
|
248
|
-
webpacker (~> 5.0)
|
249
|
-
zapp!
|
250
|
-
|
251
|
-
RUBY VERSION
|
252
|
-
ruby 3.0.0p0
|
253
|
-
|
254
|
-
BUNDLED WITH
|
255
|
-
2.2.3
|
data/examples/rails-app/Rakefile
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
4
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
5
|
-
|
6
|
-
require_relative("config/application")
|
7
|
-
|
8
|
-
Rails.application.load_tasks
|
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
|
6
|
-
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
File without changes
|
@@ -1,6 +0,0 @@
|
|
1
|
-
// Action Cable provides the framework to deal with WebSockets in Rails.
|
2
|
-
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
|
3
|
-
|
4
|
-
import { createConsumer } from "@rails/actioncable"
|
5
|
-
|
6
|
-
export default createConsumer()
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// This file is automatically compiled by Webpack, along with any other files
|
2
|
-
// present in this directory. You're encouraged to place your actual application logic in
|
3
|
-
// a relevant structure within app/javascript and only use these pack files to reference
|
4
|
-
// that code so it'll be compiled.
|
5
|
-
|
6
|
-
import Rails from "@rails/ujs"
|
7
|
-
import Turbolinks from "turbolinks"
|
8
|
-
import * as ActiveStorage from "@rails/activestorage"
|
9
|
-
import "channels"
|
10
|
-
|
11
|
-
Rails.start()
|
12
|
-
Turbolinks.start()
|
13
|
-
ActiveStorage.start()
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
class ApplicationJob < ActiveJob::Base
|
4
|
-
# Automatically retry jobs that encountered a deadlock
|
5
|
-
# retry_on ActiveRecord::Deadlocked
|
6
|
-
|
7
|
-
# Most jobs are safe to ignore if the underlying records are no longer available
|
8
|
-
# discard_on ActiveJob::DeserializationError
|
9
|
-
end
|
File without changes
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>RailsApp</title>
|
5
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<%= csrf_meta_tags %>
|
7
|
-
<%= csp_meta_tag %>
|
8
|
-
|
9
|
-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
10
|
-
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
11
|
-
</head>
|
12
|
-
|
13
|
-
<body>
|
14
|
-
<%= yield %>
|
15
|
-
</body>
|
16
|
-
</html>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= yield %>
|