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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjdkMDExZWY2ZGMyYTk0ODdkNWZjMGNjYzFhNTQwYzI0YjMwNzM2OQ==
4
+ MzhlMzAwNzE4YTE2ZTUzN2EyMjg2N2Y2MTQ1MDljMWJjMGVlZmY0Mw==
5
5
  data.tar.gz: !binary |-
6
- MzdiZmQxNTc0ZGE5MTVmMzIzMjY0MzU5OWE0ZjcwZWIyZjYzNDcxMQ==
6
+ ZTU0Mjg3ZmE0OGY0OTY2NTI2MjA5Y2M0MGU1N2UyMDMyNzNhZTNlMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTMzZjc5OGFmMGEyMTFmNjk2MDVjMTIzY2MxYzY3MGYxN2E4MjYyNWE1ZTU4
10
- ZjZiZjg3MTRiNzRlMDFjYjMzZjE0MTNiOGFlYzczOTIwNmVkZWQyZWQzN2Jk
11
- NjBmZTE0MmI3NGMyMDE3YTNiYmRiMDk0ZGNlYWRiM2Q1MDlhOWU=
9
+ NGY4YTlhNTczYTNjYmNkNGQ2YTc3NDcyZDUwMGU5MzMyZmQ3NmUyNWJiZDY3
10
+ YjY5ZGY3MjIwZjBiYjQ3ZjAwYTE4N2Y2ZDQwM2Q5MTI0NWYxM2NhMmQyYzZm
11
+ NGUxMDM4YzMwNTlhMGRkZDZhMWFlZjI2ZmRiMzkyZjZiNmU2YzQ=
12
12
  data.tar.gz: !binary |-
13
- YmFkYjM3OTUzNDNhMzE5MjZiNjJiZDA4MGUxNTI3MDBiMDVjYmFlNjA3NjJl
14
- ZmRkYWMwNmIzNmRhMDFjNWZmNGE4NTVmNzlhMTEyOTVhZmM2ODIyMjk2OTM4
15
- NzIzNDNhZmEyYmMwNzM2MGZjMTdjNDk5ZDkyZWU1YTI1MTcxMGI=
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-path("dropzone/\1")')
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
@@ -1,4 +1,4 @@
1
1
  module DropzonejsRails
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  DROPZONE_VERSION = '3.2.0'
4
4
  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-path("dropzone/spritemap.png");
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-path("dropzone/spritemap@2x.png");
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-path("dropzone/spritemap.png");
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-path("dropzone/spritemap@2x.png");
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-path("dropzone/spritemap.png");
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-path("dropzone/spritemap@2x.png");
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.0
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-01 00:00:00.000000000 Z
11
+ date: 2013-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit