rails-uploader 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39fe25ed54f3159ac1ca03401d7284fc6bb7035d
4
- data.tar.gz: c0d277d81fc6f734dc63aaeadd95b5c65d4d62d8
3
+ metadata.gz: 7f143cd3e8dac6c291cecdaf06d331d3d9690673
4
+ data.tar.gz: 952d801d4ee244c8a74ef6f4a102eb846e114e0a
5
5
  SHA512:
6
- metadata.gz: df9252654d9eec08133b6dd4432b85414451c536ad7ef9bbe3683e6491298ed3e58b417d1ebdd50ee91b71ee994a2eae3d97cc8f712e6024ae30e4ee8462f250
7
- data.tar.gz: b56c7de5d470789b456746a5da6c7afea90393e71b5d03aaf0097a2919a091f44241a738bc0a5a4d5f6574d14f2ae70bb06cea60295a9921898a1bb5b0e90438
6
+ metadata.gz: 089a38f8cab89df78015c54f5548fee9eac523123e4f6ec9bf09614d283d16fda6c0f913fa4df2a77e8da28d240fffe4504203c5b0a39df000998fadfcb51127
7
+ data.tar.gz: 1454295a436ddce0f3dc627fab4d1ed442f856c53eafe1767e194684cc5c7fcda6083e7c053f1c5b460b0f70d2f8c88cf4eb593b24d56f8c73ea9dd9b34190e0
@@ -89,6 +89,7 @@ module Uploader
89
89
  end
90
90
 
91
91
  def fileupload_associations
92
+ return [] if self.class.fileupload_options.nil?
92
93
  self.class.fileupload_options.keys
93
94
  end
94
95
 
@@ -1,3 +1,3 @@
1
1
  module Uploader
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
@@ -28,7 +28,7 @@
28
28
  }
29
29
  .uploader-dnd-hints .uploader-dnd-hint span {
30
30
  padding: 10px 30px;
31
- background: url(/assets/uploader/ico_attach.png) no-repeat 9px center;
31
+ background: url(image_path("uploader/ico_attach.png")) no-repeat 9px center;
32
32
  }
33
33
  .uploader-dnd-hints input.uploader {
34
34
  height: 31px;
@@ -153,7 +153,7 @@ input[disabled].uploader-button.gray {
153
153
  position: absolute;
154
154
  top: -10px;
155
155
  right: -10px;
156
- background: url(/assets/uploader/but_del_tag2.png) no-repeat top left;
156
+ background: url(image_path("uploader/but_del_tag2.png")) no-repeat top left;
157
157
  }
158
158
  .uploader-dnd-area .attach_item .del_btn:hover {
159
159
  background-position: bottom left;
@@ -198,7 +198,7 @@ input[disabled].uploader-button.gray {
198
198
  }
199
199
  .uploader-dnd-area .attach_item .progressBar .fill {
200
200
  height: 8px;
201
- background: url(/assets/uploader/progressBarFillBg.png) repeat-x;
201
+ background: url(image_path("uploader/progressBarFillBg.png")) repeat-x;
202
202
  }
203
203
 
204
204
  .uploader-dnd-area .attach_item.loading .progressBar {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-09 00:00:00.000000000 Z
12
+ date: 2016-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-ui-rails
@@ -184,7 +184,7 @@ files:
184
184
  - vendor/assets/javascripts/uploader/jquery.iframe-transport.js
185
185
  - vendor/assets/javascripts/uploader/vendor/jquery.ui.widget.js
186
186
  - vendor/assets/javascripts/uploader/vendor/tmpl.min.js
187
- - vendor/assets/stylesheets/uploader/default.css
187
+ - vendor/assets/stylesheets/uploader/default.css.scss
188
188
  - vendor/assets/stylesheets/uploader/jquery.fileupload-ui.css
189
189
  homepage: https://github.com/superp/rails-uploader
190
190
  licenses: []
@@ -277,3 +277,4 @@ test_files:
277
277
  - spec/requests/attachments_controller_spec.rb
278
278
  - spec/spec_helper.rb
279
279
  - spec/uploader_spec.rb
280
+ has_rdoc: