rsturim-paperclip 2.2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +26 -0
- data/README.rdoc +174 -0
- data/Rakefile +99 -0
- data/generators/paperclip/USAGE +5 -0
- data/generators/paperclip/paperclip_generator.rb +27 -0
- data/generators/paperclip/templates/paperclip_migration.rb.erb +19 -0
- data/init.rb +1 -0
- data/lib/paperclip.rb +350 -0
- data/lib/paperclip/attachment.rb +413 -0
- data/lib/paperclip/callback_compatability.rb +33 -0
- data/lib/paperclip/geometry.rb +115 -0
- data/lib/paperclip/interpolations.rb +105 -0
- data/lib/paperclip/iostream.rb +58 -0
- data/lib/paperclip/matchers.rb +4 -0
- data/lib/paperclip/matchers/have_attached_file_matcher.rb +49 -0
- data/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb +66 -0
- data/lib/paperclip/matchers/validate_attachment_presence_matcher.rb +48 -0
- data/lib/paperclip/matchers/validate_attachment_size_matcher.rb +83 -0
- data/lib/paperclip/processor.rb +49 -0
- data/lib/paperclip/storage.rb +241 -0
- data/lib/paperclip/thumbnail.rb +70 -0
- data/lib/paperclip/upfile.rb +48 -0
- data/shoulda_macros/paperclip.rb +68 -0
- data/tasks/paperclip_tasks.rake +79 -0
- data/test/attachment_test.rb +768 -0
- data/test/database.yml +4 -0
- data/test/fixtures/12k.png +0 -0
- data/test/fixtures/50x50.png +0 -0
- data/test/fixtures/5k.png +0 -0
- data/test/fixtures/bad.png +1 -0
- data/test/fixtures/s3.yml +4 -0
- data/test/fixtures/text.txt +0 -0
- data/test/fixtures/twopage.pdf +0 -0
- data/test/geometry_test.rb +177 -0
- data/test/helper.rb +100 -0
- data/test/integration_test.rb +481 -0
- data/test/interpolations_test.rb +120 -0
- data/test/iostream_test.rb +71 -0
- data/test/matchers/have_attached_file_matcher_test.rb +21 -0
- data/test/matchers/validate_attachment_content_type_matcher_test.rb +30 -0
- data/test/matchers/validate_attachment_presence_matcher_test.rb +21 -0
- data/test/matchers/validate_attachment_size_matcher_test.rb +50 -0
- data/test/paperclip_test.rb +291 -0
- data/test/processor_test.rb +10 -0
- data/test/storage_test.rb +293 -0
- data/test/thumbnail_test.rb +177 -0
- metadata +124 -0
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rsturim-paperclip
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.9.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jon Yurek
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-05-15 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: thoughtbot-shoulda
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: mocha
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
35
|
+
description:
|
36
|
+
email: jyurek@thoughtbot.com
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README.rdoc
|
43
|
+
files:
|
44
|
+
- README.rdoc
|
45
|
+
- LICENSE
|
46
|
+
- Rakefile
|
47
|
+
- init.rb
|
48
|
+
- generators/paperclip
|
49
|
+
- generators/paperclip/paperclip_generator.rb
|
50
|
+
- generators/paperclip/templates
|
51
|
+
- generators/paperclip/templates/paperclip_migration.rb.erb
|
52
|
+
- generators/paperclip/USAGE
|
53
|
+
- lib/paperclip
|
54
|
+
- lib/paperclip/attachment.rb
|
55
|
+
- lib/paperclip/callback_compatability.rb
|
56
|
+
- lib/paperclip/geometry.rb
|
57
|
+
- lib/paperclip/interpolations.rb
|
58
|
+
- lib/paperclip/iostream.rb
|
59
|
+
- lib/paperclip/matchers
|
60
|
+
- lib/paperclip/matchers/have_attached_file_matcher.rb
|
61
|
+
- lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
|
62
|
+
- lib/paperclip/matchers/validate_attachment_presence_matcher.rb
|
63
|
+
- lib/paperclip/matchers/validate_attachment_size_matcher.rb
|
64
|
+
- lib/paperclip/matchers.rb
|
65
|
+
- lib/paperclip/processor.rb
|
66
|
+
- lib/paperclip/storage.rb
|
67
|
+
- lib/paperclip/thumbnail.rb
|
68
|
+
- lib/paperclip/upfile.rb
|
69
|
+
- lib/paperclip.rb
|
70
|
+
- tasks/paperclip_tasks.rake
|
71
|
+
- test/attachment_test.rb
|
72
|
+
- test/database.yml
|
73
|
+
- test/fixtures
|
74
|
+
- test/fixtures/12k.png
|
75
|
+
- test/fixtures/50x50.png
|
76
|
+
- test/fixtures/5k.png
|
77
|
+
- test/fixtures/bad.png
|
78
|
+
- test/fixtures/s3.yml
|
79
|
+
- test/fixtures/text.txt
|
80
|
+
- test/fixtures/twopage.pdf
|
81
|
+
- test/geometry_test.rb
|
82
|
+
- test/helper.rb
|
83
|
+
- test/integration_test.rb
|
84
|
+
- test/interpolations_test.rb
|
85
|
+
- test/iostream_test.rb
|
86
|
+
- test/matchers
|
87
|
+
- test/matchers/have_attached_file_matcher_test.rb
|
88
|
+
- test/matchers/validate_attachment_content_type_matcher_test.rb
|
89
|
+
- test/matchers/validate_attachment_presence_matcher_test.rb
|
90
|
+
- test/matchers/validate_attachment_size_matcher_test.rb
|
91
|
+
- test/paperclip_test.rb
|
92
|
+
- test/processor_test.rb
|
93
|
+
- test/storage_test.rb
|
94
|
+
- test/thumbnail_test.rb
|
95
|
+
- shoulda_macros/paperclip.rb
|
96
|
+
has_rdoc: true
|
97
|
+
homepage: http://www.thoughtbot.com/projects/paperclip
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options:
|
100
|
+
- --line-numbers
|
101
|
+
- --inline-source
|
102
|
+
require_paths:
|
103
|
+
- lib
|
104
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: "0"
|
109
|
+
version:
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: "0"
|
115
|
+
version:
|
116
|
+
requirements:
|
117
|
+
- ImageMagick
|
118
|
+
rubyforge_project: paperclip
|
119
|
+
rubygems_version: 1.2.0
|
120
|
+
signing_key:
|
121
|
+
specification_version: 2
|
122
|
+
summary: File attachments as attributes for ActiveRecord
|
123
|
+
test_files: []
|
124
|
+
|