spud_media 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,11 +3,8 @@
3
3
  */
4
4
 
5
5
  img.size-50-thumb {
6
- height:50px !important;
7
- }
8
- img.size-75-thumb {
9
- max-width:75px;
10
- max-height:75px;
6
+ width:50px;
7
+ padding-right:5px;
11
8
  }
12
9
  #details{
13
10
  padding-bottom: 25px;
@@ -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] = '75x75'
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-75-thumb")%>
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
 
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Media
3
- VERSION = "0.9.3"
3
+ VERSION = "0.9.4"
4
4
  end
5
5
  end
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.3
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: 3979225498801986740
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: 3979225498801986740
274
+ hash: -1980562551546653351
275
275
  requirements: []
276
276
  rubyforge_project:
277
277
  rubygems_version: 1.8.24