monzenbarai 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -0
- data/README.md +16 -22
- data/Rakefile +1 -1
- data/examples/ruby_on_rails/Gemfile +64 -0
- data/examples/ruby_on_rails/Gemfile.lock +220 -0
- data/examples/ruby_on_rails/README.md +24 -0
- data/examples/ruby_on_rails/Rakefile +6 -0
- data/examples/ruby_on_rails/app/assets/config/manifest.js +3 -0
- data/examples/ruby_on_rails/app/assets/images/.keep +0 -0
- data/examples/ruby_on_rails/app/assets/javascripts/application.js +16 -0
- data/examples/ruby_on_rails/app/assets/javascripts/cable.js +13 -0
- data/examples/ruby_on_rails/app/assets/javascripts/channels/.keep +0 -0
- data/examples/ruby_on_rails/app/assets/stylesheets/application.css +15 -0
- data/examples/ruby_on_rails/app/channels/application_cable/channel.rb +4 -0
- data/examples/ruby_on_rails/app/channels/application_cable/connection.rb +4 -0
- data/examples/ruby_on_rails/app/controllers/application_controller.rb +2 -0
- data/examples/ruby_on_rails/app/controllers/concerns/.keep +0 -0
- data/examples/ruby_on_rails/app/controllers/samples_controller.rb +9 -0
- data/examples/ruby_on_rails/app/helpers/application_helper.rb +2 -0
- data/examples/ruby_on_rails/app/jobs/application_job.rb +2 -0
- data/examples/ruby_on_rails/app/mailers/application_mailer.rb +4 -0
- data/examples/ruby_on_rails/app/models/application_record.rb +3 -0
- data/examples/ruby_on_rails/app/models/concerns/.keep +0 -0
- data/examples/ruby_on_rails/app/views/layouts/application.html.erb +15 -0
- data/examples/ruby_on_rails/app/views/layouts/mailer.html.erb +13 -0
- data/examples/ruby_on_rails/app/views/layouts/mailer.text.erb +1 -0
- data/examples/ruby_on_rails/bin/bundle +3 -0
- data/examples/ruby_on_rails/bin/rails +9 -0
- data/examples/ruby_on_rails/bin/rake +9 -0
- data/examples/ruby_on_rails/bin/setup +36 -0
- data/examples/ruby_on_rails/bin/spring +17 -0
- data/examples/ruby_on_rails/bin/update +31 -0
- data/examples/ruby_on_rails/bin/yarn +11 -0
- data/examples/ruby_on_rails/config.ru +5 -0
- data/examples/ruby_on_rails/config/application.rb +21 -0
- data/examples/ruby_on_rails/config/boot.rb +4 -0
- data/examples/ruby_on_rails/config/cable.yml +10 -0
- data/examples/ruby_on_rails/config/credentials.yml.enc +1 -0
- data/examples/ruby_on_rails/config/database.yml +25 -0
- data/examples/ruby_on_rails/config/environment.rb +5 -0
- data/examples/ruby_on_rails/config/environments/development.rb +61 -0
- data/examples/ruby_on_rails/config/environments/production.rb +94 -0
- data/examples/ruby_on_rails/config/environments/test.rb +46 -0
- data/examples/ruby_on_rails/config/initializers/application_controller_renderer.rb +8 -0
- data/examples/ruby_on_rails/config/initializers/assets.rb +14 -0
- data/examples/ruby_on_rails/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/ruby_on_rails/config/initializers/content_security_policy.rb +25 -0
- data/examples/ruby_on_rails/config/initializers/cookies_serializer.rb +5 -0
- data/examples/ruby_on_rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/ruby_on_rails/config/initializers/inflections.rb +16 -0
- data/examples/ruby_on_rails/config/initializers/mime_types.rb +4 -0
- data/examples/ruby_on_rails/config/initializers/monzenbarai_config.rb +8 -0
- data/examples/ruby_on_rails/config/initializers/wrap_parameters.rb +14 -0
- data/examples/ruby_on_rails/config/locales/en.yml +33 -0
- data/examples/ruby_on_rails/config/master.key +1 -0
- data/examples/ruby_on_rails/config/puma.rb +34 -0
- data/examples/ruby_on_rails/config/routes.rb +4 -0
- data/examples/ruby_on_rails/config/spring.rb +6 -0
- data/examples/ruby_on_rails/config/storage.yml +34 -0
- data/examples/ruby_on_rails/db/seeds.rb +7 -0
- data/examples/ruby_on_rails/lib/assets/.keep +0 -0
- data/examples/ruby_on_rails/lib/tasks/.keep +0 -0
- data/examples/ruby_on_rails/log/.keep +0 -0
- data/examples/ruby_on_rails/package.json +5 -0
- data/examples/ruby_on_rails/public/404.html +67 -0
- data/examples/ruby_on_rails/public/422.html +67 -0
- data/examples/ruby_on_rails/public/500.html +66 -0
- data/examples/ruby_on_rails/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/ruby_on_rails/public/apple-touch-icon.png +0 -0
- data/examples/ruby_on_rails/public/favicon.ico +0 -0
- data/examples/ruby_on_rails/public/robots.txt +1 -0
- data/examples/ruby_on_rails/storage/.keep +0 -0
- data/examples/ruby_on_rails/test/application_system_test_case.rb +5 -0
- data/examples/ruby_on_rails/test/controllers/.keep +0 -0
- data/examples/ruby_on_rails/test/fixtures/.keep +0 -0
- data/examples/ruby_on_rails/test/fixtures/files/.keep +0 -0
- data/examples/ruby_on_rails/test/helpers/.keep +0 -0
- data/examples/ruby_on_rails/test/integration/.keep +0 -0
- data/examples/ruby_on_rails/test/mailers/.keep +0 -0
- data/examples/ruby_on_rails/test/models/.keep +0 -0
- data/examples/ruby_on_rails/test/system/.keep +0 -0
- data/examples/ruby_on_rails/test/test_helper.rb +10 -0
- data/examples/ruby_on_rails/tmp/.keep +0 -0
- data/examples/ruby_on_rails/vendor/.keep +0 -0
- data/{example → examples/sinatra}/Gemfile +0 -0
- data/{example → examples/sinatra}/Gemfile.lock +0 -0
- data/{example → examples/sinatra}/app.rb +1 -7
- data/examples/sinatra/monzenbarai_config.rb +8 -0
- data/examples/sinatra/tmp/.keep +0 -0
- data/exe/monzenbarai +11 -7
- data/lib/monzenbarai/version.rb +1 -1
- metadata +88 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33bdc8e08243b3e66786eef0b0a1a6f179446d0d
|
4
|
+
data.tar.gz: 5cdabb6cee6a587685168a18796e943201aa1bd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e1ee8c4af74afa22ee94bde02cf8300baf7335ef8d273d8f906cf0eb8d86d7a3e71c6c6fddd68198ed1a5ad38d944c88597defd5f652332249088ff7385c2e
|
7
|
+
data.tar.gz: 9d0b869db05969902a41cd3916d775af5b50f56c5af5854773e612a0e22b3eca9258f047e6bf6b10017ce3b0c7053250a8691039b0ec271138978d38cba01e78
|
data/.gitignore
CHANGED
@@ -6,3 +6,12 @@
|
|
6
6
|
/pkg/
|
7
7
|
/spec/reports/
|
8
8
|
/tmp/
|
9
|
+
|
10
|
+
/examples/ruby_on_rails/.bundle
|
11
|
+
/examples/ruby_on_rails/vendor/bundle
|
12
|
+
/examples/ruby_on_rails/vendor/bin
|
13
|
+
/examples/ruby_on_rails/log/*
|
14
|
+
/examples/ruby_on_rails/tmp/*
|
15
|
+
/examples/ruby_on_rails/db/*.sqlite3
|
16
|
+
!/examples/ruby_on_rails/log/.keep
|
17
|
+
!/examples/ruby_on_rails/tmp/.keep
|
data/README.md
CHANGED
@@ -20,33 +20,16 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
Make config file.
|
24
24
|
|
25
|
-
Sinatra
|
26
25
|
```ruby
|
27
|
-
require 'monzenbarai'
|
28
|
-
|
29
|
-
Monzenbarai.configure do |config|
|
30
|
-
config.expel = lambda do |env|
|
31
|
-
return false if env['PATH_INFO'] == '/allowed'
|
32
|
-
true
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
use Monzenbarai
|
37
|
-
```
|
38
|
-
|
39
|
-
Ruby on Rails
|
40
|
-
```ruby:config/application.rb
|
41
|
-
config.middleware.use Monzenbarai
|
42
|
-
```
|
43
|
-
|
44
|
-
```ruby:config/initializers/monzenbarai.rb
|
45
26
|
Monzenbarai.configure do |config|
|
46
27
|
config.expel = lambda do |env|
|
47
28
|
return false if env['PATH_INFO'] == '/allowed'
|
48
29
|
true
|
49
30
|
end
|
31
|
+
|
32
|
+
config.trigger_file = 'path/to/trigger_file'
|
50
33
|
end
|
51
34
|
```
|
52
35
|
|
@@ -55,11 +38,22 @@ By default, `expel` always returns only `true`.
|
|
55
38
|
|
56
39
|
`env` argument is [Rack environment](https://www.rubydoc.info/github/rack/rack/master/file/SPEC).
|
57
40
|
|
41
|
+
|
42
|
+
Add Monzenbarai middleware
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
use Monzenbarai # Sinatra
|
46
|
+
config.middleware.use Monzenbarai # Rails
|
47
|
+
```
|
48
|
+
|
58
49
|
### Start maintenance mode
|
59
|
-
Execute `monzenbarai start` command.
|
50
|
+
Execute `monzenbarai start path/to/config_file` command.
|
51
|
+
This command makes `trigger_file`.
|
52
|
+
Monzenbarai keep maintenance mode during `trigger_file` exists.
|
60
53
|
|
61
54
|
### End maintenance mode
|
62
|
-
Execute `monzenbarai end` command.
|
55
|
+
Execute `monzenbarai end path/to/config_file` command.
|
56
|
+
This command removes `trigger_file`.
|
63
57
|
|
64
58
|
## Contributing
|
65
59
|
|
data/Rakefile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require
|
1
|
+
require 'bundler/gem_tasks'
|
2
2
|
task :default => :spec
|
@@ -0,0 +1,64 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
+
|
4
|
+
ruby '2.4.4'
|
5
|
+
|
6
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
7
|
+
gem 'rails', '~> 5.2.0'
|
8
|
+
# Use sqlite3 as the database for Active Record
|
9
|
+
gem 'sqlite3'
|
10
|
+
# Use Puma as the app server
|
11
|
+
gem 'puma', '~> 3.11'
|
12
|
+
# Use SCSS for stylesheets
|
13
|
+
gem 'sass-rails', '~> 5.0'
|
14
|
+
# Use Uglifier as compressor for JavaScript assets
|
15
|
+
gem 'uglifier', '>= 1.3.0'
|
16
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
17
|
+
# gem 'mini_racer', platforms: :ruby
|
18
|
+
|
19
|
+
# Use CoffeeScript for .coffee assets and views
|
20
|
+
gem 'coffee-rails', '~> 4.2'
|
21
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
22
|
+
gem 'turbolinks', '~> 5'
|
23
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
24
|
+
gem 'jbuilder', '~> 2.5'
|
25
|
+
# Use Redis adapter to run Action Cable in production
|
26
|
+
# gem 'redis', '~> 4.0'
|
27
|
+
# Use ActiveModel has_secure_password
|
28
|
+
# gem 'bcrypt', '~> 3.1.7'
|
29
|
+
|
30
|
+
# Use ActiveStorage variant
|
31
|
+
# gem 'mini_magick', '~> 4.8'
|
32
|
+
|
33
|
+
# Use Capistrano for deployment
|
34
|
+
# gem 'capistrano-rails', group: :development
|
35
|
+
|
36
|
+
# Reduces boot times through caching; required in config/boot.rb
|
37
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
38
|
+
|
39
|
+
group :development, :test do
|
40
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
41
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
42
|
+
end
|
43
|
+
|
44
|
+
group :development do
|
45
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
46
|
+
gem 'web-console', '>= 3.3.0'
|
47
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
48
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
49
|
+
gem 'spring'
|
50
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
51
|
+
end
|
52
|
+
|
53
|
+
group :test do
|
54
|
+
# Adds support for Capybara system testing and selenium driver
|
55
|
+
gem 'capybara', '>= 2.15', '< 4.0'
|
56
|
+
gem 'selenium-webdriver'
|
57
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
58
|
+
gem 'chromedriver-helper'
|
59
|
+
end
|
60
|
+
|
61
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
62
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
63
|
+
|
64
|
+
gem 'monzenbarai'
|
@@ -0,0 +1,220 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
actioncable (5.2.1)
|
5
|
+
actionpack (= 5.2.1)
|
6
|
+
nio4r (~> 2.0)
|
7
|
+
websocket-driver (>= 0.6.1)
|
8
|
+
actionmailer (5.2.1)
|
9
|
+
actionpack (= 5.2.1)
|
10
|
+
actionview (= 5.2.1)
|
11
|
+
activejob (= 5.2.1)
|
12
|
+
mail (~> 2.5, >= 2.5.4)
|
13
|
+
rails-dom-testing (~> 2.0)
|
14
|
+
actionpack (5.2.1)
|
15
|
+
actionview (= 5.2.1)
|
16
|
+
activesupport (= 5.2.1)
|
17
|
+
rack (~> 2.0)
|
18
|
+
rack-test (>= 0.6.3)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
21
|
+
actionview (5.2.1)
|
22
|
+
activesupport (= 5.2.1)
|
23
|
+
builder (~> 3.1)
|
24
|
+
erubi (~> 1.4)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
27
|
+
activejob (5.2.1)
|
28
|
+
activesupport (= 5.2.1)
|
29
|
+
globalid (>= 0.3.6)
|
30
|
+
activemodel (5.2.1)
|
31
|
+
activesupport (= 5.2.1)
|
32
|
+
activerecord (5.2.1)
|
33
|
+
activemodel (= 5.2.1)
|
34
|
+
activesupport (= 5.2.1)
|
35
|
+
arel (>= 9.0)
|
36
|
+
activestorage (5.2.1)
|
37
|
+
actionpack (= 5.2.1)
|
38
|
+
activerecord (= 5.2.1)
|
39
|
+
marcel (~> 0.3.1)
|
40
|
+
activesupport (5.2.1)
|
41
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
42
|
+
i18n (>= 0.7, < 2)
|
43
|
+
minitest (~> 5.1)
|
44
|
+
tzinfo (~> 1.1)
|
45
|
+
addressable (2.5.2)
|
46
|
+
public_suffix (>= 2.0.2, < 4.0)
|
47
|
+
archive-zip (0.11.0)
|
48
|
+
io-like (~> 0.3.0)
|
49
|
+
arel (9.0.0)
|
50
|
+
bindex (0.5.0)
|
51
|
+
bootsnap (1.3.2)
|
52
|
+
msgpack (~> 1.0)
|
53
|
+
builder (3.2.3)
|
54
|
+
byebug (10.0.2)
|
55
|
+
capybara (3.9.0)
|
56
|
+
addressable
|
57
|
+
mini_mime (>= 0.1.3)
|
58
|
+
nokogiri (~> 1.8)
|
59
|
+
rack (>= 1.6.0)
|
60
|
+
rack-test (>= 0.6.3)
|
61
|
+
xpath (~> 3.1)
|
62
|
+
childprocess (0.9.0)
|
63
|
+
ffi (~> 1.0, >= 1.0.11)
|
64
|
+
chromedriver-helper (2.1.0)
|
65
|
+
archive-zip (~> 0.10)
|
66
|
+
nokogiri (~> 1.8)
|
67
|
+
coffee-rails (4.2.2)
|
68
|
+
coffee-script (>= 2.2.0)
|
69
|
+
railties (>= 4.0.0)
|
70
|
+
coffee-script (2.4.1)
|
71
|
+
coffee-script-source
|
72
|
+
execjs
|
73
|
+
coffee-script-source (1.12.2)
|
74
|
+
concurrent-ruby (1.0.5)
|
75
|
+
crass (1.0.4)
|
76
|
+
erubi (1.7.1)
|
77
|
+
execjs (2.7.0)
|
78
|
+
ffi (1.9.25)
|
79
|
+
globalid (0.4.1)
|
80
|
+
activesupport (>= 4.2.0)
|
81
|
+
i18n (1.1.0)
|
82
|
+
concurrent-ruby (~> 1.0)
|
83
|
+
io-like (0.3.0)
|
84
|
+
jbuilder (2.7.0)
|
85
|
+
activesupport (>= 4.2.0)
|
86
|
+
multi_json (>= 1.2)
|
87
|
+
listen (3.1.5)
|
88
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
89
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
90
|
+
ruby_dep (~> 1.2)
|
91
|
+
loofah (2.2.2)
|
92
|
+
crass (~> 1.0.2)
|
93
|
+
nokogiri (>= 1.5.9)
|
94
|
+
mail (2.7.0)
|
95
|
+
mini_mime (>= 0.1.1)
|
96
|
+
marcel (0.3.3)
|
97
|
+
mimemagic (~> 0.3.2)
|
98
|
+
method_source (0.9.0)
|
99
|
+
mimemagic (0.3.2)
|
100
|
+
mini_mime (1.0.1)
|
101
|
+
mini_portile2 (2.3.0)
|
102
|
+
minitest (5.11.3)
|
103
|
+
monzenbarai (0.0.2)
|
104
|
+
msgpack (1.2.4)
|
105
|
+
multi_json (1.13.1)
|
106
|
+
nio4r (2.3.1)
|
107
|
+
nokogiri (1.8.5)
|
108
|
+
mini_portile2 (~> 2.3.0)
|
109
|
+
public_suffix (3.0.3)
|
110
|
+
puma (3.12.0)
|
111
|
+
rack (2.0.5)
|
112
|
+
rack-test (1.1.0)
|
113
|
+
rack (>= 1.0, < 3)
|
114
|
+
rails (5.2.1)
|
115
|
+
actioncable (= 5.2.1)
|
116
|
+
actionmailer (= 5.2.1)
|
117
|
+
actionpack (= 5.2.1)
|
118
|
+
actionview (= 5.2.1)
|
119
|
+
activejob (= 5.2.1)
|
120
|
+
activemodel (= 5.2.1)
|
121
|
+
activerecord (= 5.2.1)
|
122
|
+
activestorage (= 5.2.1)
|
123
|
+
activesupport (= 5.2.1)
|
124
|
+
bundler (>= 1.3.0)
|
125
|
+
railties (= 5.2.1)
|
126
|
+
sprockets-rails (>= 2.0.0)
|
127
|
+
rails-dom-testing (2.0.3)
|
128
|
+
activesupport (>= 4.2.0)
|
129
|
+
nokogiri (>= 1.6)
|
130
|
+
rails-html-sanitizer (1.0.4)
|
131
|
+
loofah (~> 2.2, >= 2.2.2)
|
132
|
+
railties (5.2.1)
|
133
|
+
actionpack (= 5.2.1)
|
134
|
+
activesupport (= 5.2.1)
|
135
|
+
method_source
|
136
|
+
rake (>= 0.8.7)
|
137
|
+
thor (>= 0.19.0, < 2.0)
|
138
|
+
rake (12.3.1)
|
139
|
+
rb-fsevent (0.10.3)
|
140
|
+
rb-inotify (0.9.10)
|
141
|
+
ffi (>= 0.5.0, < 2)
|
142
|
+
ruby_dep (1.5.0)
|
143
|
+
rubyzip (1.2.2)
|
144
|
+
sass (3.6.0)
|
145
|
+
sass-listen (~> 4.0.0)
|
146
|
+
sass-listen (4.0.0)
|
147
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
148
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
149
|
+
sass-rails (5.0.7)
|
150
|
+
railties (>= 4.0.0, < 6)
|
151
|
+
sass (~> 3.1)
|
152
|
+
sprockets (>= 2.8, < 4.0)
|
153
|
+
sprockets-rails (>= 2.0, < 4.0)
|
154
|
+
tilt (>= 1.1, < 3)
|
155
|
+
selenium-webdriver (3.14.1)
|
156
|
+
childprocess (~> 0.5)
|
157
|
+
rubyzip (~> 1.2, >= 1.2.2)
|
158
|
+
spring (2.0.2)
|
159
|
+
activesupport (>= 4.2)
|
160
|
+
spring-watcher-listen (2.0.1)
|
161
|
+
listen (>= 2.7, < 4.0)
|
162
|
+
spring (>= 1.2, < 3.0)
|
163
|
+
sprockets (3.7.2)
|
164
|
+
concurrent-ruby (~> 1.0)
|
165
|
+
rack (> 1, < 3)
|
166
|
+
sprockets-rails (3.2.1)
|
167
|
+
actionpack (>= 4.0)
|
168
|
+
activesupport (>= 4.0)
|
169
|
+
sprockets (>= 3.0.0)
|
170
|
+
sqlite3 (1.3.13)
|
171
|
+
thor (0.20.0)
|
172
|
+
thread_safe (0.3.6)
|
173
|
+
tilt (2.0.8)
|
174
|
+
turbolinks (5.2.0)
|
175
|
+
turbolinks-source (~> 5.2)
|
176
|
+
turbolinks-source (5.2.0)
|
177
|
+
tzinfo (1.2.5)
|
178
|
+
thread_safe (~> 0.1)
|
179
|
+
uglifier (4.1.19)
|
180
|
+
execjs (>= 0.3.0, < 3)
|
181
|
+
web-console (3.7.0)
|
182
|
+
actionview (>= 5.0)
|
183
|
+
activemodel (>= 5.0)
|
184
|
+
bindex (>= 0.4.0)
|
185
|
+
railties (>= 5.0)
|
186
|
+
websocket-driver (0.7.0)
|
187
|
+
websocket-extensions (>= 0.1.0)
|
188
|
+
websocket-extensions (0.1.3)
|
189
|
+
xpath (3.1.0)
|
190
|
+
nokogiri (~> 1.8)
|
191
|
+
|
192
|
+
PLATFORMS
|
193
|
+
ruby
|
194
|
+
|
195
|
+
DEPENDENCIES
|
196
|
+
bootsnap (>= 1.1.0)
|
197
|
+
byebug
|
198
|
+
capybara (>= 2.15, < 4.0)
|
199
|
+
chromedriver-helper
|
200
|
+
coffee-rails (~> 4.2)
|
201
|
+
jbuilder (~> 2.5)
|
202
|
+
listen (>= 3.0.5, < 3.2)
|
203
|
+
monzenbarai
|
204
|
+
puma (~> 3.11)
|
205
|
+
rails (~> 5.2.0)
|
206
|
+
sass-rails (~> 5.0)
|
207
|
+
selenium-webdriver
|
208
|
+
spring
|
209
|
+
spring-watcher-listen (~> 2.0.0)
|
210
|
+
sqlite3
|
211
|
+
turbolinks (~> 5)
|
212
|
+
tzinfo-data
|
213
|
+
uglifier (>= 1.3.0)
|
214
|
+
web-console (>= 3.3.0)
|
215
|
+
|
216
|
+
RUBY VERSION
|
217
|
+
ruby 2.4.4p296
|
218
|
+
|
219
|
+
BUNDLED WITH
|
220
|
+
1.16.2
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
|
5
|
+
// vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require rails-ujs
|
14
|
+
//= require activestorage
|
15
|
+
//= require turbolinks
|
16
|
+
//= require_tree .
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// Action Cable provides the framework to deal with WebSockets in Rails.
|
2
|
+
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
|
3
|
+
//
|
4
|
+
//= require action_cable
|
5
|
+
//= require_self
|
6
|
+
//= require_tree ./channels
|
7
|
+
|
8
|
+
(function() {
|
9
|
+
this.App || (this.App = {});
|
10
|
+
|
11
|
+
App.cable = ActionCable.createConsumer();
|
12
|
+
|
13
|
+
}).call(this);
|