ss-attachment_fu 3.4.3 → 3.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/technoweenie/attachment_fu.rb +2 -1
- metadata +22 -41
data/CHANGELOG
CHANGED
@@ -555,7 +555,8 @@ module Technoweenie # :nodoc:
|
|
555
555
|
if (!respond_to?(:parent_id) || parent_id.nil?) && attachment_options[:resize_to] # parent image
|
556
556
|
logger.info "===== check dimension => #{send(attachment_options[:resize_to])}"
|
557
557
|
return unless respond_to?(attachment_options[:resize_to])
|
558
|
-
resize_image(img, send(attachment_options[:resize_to]))
|
558
|
+
# resize_image(img, send(attachment_options[:resize_to]))
|
559
|
+
resize_image(img, evaluate_parameter(attachment_options[:resize_to]))
|
559
560
|
elsif thumbnail_resize_options # thumbnail
|
560
561
|
resize_image(img, evaluate_parameter(thumbnail_resize_options))
|
561
562
|
end
|
metadata
CHANGED
@@ -1,34 +1,25 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ss-attachment_fu
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.4.4
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 3
|
8
|
-
- 4
|
9
|
-
- 3
|
10
|
-
version: 3.4.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Rick Olson
|
14
9
|
- Steven Pothoven
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2015-09-16 00:00:00 +07:00
|
20
|
-
default_executable:
|
13
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
21
14
|
dependencies: []
|
22
|
-
|
23
|
-
|
15
|
+
description: This is a fork of Steven Pothoven's attachment_fu including custom some
|
16
|
+
enhancements for Zoo Property
|
24
17
|
email: m.yunan.helmy@gmail.com
|
25
18
|
executables: []
|
26
|
-
|
27
19
|
extensions: []
|
28
|
-
|
29
|
-
extra_rdoc_files:
|
20
|
+
extra_rdoc_files:
|
30
21
|
- README.rdoc
|
31
|
-
files:
|
22
|
+
files:
|
32
23
|
- lib/geometry.rb
|
33
24
|
- lib/ss-attachment_fu.rb
|
34
25
|
- lib/technoweenie/attachment_fu.rb
|
@@ -53,40 +44,30 @@ files:
|
|
53
44
|
- README.rdoc
|
54
45
|
- amazon_s3.yml.tpl
|
55
46
|
- rackspace_cloudfiles.yml.tpl
|
56
|
-
has_rdoc: true
|
57
47
|
homepage: https://github.com/yunanhelmy/attachment_fu
|
58
48
|
licenses: []
|
59
|
-
|
60
49
|
post_install_message:
|
61
|
-
rdoc_options:
|
50
|
+
rdoc_options:
|
62
51
|
- --inline-source
|
63
52
|
- --charset=UTF-8
|
64
|
-
require_paths:
|
53
|
+
require_paths:
|
65
54
|
- lib
|
66
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
56
|
none: false
|
68
|
-
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
|
72
|
-
|
73
|
-
- 0
|
74
|
-
version: "0"
|
75
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
62
|
none: false
|
77
|
-
requirements:
|
78
|
-
- -
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
|
81
|
-
segments:
|
82
|
-
- 0
|
83
|
-
version: "0"
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
84
67
|
requirements: []
|
85
|
-
|
86
68
|
rubyforge_project: nowarning
|
87
|
-
rubygems_version: 1.
|
69
|
+
rubygems_version: 1.8.23
|
88
70
|
signing_key:
|
89
71
|
specification_version: 2
|
90
72
|
summary: attachment_fu as a gem
|
91
73
|
test_files: []
|
92
|
-
|