uploadcolumn 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/CHANGELOG +123 -0
- data/LICENSE +22 -0
- data/README.rdoc +206 -0
- data/Rakefile +90 -0
- data/VERSION +1 -0
- data/init.rb +15 -0
- data/lib/upload_column/active_record_extension.rb +154 -0
- data/lib/upload_column/configuration.rb +49 -0
- data/lib/upload_column/magic_columns.rb +50 -0
- data/lib/upload_column/manipulators/image_science.rb +86 -0
- data/lib/upload_column/manipulators/rmagick.rb +75 -0
- data/lib/upload_column/rails/action_controller_extension.rb +61 -0
- data/lib/upload_column/rails/asset_tag_extension.rb +17 -0
- data/lib/upload_column/rails/upload_column_helper.rb +45 -0
- data/lib/upload_column/sanitized_file.rb +176 -0
- data/lib/upload_column/uploaded_file.rb +299 -0
- data/lib/upload_column.rb +12 -0
- data/spec/active_record_extension_spec.rb +514 -0
- data/spec/custom_matchers.rb +148 -0
- data/spec/fixtures/animated.gif +0 -0
- data/spec/fixtures/animated_solarized.gif +0 -0
- data/spec/fixtures/invalid-image.jpg +1 -0
- data/spec/fixtures/kerb.jpg +0 -0
- data/spec/fixtures/kerb_solarized.jpg +0 -0
- data/spec/fixtures/netscape.gif +0 -0
- data/spec/fixtures/skanthak.png +0 -0
- data/spec/image_science_manipulator_spec.rb +195 -0
- data/spec/integration_spec.rb +668 -0
- data/spec/magic_columns_spec.rb +120 -0
- data/spec/rmagick_manipulator_spec.rb +186 -0
- data/spec/sanitized_file_spec.rb +496 -0
- data/spec/spec_helper.rb +90 -0
- data/spec/upload_column_spec.rb +65 -0
- data/spec/uploaded_file_spec.rb +1053 -0
- metadata +108 -0
metadata
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: uploadcolumn
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 0.3.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Dave Hrycyszyn
|
13
|
+
- Jonas Nicklas
|
14
|
+
- Sebastian Kanthak
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-03-19 00:00:00 +00:00
|
20
|
+
default_executable:
|
21
|
+
dependencies: []
|
22
|
+
|
23
|
+
description: UploadColumn is a gem/plugin for the Ruby on Rails framework that enables easy uploading of files, especially images.
|
24
|
+
email: dave.hrycyszyn@headlondon.com
|
25
|
+
executables: []
|
26
|
+
|
27
|
+
extensions: []
|
28
|
+
|
29
|
+
extra_rdoc_files:
|
30
|
+
- LICENSE
|
31
|
+
- README.rdoc
|
32
|
+
files:
|
33
|
+
- .gitignore
|
34
|
+
- CHANGELOG
|
35
|
+
- LICENSE
|
36
|
+
- README.rdoc
|
37
|
+
- Rakefile
|
38
|
+
- VERSION
|
39
|
+
- init.rb
|
40
|
+
- lib/upload_column.rb
|
41
|
+
- lib/upload_column/active_record_extension.rb
|
42
|
+
- lib/upload_column/configuration.rb
|
43
|
+
- lib/upload_column/magic_columns.rb
|
44
|
+
- lib/upload_column/manipulators/image_science.rb
|
45
|
+
- lib/upload_column/manipulators/rmagick.rb
|
46
|
+
- lib/upload_column/rails/action_controller_extension.rb
|
47
|
+
- lib/upload_column/rails/asset_tag_extension.rb
|
48
|
+
- lib/upload_column/rails/upload_column_helper.rb
|
49
|
+
- lib/upload_column/sanitized_file.rb
|
50
|
+
- lib/upload_column/uploaded_file.rb
|
51
|
+
- spec/active_record_extension_spec.rb
|
52
|
+
- spec/custom_matchers.rb
|
53
|
+
- spec/fixtures/animated.gif
|
54
|
+
- spec/fixtures/animated_solarized.gif
|
55
|
+
- spec/fixtures/invalid-image.jpg
|
56
|
+
- spec/fixtures/kerb.jpg
|
57
|
+
- spec/fixtures/kerb_solarized.jpg
|
58
|
+
- spec/fixtures/netscape.gif
|
59
|
+
- spec/fixtures/skanthak.png
|
60
|
+
- spec/image_science_manipulator_spec.rb
|
61
|
+
- spec/integration_spec.rb
|
62
|
+
- spec/magic_columns_spec.rb
|
63
|
+
- spec/rmagick_manipulator_spec.rb
|
64
|
+
- spec/sanitized_file_spec.rb
|
65
|
+
- spec/spec_helper.rb
|
66
|
+
- spec/upload_column_spec.rb
|
67
|
+
- spec/uploaded_file_spec.rb
|
68
|
+
has_rdoc: true
|
69
|
+
homepage: http://github.com/futurechimp/uploadcolumn
|
70
|
+
licenses: []
|
71
|
+
|
72
|
+
post_install_message:
|
73
|
+
rdoc_options:
|
74
|
+
- --charset=UTF-8
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
version: "0"
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
91
|
+
requirements: []
|
92
|
+
|
93
|
+
rubyforge_project:
|
94
|
+
rubygems_version: 1.3.6
|
95
|
+
signing_key:
|
96
|
+
specification_version: 3
|
97
|
+
summary: Enables easy uploading of files, especially images.
|
98
|
+
test_files:
|
99
|
+
- spec/active_record_extension_spec.rb
|
100
|
+
- spec/sanitized_file_spec.rb
|
101
|
+
- spec/magic_columns_spec.rb
|
102
|
+
- spec/spec_helper.rb
|
103
|
+
- spec/image_science_manipulator_spec.rb
|
104
|
+
- spec/upload_column_spec.rb
|
105
|
+
- spec/custom_matchers.rb
|
106
|
+
- spec/uploaded_file_spec.rb
|
107
|
+
- spec/integration_spec.rb
|
108
|
+
- spec/rmagick_manipulator_spec.rb
|