rails_admin_dropzone 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/app/assets/javascripts/rails_admin/rails_admin_dropzone.js.erb +0 -27
  4. data/app/views/rails_admin/main/dropzone.html.haml +24 -0
  5. data/example/.gitignore +17 -0
  6. data/example/Gemfile +53 -0
  7. data/example/Gemfile.lock +215 -0
  8. data/example/README.rdoc +28 -0
  9. data/example/Rakefile +6 -0
  10. data/example/app/assets/images/.keep +0 -0
  11. data/example/app/assets/javascripts/application.js +16 -0
  12. data/example/app/assets/stylesheets/application.css +15 -0
  13. data/example/app/controllers/application_controller.rb +5 -0
  14. data/example/app/controllers/concerns/.keep +0 -0
  15. data/example/app/helpers/application_helper.rb +2 -0
  16. data/example/app/mailers/.keep +0 -0
  17. data/example/app/models/.keep +0 -0
  18. data/example/app/models/album.rb +7 -0
  19. data/example/app/models/concerns/.keep +0 -0
  20. data/example/app/models/photo.rb +4 -0
  21. data/example/app/models/product.rb +7 -0
  22. data/example/app/models/product_image.rb +4 -0
  23. data/example/app/uploaders/photo_uploader.rb +51 -0
  24. data/example/app/uploaders/product_image_uploader.rb +51 -0
  25. data/example/app/views/layouts/application.html.erb +14 -0
  26. data/example/bin/bundle +3 -0
  27. data/example/bin/rails +9 -0
  28. data/example/bin/rake +9 -0
  29. data/example/bin/setup +29 -0
  30. data/example/bin/spring +15 -0
  31. data/example/config.ru +4 -0
  32. data/example/config/application.rb +35 -0
  33. data/example/config/boot.rb +3 -0
  34. data/example/config/database.yml +25 -0
  35. data/example/config/environment.rb +5 -0
  36. data/example/config/environments/development.rb +41 -0
  37. data/example/config/environments/production.rb +79 -0
  38. data/example/config/environments/test.rb +42 -0
  39. data/example/config/initializers/assets.rb +11 -0
  40. data/example/config/initializers/backtrace_silencers.rb +7 -0
  41. data/example/config/initializers/cookies_serializer.rb +3 -0
  42. data/example/config/initializers/filter_parameter_logging.rb +4 -0
  43. data/example/config/initializers/inflections.rb +16 -0
  44. data/example/config/initializers/mime_types.rb +4 -0
  45. data/example/config/initializers/rails_admin.rb +42 -0
  46. data/example/config/initializers/session_store.rb +3 -0
  47. data/example/config/initializers/wrap_parameters.rb +14 -0
  48. data/example/config/locales/en.yml +23 -0
  49. data/example/config/routes.rb +57 -0
  50. data/example/config/secrets.yml +22 -0
  51. data/example/db/migrate/20160708113513_create_albums.rb +9 -0
  52. data/example/db/migrate/20160708113527_create_photos.rb +10 -0
  53. data/example/db/migrate/20160711132743_create_products.rb +9 -0
  54. data/example/db/migrate/20160711132755_create_product_images.rb +10 -0
  55. data/example/db/schema.rb +44 -0
  56. data/example/db/seeds.rb +7 -0
  57. data/example/lib/assets/.keep +0 -0
  58. data/example/lib/tasks/.keep +0 -0
  59. data/example/log/.keep +0 -0
  60. data/example/public/404.html +67 -0
  61. data/example/public/422.html +67 -0
  62. data/example/public/500.html +66 -0
  63. data/example/public/favicon.ico +0 -0
  64. data/example/public/robots.txt +5 -0
  65. data/example/public/uploads/photo/image/1/i-should-buy-a-boat__6th_copy_.jpg +0 -0
  66. data/example/public/uploads/photo/image/1/i-should-buy-a-boat__9th_copy_.jpg +0 -0
  67. data/example/public/uploads/photo/image/2/i-should-buy-a-boat__7th_copy_.jpg +0 -0
  68. data/example/public/uploads/photo/image/3/i-should-buy-a-boat__8th_copy_.jpg +0 -0
  69. data/example/public/uploads/photo/image/4/i-should-buy-a-boat__6th_copy_.jpg +0 -0
  70. data/example/public/uploads/photo/image/5/i-should-buy-a-boat__7th_copy_.jpg +0 -0
  71. data/example/public/uploads/photo/image/6/i-should-buy-a-boat__8th_copy_.jpg +0 -0
  72. data/example/public/uploads/photo/image/7/i-should-buy-a-boat__11th_copy_.jpg +0 -0
  73. data/example/public/uploads/photo/image/8/i-should-buy-a-boat__8th_copy_.jpg +0 -0
  74. data/example/public/uploads/photo/image/9/i-should-buy-a-boat__8th_copy_.jpg +0 -0
  75. data/example/public/uploads/product_image/image/1/i-should-buy-a-boat__8th_copy_.jpg +0 -0
  76. data/example/vendor/assets/javascripts/.keep +0 -0
  77. data/example/vendor/assets/stylesheets/.keep +0 -0
  78. data/lib/rails_admin_dropzone/version.rb +1 -1
  79. metadata +75 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef48e5dc825d8542da261ae31b87ba54fc9ecb17
