dsturnbull-carrierwave 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +27 -30
- data/dsturnbull-carrierwave.gemspec +178 -0
- data/lib/carrierwave.rb +1 -1
- data/lib/carrierwave/storage/s3.rb +9 -2
- data/pkg/carrierwave-0.4.5.gem +0 -0
- data/pkg/dsturnbull-carrierwave-0.4.5.gem +0 -0
- data/pkg/dsturnbull-carrierwave-0.4.6.gem +0 -0
- metadata +54 -206
data/Rakefile
CHANGED
@@ -1,38 +1,35 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
require '
|
4
|
-
require '
|
1
|
+
require 'rake'
|
2
|
+
require 'spec'
|
3
|
+
require 'spec/rake/spectask'
|
4
|
+
require 'cucumber/rake/task'
|
5
|
+
|
5
6
|
$:.unshift File.join(File.dirname(__FILE__), 'lib')
|
6
7
|
require 'carrierwave'
|
7
8
|
|
8
|
-
|
9
|
-
# Hoe.plugin :website
|
10
|
-
Hoe.plugin :cucumberfeatures
|
9
|
+
Dir['tasks/**/*.rake'].each { |t| load t }
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
self.readme_file = 'README.rdoc'
|
16
|
-
self.version = CarrierWave::VERSION
|
17
|
-
self.extra_dev_deps << ['newgem', '>=1.5.2']
|
18
|
-
self.extra_dev_deps << ['rspec', '>=1.2.8']
|
19
|
-
self.extra_dev_deps << ['cucumber', '>=0.3.96']
|
20
|
-
self.extra_dev_deps << ['activerecord', '>=2.3.3']
|
21
|
-
self.extra_dev_deps << ['sqlite3-ruby', '>=1.2.5']
|
22
|
-
self.extra_dev_deps << ['dm-core', '>=0.9.11']
|
23
|
-
self.extra_dev_deps << ['data_objects', '>=0.9.12']
|
24
|
-
self.extra_dev_deps << ['do_sqlite3', '>=0.9.11']
|
25
|
-
self.extra_dev_deps << ['sequel', '>=3.2.0']
|
26
|
-
self.extra_dev_deps << ['rmagick', '>=2.10.0']
|
27
|
-
self.extra_dev_deps << ['mini_magick', '>=1.2.5']
|
28
|
-
self.extra_dev_deps << ['mongo_mapper', '>=0.6.8']
|
29
|
-
self.extra_dev_deps << ['mongoid', '>=0.10.4']
|
30
|
-
self.extra_dev_deps << ['aws-s3', '>=0.6.2']
|
31
|
-
self.extra_dev_deps << ['timecop', '>=0.3.4']
|
32
|
-
self.extra_rdoc_files << 'README.rdoc'
|
11
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
12
|
+
t.spec_opts = %w(-fs -c)
|
13
|
+
t.spec_files = FileList['spec/*_spec.rb']
|
33
14
|
end
|
34
15
|
|
35
|
-
|
36
|
-
|
16
|
+
Cucumber::Rake::Task.new(:features, 'Run features that should pass') do |t|
|
17
|
+
t.profile = 'default'
|
18
|
+
end
|
37
19
|
|
38
20
|
task :default => [:spec, :features]
|
21
|
+
|
22
|
+
require 'jeweler'
|
23
|
+
Jeweler::Tasks.new do |s|
|
24
|
+
s.name = 'dsturnbull-carrierwave'
|
25
|
+
s.summary = 'fork of carrierwave'
|
26
|
+
s.email = 'dsturnbull@me.com'
|
27
|
+
s.homepage = 'http://github.com/dsturnbull/carrierwave'
|
28
|
+
s.description =<<-eod
|
29
|
+
Fork with some nice features
|
30
|
+
eod
|
31
|
+
s.executables = []
|
32
|
+
s.authors = ['David Turnbull']
|
33
|
+
s.files = FileList['**/**']
|
34
|
+
s.version = CarrierWave::VERSION
|
35
|
+
end
|
@@ -0,0 +1,178 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{dsturnbull-carrierwave}
|
8
|
+
s.version = "0.4.7"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["David Turnbull"]
|
12
|
+
s.date = %q{2010-05-07}
|
13
|
+
s.description = %q{ Fork with some nice features
|
14
|
+
}
|
15
|
+
s.email = %q{dsturnbull@me.com}
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
"Generators",
|
21
|
+
"History.txt",
|
22
|
+
"Manifest.txt",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"cucumber.yml",
|
26
|
+
"dsturnbull-carrierwave.gemspec",
|
27
|
+
"features/caching.feature",
|
28
|
+
"features/download.feature",
|
29
|
+
"features/file_storage.feature",
|
30
|
+
"features/file_storage_overridden_filename.feature",
|
31
|
+
"features/file_storage_overridden_store_dir.feature",
|
32
|
+
"features/file_storage_reversing_processor.feature",
|
33
|
+
"features/fixtures/bork.txt",
|
34
|
+
"features/fixtures/monkey.txt",
|
35
|
+
"features/grid_fs_storage.feature",
|
36
|
+
"features/mount_activerecord.feature",
|
37
|
+
"features/mount_datamapper.feature",
|
38
|
+
"features/step_definitions/activerecord_steps.rb",
|
39
|
+
"features/step_definitions/caching_steps.rb",
|
40
|
+
"features/step_definitions/datamapper_steps.rb",
|
41
|
+
"features/step_definitions/download_steps.rb",
|
42
|
+
"features/step_definitions/file_steps.rb",
|
43
|
+
"features/step_definitions/general_steps.rb",
|
44
|
+
"features/step_definitions/mount_steps.rb",
|
45
|
+
"features/step_definitions/store_steps.rb",
|
46
|
+
"features/support/activerecord.rb",
|
47
|
+
"features/support/datamapper.rb",
|
48
|
+
"features/support/env.rb",
|
49
|
+
"features/versions_basics.feature",
|
50
|
+
"features/versions_nested_versions.feature",
|
51
|
+
"features/versions_overridden_filename.feature",
|
52
|
+
"features/versions_overriden_store_dir.feature",
|
53
|
+
"lib/carrierwave.rb",
|
54
|
+
"lib/carrierwave/compatibility/paperclip.rb",
|
55
|
+
"lib/carrierwave/core_ext/blank.rb",
|
56
|
+
"lib/carrierwave/core_ext/inheritable_attributes.rb",
|
57
|
+
"lib/carrierwave/core_ext/module_setup.rb",
|
58
|
+
"lib/carrierwave/mount.rb",
|
59
|
+
"lib/carrierwave/orm/activerecord.rb",
|
60
|
+
"lib/carrierwave/orm/datamapper.rb",
|
61
|
+
"lib/carrierwave/orm/mongoid.rb",
|
62
|
+
"lib/carrierwave/orm/mongomapper.rb",
|
63
|
+
"lib/carrierwave/orm/sequel.rb",
|
64
|
+
"lib/carrierwave/processing/image_science.rb",
|
65
|
+
"lib/carrierwave/processing/mini_magick.rb",
|
66
|
+
"lib/carrierwave/processing/rmagick.rb",
|
67
|
+
"lib/carrierwave/sanitized_file.rb",
|
68
|
+
"lib/carrierwave/storage/abstract.rb",
|
69
|
+
"lib/carrierwave/storage/file.rb",
|
70
|
+
"lib/carrierwave/storage/grid_fs.rb",
|
71
|
+
"lib/carrierwave/storage/right_s3.rb",
|
72
|
+
"lib/carrierwave/storage/s3.rb",
|
73
|
+
"lib/carrierwave/test/matchers.rb",
|
74
|
+
"lib/carrierwave/uploader.rb",
|
75
|
+
"lib/carrierwave/uploader/cache.rb",
|
76
|
+
"lib/carrierwave/uploader/callbacks.rb",
|
77
|
+
"lib/carrierwave/uploader/configuration.rb",
|
78
|
+
"lib/carrierwave/uploader/default_url.rb",
|
79
|
+
"lib/carrierwave/uploader/download.rb",
|
80
|
+
"lib/carrierwave/uploader/extension_whitelist.rb",
|
81
|
+
"lib/carrierwave/uploader/mountable.rb",
|
82
|
+
"lib/carrierwave/uploader/processing.rb",
|
83
|
+
"lib/carrierwave/uploader/proxy.rb",
|
84
|
+
"lib/carrierwave/uploader/remove.rb",
|
85
|
+
"lib/carrierwave/uploader/store.rb",
|
86
|
+
"lib/carrierwave/uploader/url.rb",
|
87
|
+
"lib/carrierwave/uploader/versions.rb",
|
88
|
+
"merb_generators/uploader_generator.rb",
|
89
|
+
"pkg/carrierwave-0.4.5.gem",
|
90
|
+
"pkg/dsturnbull-carrierwave-0.4.5.gem",
|
91
|
+
"pkg/dsturnbull-carrierwave-0.4.6.gem",
|
92
|
+
"rails_generators/uploader/USAGE",
|
93
|
+
"rails_generators/uploader/templates/uploader.rb",
|
94
|
+
"rails_generators/uploader/uploader_generator.rb",
|
95
|
+
"script/console",
|
96
|
+
"script/destroy",
|
97
|
+
"script/generate",
|
98
|
+
"spec/compatibility/paperclip_spec.rb",
|
99
|
+
"spec/fixtures/bork.txt",
|
100
|
+
"spec/fixtures/landscape.jpg",
|
101
|
+
"spec/fixtures/portrait.jpg",
|
102
|
+
"spec/fixtures/test.jpeg",
|
103
|
+
"spec/fixtures/test.jpg",
|
104
|
+
"spec/mount_spec.rb",
|
105
|
+
"spec/orm/activerecord_spec.rb",
|
106
|
+
"spec/orm/datamapper_spec.rb",
|
107
|
+
"spec/orm/mongoid_spec.rb",
|
108
|
+
"spec/orm/mongomapper_spec.rb",
|
109
|
+
"spec/orm/sequel_spec.rb",
|
110
|
+
"spec/processing/image_science_spec.rb",
|
111
|
+
"spec/processing/mini_magick_spec.rb",
|
112
|
+
"spec/processing/rmagick_spec.rb",
|
113
|
+
"spec/sanitized_file_spec.rb",
|
114
|
+
"spec/spec_helper.rb",
|
115
|
+
"spec/storage/grid_fs_spec.rb",
|
116
|
+
"spec/storage/right_s3_spec.rb",
|
117
|
+
"spec/storage/s3_spec.rb",
|
118
|
+
"spec/uploader/cache_spec.rb",
|
119
|
+
"spec/uploader/configuration_spec.rb",
|
120
|
+
"spec/uploader/default_url_spec.rb",
|
121
|
+
"spec/uploader/download_spec.rb",
|
122
|
+
"spec/uploader/extension_whitelist_spec.rb",
|
123
|
+
"spec/uploader/mountable_spec.rb",
|
124
|
+
"spec/uploader/paths_spec.rb",
|
125
|
+
"spec/uploader/processing_spec.rb",
|
126
|
+
"spec/uploader/proxy_spec.rb",
|
127
|
+
"spec/uploader/remove_spec.rb",
|
128
|
+
"spec/uploader/store_spec.rb",
|
129
|
+
"spec/uploader/url_spec.rb",
|
130
|
+
"spec/uploader/versions_spec.rb"
|
131
|
+
]
|
132
|
+
s.homepage = %q{http://github.com/dsturnbull/carrierwave}
|
133
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
134
|
+
s.require_paths = ["lib"]
|
135
|
+
s.rubygems_version = %q{1.3.6}
|
136
|
+
s.summary = %q{fork of carrierwave}
|
137
|
+
s.test_files = [
|
138
|
+
"spec/compatibility/paperclip_spec.rb",
|
139
|
+
"spec/mount_spec.rb",
|
140
|
+
"spec/orm/activerecord_spec.rb",
|
141
|
+
"spec/orm/datamapper_spec.rb",
|
142
|
+
"spec/orm/mongoid_spec.rb",
|
143
|
+
"spec/orm/mongomapper_spec.rb",
|
144
|
+
"spec/orm/sequel_spec.rb",
|
145
|
+
"spec/processing/image_science_spec.rb",
|
146
|
+
"spec/processing/mini_magick_spec.rb",
|
147
|
+
"spec/processing/rmagick_spec.rb",
|
148
|
+
"spec/sanitized_file_spec.rb",
|
149
|
+
"spec/spec_helper.rb",
|
150
|
+
"spec/storage/grid_fs_spec.rb",
|
151
|
+
"spec/storage/right_s3_spec.rb",
|
152
|
+
"spec/storage/s3_spec.rb",
|
153
|
+
"spec/uploader/cache_spec.rb",
|
154
|
+
"spec/uploader/configuration_spec.rb",
|
155
|
+
"spec/uploader/default_url_spec.rb",
|
156
|
+
"spec/uploader/download_spec.rb",
|
157
|
+
"spec/uploader/extension_whitelist_spec.rb",
|
158
|
+
"spec/uploader/mountable_spec.rb",
|
159
|
+
"spec/uploader/paths_spec.rb",
|
160
|
+
"spec/uploader/processing_spec.rb",
|
161
|
+
"spec/uploader/proxy_spec.rb",
|
162
|
+
"spec/uploader/remove_spec.rb",
|
163
|
+
"spec/uploader/store_spec.rb",
|
164
|
+
"spec/uploader/url_spec.rb",
|
165
|
+
"spec/uploader/versions_spec.rb"
|
166
|
+
]
|
167
|
+
|
168
|
+
if s.respond_to? :specification_version then
|
169
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
170
|
+
s.specification_version = 3
|
171
|
+
|
172
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
173
|
+
else
|
174
|
+
end
|
175
|
+
else
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
data/lib/carrierwave.rb
CHANGED
@@ -69,7 +69,7 @@ module CarrierWave
|
|
69
69
|
|
70
70
|
def initialize(uploader, path)
|
71
71
|
@uploader = uploader
|
72
|
-
@path = path
|
72
|
+
@path = File.mangle_path_for_s3(path)
|
73
73
|
end
|
74
74
|
|
75
75
|
##
|
@@ -148,6 +148,12 @@ module CarrierWave
|
|
148
148
|
@s3_object ||= AWS::S3::S3Object.find(@path, @uploader.s3_bucket)
|
149
149
|
end
|
150
150
|
|
151
|
+
def self.mangle_path_for_s3(path)
|
152
|
+
if path
|
153
|
+
::File.join(::File.dirname(path), CGI.escape(::File.basename(path)))
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
151
157
|
end
|
152
158
|
|
153
159
|
##
|
@@ -165,7 +171,7 @@ module CarrierWave
|
|
165
171
|
connect!(uploader)
|
166
172
|
s3_options = {:access => uploader.s3_access, :content_type => file.content_type}
|
167
173
|
s3_options.merge!(uploader.s3_headers)
|
168
|
-
AWS::S3::S3Object.store(uploader.store_path, file.read, uploader.s3_bucket, s3_options)
|
174
|
+
AWS::S3::S3Object.store(File.mangle_path_for_s3(uploader.store_path), file.read, uploader.s3_bucket, s3_options)
|
169
175
|
CarrierWave::Storage::S3::File.new(uploader, uploader.store_path)
|
170
176
|
end
|
171
177
|
|
@@ -180,6 +186,7 @@ module CarrierWave
|
|
180
186
|
#
|
181
187
|
# [CarrierWave::Storage::S3::File] the stored file
|
182
188
|
#
|
189
|
+
# FIXME maybe need to mangle here, too
|
183
190
|
def retrieve!(identifier)
|
184
191
|
connect!(uploader)
|
185
192
|
CarrierWave::Storage::S3::File.new(uploader, uploader.store_path(identifier))
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,214 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dsturnbull-carrierwave
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 4
|
8
|
+
- 7
|
9
|
+
version: 0.4.7
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
|
-
-
|
12
|
+
- David Turnbull
|
8
13
|
autorequire:
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-05-07 00:00:00 +10:00
|
13
18
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 2.0.3
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: gemcutter
|
27
|
-
type: :development
|
28
|
-
version_requirement:
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.0
|
34
|
-
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: newgem
|
37
|
-
type: :development
|
38
|
-
version_requirement:
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.5.2
|
44
|
-
version:
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: rspec
|
47
|
-
type: :development
|
48
|
-
version_requirement:
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.2.8
|
54
|
-
version:
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: cucumber
|
57
|
-
type: :development
|
58
|
-
version_requirement:
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - ">="
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 0.3.96
|
64
|
-
version:
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: activerecord
|
67
|
-
type: :development
|
68
|
-
version_requirement:
|
69
|
-
version_requirements: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - ">="
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 2.3.3
|
74
|
-
version:
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: sqlite3-ruby
|
77
|
-
type: :development
|
78
|
-
version_requirement:
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 1.2.5
|
84
|
-
version:
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: dm-core
|
87
|
-
type: :development
|
88
|
-
version_requirement:
|
89
|
-
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
requirements:
|
91
|
-
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 0.9.11
|
94
|
-
version:
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: data_objects
|
97
|
-
type: :development
|
98
|
-
version_requirement:
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.9.12
|
104
|
-
version:
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: do_sqlite3
|
107
|
-
type: :development
|
108
|
-
version_requirement:
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: 0.9.11
|
114
|
-
version:
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: sequel
|
117
|
-
type: :development
|
118
|
-
version_requirement:
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 3.2.0
|
124
|
-
version:
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rmagick
|
127
|
-
type: :development
|
128
|
-
version_requirement:
|
129
|
-
version_requirements: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: 2.10.0
|
134
|
-
version:
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: mini_magick
|
137
|
-
type: :development
|
138
|
-
version_requirement:
|
139
|
-
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: 1.2.5
|
144
|
-
version:
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: mongo_mapper
|
147
|
-
type: :development
|
148
|
-
version_requirement:
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 0.6.8
|
154
|
-
version:
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: mongoid
|
157
|
-
type: :development
|
158
|
-
version_requirement:
|
159
|
-
version_requirements: !ruby/object:Gem::Requirement
|
160
|
-
requirements:
|
161
|
-
- - ">="
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version: 0.10.4
|
164
|
-
version:
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: aws-s3
|
167
|
-
type: :development
|
168
|
-
version_requirement:
|
169
|
-
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 0.6.2
|
174
|
-
version:
|
175
|
-
- !ruby/object:Gem::Dependency
|
176
|
-
name: timecop
|
177
|
-
type: :development
|
178
|
-
version_requirement:
|
179
|
-
version_requirements: !ruby/object:Gem::Requirement
|
180
|
-
requirements:
|
181
|
-
- - ">="
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
version: 0.3.4
|
184
|
-
version:
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: hoe
|
187
|
-
type: :development
|
188
|
-
version_requirement:
|
189
|
-
version_requirements: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - ">="
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: 2.5.0
|
194
|
-
version:
|
195
|
-
description: |-
|
196
|
-
* RDoc Documentation {available at Rubyforge}[http://carrierwave.rubyforge.org/rdoc].
|
197
|
-
* Source code {hosted at GitHub}[http://github.com/jnicklas/carrierwave]
|
198
|
-
* Please {report any issues}[http://github.com/jnicklas/carrierwave/issues] on GitHub
|
199
|
-
* Please direct any questions at the {mailing list}[http://groups.google.com/group/carrierwave]
|
200
|
-
* Check out the {example app}[http://github.com/jnicklas/carrierwave-example-app]
|
201
|
-
email:
|
202
|
-
- jonas.nicklas@gmail.com
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: " Fork with some nice features\n"
|
22
|
+
email: dsturnbull@me.com
|
203
23
|
executables: []
|
204
24
|
|
205
25
|
extensions: []
|
206
26
|
|
207
27
|
extra_rdoc_files:
|
208
|
-
- History.txt
|
209
|
-
- Manifest.txt
|
210
|
-
- features/fixtures/bork.txt
|
211
|
-
- features/fixtures/monkey.txt
|
212
28
|
- README.rdoc
|
213
29
|
files:
|
214
30
|
- Generators
|
@@ -217,6 +33,7 @@ files:
|
|
217
33
|
- README.rdoc
|
218
34
|
- Rakefile
|
219
35
|
- cucumber.yml
|
36
|
+
- dsturnbull-carrierwave.gemspec
|
220
37
|
- features/caching.feature
|
221
38
|
- features/download.feature
|
222
39
|
- features/file_storage.feature
|
@@ -279,6 +96,9 @@ files:
|
|
279
96
|
- lib/carrierwave/uploader/url.rb
|
280
97
|
- lib/carrierwave/uploader/versions.rb
|
281
98
|
- merb_generators/uploader_generator.rb
|
99
|
+
- pkg/carrierwave-0.4.5.gem
|
100
|
+
- pkg/dsturnbull-carrierwave-0.4.5.gem
|
101
|
+
- pkg/dsturnbull-carrierwave-0.4.6.gem
|
282
102
|
- rails_generators/uploader/USAGE
|
283
103
|
- rails_generators/uploader/templates/uploader.rb
|
284
104
|
- rails_generators/uploader/uploader_generator.rb
|
@@ -319,33 +139,61 @@ files:
|
|
319
139
|
- spec/uploader/url_spec.rb
|
320
140
|
- spec/uploader/versions_spec.rb
|
321
141
|
has_rdoc: true
|
322
|
-
homepage: http://carrierwave
|
142
|
+
homepage: http://github.com/dsturnbull/carrierwave
|
323
143
|
licenses: []
|
324
144
|
|
325
145
|
post_install_message:
|
326
146
|
rdoc_options:
|
327
|
-
- --
|
328
|
-
- README.rdoc
|
147
|
+
- --charset=UTF-8
|
329
148
|
require_paths:
|
330
149
|
- lib
|
331
150
|
required_ruby_version: !ruby/object:Gem::Requirement
|
332
151
|
requirements:
|
333
152
|
- - ">="
|
334
153
|
- !ruby/object:Gem::Version
|
154
|
+
segments:
|
155
|
+
- 0
|
335
156
|
version: "0"
|
336
|
-
version:
|
337
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
338
158
|
requirements:
|
339
159
|
- - ">="
|
340
160
|
- !ruby/object:Gem::Version
|
161
|
+
segments:
|
162
|
+
- 0
|
341
163
|
version: "0"
|
342
|
-
version:
|
343
164
|
requirements: []
|
344
165
|
|
345
|
-
rubyforge_project:
|
346
|
-
rubygems_version: 1.3.
|
166
|
+
rubyforge_project:
|
167
|
+
rubygems_version: 1.3.6
|
347
168
|
signing_key:
|
348
169
|
specification_version: 3
|
349
|
-
summary:
|
350
|
-
test_files:
|
351
|
-
|
170
|
+
summary: fork of carrierwave
|
171
|
+
test_files:
|
172
|
+
- spec/compatibility/paperclip_spec.rb
|
173
|
+
- spec/mount_spec.rb
|
174
|
+
- spec/orm/activerecord_spec.rb
|
175
|
+
- spec/orm/datamapper_spec.rb
|
176
|
+
- spec/orm/mongoid_spec.rb
|
177
|
+
- spec/orm/mongomapper_spec.rb
|
178
|
+
- spec/orm/sequel_spec.rb
|
179
|
+
- spec/processing/image_science_spec.rb
|
180
|
+
- spec/processing/mini_magick_spec.rb
|
181
|
+
- spec/processing/rmagick_spec.rb
|
182
|
+
- spec/sanitized_file_spec.rb
|
183
|
+
- spec/spec_helper.rb
|
184
|
+
- spec/storage/grid_fs_spec.rb
|
185
|
+
- spec/storage/right_s3_spec.rb
|
186
|
+
- spec/storage/s3_spec.rb
|
187
|
+
- spec/uploader/cache_spec.rb
|
188
|
+
- spec/uploader/configuration_spec.rb
|
189
|
+
- spec/uploader/default_url_spec.rb
|
190
|
+
- spec/uploader/download_spec.rb
|
191
|
+
- spec/uploader/extension_whitelist_spec.rb
|
192
|
+
- spec/uploader/mountable_spec.rb
|
193
|
+
- spec/uploader/paths_spec.rb
|
194
|
+
- spec/uploader/processing_spec.rb
|
195
|
+
- spec/uploader/proxy_spec.rb
|
196
|
+
- spec/uploader/remove_spec.rb
|
197
|
+
- spec/uploader/store_spec.rb
|
198
|
+
- spec/uploader/url_spec.rb
|
199
|
+
- spec/uploader/versions_spec.rb
|