Merge branch 'rails3'
Showing
lib/generators/paperclip/USAGE
0 → 100644
lib/paperclip/railtie.rb
0 → 100644
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib') | $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib') | ||
require 'paperclip' | require 'paperclip' | ||
include_files = ["README*", "LICENSE", "Rakefile", "init.rb", "{generators,lib,tasks,test,shoulda_macros}/**/*"].map do |glob| | include_files = ["README*", "LICENSE", "Rakefile", "init.rb", "{lib,tasks,test,rails,generators,shoulda_macros}/**/*"].map do |glob| | ||
Dir[glob] | Dir[glob] | ||
end.flatten | end.flatten | ||
exclude_files = ["test/s3.yml", "test/debug.log", "test/paperclip.db", "test/doc", "test/doc/*", "test/pkg", "test/pkg/*", "test/tmp", "test/tmp/*"].map do |glob| | exclude_files = ["test/s3.yml", "test/debug.log", "test/paperclip.db", "test/doc", "test/doc/*", "test/pkg", "test/pkg/*", "test/tmp", "test/tmp/*"].map do |glob| | ||
... | @@ -25,11 +25,11 @@ spec = Gem::Specification.new do |s| | ... | @@ -25,11 +25,11 @@ spec = Gem::Specification.new do |s| |
s.extra_rdoc_files = Dir["README*"] | s.extra_rdoc_files = Dir["README*"] | ||
s.rdoc_options << '--line-numbers' << '--inline-source' | s.rdoc_options << '--line-numbers' << '--inline-source' | ||
s.requirements << "ImageMagick" | s.requirements << "ImageMagick" | ||
s.add_dependency 'activerecord' | |||
s.add_dependency 'activesupport' | |||
s.add_development_dependency 'shoulda' | s.add_development_dependency 'shoulda' | ||
s.add_development_dependency 'mocha' | s.add_development_dependency 'mocha' | ||
s.add_development_dependency 'aws-s3' | s.add_development_dependency 'aws-s3' | ||
s.add_development_dependency 'sqlite3-ruby' | s.add_development_dependency 'sqlite3-ruby' | ||
s.add_development_dependency 'active_record' | |||
s.add_development_dependency 'active_support' | |||
end | end | ||
rails/init.rb
0 → 100644
Please
register
or
sign in
to comment