4
- data.tar.gz: 4c227184ff42784ebb85cc940e2610bee1cd84ce
3
+ metadata.gz: db689fdc8b1f7bfb747d14747aa7f58d9e700bd8
4
+ data.tar.gz: 62877c0d4c8628b4b79bf9e4a308e9142c3dffb3
5
5
  SHA512:
6
- metadata.gz: 4be1e57e68ee51db5ea20a9696ac446d671068f44ed5cd4e1e0e4379c7b6b1e98de8185cef41113ed4b51e7024af9f5011dcb3608b9d8f0d552133a154a291af
7
- data.tar.gz: d30d48925461524c7afb0bf589e924ddb57a09d802a2c9032ee424d55713221ff84251d2900408f370516fd6f89d1dbaa176f2b419b0316cdc07ed857eb2e220
6
+ metadata.gz: 822a302282466ba2123ff8a1fa8f79e2187e9d139e9d1ec862090d67486755d174224e4ea138cf853b021bd8534ca92dbeb6a820f19ab3ab7e7ed93405204a62
7
+ data.tar.gz: 6191c1838cf3631b18752f36c62123db7cdf9aa8db51ced898e74d770fc788285193116d907049d21f832d81582a0de1ee76706fbb72bcf05d46ba35b6a67600
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_admin_dropzone (1.0.4)
4
+ rails_admin_dropzone (1.0.6)
5
5
  dropzonejs-rails (~> 0.7.3)
6
6
  jquery-rails (>= 3.0, < 5)
7
7
  simple_form (~> 3.2)
@@ -137,4 +137,4 @@ DEPENDENCIES
137
137
  rspec (~> 3.0)
138
138
 
139
139
  BUNDLED WITH
140
- 1.11.2
140
+ 1.12.2
@@ -1,28 +1 @@
1
1
  //= require dropzone
2
-
3
- $(document).on('rails_admin.dom_ready', function() {
4
- // disable auto discover
5
- Dropzone.autoDiscover = true;
6
-
7
- if ($(".dropzone").length){
8
- var dropzone = new Dropzone (".dropzone", {
9
- maxFilesize: 256, // Set the maximum file size to 256 MB
10
- paramName: "album[second_attr][]", // Rails expects the file upload to be something like model[field_name]
11
- addRemoveLinks: false, // Don't show remove links on dropzone itself.
12
-
13
- // Translations
14
- dictDefaultMessage: "<%= I18n.t('admin.actions.dropzone.dictDefaultMessage') %>",
15
- dictFallbackMessage: "<%= I18n.t('admin.actions.dropzone.dictFallbackMessage') %>",
16
- dictFallbackText: "<%= I18n.t('admin.actions.dropzone.dictFallbackText') %>",
17
- dictFileTooBig: "<%= I18n.t('admin.actions.dropzone.dictFileTooBig') %>",
18
- dictInvalidFileType: "<%= I18n.t('admin.actions.dropzone.dictInvalidFileType') %>",
19
- dictResponseError: "<%= I18n.t('admin.actions.dropzone.dictResponseError') %>",
20
- dictCancelUpload: "<%= I18n.t('admin.actions.dropzone.dictCancelUpload') %>",
21
- dictCancelUploadConfirmation: "<%= I18n.t('admin.actions.dropzone.dictCancelUploadConfirmation') %>",
22
- dictRemoveFile: "<%= I18n.t('admin.actions.dropzone.dictRemoveFile') %>",
23
- dictMaxFilesExceeded: "<%= I18n.t('admin.actions.dropzone.dictMaxFilesExceeded') %>"
24
- });
25
- }
26
- });
27
-
28
-
@@ -1,5 +1,29 @@
1
1
  = stylesheet_link_tag 'rails_admin/rails_admin_dropzone'
2
2
  = javascript_include_tag 'rails_admin/rails_admin_dropzone'
3
3
 
