Depreciation 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +23 -0
  3. data/Gemfile +54 -0
  4. data/Gemfile.lock +237 -0
  5. data/README.md +24 -0
  6. data/Rakefile +6 -0
  7. data/app/assets/config/manifest.js +3 -0
  8. data/app/assets/images/.keep +0 -0
  9. data/app/assets/javascripts/application.js +17 -0
  10. data/app/assets/javascripts/brands.coffee +3 -0
  11. data/app/assets/javascripts/cable.js +13 -0
  12. data/app/assets/javascripts/channels/.keep +0 -0
  13. data/app/assets/stylesheets/application.css.scss +17 -0
  14. data/app/assets/stylesheets/brands.scss +3 -0
  15. data/app/channels/application_cable/channel.rb +4 -0
  16. data/app/channels/application_cable/connection.rb +4 -0
  17. data/app/controllers/application_controller.rb +3 -0
  18. data/app/controllers/brands_controller.rb +43 -0
  19. data/app/controllers/concerns/.keep +0 -0
  20. data/app/helpers/application_helper.rb +2 -0
  21. data/app/helpers/brands_helper.rb +2 -0
  22. data/app/jobs/application_job.rb +2 -0
  23. data/app/mailers/application_mailer.rb +4 -0
  24. data/app/models/application_record.rb +3 -0
  25. data/app/models/brand.rb +5 -0
  26. data/app/models/concerns/.keep +0 -0
  27. data/app/models/user.rb +6 -0
  28. data/app/models/variant.rb +3 -0
  29. data/app/views/brands/_form.html.erb +4 -0
  30. data/app/views/brands/edit.html.erb +3 -0
  31. data/app/views/brands/index.html.erb +5 -0
  32. data/app/views/brands/new.html.erb +2 -0
  33. data/app/views/brands/show.html.erb +36 -0
  34. data/app/views/devise/confirmations/new.html.erb +16 -0
  35. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  36. data/app/views/devise/mailer/email_changed.html.erb +7 -0
  37. data/app/views/devise/mailer/password_change.html.erb +3 -0
  38. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  39. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  40. data/app/views/devise/passwords/edit.html.erb +19 -0
  41. data/app/views/devise/passwords/new.html.erb +15 -0
  42. data/app/views/devise/registrations/edit.html.erb +27 -0
  43. data/app/views/devise/registrations/new.html.erb +78 -0
  44. data/app/views/devise/sessions/new.html.erb +36 -0
  45. data/app/views/devise/shared/_links.html.erb +25 -0
  46. data/app/views/devise/unlocks/new.html.erb +16 -0
  47. data/app/views/layouts/application.html.erb +34 -0
  48. data/app/views/layouts/mailer.html.erb +13 -0
  49. data/app/views/layouts/mailer.text.erb +1 -0
  50. data/bin/bundle +3 -0
  51. data/bin/rails +4 -0
  52. data/bin/rake +4 -0
  53. data/bin/setup +38 -0
  54. data/bin/update +29 -0
  55. data/bin/yarn +11 -0
  56. data/config.ru +5 -0
  57. data/config/application.rb +18 -0
  58. data/config/boot.rb +3 -0
  59. data/config/cable.yml +10 -0
  60. data/config/database.yml +25 -0
  61. data/config/environment.rb +5 -0
  62. data/config/environments/development.rb +56 -0
  63. data/config/environments/production.rb +91 -0
  64. data/config/environments/test.rb +42 -0
  65. data/config/initializers/application_controller_renderer.rb +8 -0
  66. data/config/initializers/assets.rb +14 -0
  67. data/config/initializers/backtrace_silencers.rb +7 -0
  68. data/config/initializers/cookies_serializer.rb +5 -0
  69. data/config/initializers/devise.rb +283 -0
  70. data/config/initializers/filter_parameter_logging.rb +4 -0
  71. data/config/initializers/inflections.rb +16 -0
  72. data/config/initializers/mime_types.rb +4 -0
  73. data/config/initializers/simple_form.rb +170 -0
  74. data/config/initializers/simple_form_bootstrap.rb +155 -0
  75. data/config/initializers/wrap_parameters.rb +14 -0
  76. data/config/locales/devise.en.yml +64 -0
  77. data/config/locales/en.yml +33 -0
  78. data/config/locales/simple_form.en.yml +31 -0
  79. data/config/puma.rb +56 -0
  80. data/config/routes.rb +8 -0
  81. data/config/secrets.yml +32 -0
  82. data/db/migrate/20180405123506_create_brands.rb +9 -0
  83. data/db/migrate/20180405124007_create_variants.rb +18 -0
  84. data/db/migrate/20180405142003_devise_create_users.rb +44 -0
  85. data/db/schema.rb +83 -0
  86. data/db/seeds.rb +22 -0
  87. data/lib/assets/.keep +0 -0
  88. data/lib/tasks/.keep +0 -0
  89. data/lib/templates/erb/scaffold/_form.html.erb +14 -0
  90. data/log/.keep +0 -0
  91. data/package.json +7 -0
  92. data/public/404.html +67 -0
  93. data/public/422.html +67 -0
  94. data/public/500.html +66 -0
  95. data/public/apple-touch-icon-precomposed.png +0 -0
  96. data/public/apple-touch-icon.png +0 -0
  97. data/public/favicon.ico +0 -0
  98. data/public/robots.txt +1 -0
  99. data/test/application_system_test_case.rb +5 -0
  100. data/test/controllers/.keep +0 -0
  101. data/test/controllers/brands_controller_test.rb +7 -0
  102. data/test/fixtures/.keep +0 -0
  103. data/test/fixtures/brands.yml +7 -0
  104. data/test/fixtures/files/.keep +0 -0
  105. data/test/fixtures/users.yml +11 -0
  106. data/test/fixtures/variants.yml +23 -0
  107. data/test/helpers/.keep +0 -0
  108. data/test/integration/.keep +0 -0
  109. data/test/mailers/.keep +0 -0
  110. data/test/models/.keep +0 -0
  111. data/test/models/brand_test.rb +7 -0
  112. data/test/models/user_test.rb +7 -0
  113. data/test/models/variant_test.rb +7 -0
  114. data/test/system/.keep +0 -0
  115. data/test/test_helper.rb +10 -0
  116. data/tmp/.keep +0 -0
  117. data/vendor/.keep +0 -0
  118. metadata +120 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 348b37e1d5d164efbf894e85cc304f1810707fd2
