Browse files

. removing jeweler stuff from Rakefile

  • Loading branch information...
1 parent d9cbe94 commit 5ae3fbd4772d5beb8853673a2d4454b771df6a13 @andi andi committed Feb 25, 2014
Showing with 2 additions and 26 deletions.
  1. +2 −26 Rakefile
View
28 Rakefile
@@ -1,31 +1,7 @@
-require 'rake'
+require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
-desc 'Run the specs'
-RSpec::Core::RakeTask.new(:spec) do |t|
- t.rspec_opts = ['--colour --format progress --loadby mtime --reverse']
- t.pattern = FileList['spec/**/*_spec.rb']
-end
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gemspec|
- gemspec.name = "sinatra-simple-navigation"
- gemspec.summary = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino."
- gemspec.email = "andreas.schacke@gmail.com"
- gemspec.homepage = "http://github.com/codeplant/sinatra-simple-navigation"
- gemspec.description = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino. See http://github.com/codeplant/simple-navigation for more information on simple-navigation."
- #gemspec.add_development_dependency('rspec', '>= 1.2.8')
- gemspec.add_dependency('simple-navigation', '>= 3.10.1')
- gemspec.authors = ["Andi Schacke", "Mark J. Titorenko"]
- gemspec.rdoc_options = ["--inline-source", "--charset=UTF-8"]
- gemspec.files = FileList["[A-Z]*", "{lib,spec}/**/*"] - FileList["**/*.log"]
- gemspec.rubyforge_project = 'andi'
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError => e
- puts "Jeweler not available (#{e}). Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
-end
+RSpec::Core::RakeTask.new(:spec)

1 comment on commit 5ae3fbd

@simonc

Sorry I forgot this part, I was just starting a PR for it. Would you consider removing the RSpec part too since there a no specs?

Please sign in to comment.