4
+ :javascript
5
+ $(document).on('rails_admin.dom_ready', function() {
6
+ // disable auto discover
7
+ Dropzone.autoDiscover = true;
8
+ if ($(".dropzone").length){
9
+ var dropzone = new Dropzone (".dropzone", {
10
+ maxFilesize: 256, // Set the maximum file size to 256 MB
11
+ paramName: "#{@object.class.to_s.downcase}[second_attr][]", // Rails expects the file upload to be something like model[field_name]
12
+ addRemoveLinks: false, // Don't show remove links on dropzone itself.
13
+ // Translations
14
+ dictDefaultMessage: "#{I18n.t('admin.actions.dropzone.dictDefaultMessage')}",
15
+ dictFallbackMessage: "#{I18n.t('admin.actions.dropzone.dictFallbackMessage')}",
16
+ dictFallbackText: "#{I18n.t('admin.actions.dropzone.dictFallbackText')}",
17
+ dictFileTooBig: "#{I18n.t('admin.actions.dropzone.dictFileTooBig')}",
18
+ dictInvalidFileType: "#{I18n.t('admin.actions.dropzone.dictInvalidFileType')}",
19
+ dictResponseError: "#{I18n.t('admin.actions.dropzone.dictResponseError')}",
20
+ dictCancelUpload: "#{I18n.t('admin.actions.dropzone.dictCancelUpload')}",
21
+ dictCancelUploadConfirmation: "#{I18n.t('admin.actions.dropzone.dictCancelUploadConfirmation')}",
22
+ dictRemoveFile: "#{I18n.t('admin.actions.dropzone.dictRemoveFile')}",
23
+ dictMaxFilesExceeded: "#{I18n.t('admin.actions.dropzone.dictMaxFilesExceeded')}"
24
+ });
25
+ }
26
+ });
27
+
4
28
  = simple_form_for(rails_admin.dropzone_url(@abstract_model.to_param, id: @object.id), html: { class: 'dropzone', multipart: true }) do |f|
5
29
  = f.input :id, :as => :hidden, :input_html => { :name => "id", :value => @object.id }
