lol_multiple_uploads 2.0.4 → 2.0.5

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: 699a9dd7c9d7e48977f688d03497ac9cd54525d6
4
- data.tar.gz: 3814f31f9a74a838cd66e5c80979ed2fce0f62ae
3
+ metadata.gz: 322b797cc2124d26d8810753548ee783a1feef00
4
+ data.tar.gz: 0170aae8c336b712a9bd291e3c7210caa2c09bc8
5
5
  SHA512:
6
- metadata.gz: 2b982a42911301216bca198dad8b9f034565d44784b6d6aad1e18fe375c20ee04ef8ac3324b4e710f615d04f7db7dd4648146e48fa31d75ba54e2877c07b992b
7
- data.tar.gz: 5af3bd88932337082226ffcab9afdfd4acfa9e5371736d9a39846289ef224cda7c58dee10db551f29acca6994a5eda2e4264196bb71c095f54a1cc148879196e
6
+ metadata.gz: 2b67b5e008ab74d07f8b3ca4881890cbaf3d2aa9fa2ed7bf126bb17f6f04fd1f8036e3e023997f1f5973bea5b6108bb32278fc708979fade0dd78967f7fcb575
7
+ data.tar.gz: 326689b45c30a81cd1609ea00a3d980a37ee08f77ce3d4de6fc387890c24b7ffb23970addb4d0610b2e76540b5aeec22a2a4099370ad2e49697f2dd3ed9209fa
@@ -154,7 +154,7 @@ var MultipleUpload = function(link){
154
154
 
155
155
  this.showLoading = function(){
156
156
  jQuery('<img/>', {
157
- src: '/assets/lol_multiple_uploads/loading.gif',
157
+ src: '<%= asset_path("lol_multiple_uploads/loading.gif") %>',
158
158
  style: 'position: fixed; bottom: 5px; right: 5px; z-index: 400;',
159
159
  class: 'lol-multiple-uploads loading'
160
160
  }).appendTo('body');
@@ -3,7 +3,7 @@ module UploadHelper
3
3
  object = options[:object] || nil
4
4
  image_container = options[:image_container] || '.images-container'
5
5
  photo_version = options[:photo_version] || :gallery_thumb
6
- multiple = options[:multiple].present?
6
+ multiple = options[:multiple] || true
7
7
 
8
8
  link_to( name,
9
9
  'javascript://',
@@ -1,3 +1,3 @@
1
1
  module LolMultipleUploads
2
- VERSION = "2.0.4"
2
+ VERSION = "2.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lol_multiple_uploads
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Zaghi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -93,7 +93,7 @@ files:
93
93
  - app/assets/images/lol_multiple_uploads/loading.gif
94
94
  - app/assets/images/lol_multiple_uploads/maximize.png
95
95
  - app/assets/javascripts/lol_multiple_uploads/jquery.form.js
96
- - app/assets/javascripts/lol_multiple_uploads/upload.js
96
+ - app/assets/javascripts/lol_multiple_uploads/upload.js.erb
97
97
  - app/assets/stylesheets/lol_multiple_uploads/base.css
98
98
  - app/controllers/photos_controller.rb
99
99
  - app/helpers/image_helper.rb