dm-paperclip 2.1.4 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +13 -2
- data/Rakefile +6 -0
- data/lib/dm-paperclip.rb +187 -61
- data/lib/dm-paperclip/attachment.rb +240 -149
- data/lib/dm-paperclip/callback_compatability.rb +33 -0
- data/lib/dm-paperclip/geometry.rb +22 -14
- data/lib/dm-paperclip/interpolations.rb +123 -0
- data/lib/dm-paperclip/iostream.rb +17 -2
- data/lib/dm-paperclip/processor.rb +49 -0
- data/lib/dm-paperclip/storage.rb +72 -55
- data/lib/dm-paperclip/thumbnail.rb +18 -36
- data/lib/dm-paperclip/upfile.rb +12 -1
- data/lib/dm-paperclip/validations.rb +35 -0
- data/test/attachment_test.rb +24 -32
- data/test/geometry_test.rb +1 -1
- data/test/helper.rb +6 -0
- data/test/storage_test.rb +3 -3
- data/test/thumbnail_test.rb +17 -15
- metadata +19 -9
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-paperclip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 2.3.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Ken Robertson
|
@@ -9,7 +14,7 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-03-31 00:00:00 -07:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
@@ -26,10 +31,12 @@ files:
|
|
26
31
|
- LICENSE
|
27
32
|
- Rakefile
|
28
33
|
- init.rb
|
29
|
-
- lib/dm-paperclip
|
30
34
|
- lib/dm-paperclip/attachment.rb
|
35
|
+
- lib/dm-paperclip/callback_compatability.rb
|
31
36
|
- lib/dm-paperclip/geometry.rb
|
37
|
+
- lib/dm-paperclip/interpolations.rb
|
32
38
|
- lib/dm-paperclip/iostream.rb
|
39
|
+
- lib/dm-paperclip/processor.rb
|
33
40
|
- lib/dm-paperclip/storage.rb
|
34
41
|
- lib/dm-paperclip/thumbnail.rb
|
35
42
|
- lib/dm-paperclip/upfile.rb
|
@@ -37,7 +44,6 @@ files:
|
|
37
44
|
- lib/dm-paperclip.rb
|
38
45
|
- tasks/paperclip_tasks.rake
|
39
46
|
- test/attachment_test.rb
|
40
|
-
- test/fixtures
|
41
47
|
- test/fixtures/12k.png
|
42
48
|
- test/fixtures/50x50.png
|
43
49
|
- test/fixtures/5k.png
|
@@ -51,7 +57,9 @@ files:
|
|
51
57
|
- test/storage_test.rb
|
52
58
|
- test/thumbnail_test.rb
|
53
59
|
has_rdoc: true
|
54
|
-
homepage: http://
|
60
|
+
homepage: http://github.com/krobertson/dm-paperclip
|
61
|
+
licenses: []
|
62
|
+
|
55
63
|
post_install_message:
|
56
64
|
rdoc_options:
|
57
65
|
- --line-numbers
|
@@ -62,21 +70,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
70
|
requirements:
|
63
71
|
- - ">="
|
64
72
|
- !ruby/object:Gem::Version
|
73
|
+
segments:
|
74
|
+
- 0
|
65
75
|
version: "0"
|
66
|
-
version:
|
67
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
77
|
requirements:
|
69
78
|
- - ">="
|
70
79
|
- !ruby/object:Gem::Version
|
80
|
+
segments:
|
81
|
+
- 0
|
71
82
|
version: "0"
|
72
|
-
version:
|
73
83
|
requirements:
|
74
84
|
- ImageMagick
|
75
85
|
- data_mapper
|
76
86
|
rubyforge_project: dm-paperclip
|
77
|
-
rubygems_version: 1.3.
|
87
|
+
rubygems_version: 1.3.6
|
78
88
|
signing_key:
|
79
|
-
specification_version:
|
89
|
+
specification_version: 3
|
80
90
|
summary: File attachments as attributes for DataMapper, based on the original Paperclip by Jon Yurek at Thoughtbot
|
81
91
|
test_files: []
|
82
92
|
|