Rakefile in sunrise-file-upload-0.1.2 vs Rakefile in sunrise-file-upload-0.1.3
- old
+ new
@@ -1,10 +1,9 @@
# encoding: utf-8
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
-require File.join(File.dirname(__FILE__), 'lib', 'sunrise', 'file_upload', 'version')
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the sunrise plugin.'
@@ -20,25 +19,6 @@
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Sunrise FileUpload'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |s|
- s.name = "sunrise-file-upload"
- s.version = Sunrise::FileUpload::VERSION.dup
- s.summary = "Rails FileUpload"
- s.description = "Sunrise is a Aimbulance CMS"
- s.email = "galeta.igor@gmail.com"
- s.homepage = "https://github.com/galetahub/sunrise-file-upload"
- s.authors = ["Igor Galeta", "Pavlo Galeta"]
- s.files = FileList["[A-Z]*", "{app,config,lib}/**/*"]
- s.extra_rdoc_files = FileList["[A-Z]*"] - %w(Gemfile Rakefile)
- end
-
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler not available. Install it with: gem install jeweler"
end