dropzonejs-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Rakefile +2 -2
- data/lib/dropzonejs-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/dropzone/dropzone.css.scss +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzhlMzAwNzE4YTE2ZTUzN2EyMjg2N2Y2MTQ1MDljMWJjMGVlZmY0Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTU0Mjg3ZmE0OGY0OTY2NTI2MjA5Y2M0MGU1N2UyMDMyNzNhZTNlMQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGY4YTlhNTczYTNjYmNkNGQ2YTc3NDcyZDUwMGU5MzMyZmQ3NmUyNWJiZDY3
|
10
|
+
YjY5ZGY3MjIwZjBiYjQ3ZjAwYTE4N2Y2ZDQwM2Q5MTI0NWYxM2NhMmQyYzZm
|
11
|
+
NGUxMDM4YzMwNTlhMGRkZDZhMWFlZjI2ZmRiMzkyZjZiNmU2YzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzhjMjg3OGI2ZjJhZTg3YTE3NGFmMzZjNjEyMWE0MDg1MWNjODk0N2RiNzlk
|
14
|
+
MWFmYzc4NWM3NzA2Yjc0Y2MwNWVlZDAxYmE4YWE4NmJmZmI5MWFiYjA1YTgx
|
15
|
+
NDQzMDQ2MjQ3NTRmOGIzZDczNGFkNmUwN2NhYmRiMDlkMzg3MDY=
|
data/Rakefile
CHANGED
@@ -58,7 +58,7 @@ end
|
|
58
58
|
def fix_image_links(css_file)
|
59
59
|
file_name = DropzonejsRails::Engine.root.join(css_file)
|
60
60
|
original_css = File.read(file_name)
|
61
|
-
fixed_css = original_css.gsub(/url\(\"\.\.\/images\/(.+\.png)\"\)/, 'image-
|
61
|
+
fixed_css = original_css.gsub(/url\(\"\.\.\/images\/(.+\.png)\"\)/, 'image-url("dropzone/\1")')
|
62
62
|
|
63
63
|
File.open(file_name, 'w') { |file| file << fixed_css }
|
64
64
|
end
|
@@ -75,4 +75,4 @@ def new_version
|
|
75
75
|
parts = DropzonejsRails::VERSION.split('.')
|
76
76
|
parts[2] = parts[2].to_i + 1
|
77
77
|
parts.join '.'
|
78
|
-
end
|
78
|
+
end
|
@@ -169,7 +169,7 @@
|
|
169
169
|
-o-transition: opacity 0.3s ease-in-out;
|
170
170
|
-ms-transition: opacity 0.3s ease-in-out;
|
171
171
|
transition: opacity 0.3s ease-in-out;
|
172
|
-
background-image: image-
|
172
|
+
background-image: image-url("dropzone/spritemap.png");
|
173
173
|
background-repeat: no-repeat;
|
174
174
|
background-position: 0 0;
|
175
175
|
position: absolute;
|
@@ -182,7 +182,7 @@
|
|
182
182
|
}
|
183
183
|
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
|
184
184
|
.dropzone .dz-default.dz-message {
|
185
|
-
background-image: image-
|
185
|
+
background-image: image-url("dropzone/spritemap@2x.png");
|
186
186
|
-webkit-background-size: 428px 406px;
|
187
187
|
-moz-background-size: 428px 406px;
|
188
188
|
background-size: 428px 406px;
|
@@ -251,7 +251,7 @@
|
|
251
251
|
-o-transition: opacity 0.4s ease-in-out;
|
252
252
|
-ms-transition: opacity 0.4s ease-in-out;
|
253
253
|
transition: opacity 0.4s ease-in-out;
|
254
|
-
background-image: image-
|
254
|
+
background-image: image-url("dropzone/spritemap.png");
|
255
255
|
background-repeat: no-repeat;
|
256
256
|
}
|
257
257
|
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
|
@@ -259,7 +259,7 @@
|
|
259
259
|
.dropzone-previews .dz-preview .dz-error-mark,
|
260
260
|
.dropzone .dz-preview .dz-success-mark,
|
261
261
|
.dropzone-previews .dz-preview .dz-success-mark {
|
262
|
-
background-image: image-
|
262
|
+
background-image: image-url("dropzone/spritemap@2x.png");
|
263
263
|
-webkit-background-size: 428px 406px;
|
264
264
|
-moz-background-size: 428px 406px;
|
265
265
|
background-size: 428px 406px;
|
@@ -298,14 +298,14 @@
|
|
298
298
|
left: 0;
|
299
299
|
width: 0%;
|
300
300
|
height: 100%;
|
301
|
-
background-image: image-
|
301
|
+
background-image: image-url("dropzone/spritemap.png");
|
302
302
|
background-repeat: repeat-x;
|
303
303
|
background-position: 0px -400px;
|
304
304
|
}
|
305
305
|
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
|
306
306
|
.dropzone .dz-preview .dz-progress .dz-upload,
|
307
307
|
.dropzone-previews .dz-preview .dz-progress .dz-upload {
|
308
|
-
background-image: image-
|
308
|
+
background-image: image-url("dropzone/spritemap@2x.png");
|
309
309
|
-webkit-background-size: 428px 406px;
|
310
310
|
-moz-background-size: 428px 406px;
|
311
311
|
background-size: 428px 406px;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropzonejs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Nahuel Cuesta Luengo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|