@@ -0,0 +1,17 @@
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
+ !/log/.keep
17
+ /tmp
data/example/Gemfile ADDED
@@ -0,0 +1,53 @@
1
+ source 'https://rubygems.org'
2
+
3
+
4
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
+ gem 'rails', '4.2.6'
6
+ # Use sqlite3 as the database for Active Record
7
+ gem 'sqlite3'
8
+ # Use SCSS for stylesheets
9
+ gem 'sass-rails', '~> 5.0'
10
+ # Use Uglifier as compressor for JavaScript assets
11
+ gem 'uglifier', '>= 1.3.0'
12
+ # Use CoffeeScript for .coffee assets and views
13
+ gem 'coffee-rails', '~> 4.1.0'
14
+ # See https://github.com/rails/execjs#readme for more supported runtimes
15
+ # gem 'therubyracer', platforms: :ruby
16
+
17
+
18
+ ## Example gems
19
+ gem 'carrierwave'
20
+ gem 'rails_admin'
21
+ gem 'rails_admin_dropzone', path: '/home/w3case/ruby/rails_admin_dropzone'
22
+
23
+
24
+ # Use jquery as the JavaScript library
25
+ gem 'jquery-rails'
26
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
27
+ gem 'turbolinks'
28
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
29
+ gem 'jbuilder', '~> 2.0'
30
+ # bundle exec rake doc:rails generates the API under doc/api.
31
+ gem 'sdoc', '~> 0.4.0', group: :doc
32
+
33
+ # Use ActiveModel has_secure_password
34
+ # gem 'bcrypt', '~> 3.1.7'
35
+
36
+ # Use Unicorn as the app server
37
+ # gem 'unicorn'
38
+
39
+ # Use Capistrano for deployment
40
+ # gem 'capistrano-rails', group: :development
41
+
42
+ group :development, :test do
43
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
44
+ gem 'byebug'
45
+ end
46
+
47
+ group :development do
48
+ # Access an IRB console on exception pages or by using <%= console %> in views
49
+ gem 'web-console', '~> 2.0'
50
+
51
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
52
+ gem 'spring'
53
+ end
@@ -0,0 +1,215 @@
1
+ PATH
2
+ remote: /home/w3case/ruby/rails_admin_dropzone
3
+ specs:
4
+ rails_admin_dropzone (1.0.5)
5
+ dropzonejs-rails (~> 0.7.3)
6
+ jquery-rails (>= 3.0, < 5)
7
+ simple_form (~> 3.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (4.2.6)
13
+ actionpack (= 4.2.6)
14
+ actionview (= 4.2.6)
15
+ activejob (= 4.2.6)
16
+ mail (~> 2.5, >= 2.5.4)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ actionpack (4.2.6)
19
+ actionview (= 4.2.6)
20
+ activesupport (= 4.2.6)
21
+ rack (~> 1.6)
22
+ rack-test (~> 0.6.2)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ actionview (4.2.6)
26
+ activesupport (= 4.2.6)
27
+ builder (~> 3.1)
28
+ erubis (~> 2.7.0)
29
+ rails-dom-testing (~> 1.0, >= 1.0.5)
30
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
+ activejob (4.2.6)
32
+ activesupport (= 4.2.6)
33
+ globalid (>= 0.3.0)
34
+ activemodel (4.2.6)
35
+ activesupport (= 4.2.6)
36
+ builder (~> 3.1)
37
+ activerecord (4.2.6)
38
+ activemodel (= 4.2.6)
39
+ activesupport (= 4.2.6)
40
+ arel (~> 6.0)
41
+ activesupport (4.2.6)
42
+ i18n (~> 0.7)
43
+ json (~> 1.7, >= 1.7.7)
44
+ minitest (~> 5.1)
45
+ thread_safe (~> 0.3, >= 0.3.4)
46
+ tzinfo (~> 1.1)
47
+ arel (6.0.3)
48
+ binding_of_caller (0.7.2)
49
+ debug_inspector (>= 0.0.1)
50
+ builder (3.2.2)
51
+ byebug (9.0.5)
52
+ carrierwave (0.11.2)
53
+ activemodel (>= 3.2.0)
54
+ activesupport (>= 3.2.0)
55
+ json (>= 1.7)
56
+ mime-types (>= 1.16)
57
+ mimemagic (>= 0.3.0)
58
+ coffee-rails (4.1.1)
59
+ coffee-script (>= 2.2.0)
60
+ railties (>= 4.0.0, < 5.1.x)
61
+ coffee-script (2.4.1)
62
+ coffee-script-source
63
+ execjs
64
+ coffee-script-source (1.10.0)
65
+ concurrent-ruby (1.0.2)
66
+ debug_inspector (0.0.2)
67
+ dropzonejs-rails (0.7.3)
68
+ rails (> 3.1)
69
+ erubis (2.7.0)
70
+ execjs (2.7.0)
71
+ font-awesome-rails (4.6.3.1)
72
+ railties (>= 3.2, < 5.1)
73
+ globalid (0.3.6)
74
+ activesupport (>= 4.1.0)
75
+ haml (4.0.7)
76
+ tilt
77
+ i18n (0.7.0)
78
+ jbuilder (2.5.0)
79
+ activesupport (>= 3.0.0, < 5.1)
80
+ multi_json (~> 1.2)
81
+ jquery-rails (4.1.1)
82
+ rails-dom-testing (>= 1, < 3)
83
+ railties (>= 4.2.0)
84
+ thor (>= 0.14, < 2.0)
85
+ jquery-ui-rails (5.0.5)
86
+ railties (>= 3.2.16)
87
+ json (1.8.3)
88
+ kaminari (0.17.0)
89
+ actionpack (>= 3.0.0)
90
+ activesupport (>= 3.0.0)
91
+ loofah (2.0.3)
92
+ nokogiri (>= 1.5.9)
93
+ mail (2.6.4)
94
+ mime-types (>= 1.16, < 4)
95
+ mime-types (3.1)
96
+ mime-types-data (~> 3.2015)
97
+ mime-types-data (3.2016.0521)
98
+ mimemagic (0.3.1)
99
+ mini_portile2 (2.1.0)
100
+ minitest (5.9.0)
101
+ multi_json (1.12.1)
102
+ nested_form (0.3.2)
103
+ nokogiri (1.6.8)
104
+ mini_portile2 (~> 2.1.0)
105
+ pkg-config (~> 1.1.7)
106
+ pkg-config (1.1.7)
107
+ rack (1.6.4)
108
+ rack-pjax (0.8.0)
109
+ nokogiri (~> 1.5)
110
+ rack (~> 1.1)
111
+ rack-test (0.6.3)
112
+ rack (>= 1.0)
113
+ rails (4.2.6)
114
+ actionmailer (= 4.2.6)
115
+ actionpack (= 4.2.6)
116
+ actionview (= 4.2.6)
117
+ activejob (= 4.2.6)
118
+ activemodel (= 4.2.6)
119
+ activerecord (= 4.2.6)
120
+ activesupport (= 4.2.6)
121
+ bundler (>= 1.3.0, < 2.0)
122
+ railties (= 4.2.6)
123
+ sprockets-rails
124
+ rails-deprecated_sanitizer (1.0.3)
125
+ activesupport (>= 4.2.0.alpha)
126
+ rails-dom-testing (1.0.7)
127
+ activesupport (>= 4.2.0.beta, < 5.0)
128
+ nokogiri (~> 1.6.0)
129
+ rails-deprecated_sanitizer (>= 1.0.1)
130
+ rails-html-sanitizer (1.0.3)
131
+ loofah (~> 2.0)
132
+ rails_admin (0.8.1)
133
+ builder (~> 3.1)
134
+ coffee-rails (~> 4.0)
135
+ font-awesome-rails (>= 3.0, < 5)
136
+ haml (~> 4.0)
137
+ jquery-rails (>= 3.0, < 5)
138
+ jquery-ui-rails (~> 5.0)
139
+ kaminari (~> 0.14)
140
+ nested_form (~> 0.3)
141
+ rack-pjax (~> 0.7)
142
+ rails (~> 4.0)
143
+ remotipart (~> 1.0)
144
+ safe_yaml (~> 1.0)
145
+ sass-rails (>= 4.0, < 6)
146
+ railties (4.2.6)
147
+ actionpack (= 4.2.6)
148
+ activesupport (= 4.2.6)
149
+ rake (>= 0.8.7)
150
+ thor (>= 0.18.1, < 2.0)
151
+ rake (11.2.2)
152
+ rdoc (4.2.2)
153
+ json (~> 1.4)
154
+ remotipart (1.2.1)
155
+ safe_yaml (1.0.4)
156
+ sass (3.4.22)
157
+ sass-rails (5.0.5)
158
+ railties (>= 4.0.0, < 6)
159
+ sass (~> 3.1)
160
+ sprockets (>= 2.8, < 4.0)
161
+ sprockets-rails (>= 2.0, < 4.0)
162
+ tilt (>= 1.1, < 3)
163
+ sdoc (0.4.1)
164
+ json (~> 1.7, >= 1.7.7)
165
+ rdoc (~> 4.0)
166
+ simple_form (3.2.1)
167
+ actionpack (> 4, < 5.1)
168
+ activemodel (> 4, < 5.1)
169
+ spring (1.7.2)
170
+ sprockets (3.6.3)
171
+ concurrent-ruby (~> 1.0)
172
+ rack (> 1, < 3)
173
+ sprockets-rails (3.1.1)
174
+ actionpack (>= 4.0)
175
+ activesupport (>= 4.0)
176
+ sprockets (>= 3.0.0)
177
+ sqlite3 (1.3.11)
178
+ thor (0.19.1)
179
+ thread_safe (0.3.5)
180
+ tilt (2.0.5)
181
+ turbolinks (5.0.0)
182
+ turbolinks-source (~> 5)
183
+ turbolinks-source (5.0.0)
184
+ tzinfo (1.2.2)
185
+ thread_safe (~> 0.1)
186
+ uglifier (3.0.0)
187
+ execjs (>= 0.3.0, < 3)
188
+ web-console (2.3.0)
189
+ activemodel (>= 4.0)
190
+ binding_of_caller (>= 0.7.2)
191
+ railties (>= 4.0)
192
+ sprockets-rails (>= 2.0, < 4.0)
193
+
194
+ PLATFORMS
195
+ ruby
196
+
197
+ DEPENDENCIES
198
+ byebug
199
+ carrierwave
200
+ coffee-rails (~> 4.1.0)
201
+ jbuilder (~> 2.0)
202
+ jquery-rails
203
+ rails (= 4.2.6)
204
+ rails_admin
205
+ rails_admin_dropzone!
206
+ sass-rails (~> 5.0)
207
+ sdoc (~> 0.4.0)
208
+ spring
209
+ sqlite3
210
+ turbolinks
211
+ uglifier (>= 1.3.0)
212
+ web-console (~> 2.0)
213
+
214
+ BUNDLED WITH
215
+ 1.12.2
@@ -0,0 +1,28 @@
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
+ * ...
25
+
26
+
27
+ Please feel free to use a different markup language if you do not plan to run
28
+ <tt>rake doc:app</tt>.
data/example/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 File.expand_path('../config/application', __FILE__)
5
+
6
+ Rails.application.load_tasks
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, vendor/assets/javascripts,
5
+ // or any plugin's 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.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require turbolinks
16
+ //= require_tree .
@@ -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, vendor/assets/stylesheets,
6
+ * or any plugin's 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 styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */