Permalink
Browse files

Fix the gemfile and other tweaks

  • Loading branch information...
1 parent dc332ec commit 2c926d918005516718be839bbf6787725ceb23ed @Sutto committed Apr 8, 2012
Showing with 2 additions and 35 deletions.
  1. +1 −34 Rakefile
  2. +1 −1 almost-happy.gemspec
View
@@ -1,36 +1,3 @@
require 'rubygems'
require 'rake'
-require 'lib/almost_happy'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
-
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
-end
-
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-begin
- require 'rcov/rcovtask'
- Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- end
-rescue LoadError
- task :rcov do
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
- end
-end
-
-task :test
-task :default => :test
+require 'bundler/gem_tasks'
View
@@ -1,4 +1,4 @@
-require File.expand_path('lib/almost_happy', File.dirname(__FILE__))
+require File.expand_path('./lib/almost_happy', File.dirname(__FILE__))
Gem::Specification.new do |s|

0 comments on commit 2c926d9

Please sign in to comment.