spud_media 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
data/app/models/spud_media.rb
CHANGED
@@ -88,7 +88,7 @@ class SpudMedia < ActiveRecord::Base
|
|
88
88
|
def dynamic_styles
|
89
89
|
styles = {}
|
90
90
|
if is_image? || is_pdf?
|
91
|
-
styles[:small] = '
|
91
|
+
styles[:small] = '50'
|
92
92
|
if has_custom_crop?
|
93
93
|
styles[:cropped] = {:geometry => '', :convert_options => "-resize #{crop_s}% -crop #{crop_w}x#{crop_h}+#{crop_x}+#{crop_y}"}
|
94
94
|
end
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<div class="page_row">
|
8
8
|
|
9
9
|
<span class="row_meta">
|
10
|
-
<%=image_tag(media.image_from_type,:class => "size-
|
10
|
+
<%=image_tag(media.image_from_type,:class => "size-50-thumb")%>
|
11
11
|
<%=link_to media.attachment.url.split("/").last, media.attachment_url %>
|
12
12
|
</span>
|
13
13
|
|
data/lib/spud_media/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spud_media
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -262,7 +262,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
262
262
|
version: '0'
|
263
263
|
segments:
|
264
264
|
- 0
|
265
|
-
hash:
|
265
|
+
hash: -1980562551546653351
|
266
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
267
|
none: false
|
268
268
|
requirements:
|
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
version: '0'
|
272
272
|
segments:
|
273
273
|
- 0
|
274
|
-
hash:
|
274
|
+
hash: -1980562551546653351
|
275
275
|
requirements: []
|
276
276
|
rubyforge_project:
|
277
277
|
rubygems_version: 1.8.24
|