Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moving Jeweler tasks to main Rakefile.

  • Loading branch information...
commit b56c346255b848f99b0be3fe476f6b36258fb3d5 1 parent 59962f7
@airblade authored
Showing with 14 additions and 16 deletions.
  1. +14 −0 Rakefile
  2. +0 −16 tasks/paper_trail_tasks.rake
View
14 Rakefile
@@ -21,3 +21,17 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = 'paper_trail'
+ gemspec.summary = "Track changes to your models' data. Good for auditing or versioning."
+ gemspec.email = 'boss@airbladesoftware.com'
+ gemspec.homepage = 'http://github.com/airblade/paper_trail'
+ gemspec.authors = ['Andy Stewart']
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+end
View
16 tasks/paper_trail_tasks.rake
@@ -1,16 +0,0 @@
-require 'rubygems'
-require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gemspec|
- gemspec.name = 'paper_trail'
- gemspec.summary = "Track changes to your models' data. Good for auditing or versioning."
- gemspec.email = 'boss@airbladesoftware.com'
- gemspec.homepage = 'http://github.com/airblade/paper_trail'
- gemspec.authors = ['Andy Stewart']
- end
-rescue LoadError
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
-end
-
Please sign in to comment.
Something went wrong with that request. Please try again.