Skip to content
Browse files

Manually manage gemspec

  • Loading branch information...
1 parent 8f4d363 commit 88d5b9895f8aa0e17f63b0a1764afa6bcb40980e @jnicklas jnicklas committed May 6, 2010
Showing with 29 additions and 215 deletions.
  1. +0 −110 Manifest.txt
  2. +5 −35 Rakefile
  3. +24 −70 carrierwave.gemspec
View
110 Manifest.txt
@@ -1,110 +0,0 @@
-Generators
-History.txt
-Manifest.txt
-README.rdoc
-Rakefile
-carrierwave.gemspec
-cucumber.yml
-features/caching.feature
-features/download.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/grid_fs_storage.feature
-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/download_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/file.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/mongoid.rb
-lib/carrierwave/orm/mongomapper.rb
-lib/carrierwave/orm/sequel.rb
-lib/carrierwave/processing/image_science.rb
-lib/carrierwave/processing/mini_magick.rb
-lib/carrierwave/processing/rmagick.rb
-lib/carrierwave/sanitized_file.rb
-lib/carrierwave/storage/abstract.rb
-lib/carrierwave/storage/cloud_files.rb
-lib/carrierwave/storage/file.rb
-lib/carrierwave/storage/grid_fs.rb
-lib/carrierwave/storage/right_s3.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/configuration.rb
-lib/carrierwave/uploader/default_url.rb
-lib/carrierwave/uploader/download.rb
-lib/carrierwave/uploader/extension_whitelist.rb
-lib/carrierwave/uploader/mountable.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
-merb_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/landscape.jpg
-spec/fixtures/portrait.jpg
-spec/fixtures/test.jpeg
-spec/fixtures/test.jpg
-spec/mount_spec.rb
-spec/orm/activerecord_spec.rb
-spec/orm/datamapper_spec.rb
-spec/orm/mongoid_spec.rb
-spec/orm/mongomapper_spec.rb
-spec/orm/sequel_spec.rb
-spec/processing/image_science_spec.rb
-spec/processing/mini_magick_spec.rb
-spec/processing/rmagick_spec.rb
-spec/sanitized_file_spec.rb
-spec/spec_helper.rb
-spec/storage/cloudfiles_spec.rb
-spec/storage/grid_fs_spec.rb
-spec/storage/s3_spec.rb
-spec/uploader/cache_spec.rb
-spec/uploader/configuration_spec.rb
-spec/uploader/default_url_spec.rb
-spec/uploader/download_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
View
40 Rakefile
@@ -1,39 +1,9 @@
require 'rubygems'
-gem 'hoe', '>= 2.1.0'
-require 'hoe'
-require 'fileutils'
-$:.unshift File.join(File.dirname(__FILE__), 'lib')
-require 'carrierwave'
+require 'spec/rake/spectask'
-Hoe.plugin :newgem
-# Hoe.plugin :website
-Hoe.plugin :cucumberfeatures
-
-$hoe = Hoe.spec 'carrierwave' do
- self.developer 'Jonas Nicklas', 'jonas.nicklas@gmail.com'
- self.rubyforge_name = self.name
- self.readme_file = 'README.rdoc'
- self.version = CarrierWave::VERSION
- self.extra_dev_deps << ['newgem', '>=1.5.2']
- self.extra_dev_deps << ['rspec', '>=1.2.8']
- self.extra_dev_deps << ['cucumber', '>=0.3.96']
- self.extra_dev_deps << ['activerecord', '>=2.3.3']
- self.extra_dev_deps << ['sqlite3-ruby', '>=1.2.5']
- self.extra_dev_deps << ['dm-core', '>=0.9.11']
- self.extra_dev_deps << ['data_objects', '>=0.9.12']
- self.extra_dev_deps << ['do_sqlite3', '>=0.9.11']
- self.extra_dev_deps << ['sequel', '>=3.2.0']
- self.extra_dev_deps << ['rmagick', '>=2.10.0']
- self.extra_dev_deps << ['mini_magick', '>=1.2.5']
- self.extra_dev_deps << ['mongo_mapper', '>=0.6.8']
- self.extra_dev_deps << ['mongoid', '>=0.10.4']
- self.extra_dev_deps << ['aws-s3', '>=0.6.2']
- self.extra_dev_deps << ['timecop', '>=0.3.4']
- self.extra_dev_deps << ['json', '>=1.1.9']
- self.extra_rdoc_files << 'README.rdoc'
+desc "Run all examples"
+Spec::Rake::SpecTask.new('spec') do |t|
+ t.spec_files = FileList['spec/**/*.rb']
end
-require 'newgem/tasks'
-Dir['tasks/**/*.rake'].each { |t| load t }
-
-task :default => [:spec, :features]
+task :default => :spec
View
94 carrierwave.gemspec
@@ -1,85 +1,39 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{carrierwave}
+ s.name = "carrierwave"
s.version = "0.4.4"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jonas Nicklas"]
- s.date = %q{2010-02-18}
- s.description = %q{* RDoc Documentation {available at Rubyforge}[http://carrierwave.rubyforge.org/rdoc].
-* Source code {hosted at GitHub}[http://github.com/jnicklas/carrierwave]
-* Please {report any issues}[http://github.com/jnicklas/carrierwave/issues] on GitHub
-* Please direct any questions at the {mailing list}[http://groups.google.com/group/carrierwave]
-* Check out the {example app}[http://github.com/jnicklas/carrierwave-example-app]}
+ s.date = Date.today
+ s.description = "Upload files in your Ruby applications, map them to a range of ORMs, store them on different backends."
+ s.summary = "Ruby file upload library"
s.email = ["jonas.nicklas@gmail.com"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "features/fixtures/bork.txt", "features/fixtures/monkey.txt", "README.rdoc"]
- s.files = ["Generators", "History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "cucumber.yml", "features/caching.feature", "features/download.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/grid_fs_storage.feature", "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/download_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/mongoid.rb", "lib/carrierwave/orm/mongomapper.rb", "lib/carrierwave/orm/sequel.rb", "lib/carrierwave/processing/image_science.rb", "lib/carrierwave/processing/mini_magick.rb", "lib/carrierwave/processing/rmagick.rb", "lib/carrierwave/sanitized_file.rb", "lib/carrierwave/storage/abstract.rb", "lib/carrierwave/storage/cloud_files.rb", "lib/carrierwave/storage/file.rb", "lib/carrierwave/storage/grid_fs.rb", "lib/carrierwave/storage/right_s3.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/configuration.rb", "lib/carrierwave/uploader/default_url.rb", "lib/carrierwave/uploader/download.rb", "lib/carrierwave/uploader/extension_whitelist.rb", "lib/carrierwave/uploader/mountable.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", "merb_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/landscape.jpg", "spec/fixtures/portrait.jpg", "spec/fixtures/test.jpeg", "spec/fixtures/test.jpg", "spec/mount_spec.rb", "spec/orm/activerecord_spec.rb", "spec/orm/datamapper_spec.rb", "spec/orm/mongoid_spec.rb", "spec/orm/mongomapper_spec.rb", "spec/orm/sequel_spec.rb", "spec/processing/image_science_spec.rb", "spec/processing/mini_magick_spec.rb", "spec/processing/rmagick_spec.rb", "spec/sanitized_file_spec.rb", "spec/spec_helper.rb", "spec/storage/grid_fs_spec.rb", "spec/storage/right_s3_spec.rb", "spec/storage/s3_spec.rb", "spec/uploader/cache_spec.rb", "spec/uploader/configuration_spec.rb", "spec/uploader/default_url_spec.rb", "spec/uploader/download_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"]
+ s.files = Dir.glob("{bin,lib}/**/*") + %w(README.rdoc)
s.homepage = %q{http://carrierwave.rubyforge.org}
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{carrierwave}
s.rubygems_version = %q{1.3.5}
- s.summary = %q{* RDoc Documentation {available at Rubyforge}[http://carrierwave.rubyforge.org/rdoc]}
+ s.specification_version = 3
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<newgem>, [">= 1.5.2"])
- s.add_development_dependency(%q<rspec>, [">= 1.2.8"])
- s.add_development_dependency(%q<cucumber>, [">= 0.3.96"])
- s.add_development_dependency(%q<activerecord>, [">= 2.3.3"])
- s.add_development_dependency(%q<sqlite3-ruby>, [">= 1.2.5"])
- s.add_development_dependency(%q<dm-core>, [">= 0.9.11"])
- s.add_development_dependency(%q<data_objects>, [">= 0.9.12"])
- s.add_development_dependency(%q<do_sqlite3>, [">= 0.9.11"])
- s.add_development_dependency(%q<sequel>, [">= 3.2.0"])
- s.add_development_dependency(%q<rmagick>, [">= 2.10.0"])
- s.add_development_dependency(%q<mini_magick>, [">= 1.2.5"])
- s.add_development_dependency(%q<mongo_mapper>, [">= 0.6.8"])
- s.add_development_dependency(%q<mongoid>, [">= 0.10.4"])
- s.add_development_dependency(%q<aws-s3>, [">= 0.6.2"])
- s.add_development_dependency(%q<timecop>, [">= 0.3.4"])
- s.add_development_dependency(%q<json>, [">= 1.1.9"])
- s.add_development_dependency(%q<hoe>, [">= 2.4.0"])
- else
- s.add_dependency(%q<newgem>, [">= 1.5.2"])
- s.add_dependency(%q<rspec>, [">= 1.2.8"])
- s.add_dependency(%q<cucumber>, [">= 0.3.96"])
- s.add_dependency(%q<activerecord>, [">= 2.3.3"])
- s.add_dependency(%q<sqlite3-ruby>, [">= 1.2.5"])
- s.add_dependency(%q<dm-core>, [">= 0.9.11"])
- s.add_dependency(%q<data_objects>, [">= 0.9.12"])
- s.add_dependency(%q<do_sqlite3>, [">= 0.9.11"])
- s.add_dependency(%q<sequel>, [">= 3.2.0"])
- s.add_dependency(%q<rmagick>, [">= 2.10.0"])
- s.add_dependency(%q<mini_magick>, [">= 1.2.5"])
- s.add_dependency(%q<mongo_mapper>, [">= 0.6.8"])
- s.add_dependency(%q<mongoid>, [">= 0.10.4"])
- s.add_dependency(%q<aws-s3>, [">= 0.6.2"])
- s.add_dependency(%q<timecop>, [">= 0.3.4"])
- s.add_dependency(%q<json>, [">= 1.1.9"])
- s.add_dependency(%q<hoe>, [">= 2.4.0"])
- end
- else
- s.add_dependency(%q<newgem>, [">= 1.5.2"])
- s.add_dependency(%q<rspec>, [">= 1.2.8"])
- s.add_dependency(%q<cucumber>, [">= 0.3.96"])
- s.add_dependency(%q<activerecord>, [">= 2.3.3"])
- s.add_dependency(%q<sqlite3-ruby>, [">= 1.2.5"])
- s.add_dependency(%q<dm-core>, [">= 0.9.11"])
- s.add_dependency(%q<data_objects>, [">= 0.9.12"])
- s.add_dependency(%q<do_sqlite3>, [">= 0.9.11"])
- s.add_dependency(%q<sequel>, [">= 3.2.0"])
- s.add_dependency(%q<rmagick>, [">= 2.10.0"])
- s.add_dependency(%q<mini_magick>, [">= 1.2.5"])
- s.add_dependency(%q<mongo_mapper>, [">= 0.6.8"])
- s.add_dependency(%q<mongoid>, [">= 0.10.4"])
- s.add_dependency(%q<aws-s3>, [">= 0.6.2"])
- s.add_dependency(%q<timecop>, [">= 0.3.4"])
- s.add_dependency(%q<json>, [">= 1.1.9"])
- s.add_dependency(%q<hoe>, [">= 2.4.0"])
- end
+ s.add_development_dependency("rspec", [">= 1.2.8"])
+ s.add_development_dependency("cucumber", [">= 0.3.96"])
+ s.add_development_dependency("activerecord", [">= 2.3.3"])
+ s.add_development_dependency("sqlite3-ruby", [">= 1.2.5"])
+ s.add_development_dependency("dm-core", [">= 0.9.11"])
+ s.add_development_dependency("dm-validations", [">= 0.9.11"])
+ s.add_development_dependency("data_objects", [">= 0.9.12"])
+ s.add_development_dependency("do_sqlite3", [">= 0.9.11"])
+ s.add_development_dependency("sequel", [">= 3.2.0"])
+ s.add_development_dependency("rmagick", [">= 2.10.0"])
+ s.add_development_dependency("RubyInline", [">= 2.10.0"])
+ s.add_development_dependency("image_science", [">= 2.10.0"])
+ s.add_development_dependency("mini_magick", [">= 1.2.5"])
+ s.add_development_dependency("mongo_mapper", [">= 0.6.8"])
+ s.add_development_dependency("mongoid", [">= 0.10.4"])
+ s.add_development_dependency("aws-s3", [">= 0.6.2"])
+ s.add_development_dependency("timecop", [">= 0.3.4"])
+ s.add_development_dependency("json", [">= 1.1.9"])
end

0 comments on commit 88d5b98

Please sign in to comment.
Something went wrong with that request. Please try again.