4
- data.tar.gz: ff67297b9667f370b5d904763f14d15ae3c11d5b
3
+ metadata.gz: 453a9ac60ce0e4d0c620b9ea4e09e6f143135374
4
+ data.tar.gz: a41e87ccd3142c20e44bdd74b5fced1b2da73027
5
5
  SHA512:
6
- metadata.gz: 1e0567144f4fbe5caf38a0f913885fe9a085fe0833a4ee78cf8c899adc2925e4b9eef1b16b227cac85d9942eaff49c377b5454adaef2cd1bf21827c4617482ff
7
- data.tar.gz: a2a18e821bddcb49ffe1dd1d1ced9a6653be461e0850343c8d4dd2632e42e8ce9eec29ec51abc3b5619ead741e88a240eb298d28d7856f0384d241ee51f6c8d7
6
+ metadata.gz: 852dc3aadd03e076530ce3b106ff61fdfa5f9776908cec66fd079c5eac6e30edf34c671452168f4bd9b9054141ad402f62183e06311758be9c28d40a93c32813
7
+ data.tar.gz: 51c31f2461be62934c3856d672a97cd8beafc86b236e1a60cc82bd4f35cbe1a3408e7534178fdca11ff3ba432fe2591834fe8d714865cfd44d9c41b152ea89c9
data/.gitignore ADDED
@@ -0,0 +1,23 @@
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
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ /tmp/*
17
+ !/log/.keep
18
+ !/tmp/.keep
19
+
20
+ /node_modules
21
+ /yarn-error.log
22
+
23
+ .byebug_history
data/Gemfile ADDED
@@ -0,0 +1,54 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) do |repo_name|
4
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5
+ "https://github.com/#{repo_name}.git"
6
+ end
7
+ gem 'simple_form', '~> 3.5', '>= 3.5.1'
8
+ gem 'bootstrap-sass', '~> 3.3', '>= 3.3.7'
9
+ gem 'jquery-rails', '~> 4.3', '>= 4.3.1'
10
+ gem 'devise', '~> 4.4', '>= 4.4.3'
11
+ gem 'paperclip', '~> 6.0'
12
+ gem 'uikit-rails', '~> 1.0', '>= 1.0.1'
13
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
14
+ gem 'rails', '~> 5.1.6'
15
+ # Use sqlite3 as the database for Active Record
16
+ gem 'sqlite3'
17
+ # Use Puma as the app server
18
+ gem 'puma', '~> 3.7'
19
+ # Use SCSS for stylesheets
20
+ gem 'sass-rails', '~> 5.0'
21
+ # Use Uglifier as compressor for JavaScript assets
22
+ gem 'uglifier', '>= 1.3.0'
23
+ # See https://github.com/rails/execjs#readme for more supported runtimes
24
+ # gem 'therubyracer', platforms: :ruby
25
+
26
+ # Use CoffeeScript for .coffee assets and views
27
+ gem 'coffee-rails', '~> 4.2'
28
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
29
+ gem 'turbolinks', '~> 5'
30
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
31
+ gem 'jbuilder', '~> 2.5'
32
+ # Use Redis adapter to run Action Cable in production
33
+ # gem 'redis', '~> 4.0'
34
+ # Use ActiveModel has_secure_password
35
+ gem 'bcrypt', git: 'https://github.com/codahale/bcrypt-ruby.git', require: 'bcrypt'
36
+
37
+ # Use Capistrano for deployment
38
+ # gem 'capistrano-rails', group: :development
39
+
40
+ group :development, :test do
41
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
42
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
43
+ # Adds support for Capybara system testing and selenium driver
44
+ gem 'capybara', '~> 2.13'
45
+ gem 'selenium-webdriver'
46
+ end
47
+
48
+ group :development do
49
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
50
+ gem 'web-console', '>= 3.3.0'
51
+ end
52
+
53
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
54
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
data/Gemfile.lock ADDED
@@ -0,0 +1,237 @@
1
+ GIT
2
+ remote: https://github.com/codahale/bcrypt-ruby.git
3
+ revision: f2db689ba567d1a018f4dacb1ccf909adc93e887
4
+ specs:
5
+ bcrypt (3.1.11)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.1.6)
11
+ actionpack (= 5.1.6)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.1.6)
15
+ actionpack (= 5.1.6)
16
+ actionview (= 5.1.6)
17
+ activejob (= 5.1.6)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.1.6)
21
+ actionview (= 5.1.6)
22
+ activesupport (= 5.1.6)
23
+ rack (~> 2.0)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.1.6)
28
+ activesupport (= 5.1.6)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.1.6)
34
+ activesupport (= 5.1.6)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.1.6)
37
+ activesupport (= 5.1.6)
38
+ activerecord (5.1.6)
39
+ activemodel (= 5.1.6)
40
+ activesupport (= 5.1.6)
41
+ arel (~> 8.0)
42
+ activesupport (5.1.6)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (>= 0.7, < 2)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ addressable (2.5.2)
48
+ public_suffix (>= 2.0.2, < 4.0)
49
+ arel (8.0.0)
50
+ autoprefixer-rails (8.2.0)
51
+ execjs
52
+ bindex (0.5.0)
53
+ bootstrap-sass (3.3.7)
54
+ autoprefixer-rails (>= 5.2.1)
55
+ sass (>= 3.3.4)
56
+ builder (3.2.3)
57
+ byebug (10.0.2)
58
+ capybara (2.18.0)
59
+ addressable
60
+ mini_mime (>= 0.1.3)
61
+ nokogiri (>= 1.3.3)
62
+ rack (>= 1.0.0)
63
+ rack-test (>= 0.5.4)
64
+ xpath (>= 2.0, < 4.0)
65
+ childprocess (0.9.0)
66
+ ffi (~> 1.0, >= 1.0.11)
67
+ climate_control (0.2.0)
68
+ coffee-rails (4.2.2)
69
+ coffee-script (>= 2.2.0)
70
+ railties (>= 4.0.0)
71
+ coffee-script (2.4.1)
72
+ coffee-script-source
73
+ execjs
74
+ coffee-script-source (1.12.2)
75
+ concurrent-ruby (1.0.5)
76
+ crass (1.0.4)
77
+ devise (4.4.3)
78
+ bcrypt (~> 3.0)
79
+ orm_adapter (~> 0.1)
80
+ railties (>= 4.1.0, < 6.0)
81
+ responders
82
+ warden (~> 1.2.3)
83
+ erubi (1.7.1)
84
+ execjs (2.7.0)
85
+ ffi (1.9.23-x86-mingw32)
86
+ globalid (0.4.1)
87
+ activesupport (>= 4.2.0)
88
+ i18n (1.0.0)
89
+ concurrent-ruby (~> 1.0)
90
+ jbuilder (2.7.0)
91
+ activesupport (>= 4.2.0)
92
+ multi_json (>= 1.2)
93
+ jquery-rails (4.3.1)
94
+ rails-dom-testing (>= 1, < 3)
95
+ railties (>= 4.2.0)
96
+ thor (>= 0.14, < 2.0)
97
+ loofah (2.2.2)
98
+ crass (~> 1.0.2)
99
+ nokogiri (>= 1.5.9)
100
+ mail (2.7.0)
101
+ mini_mime (>= 0.1.1)
102
+ method_source (0.9.0)
103
+ mime-types (3.1)
104
+ mime-types-data (~> 3.2015)
105
+ mime-types-data (3.2016.0521)
106
+ mimemagic (0.3.2)
107
+ mini_mime (1.0.0)
108
+ mini_portile2 (2.3.0)
109
+ minitest (5.11.3)
110
+ multi_json (1.13.1)
111
+ nio4r (2.3.0)
112
+ nokogiri (1.8.2-x86-mingw32)
113
+ mini_portile2 (~> 2.3.0)
114
+ orm_adapter (0.5.0)
115
+ paperclip (6.0.0)
116
+ activemodel (>= 4.2.0)
117
+ activesupport (>= 4.2.0)
118
+ mime-types
119
+ mimemagic (~> 0.3.0)
120
+ terrapin (~> 0.6.0)
121
+ public_suffix (3.0.2)
122
+ puma (3.11.4)
123
+ rack (2.0.4)
124
+ rack-test (1.0.0)
125
+ rack (>= 1.0, < 3)
126
+ rails (5.1.6)
127
+ actioncable (= 5.1.6)
128
+ actionmailer (= 5.1.6)
129
+ actionpack (= 5.1.6)
130
+ actionview (= 5.1.6)
131
+ activejob (= 5.1.6)
132
+ activemodel (= 5.1.6)
133
+ activerecord (= 5.1.6)
134
+ activesupport (= 5.1.6)
135
+ bundler (>= 1.3.0)
136
+ railties (= 5.1.6)
137
+ sprockets-rails (>= 2.0.0)
138
+ rails-dom-testing (2.0.3)
139
+ activesupport (>= 4.2.0)
140
+ nokogiri (>= 1.6)
141
+ rails-html-sanitizer (1.0.4)
142
+ loofah (~> 2.2, >= 2.2.2)
143
+ railties (5.1.6)
144
+ actionpack (= 5.1.6)
145
+ activesupport (= 5.1.6)
146
+ method_source
147
+ rake (>= 0.8.7)
148
+ thor (>= 0.18.1, < 2.0)
149
+ rake (12.3.1)
150
+ rb-fsevent (0.10.3)
151
+ rb-inotify (0.9.10)
152
+ ffi (>= 0.5.0, < 2)
153
+ responders (2.4.0)
154
+ actionpack (>= 4.2.0, < 5.3)
155
+ railties (>= 4.2.0, < 5.3)
156
+ rubyzip (1.2.1)
157
+ sass (3.5.6)
158
+ sass-listen (~> 4.0.0)
159
+ sass-listen (4.0.0)
160
+ rb-fsevent (~> 0.9, >= 0.9.4)
161
+ rb-inotify (~> 0.9, >= 0.9.7)
162
+ sass-rails (5.0.7)
163
+ railties (>= 4.0.0, < 6)
164
+ sass (~> 3.1)
165
+ sprockets (>= 2.8, < 4.0)
166
+ sprockets-rails (>= 2.0, < 4.0)
167
+ tilt (>= 1.1, < 3)
168
+ selenium-webdriver (3.11.0)
169
+ childprocess (~> 0.5)
170
+ rubyzip (~> 1.2)
171
+ simple_form (3.5.1)
172
+ actionpack (> 4, < 5.2)
173
+ activemodel (> 4, < 5.2)
174
+ sprockets (3.7.1)
175
+ concurrent-ruby (~> 1.0)
176
+ rack (> 1, < 3)
177
+ sprockets-rails (3.2.1)
178
+ actionpack (>= 4.0)
179
+ activesupport (>= 4.0)
180
+ sprockets (>= 3.0.0)
181
+ sqlite3 (1.3.13-x86-mingw32)
182
+ terrapin (0.6.0)
183
+ climate_control (>= 0.0.3, < 1.0)
184
+ thor (0.20.0)
185
+ thread_safe (0.3.6)
186
+ tilt (2.0.8)
187
+ turbolinks (5.1.1)
188
+ turbolinks-source (~> 5.1)
189
+ turbolinks-source (5.1.0)
190
+ tzinfo (1.2.5)
191
+ thread_safe (~> 0.1)
192
+ tzinfo-data (1.2018.4)
193
+ tzinfo (>= 1.0.0)
194
+ uglifier (4.1.9)
195
+ execjs (>= 0.3.0, < 3)
196
+ uikit-rails (1.0.1)
197
+ sass (>= 3.3.4)
198
+ warden (1.2.7)
199
+ rack (>= 1.0)
200
+ web-console (3.6.0)
201
+ actionview (>= 5.0)
202
+ activemodel (>= 5.0)
203
+ bindex (>= 0.4.0)
204
+ railties (>= 5.0)
205
+ websocket-driver (0.6.5)
206
+ websocket-extensions (>= 0.1.0)
207
+ websocket-extensions (0.1.3)
208
+ xpath (3.0.0)
209
+ nokogiri (~> 1.8)
210
+
211
+ PLATFORMS
212
+ x86-mingw32
213
+
214
+ DEPENDENCIES
215
+ bcrypt!
216
+ bootstrap-sass (~> 3.3, >= 3.3.7)
217
+ byebug
218
+ capybara (~> 2.13)
219
+ coffee-rails (~> 4.2)
220
+ devise (~> 4.4, >= 4.4.3)
221
+ jbuilder (~> 2.5)
222
+ jquery-rails (~> 4.3, >= 4.3.1)
223
+ paperclip (~> 6.0)
224
+ puma (~> 3.7)
225
+ rails (~> 5.1.6)
226
+ sass-rails (~> 5.0)
227
+ selenium-webdriver
228
+ simple_form (~> 3.5, >= 3.5.1)
229
+ sqlite3
230
+ turbolinks (~> 5)
231
+ tzinfo-data
232
+ uglifier (>= 1.3.0)
233
+ uikit-rails (~> 1.0, >= 1.0.1)
234
+ web-console (>= 3.3.0)
235
+
236
+ BUNDLED WITH
237
+ 1.16.1
data/README.md ADDED
@@ -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
+ * ...
data/Rakefile ADDED
@@ -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,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
File without changes
@@ -0,0 +1,17 @@
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 turbolinks
15
+ //= require jquery
16
+ //= require jquery_ujs
17
+ //= require bootstrap-sprockets
@@ -0,0 +1,3 @@
1
+ # Place all the behaviors and hooks related to the matching controller here.
2
+ # All this logic will automatically be available in application.js.
3
+ # You can use CoffeeScript in this file: http://coffeescript.org/
@@ -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);
File without changes
@@ -0,0 +1,17 @@
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
+ */
16
+ @import "bootstrap-sprockets";
17
+ @import "bootstrap";
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the Brands controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Channel < ActionCable::Channel::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Connection < ActionCable::Connection::Base
3
+ end
4
+ end