lolita-file-upload 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.3
|
@@ -106,7 +106,7 @@ class LolitaFileUploadGallery
|
|
106
106
|
LolitaFileUploadGallery.availableFileIcons['unknown']
|
107
107
|
|
108
108
|
_getFileBasename: (filePath) ->
|
109
|
-
|
109
|
+
filePath.replace(/\\/g, "/").replace( /.*\//, '' );
|
110
110
|
|
111
111
|
_tape: ->
|
112
112
|
$(TAPE_SELECTOR)
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<div class="window">
|
3
3
|
<% if file.send(tab.uploader).to_s =~ /(jpg|jpeg|png|gif)$/i %>
|
4
4
|
<% url = file.send(tab.uploader).normalized.blank? ? file.send(tab.uploader).url : file.send(tab.uploader).normalized.url %>
|
5
|
-
<%#= link_to image_tag(url, :style=>"width:300px; height 160px;"), url %>
|
6
5
|
<%= image_tag url %>
|
7
6
|
<% else %>
|
8
|
-
|
7
|
+
<% ext = File.extname(file.send(tab.uploader).url).gsub(/^\./,"") %>
|
8
|
+
<%= image_tag Lolita::FileUpload.get_available_file_icons[ext] %>
|
9
9
|
<%= file.send(tab.uploader).url %>
|
10
10
|
<% end %>
|
11
11
|
<div class="links">
|
data/lolita-file-upload.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolita-file-upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -306,7 +306,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
306
306
|
version: '0'
|
307
307
|
segments:
|
308
308
|
- 0
|
309
|
-
hash:
|
309
|
+
hash: 3568686703176698624
|
310
310
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
311
|
none: false
|
312
312
|
requirements:
|