carrierwave 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of carrierwave might be problematic. Click here for more details.
- data/History.txt +68 -0
- data/Manifest.txt +89 -0
- data/README.rdoc +39 -4
- data/Rakefile +32 -115
- data/carrierwave.gemspec +63 -0
- data/cucumber.yml +2 -0
- data/features/caching.feature +28 -0
- data/features/file_storage.feature +37 -0
- data/features/file_storage_overridden_filename.feature +38 -0
- data/features/file_storage_overridden_store_dir.feature +38 -0
- data/features/file_storage_reversing_processor.feature +43 -0
- data/features/fixtures/bork.txt +1 -0
- data/features/fixtures/monkey.txt +1 -0
- data/features/mount_activerecord.feature +46 -0
- data/features/mount_datamapper.feature +46 -0
- data/features/step_definitions/activerecord_steps.rb +22 -0
- data/features/step_definitions/caching_steps.rb +14 -0
- data/features/step_definitions/datamapper_steps.rb +29 -0
- data/features/step_definitions/file_steps.rb +42 -0
- data/features/step_definitions/general_steps.rb +80 -0
- data/features/step_definitions/mount_steps.rb +19 -0
- data/features/step_definitions/store_steps.rb +18 -0
- data/features/support/activerecord.rb +30 -0
- data/features/support/datamapper.rb +7 -0
- data/features/support/env.rb +35 -0
- data/features/versions_basics.feature +50 -0
- data/features/versions_nested_versions.feature +70 -0
- data/features/versions_overridden_filename.feature +51 -0
- data/features/versions_overriden_store_dir.feature +41 -0
- data/lib/carrierwave.rb +8 -0
- data/lib/carrierwave/orm/mongomapper.rb +27 -0
- data/lib/carrierwave/processing/rmagick.rb +6 -4
- data/lib/carrierwave/storage/abstract.rb +5 -5
- data/lib/carrierwave/storage/s3.rb +17 -1
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/orm/mongomapper_spec.rb +184 -0
- metadata +157 -20
- data/LICENSE +0 -20
- data/TODO +0 -0
data/History.txt
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
=== Version 0.3.3 2009-08-29
|
2
|
+
|
3
|
+
* [added] Support for MongoMapper
|
4
|
+
* [added] Support for CNamed Bucket URLs for Amazon S3
|
5
|
+
|
6
|
+
=== Version 0.3.2 2009-07-18
|
7
|
+
|
8
|
+
Incremental upgrade
|
9
|
+
|
10
|
+
* [added] Ruby 1.9 compatibility
|
11
|
+
* [changed] Added Object#blank? implementation into CarrierWave, which removes any dpendencies on external libraries (extlib/activesupport)
|
12
|
+
* [fixed] Performance issues with S3 support
|
13
|
+
* [fixed] Sequel support for newer verions of Sequel (thanks Pavel!)
|
14
|
+
|
15
|
+
=== Version 0.3.1 2009-07-01
|
16
|
+
|
17
|
+
A bugfix release. Drop in compatible with 0.3.0.
|
18
|
+
|
19
|
+
* [fixed] Saving a record with a mounted Uploader no longer removes uploaded file
|
20
|
+
* [fixed] The file returned by S3 storage now has the path set to the full store path
|
21
|
+
* [added] File returned by S3 storage now responds to S3 specific methods
|
22
|
+
|
23
|
+
=== 0.3 2009-06-20
|
24
|
+
|
25
|
+
This is a stabilization release. Most features are now working as expected and
|
26
|
+
most bugs should be fixed.
|
27
|
+
|
28
|
+
* [changed] Reworked how storage engines work, some internal API changes
|
29
|
+
* [added] Macro-like methods for RMagick, no need to call #process any more!
|
30
|
+
* [added] Ability to super to any Mount method
|
31
|
+
* [fixed] Sequel support should now work as expected
|
32
|
+
* [fixed] ActiveRecord no longer saves the record twice
|
33
|
+
* [added] Added convenient macro style class methods to rmagick processing
|
34
|
+
|
35
|
+
=== 0.2.4 2009-06-11
|
36
|
+
|
37
|
+
* [added] `resize_to_limit` method for rmagick
|
38
|
+
* [added] Now deletes files from Amazon S3 when record is destroyed
|
39
|
+
|
40
|
+
=== 0.2.3 2009-05-13
|
41
|
+
|
42
|
+
* [changed] Mount now no longer returns nil if there is no stored file, it returns a blank uploader instead
|
43
|
+
* [added] Possibility to specify a default path
|
44
|
+
* [added] Paperclip compatibility module
|
45
|
+
|
46
|
+
=== 0.2.1 2009-05-01
|
47
|
+
|
48
|
+
* [changed] Url method now optionally takes versions as parameters (like Paperclip)
|
49
|
+
* [added] A field which allows files to be removed with a checkbox in mount
|
50
|
+
* [added] Mount_on option for Mount, to be able to override the serialization column
|
51
|
+
* [added] Added demeter friendly column_url method to Mount
|
52
|
+
* [added] Option to not copy files to cache dir, to prevent writes on read only fs systems (this is a workaround and needs a better solution)
|
53
|
+
|
54
|
+
|
55
|
+
=== 0.2 2009-04-15
|
56
|
+
|
57
|
+
* [changed] The version is no longer stored in the store dir. This will break the paths for files uploaded with 0.1
|
58
|
+
* [changed] CarrierWave::Uploader is now a module, not a class, so you need to include it, not inherit from it.
|
59
|
+
* [added] Integiry checking in uploaders via a white list of extensions
|
60
|
+
* [added] Validations for integrity and processing in ActiveRecord, activated by default
|
61
|
+
* [added] Support for nested versions
|
62
|
+
* [added] Permissions option to set the permissions of the uploaded files
|
63
|
+
* [added] Support for Sequel
|
64
|
+
* [added] CarrierWave::Uploader#read to read the contents of the uploaded files
|
65
|
+
|
66
|
+
=== 0.1 2009-03-12
|
67
|
+
|
68
|
+
This is a very experimental release that has not been well tested. All of the major features are in place though. Please note that there currently is a bug with load paths in Merb, which means you need to manually require uploaders.
|
data/Manifest.txt
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
Generators
|
2
|
+
History.txt
|
3
|
+
Manifest.txt
|
4
|
+
README.rdoc
|
5
|
+
Rakefile
|
6
|
+
carrierwave.gemspec
|
7
|
+
cucumber.yml
|
8
|
+
features/caching.feature
|
9
|
+
features/file_storage.feature
|
10
|
+
features/file_storage_overridden_filename.feature
|
11
|
+
features/file_storage_overridden_store_dir.feature
|
12
|
+
features/file_storage_reversing_processor.feature
|
13
|
+
features/fixtures/bork.txt
|
14
|
+
features/fixtures/monkey.txt
|
15
|
+
features/mount_activerecord.feature
|
16
|
+
features/mount_datamapper.feature
|
17
|
+
features/step_definitions/activerecord_steps.rb
|
18
|
+
features/step_definitions/caching_steps.rb
|
19
|
+
features/step_definitions/datamapper_steps.rb
|
20
|
+
features/step_definitions/file_steps.rb
|
21
|
+
features/step_definitions/general_steps.rb
|
22
|
+
features/step_definitions/mount_steps.rb
|
23
|
+
features/step_definitions/store_steps.rb
|
24
|
+
features/support/activerecord.rb
|
25
|
+
features/support/datamapper.rb
|
26
|
+
features/support/env.rb
|
27
|
+
features/versions_basics.feature
|
28
|
+
features/versions_nested_versions.feature
|
29
|
+
features/versions_overridden_filename.feature
|
30
|
+
features/versions_overriden_store_dir.feature
|
31
|
+
lib/carrierwave.rb
|
32
|
+
lib/carrierwave/compatibility/paperclip.rb
|
33
|
+
lib/carrierwave/core_ext/blank.rb
|
34
|
+
lib/carrierwave/core_ext/inheritable_attributes.rb
|
35
|
+
lib/carrierwave/core_ext/module_setup.rb
|
36
|
+
lib/carrierwave/mount.rb
|
37
|
+
lib/carrierwave/orm/activerecord.rb
|
38
|
+
lib/carrierwave/orm/datamapper.rb
|
39
|
+
lib/carrierwave/orm/mongomapper.rb
|
40
|
+
lib/carrierwave/orm/sequel.rb
|
41
|
+
lib/carrierwave/processing/image_science.rb
|
42
|
+
lib/carrierwave/processing/rmagick.rb
|
43
|
+
lib/carrierwave/sanitized_file.rb
|
44
|
+
lib/carrierwave/storage/abstract.rb
|
45
|
+
lib/carrierwave/storage/file.rb
|
46
|
+
lib/carrierwave/storage/s3.rb
|
47
|
+
lib/carrierwave/test/matchers.rb
|
48
|
+
lib/carrierwave/uploader.rb
|
49
|
+
lib/carrierwave/uploader/cache.rb
|
50
|
+
lib/carrierwave/uploader/callbacks.rb
|
51
|
+
lib/carrierwave/uploader/default_path.rb
|
52
|
+
lib/carrierwave/uploader/extension_whitelist.rb
|
53
|
+
lib/carrierwave/uploader/mountable.rb
|
54
|
+
lib/carrierwave/uploader/paths.rb
|
55
|
+
lib/carrierwave/uploader/processing.rb
|
56
|
+
lib/carrierwave/uploader/proxy.rb
|
57
|
+
lib/carrierwave/uploader/remove.rb
|
58
|
+
lib/carrierwave/uploader/store.rb
|
59
|
+
lib/carrierwave/uploader/url.rb
|
60
|
+
lib/carrierwave/uploader/versions.rb
|
61
|
+
lib/generators/uploader_generator.rb
|
62
|
+
rails_generators/uploader/USAGE
|
63
|
+
rails_generators/uploader/templates/uploader.rb
|
64
|
+
rails_generators/uploader/uploader_generator.rb
|
65
|
+
script/console
|
66
|
+
script/destroy
|
67
|
+
script/generate
|
68
|
+
spec/compatibility/paperclip_spec.rb
|
69
|
+
spec/fixtures/bork.txt
|
70
|
+
spec/fixtures/test.jpeg
|
71
|
+
spec/fixtures/test.jpg
|
72
|
+
spec/mount_spec.rb
|
73
|
+
spec/orm/activerecord_spec.rb
|
74
|
+
spec/orm/datamapper_spec.rb
|
75
|
+
spec/orm/mongomapper_spec.rb
|
76
|
+
spec/orm/sequel_spec.rb
|
77
|
+
spec/sanitized_file_spec.rb
|
78
|
+
spec/spec_helper.rb
|
79
|
+
spec/uploader/cache_spec.rb
|
80
|
+
spec/uploader/default_path_spec.rb
|
81
|
+
spec/uploader/extension_whitelist_spec.rb
|
82
|
+
spec/uploader/mountable_spec.rb
|
83
|
+
spec/uploader/paths_spec.rb
|
84
|
+
spec/uploader/processing_spec.rb
|
85
|
+
spec/uploader/proxy_spec.rb
|
86
|
+
spec/uploader/remove_spec.rb
|
87
|
+
spec/uploader/store_spec.rb
|
88
|
+
spec/uploader/url_spec.rb
|
89
|
+
spec/uploader/versions_spec.rb
|
data/README.rdoc
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
= CarrierWave
|
2
2
|
|
3
|
+
http://carrierwave.rubyforge.org
|
4
|
+
|
5
|
+
== Summary
|
6
|
+
|
3
7
|
This plugin for Merb and Rails provides a simple and extremely flexible way to
|
4
8
|
upload files.
|
5
9
|
|
10
|
+
== Description
|
11
|
+
|
6
12
|
* RDoc Documentation {available at Rubyforge}[http://carrierwave.rubyforge.org/].
|
7
13
|
* Source code {hosted at GitHub}[http://github.com/jnicklas/carrierwave]
|
8
14
|
* Please {report any issues}[http://github.com/jnicklas/carrierwave/issues] on GitHub
|
15
|
+
* Please direct any questions at the {mailing list}[http://groups.google.com/group/carrierwave]
|
9
16
|
|
10
17
|
== Getting Started
|
11
18
|
|
@@ -62,7 +69,7 @@ Most of the time you are going to want to use CarrierWave together with an ORM.
|
|
62
69
|
It is quite simple to mount uploaders on columns in your model, so you can
|
63
70
|
simply assign files and get going:
|
64
71
|
|
65
|
-
=== ActiveRecord, DataMapper, Sequel
|
72
|
+
=== ActiveRecord, DataMapper, Sequel, MongoMapper
|
66
73
|
|
67
74
|
If you are *not* using Merb or Rails you'll need to require the relevant ORM
|
68
75
|
extension.
|
@@ -70,6 +77,7 @@ extension.
|
|
70
77
|
require 'carrierwave/orm/activerecord'
|
71
78
|
require 'carrierwave/orm/datamapper'
|
72
79
|
require 'carrierwave/orm/sequel'
|
80
|
+
require 'carrierwave/orm/mongomapper'
|
73
81
|
|
74
82
|
Open your model file, for ActiveRecord do something like:
|
75
83
|
|
@@ -294,14 +302,41 @@ These people have contributed their time and effort to CarrierWave:
|
|
294
302
|
|
295
303
|
* Jonas Nicklas
|
296
304
|
* Pavel Kunc
|
305
|
+
* Andrew Timberlake
|
297
306
|
|
298
307
|
== License
|
299
308
|
|
300
|
-
|
309
|
+
Copyright (c) 2008 Jonas Nicklas
|
310
|
+
|
311
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
312
|
+
a copy of this software and associated documentation files (the
|
313
|
+
"Software"), to deal in the Software without restriction, including
|
314
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
315
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
316
|
+
permit persons to whom the Software is furnished to do so, subject to
|
317
|
+
the following conditions:
|
318
|
+
|
319
|
+
The above copyright notice and this permission notice shall be
|
320
|
+
included in all copies or substantial portions of the Software.
|
301
321
|
|
302
|
-
|
322
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
323
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
324
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
325
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
326
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
327
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
328
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
329
|
+
|
330
|
+
== Development
|
331
|
+
|
332
|
+
If you want to run the tests (and you should) it might be convenient to install
|
333
|
+
the development dependencies, you can do that with:
|
334
|
+
|
335
|
+
sudo gem install carrierwave --development
|
303
336
|
|
304
337
|
CarrierWave is still young, but most of it is pretty well documented. It is also
|
305
338
|
extensively specced, and there are cucumber features for some common use cases.
|
306
339
|
Just dig in and look at the source for more in-depth explanation of what things
|
307
|
-
are doing.
|
340
|
+
are doing.
|
341
|
+
|
342
|
+
Issues are reported on GitHub, pull requests are very welcome!
|
data/Rakefile
CHANGED
@@ -1,115 +1,32 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
|
3
|
-
require '
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
s.homepage = HOMEPAGE
|
34
|
-
s.require_path = 'lib'
|
35
|
-
s.files = %w(LICENSE Generators README.rdoc Rakefile TODO) + Dir.glob("{lib,spec,rails_generators}/**/*")
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
|
-
# Try these:
|
40
|
-
#
|
41
|
-
# rake features
|
42
|
-
# rake features PROFILE=html
|
43
|
-
Cucumber::Rake::Task.new do |t|
|
44
|
-
profile = ENV['PROFILE'] || 'default'
|
45
|
-
t.cucumber_opts = "--profile #{profile}"
|
46
|
-
end
|
47
|
-
|
48
|
-
Rake::RDocTask.new do |rd|
|
49
|
-
rd.main = "README.rdoc"
|
50
|
-
rd.title = "CarrierWave"
|
51
|
-
rd.template = 'direct'
|
52
|
-
rd.options << "--diagram" if ENV["DIAGRAM"]
|
53
|
-
rd.rdoc_dir = File.join(File.dirname(__FILE__), 'doc')
|
54
|
-
rd.rdoc_files.include("README.rdoc", "LICENSE", "TODO", 'lib/carrierwave/**/*.rb')
|
55
|
-
end
|
56
|
-
|
57
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
58
|
-
pkg.gem_spec = spec
|
59
|
-
end
|
60
|
-
|
61
|
-
desc "install the plugin locally"
|
62
|
-
task :install => [:package] do
|
63
|
-
sh %{#{sudo} gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION} --no-update-sources}
|
64
|
-
end
|
65
|
-
|
66
|
-
desc "create a gemspec file"
|
67
|
-
task :make_spec do
|
68
|
-
File.open("#{NAME}.gemspec", "w") do |file|
|
69
|
-
file.puts spec.to_ruby
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
namespace :jruby do
|
74
|
-
|
75
|
-
desc "Run :package and install the resulting .gem with jruby"
|
76
|
-
task :install => :package do
|
77
|
-
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
|
78
|
-
end
|
79
|
-
|
80
|
-
end
|
81
|
-
|
82
|
-
file_list = FileList['spec/**/*_spec.rb']
|
83
|
-
|
84
|
-
desc "Run all examples"
|
85
|
-
Spec::Rake::SpecTask.new('spec') do |t|
|
86
|
-
t.spec_files = file_list
|
87
|
-
end
|
88
|
-
|
89
|
-
RCov::VerifyTask.new(:verify_coverage => "spec:rcov") do |t|
|
90
|
-
t.threshold = 95.64
|
91
|
-
t.index_html = 'doc/coverage/index.html'
|
92
|
-
end
|
93
|
-
|
94
|
-
namespace :spec do
|
95
|
-
desc "Run all examples with RCov"
|
96
|
-
Spec::Rake::SpecTask.new('rcov') do |t|
|
97
|
-
t.spec_files = file_list
|
98
|
-
t.rcov = true
|
99
|
-
t.rcov_dir = "doc/coverage"
|
100
|
-
t.rcov_opts = ['--exclude', 'spec,features,lib/generators,gems/*']
|
101
|
-
end
|
102
|
-
|
103
|
-
desc "Generate an html report"
|
104
|
-
Spec::Rake::SpecTask.new('report') do |t|
|
105
|
-
t.spec_files = file_list
|
106
|
-
t.spec_opts = ["--format", "html:doc/reports/specs.html"]
|
107
|
-
t.fail_on_error = false
|
108
|
-
end
|
109
|
-
|
110
|
-
end
|
111
|
-
|
112
|
-
task :superspec => [:spec, :features]
|
113
|
-
|
114
|
-
desc 'Default: run unit tests and features.'
|
115
|
-
task :default => 'superspec'
|
1
|
+
require 'rubygems'
|
2
|
+
gem 'hoe', '>= 2.1.0'
|
3
|
+
require 'hoe'
|
4
|
+
require 'fileutils'
|
5
|
+
$:.unshift File.join(File.dirname(__FILE__), 'lib')
|
6
|
+
require 'carrierwave'
|
7
|
+
|
8
|
+
Hoe.plugin :newgem
|
9
|
+
# Hoe.plugin :website
|
10
|
+
Hoe.plugin :cucumberfeatures
|
11
|
+
|
12
|
+
$hoe = Hoe.spec 'carrierwave' do
|
13
|
+
self.developer 'Jonas Nicklas', 'jonas.nicklas@gmail.com'
|
14
|
+
self.rubyforge_name = self.name
|
15
|
+
self.readme_file = 'README.rdoc'
|
16
|
+
self.version = CarrierWave::VERSION
|
17
|
+
self.extra_dev_deps << ['rspec', '>=1.2.8']
|
18
|
+
self.extra_dev_deps << ['cucumber', '>=0.3.96']
|
19
|
+
self.extra_dev_deps << ['activerecord', '>=2.3.3']
|
20
|
+
self.extra_dev_deps << ['sqlite3-ruby', '>=2.3.3']
|
21
|
+
self.extra_dev_deps << ['dm-core', '>=0.9.11']
|
22
|
+
self.extra_dev_deps << ['do_sqlite3', '>=0.9.11']
|
23
|
+
self.extra_dev_deps << ['sequel', '>=3.2.0']
|
24
|
+
self.extra_dev_deps << ['rmagick', '>=2.10.0']
|
25
|
+
self.extra_dev_deps << ['jnunemaker-mongomapper', '>=0.3.3']
|
26
|
+
self.extra_rdoc_files << 'README.rdoc'
|
27
|
+
end
|
28
|
+
|
29
|
+
require 'newgem/tasks'
|
30
|
+
Dir['tasks/**/*.rake'].each { |t| load t }
|
31
|
+
|
32
|
+
task :default => [:spec, :features]
|
data/carrierwave.gemspec
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{carrierwave}
|
5
|
+
s.version = "0.3.3"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Jonas Nicklas"]
|
9
|
+
s.date = %q{2009-08-29}
|
10
|
+
s.description = %q{* RDoc Documentation {available at Rubyforge}[http://carrierwave.rubyforge.org/].
|
11
|
+
* Source code {hosted at GitHub}[http://github.com/jnicklas/carrierwave]
|
12
|
+
* Please {report any issues}[http://github.com/jnicklas/carrierwave/issues] on GitHub
|
13
|
+
* Please direct any questions at the {mailing list}[http://groups.google.com/group/carrierwave]}
|
14
|
+
s.email = ["jonas.nicklas@gmail.com"]
|
15
|
+
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "features/fixtures/bork.txt", "features/fixtures/monkey.txt", "README.rdoc"]
|
16
|
+
s.files = ["Generators", "History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "carrierwave.gemspec", "cucumber.yml", "features/caching.feature", "features/file_storage.feature", "features/file_storage_overridden_filename.feature", "features/file_storage_overridden_store_dir.feature", "features/file_storage_reversing_processor.feature", "features/fixtures/bork.txt", "features/fixtures/monkey.txt", "features/mount_activerecord.feature", "features/mount_datamapper.feature", "features/step_definitions/activerecord_steps.rb", "features/step_definitions/caching_steps.rb", "features/step_definitions/datamapper_steps.rb", "features/step_definitions/file_steps.rb", "features/step_definitions/general_steps.rb", "features/step_definitions/mount_steps.rb", "features/step_definitions/store_steps.rb", "features/support/activerecord.rb", "features/support/datamapper.rb", "features/support/env.rb", "features/versions_basics.feature", "features/versions_nested_versions.feature", "features/versions_overridden_filename.feature", "features/versions_overriden_store_dir.feature", "lib/carrierwave.rb", "lib/carrierwave/compatibility/paperclip.rb", "lib/carrierwave/core_ext/blank.rb", "lib/carrierwave/core_ext/inheritable_attributes.rb", "lib/carrierwave/core_ext/module_setup.rb", "lib/carrierwave/mount.rb", "lib/carrierwave/orm/activerecord.rb", "lib/carrierwave/orm/datamapper.rb", "lib/carrierwave/orm/mongomapper.rb", "lib/carrierwave/orm/sequel.rb", "lib/carrierwave/processing/image_science.rb", "lib/carrierwave/processing/rmagick.rb", "lib/carrierwave/sanitized_file.rb", "lib/carrierwave/storage/abstract.rb", "lib/carrierwave/storage/file.rb", "lib/carrierwave/storage/s3.rb", "lib/carrierwave/test/matchers.rb", "lib/carrierwave/uploader.rb", "lib/carrierwave/uploader/cache.rb", "lib/carrierwave/uploader/callbacks.rb", "lib/carrierwave/uploader/default_path.rb", "lib/carrierwave/uploader/extension_whitelist.rb", "lib/carrierwave/uploader/mountable.rb", "lib/carrierwave/uploader/paths.rb", "lib/carrierwave/uploader/processing.rb", "lib/carrierwave/uploader/proxy.rb", "lib/carrierwave/uploader/remove.rb", "lib/carrierwave/uploader/store.rb", "lib/carrierwave/uploader/url.rb", "lib/carrierwave/uploader/versions.rb", "lib/generators/uploader_generator.rb", "rails_generators/uploader/USAGE", "rails_generators/uploader/templates/uploader.rb", "rails_generators/uploader/uploader_generator.rb", "script/console", "script/destroy", "script/generate", "spec/compatibility/paperclip_spec.rb", "spec/fixtures/bork.txt", "spec/fixtures/test.jpeg", "spec/fixtures/test.jpg", "spec/mount_spec.rb", "spec/orm/activerecord_spec.rb", "spec/orm/datamapper_spec.rb", "spec/orm/mongomapper_spec.rb", "spec/orm/sequel_spec.rb", "spec/sanitized_file_spec.rb", "spec/spec_helper.rb", "spec/uploader/cache_spec.rb", "spec/uploader/default_path_spec.rb", "spec/uploader/extension_whitelist_spec.rb", "spec/uploader/mountable_spec.rb", "spec/uploader/paths_spec.rb", "spec/uploader/processing_spec.rb", "spec/uploader/proxy_spec.rb", "spec/uploader/remove_spec.rb", "spec/uploader/store_spec.rb", "spec/uploader/url_spec.rb", "spec/uploader/versions_spec.rb"]
|
17
|
+
s.homepage = %q{http://carrierwave.rubyforge.org}
|
18
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
s.rubyforge_project = %q{carrierwave}
|
21
|
+
s.rubygems_version = %q{1.3.5}
|
22
|
+
s.summary = %q{* RDoc Documentation {available at Rubyforge}[http://carrierwave.rubyforge.org/]}
|
23
|
+
|
24
|
+
if s.respond_to? :specification_version then
|
25
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
26
|
+
s.specification_version = 3
|
27
|
+
|
28
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
29
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.8"])
|
30
|
+
s.add_development_dependency(%q<cucumber>, [">= 0.3.96"])
|
31
|
+
s.add_development_dependency(%q<activerecord>, [">= 2.3.3"])
|
32
|
+
s.add_development_dependency(%q<sqlite3-ruby>, [">= 2.3.3"])
|
33
|
+
s.add_development_dependency(%q<dm-core>, [">= 0.9.11"])
|
34
|
+
s.add_development_dependency(%q<do_sqlite3>, [">= 0.9.11"])
|
35
|
+
s.add_development_dependency(%q<sequel>, [">= 3.2.0"])
|
36
|
+
s.add_development_dependency(%q<rmagick>, [">= 2.10.0"])
|
37
|
+
s.add_development_dependency(%q<jnunemaker-mongomapper>, [">= 0.3.3"])
|
38
|
+
s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
|
39
|
+
else
|
40
|
+
s.add_dependency(%q<rspec>, [">= 1.2.8"])
|
41
|
+
s.add_dependency(%q<cucumber>, [">= 0.3.96"])
|
42
|
+
s.add_dependency(%q<activerecord>, [">= 2.3.3"])
|
43
|
+
s.add_dependency(%q<sqlite3-ruby>, [">= 2.3.3"])
|
44
|
+
s.add_dependency(%q<dm-core>, [">= 0.9.11"])
|
45
|
+
s.add_dependency(%q<do_sqlite3>, [">= 0.9.11"])
|
46
|
+
s.add_dependency(%q<sequel>, [">= 3.2.0"])
|
47
|
+
s.add_dependency(%q<rmagick>, [">= 2.10.0"])
|
48
|
+
s.add_dependency(%q<jnunemaker-mongomapper>, [">= 0.3.3"])
|
49
|
+
s.add_dependency(%q<hoe>, [">= 2.3.3"])
|
50
|
+
end
|
51
|
+
else
|
52
|
+
s.add_dependency(%q<rspec>, [">= 1.2.8"])
|
53
|
+
s.add_dependency(%q<cucumber>, [">= 0.3.96"])
|
54
|
+
s.add_dependency(%q<activerecord>, [">= 2.3.3"])
|
55
|
+
s.add_dependency(%q<sqlite3-ruby>, [">= 2.3.3"])
|
56
|
+
s.add_dependency(%q<dm-core>, [">= 0.9.11"])
|
57
|
+
s.add_dependency(%q<do_sqlite3>, [">= 0.9.11"])
|
58
|
+
s.add_dependency(%q<sequel>, [">= 3.2.0"])
|
59
|
+
s.add_dependency(%q<rmagick>, [">= 2.10.0"])
|
60
|
+
s.add_dependency(%q<jnunemaker-mongomapper>, [">= 0.3.3"])
|
61
|
+
s.add_dependency(%q<hoe>, [">= 2.3.3"])
|
62
|
+
end
|
63
|
+
end
|