rails_admin_dropzone 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module RailsAdminDropzone
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_dropzone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luiz Picolo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-30 00:00:00.000000000 Z
11
+ date: 2016-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_form
@@ -144,6 +144,79 @@ files:
144
144
  - bin/setup
145
145
  - config/locales/multiple_upload.en.yml
146
146
  - config/locales/multiple_upload.pt-BR.yml
147
+ - example/.gitignore
148
+ - example/Gemfile
149
+ - example/Gemfile.lock
150
+ - example/README.rdoc
151
+ - example/Rakefile
152
+ - example/app/assets/images/.keep
153
+ - example/app/assets/javascripts/application.js
154
+ - example/app/assets/stylesheets/application.css
155
+ - example/app/controllers/application_controller.rb
156
+ - example/app/controllers/concerns/.keep
157
+ - example/app/helpers/application_helper.rb
158
+ - example/app/mailers/.keep
159
+ - example/app/models/.keep
160
+ - example/app/models/album.rb
161
+ - example/app/models/concerns/.keep
162
+ - example/app/models/photo.rb
163
+ - example/app/models/product.rb
164
+ - example/app/models/product_image.rb
165
+ - example/app/uploaders/photo_uploader.rb
166
+ - example/app/uploaders/product_image_uploader.rb
167
+ - example/app/views/layouts/application.html.erb
168
+ - example/bin/bundle
169
+ - example/bin/rails
170
+ - example/bin/rake
171
+ - example/bin/setup
172
+ - example/bin/spring
173
+ - example/config.ru
174
+ - example/config/application.rb
175
+ - example/config/boot.rb
176
+ - example/config/database.yml
177
+ - example/config/environment.rb
178
+ - example/config/environments/development.rb
179
+ - example/config/environments/production.rb
180
+ - example/config/environments/test.rb
181
+ - example/config/initializers/assets.rb
182
+ - example/config/initializers/backtrace_silencers.rb
183
+ - example/config/initializers/cookies_serializer.rb
184
+ - example/config/initializers/filter_parameter_logging.rb
185
+ - example/config/initializers/inflections.rb
186
+ - example/config/initializers/mime_types.rb
187
+ - example/config/initializers/rails_admin.rb
188
+ - example/config/initializers/session_store.rb
189
+ - example/config/initializers/wrap_parameters.rb
190
+ - example/config/locales/en.yml
191
+ - example/config/routes.rb
192
+ - example/config/secrets.yml
193
+ - example/db/migrate/20160708113513_create_albums.rb
194
+ - example/db/migrate/20160708113527_create_photos.rb
195
+ - example/db/migrate/20160711132743_create_products.rb
196
+ - example/db/migrate/20160711132755_create_product_images.rb
197
+ - example/db/schema.rb
198
+ - example/db/seeds.rb
199
+ - example/lib/assets/.keep
200
+ - example/lib/tasks/.keep
201
+ - example/log/.keep
202
+ - example/public/404.html
203
+ - example/public/422.html
204
+ - example/public/500.html
205
+ - example/public/favicon.ico
206
+ - example/public/robots.txt
207
+ - example/public/uploads/photo/image/1/i-should-buy-a-boat__6th_copy_.jpg
208
+ - example/public/uploads/photo/image/1/i-should-buy-a-boat__9th_copy_.jpg
209
+ - example/public/uploads/photo/image/2/i-should-buy-a-boat__7th_copy_.jpg
210
+ - example/public/uploads/photo/image/3/i-should-buy-a-boat__8th_copy_.jpg
211
+ - example/public/uploads/photo/image/4/i-should-buy-a-boat__6th_copy_.jpg
212
+ - example/public/uploads/photo/image/5/i-should-buy-a-boat__7th_copy_.jpg
213
+ - example/public/uploads/photo/image/6/i-should-buy-a-boat__8th_copy_.jpg
214
+ - example/public/uploads/photo/image/7/i-should-buy-a-boat__11th_copy_.jpg
215
+ - example/public/uploads/photo/image/8/i-should-buy-a-boat__8th_copy_.jpg
216
+ - example/public/uploads/photo/image/9/i-should-buy-a-boat__8th_copy_.jpg
217
+ - example/public/uploads/product_image/image/1/i-should-buy-a-boat__8th_copy_.jpg
218
+ - example/vendor/assets/javascripts/.keep
219
+ - example/vendor/assets/stylesheets/.keep
147
220
  - lib/rails_admin_dropzone.rb
148
221
  - lib/rails_admin_dropzone/engine.rb
149
222
  - lib/rails_admin_dropzone/version.rb