snowpacker 0.0.4.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +3 -0
  3. data/.dockerignore +22 -0
  4. data/.github/workflows/build.yml +20 -0
  5. data/.gitignore +65 -0
  6. data/CHANGELOG.md +28 -0
  7. data/Dockerfile +38 -0
  8. data/Gemfile +8 -0
  9. data/Gemfile.lock +199 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +156 -0
  12. data/Rakefile +32 -0
  13. data/bin/console +15 -0
  14. data/bin/setup +8 -0
  15. data/docker-compose.yml +17 -0
  16. data/docker.env +8 -0
  17. data/examples/rails-without-webpack/.gitignore +34 -0
  18. data/examples/rails-without-webpack/.ruby-version +1 -0
  19. data/examples/rails-without-webpack/Gemfile +33 -0
  20. data/examples/rails-without-webpack/Gemfile.lock +225 -0
  21. data/examples/rails-without-webpack/README.md +24 -0
  22. data/examples/rails-without-webpack/Rakefile +6 -0
  23. data/examples/rails-without-webpack/app/assets/config/manifest.js +2 -0
  24. data/examples/rails-without-webpack/app/assets/images/.keep +0 -0
  25. data/examples/rails-without-webpack/app/assets/stylesheets/application.css +15 -0
  26. data/examples/rails-without-webpack/app/assets/stylesheets/static_pages.scss +3 -0
  27. data/examples/rails-without-webpack/app/channels/application_cable/channel.rb +4 -0
  28. data/examples/rails-without-webpack/app/channels/application_cable/connection.rb +4 -0
  29. data/examples/rails-without-webpack/app/controllers/application_controller.rb +2 -0
  30. data/examples/rails-without-webpack/app/controllers/concerns/.keep +0 -0
  31. data/examples/rails-without-webpack/app/controllers/static_pages_controller.rb +4 -0
  32. data/examples/rails-without-webpack/app/helpers/application_helper.rb +2 -0
  33. data/examples/rails-without-webpack/app/helpers/static_pages_helper.rb +2 -0
  34. data/examples/rails-without-webpack/app/javascript/channels/consumer.js +6 -0
  35. data/examples/rails-without-webpack/app/javascript/channels/index.js +6 -0
  36. data/examples/rails-without-webpack/app/javascript/packs/application.js +17 -0
  37. data/examples/rails-without-webpack/app/javascript/stylesheets/index.css +3 -0
  38. data/examples/rails-without-webpack/app/jobs/application_job.rb +7 -0
  39. data/examples/rails-without-webpack/app/mailers/application_mailer.rb +4 -0
  40. data/examples/rails-without-webpack/app/models/application_record.rb +3 -0
  41. data/examples/rails-without-webpack/app/models/concerns/.keep +0 -0
  42. data/examples/rails-without-webpack/app/views/layouts/application.html.erb +16 -0
  43. data/examples/rails-without-webpack/app/views/layouts/mailer.html.erb +13 -0
  44. data/examples/rails-without-webpack/app/views/layouts/mailer.text.erb +1 -0
  45. data/examples/rails-without-webpack/app/views/static_pages/index.html.erb +2 -0
  46. data/examples/rails-without-webpack/bin/bundle +114 -0
  47. data/examples/rails-without-webpack/bin/rails +9 -0
  48. data/examples/rails-without-webpack/bin/rake +9 -0
  49. data/examples/rails-without-webpack/bin/setup +36 -0
  50. data/examples/rails-without-webpack/bin/spring +17 -0
  51. data/examples/rails-without-webpack/bin/yarn +9 -0
  52. data/examples/rails-without-webpack/config.ru +5 -0
  53. data/examples/rails-without-webpack/config/application.rb +20 -0
  54. data/examples/rails-without-webpack/config/boot.rb +4 -0
  55. data/examples/rails-without-webpack/config/cable.yml +10 -0
  56. data/examples/rails-without-webpack/config/credentials.yml.enc +1 -0
  57. data/examples/rails-without-webpack/config/database.yml +25 -0
  58. data/examples/rails-without-webpack/config/environment.rb +5 -0
  59. data/examples/rails-without-webpack/config/environments/development.rb +62 -0
  60. data/examples/rails-without-webpack/config/environments/production.rb +112 -0
  61. data/examples/rails-without-webpack/config/environments/test.rb +49 -0
  62. data/examples/rails-without-webpack/config/initializers/application_controller_renderer.rb +8 -0
  63. data/examples/rails-without-webpack/config/initializers/assets.rb +14 -0
  64. data/examples/rails-without-webpack/config/initializers/backtrace_silencers.rb +7 -0
  65. data/examples/rails-without-webpack/config/initializers/content_security_policy.rb +31 -0
  66. data/examples/rails-without-webpack/config/initializers/cookies_serializer.rb +5 -0
  67. data/examples/rails-without-webpack/config/initializers/filter_parameter_logging.rb +4 -0
  68. data/examples/rails-without-webpack/config/initializers/inflections.rb +16 -0
  69. data/examples/rails-without-webpack/config/initializers/mime_types.rb +4 -0
  70. data/examples/rails-without-webpack/config/initializers/snowpacker.rb +19 -0
  71. data/examples/rails-without-webpack/config/initializers/wrap_parameters.rb +14 -0
  72. data/examples/rails-without-webpack/config/locales/en.yml +33 -0
  73. data/examples/rails-without-webpack/config/puma.rb +38 -0
  74. data/examples/rails-without-webpack/config/routes.rb +4 -0
  75. data/examples/rails-without-webpack/config/snowpacker/.browserslistrc +1 -0
  76. data/examples/rails-without-webpack/config/snowpacker/babel.config.js +76 -0
  77. data/examples/rails-without-webpack/config/snowpacker/postcss.config.js +12 -0
  78. data/examples/rails-without-webpack/config/snowpacker/snowpack.config.js +42 -0
  79. data/examples/rails-without-webpack/config/spring.rb +6 -0
  80. data/examples/rails-without-webpack/config/storage.yml +34 -0
  81. data/examples/rails-without-webpack/db/seeds.rb +7 -0
  82. data/examples/rails-without-webpack/lib/assets/.keep +0 -0
  83. data/examples/rails-without-webpack/lib/tasks/.keep +0 -0
  84. data/examples/rails-without-webpack/package.json +33 -0
  85. data/examples/rails-without-webpack/storage/.keep +0 -0
  86. data/examples/rails-without-webpack/test/application_system_test_case.rb +5 -0
  87. data/examples/rails-without-webpack/test/channels/application_cable/connection_test.rb +11 -0
  88. data/examples/rails-without-webpack/test/controllers/.keep +0 -0
  89. data/examples/rails-without-webpack/test/controllers/static_pages_controller_test.rb +8 -0
  90. data/examples/rails-without-webpack/test/fixtures/.keep +0 -0
  91. data/examples/rails-without-webpack/test/fixtures/files/.keep +0 -0
  92. data/examples/rails-without-webpack/test/helpers/.keep +0 -0
  93. data/examples/rails-without-webpack/test/integration/.keep +0 -0
  94. data/examples/rails-without-webpack/test/mailers/.keep +0 -0
  95. data/examples/rails-without-webpack/test/models/.keep +0 -0
  96. data/examples/rails-without-webpack/test/system/.keep +0 -0
  97. data/examples/rails-without-webpack/test/test_helper.rb +13 -0
  98. data/examples/rails-without-webpack/tmp/.keep +0 -0
  99. data/examples/rails-without-webpack/tmp/pids/.keep +0 -0
  100. data/examples/rails-without-webpack/vendor/.keep +0 -0
  101. data/examples/rails-without-webpack/yarn.lock +4254 -0
  102. data/lib/snowpacker.rb +24 -0
  103. data/lib/snowpacker/configuration.rb +19 -0
  104. data/lib/snowpacker/engine.rb +9 -0
  105. data/lib/snowpacker/env.rb +23 -0
  106. data/lib/snowpacker/runner.rb +51 -0
  107. data/lib/snowpacker/snowpacker_generator.rb +58 -0
  108. data/lib/snowpacker/snowpacker_proxy.rb +48 -0
  109. data/lib/snowpacker/templates/babel.config.js +76 -0
  110. data/lib/snowpacker/templates/postcss.config.js +12 -0
  111. data/lib/snowpacker/templates/snowpack.config.js +42 -0
  112. data/lib/snowpacker/templates/snowpacker.rb +19 -0
  113. data/lib/snowpacker/version.rb +5 -0
  114. data/lib/tasks/snowpacker_tasks.rake +30 -0
  115. data/snowpacker.gemspec +45 -0
  116. data/yarn.lock +6211 -0
  117. metadata +299 -0
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "snowpacker"
4
+
5
+ begin
6
+ require "bundler/setup"
7
+ rescue LoadError
8
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
9
+ end
10
+
11
+ require "yard"
12
+
13
+ YARD::Rake::YardocTask.new do |t|
14
+ t.files = ["lib/**/*.rb", "README.md"] # optional
15
+ t.options = ["--title Snowpacker #{::Snowpacker::VERSION}", "--line-numbers", "--any", "--extra", "--opts"] # optional
16
+ t.stats_options = ["--list-undoc"] # optional
17
+ end
18
+
19
+ require "bundler/gem_tasks"
20
+
21
+ require "rake/testtask"
22
+
23
+ Rake::TestTask.new(:test) do |t|
24
+ t.libs << "test"
25
+ t.pattern = "test/**/*_test.rb"
26
+ t.verbose = true
27
+ end
28
+
29
+ task :format do
30
+ sh("standardrb --format progress --fix")
31
+ end
32
+ task default: :test
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'snowpacker/rails'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,17 @@
1
+ version: "3"
2
+
3
+ services:
4
+ web:
5
+ build:
6
+ context: .
7
+ dockerfile: Dockerfile
8
+ args:
9
+ USER_ID: ${USER_ID:-1000}
10
+ GROUP_ID: ${GROUP_ID:-1000}
11
+ DOCKER_USER: ${DOCKER_USER:-user}
12
+ APP_DIR: ${APP_DIR:-/home/user/snowpacker}
13
+
14
+ command: bash -c "bundle exec rake test"
15
+
16
+ volumes:
17
+ - .:${APP_DIR:-/home/user/snowpacker}
@@ -0,0 +1,8 @@
1
+ # Assign and export seperately to avoid masking return values.
2
+ USER_ID=$(id -u "$USER")
3
+ GROUP_ID=$(id -g "$USER")
4
+ export USER_ID
5
+ export GROUP_ID
6
+
7
+ export DOCKER_USER="user"
8
+ export APP_DIR="/home/$DOCKER_USER/snowpacker"
@@ -0,0 +1,34 @@
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-journal
13
+ /db/*.sqlite3-*
14
+
15
+ # Ignore all logfiles and tempfiles.
16
+ /log/*
17
+ /tmp/*
18
+ !/log/.keep
19
+ !/tmp/.keep
20
+
21
+ # Ignore pidfiles, but keep the directory.
22
+ /tmp/pids/*
23
+ !/tmp/pids/
24
+ !/tmp/pids/.keep
25
+
26
+ # Ignore uploaded files in development.
27
+ /storage/*
28
+ !/storage/.keep
29
+
30
+ /public/assets
31
+ .byebug_history
32
+
33
+ # Ignore master key for decrypting credentials and more.
34
+ /config/master.key
@@ -0,0 +1,33 @@
1
+ source "https://rubygems.org"
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ ruby "2.6.3"
5
+
6
+ gem "rails", "~> 6.0.3", ">= 6.0.3.2"
7
+ gem "sqlite3", "~> 1.4"
8
+ gem "puma", "~> 4.1"
9
+ gem "sass-rails", ">= 6"
10
+ # gem 'webpacker', '~> 4.0'
11
+ gem "turbolinks", "~> 5"
12
+ gem "jbuilder", "~> 2.7"
13
+ gem "bootsnap", ">= 1.4.2", require: false
14
+ gem "snowpacker", path: "../../"
15
+
16
+ group :development, :test do
17
+ gem "byebug", platforms: [:mri, :mingw, :x64_mingw]
18
+ end
19
+
20
+ group :development do
21
+ gem "web-console", ">= 3.3.0"
22
+ gem "listen", "~> 3.2"
23
+ gem "spring"
24
+ gem "spring-watcher-listen", "~> 2.0.0"
25
+ end
26
+
27
+ group :test do
28
+ gem "capybara", ">= 2.15"
29
+ gem "selenium-webdriver"
30
+ gem "webdrivers"
31
+ end
32
+
33
+ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
@@ -0,0 +1,225 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ snowpacker (0.0.4)
5
+ rack-proxy (~> 0.6.4)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (6.0.3.2)
11
+ actionpack (= 6.0.3.2)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.0.3.2)
15
+ actionpack (= 6.0.3.2)
16
+ activejob (= 6.0.3.2)
17
+ activerecord (= 6.0.3.2)
18
+ activestorage (= 6.0.3.2)
19
+ activesupport (= 6.0.3.2)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.0.3.2)
22
+ actionpack (= 6.0.3.2)
23
+ actionview (= 6.0.3.2)
24
+ activejob (= 6.0.3.2)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (6.0.3.2)
28
+ actionview (= 6.0.3.2)
29
+ activesupport (= 6.0.3.2)
30
+ rack (~> 2.0, >= 2.0.8)
31
+ rack-test (>= 0.6.3)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
+ actiontext (6.0.3.2)
35
+ actionpack (= 6.0.3.2)
36
+ activerecord (= 6.0.3.2)
37
+ activestorage (= 6.0.3.2)
38
+ activesupport (= 6.0.3.2)
39
+ nokogiri (>= 1.8.5)
40
+ actionview (6.0.3.2)
41
+ activesupport (= 6.0.3.2)
42
+ builder (~> 3.1)
43
+ erubi (~> 1.4)
44
+ rails-dom-testing (~> 2.0)
45
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
+ activejob (6.0.3.2)
47
+ activesupport (= 6.0.3.2)
48
+ globalid (>= 0.3.6)
49
+ activemodel (6.0.3.2)
50
+ activesupport (= 6.0.3.2)
51
+ activerecord (6.0.3.2)
52
+ activemodel (= 6.0.3.2)
53
+ activesupport (= 6.0.3.2)
54
+ activestorage (6.0.3.2)
55
+ actionpack (= 6.0.3.2)
56
+ activejob (= 6.0.3.2)
57
+ activerecord (= 6.0.3.2)
58
+ marcel (~> 0.3.1)
59
+ activesupport (6.0.3.2)
60
+ concurrent-ruby (~> 1.0, >= 1.0.2)
61
+ i18n (>= 0.7, < 2)
62
+ minitest (~> 5.1)
63
+ tzinfo (~> 1.1)
64
+ zeitwerk (~> 2.2, >= 2.2.2)
65
+ addressable (2.7.0)
66
+ public_suffix (>= 2.0.2, < 5.0)
67
+ bindex (0.8.1)
68
+ bootsnap (1.4.7)
69
+ msgpack (~> 1.0)
70
+ builder (3.2.4)
71
+ byebug (11.1.3)
72
+ capybara (3.33.0)
73
+ addressable
74
+ mini_mime (>= 0.1.3)
75
+ nokogiri (~> 1.8)
76
+ rack (>= 1.6.0)
77
+ rack-test (>= 0.6.3)
78
+ regexp_parser (~> 1.5)
79
+ xpath (~> 3.2)
80
+ childprocess (3.0.0)
81
+ concurrent-ruby (1.1.6)
82
+ crass (1.0.6)
83
+ erubi (1.9.0)
84
+ ffi (1.13.1)
85
+ globalid (0.4.2)
86
+ activesupport (>= 4.2.0)
87
+ i18n (1.8.5)
88
+ concurrent-ruby (~> 1.0)
89
+ jbuilder (2.10.0)
90
+ activesupport (>= 5.0.0)
91
+ listen (3.2.1)
92
+ rb-fsevent (~> 0.10, >= 0.10.3)
93
+ rb-inotify (~> 0.9, >= 0.9.10)
94
+ loofah (2.6.0)
95
+ crass (~> 1.0.2)
96
+ nokogiri (>= 1.5.9)
97
+ mail (2.7.1)
98
+ mini_mime (>= 0.1.1)
99
+ marcel (0.3.3)
100
+ mimemagic (~> 0.3.2)
101
+ method_source (1.0.0)
102
+ mimemagic (0.3.5)
103
+ mini_mime (1.0.2)
104
+ mini_portile2 (2.4.0)
105
+ minitest (5.14.1)
106
+ msgpack (1.3.3)
107
+ nio4r (2.5.2)
108
+ nokogiri (1.10.10)
109
+ mini_portile2 (~> 2.4.0)
110
+ public_suffix (4.0.5)
111
+ puma (4.3.5)
112
+ nio4r (~> 2.0)
113
+ rack (2.2.3)
114
+ rack-proxy (0.6.5)
115
+ rack
116
+ rack-test (1.1.0)
117
+ rack (>= 1.0, < 3)
118
+ rails (6.0.3.2)
119
+ actioncable (= 6.0.3.2)
120
+ actionmailbox (= 6.0.3.2)
121
+ actionmailer (= 6.0.3.2)
122
+ actionpack (= 6.0.3.2)
123
+ actiontext (= 6.0.3.2)
124
+ actionview (= 6.0.3.2)
125
+ activejob (= 6.0.3.2)
126
+ activemodel (= 6.0.3.2)
127
+ activerecord (= 6.0.3.2)
128
+ activestorage (= 6.0.3.2)
129
+ activesupport (= 6.0.3.2)
130
+ bundler (>= 1.3.0)
131
+ railties (= 6.0.3.2)
132
+ sprockets-rails (>= 2.0.0)
133
+ rails-dom-testing (2.0.3)
134
+ activesupport (>= 4.2.0)
135
+ nokogiri (>= 1.6)
136
+ rails-html-sanitizer (1.3.0)
137
+ loofah (~> 2.3)
138
+ railties (6.0.3.2)
139
+ actionpack (= 6.0.3.2)
140
+ activesupport (= 6.0.3.2)
141
+ method_source
142
+ rake (>= 0.8.7)
143
+ thor (>= 0.20.3, < 2.0)
144
+ rake (13.0.1)
145
+ rb-fsevent (0.10.4)
146
+ rb-inotify (0.10.1)
147
+ ffi (~> 1.0)
148
+ regexp_parser (1.7.1)
149
+ rubyzip (2.3.0)
150
+ sass-rails (6.0.0)
151
+ sassc-rails (~> 2.1, >= 2.1.1)
152
+ sassc (2.4.0)
153
+ ffi (~> 1.9)
154
+ sassc-rails (2.1.2)
155
+ railties (>= 4.0.0)
156
+ sassc (>= 2.0)
157
+ sprockets (> 3.0)
158
+ sprockets-rails
159
+ tilt
160
+ selenium-webdriver (3.142.7)
161
+ childprocess (>= 0.5, < 4.0)
162
+ rubyzip (>= 1.2.2)
163
+ spring (2.1.0)
164
+ spring-watcher-listen (2.0.1)
165
+ listen (>= 2.7, < 4.0)
166
+ spring (>= 1.2, < 3.0)
167
+ sprockets (4.0.2)
168
+ concurrent-ruby (~> 1.0)
169
+ rack (> 1, < 3)
170
+ sprockets-rails (3.2.1)
171
+ actionpack (>= 4.0)
172
+ activesupport (>= 4.0)
173
+ sprockets (>= 3.0.0)
174
+ sqlite3 (1.4.2)
175
+ thor (1.0.1)
176
+ thread_safe (0.3.6)
177
+ tilt (2.0.10)
178
+ turbolinks (5.2.1)
179
+ turbolinks-source (~> 5.2)
180
+ turbolinks-source (5.2.0)
181
+ tzinfo (1.2.7)
182
+ thread_safe (~> 0.1)
183
+ web-console (4.0.4)
184
+ actionview (>= 6.0.0)
185
+ activemodel (>= 6.0.0)
186
+ bindex (>= 0.4.0)
187
+ railties (>= 6.0.0)
188
+ webdrivers (4.4.1)
189
+ nokogiri (~> 1.6)
190
+ rubyzip (>= 1.3.0)
191
+ selenium-webdriver (>= 3.0, < 4.0)
192
+ websocket-driver (0.7.3)
193
+ websocket-extensions (>= 0.1.0)
194
+ websocket-extensions (0.1.5)
195
+ xpath (3.2.0)
196
+ nokogiri (~> 1.8)
197
+ zeitwerk (2.4.0)
198
+
199
+ PLATFORMS
200
+ ruby
201
+
202
+ DEPENDENCIES
203
+ bootsnap (>= 1.4.2)
204
+ byebug
205
+ capybara (>= 2.15)
206
+ jbuilder (~> 2.7)
207
+ listen (~> 3.2)
208
+ puma (~> 4.1)
209
+ rails (~> 6.0.3, >= 6.0.3.2)
210
+ sass-rails (>= 6)
211
+ selenium-webdriver
212
+ snowpacker!
213
+ spring
214
+ spring-watcher-listen (~> 2.0.0)
215
+ sqlite3 (~> 1.4)
216
+ turbolinks (~> 5)
217
+ tzinfo-data
218
+ web-console (>= 3.3.0)
219
+ webdrivers
220
+
221
+ RUBY VERSION
222
+ ruby 2.6.3p62
223
+
224
+ BUNDLED WITH
225
+ 2.1.4
@@ -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
+ * ...
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require_relative "config/application"
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,2 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../stylesheets .css
@@ -0,0 +1,15 @@
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
+ */
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the static_pages controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: https://sass-lang.com/
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Channel < ActionCable::Channel::Base
3
+ end
4
+ end