Permalink
Browse files

updated rakefile

  • Loading branch information...
1 parent 2b824dc commit 75a119d8518fccba632686385b051b66c71e6762 @pstuteville committed Sep 24, 2010
Showing with 13 additions and 16 deletions.
  1. +13 −16 Rakefile
View
@@ -1,19 +1,16 @@
-# -*- encoding: utf-8 -*-
begin
require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "magentor"
+ gemspec.summary = "Ruby wrapper for the Magento xmlrpc api"
+ gemspec.email = "preston.stuteville@gmail.com"
+ gemspec.homepage = "http://github.com/pstuteville/magentor"
+ gemspec.authors = ["Preston Stuteville"]
+
+ gemspec.has_rdoc = true
+ gemspec.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"]
+ gemspec.extra_rdoc_files = ["README.rdoc"]
+ end
rescue LoadError
- puts "Jeweler not available. Install it with: sudo gem install jeweler"
- exit 1
-end
-
-Jeweler::Tasks.new do |s|
- s.name = "magentor"
- s.summary = "Ruby wrapper for the Magento xmlrpc api"
- s.email = "preston.stuteville@gmail.com"
- s.homepage = "http://github.com/pstuteville/magentor"
- s.authors = ["Preston Stuteville"]
-
- s.has_rdoc = true
- s.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"]
- s.extra_rdoc_files = ["README.rdoc"]
-end
+ puts "Jeweler not available. Install it with: gem install jeweler"
+end

0 comments on commit 75a119d

Please sign in to comment.