From: Neil Smith Date: Mon, 5 Mar 2012 21:36:58 +0000 (+0000) Subject: Tidied up the gem requirements and fixed the use of Bundler X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;p=porter2stemmer.git Tidied up the gem requirements and fixed the use of Bundler --- diff --git a/Gemfile b/Gemfile index bdb0a5f..273f867 100644 --- a/Gemfile +++ b/Gemfile @@ -6,8 +6,6 @@ source "http://rubygems.org" # Add dependencies to develop your gem here. # Include everything needed to run rake, tests, features, etc. group :development do - gem "shoulda", ">= 0" gem "bundler", "~> 1.0.0" gem "jeweler", "~> 1.5.2" - gem "rcov", ">= 0" end diff --git a/Gemfile.lock b/Gemfile.lock index d87efa2..05eff06 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,9 +6,7 @@ GEM bundler (~> 1.0.0) git (>= 1.2.5) rake - rake (0.9.2) - rcov (0.9.9) - shoulda (2.11.3) + rake (0.9.2.2) PLATFORMS ruby @@ -16,5 +14,3 @@ PLATFORMS DEPENDENCIES bundler (~> 1.0.0) jeweler (~> 1.5.2) - rcov - shoulda diff --git a/Rakefile b/Rakefile index 5c36b7d..e7e2787 100644 --- a/Rakefile +++ b/Rakefile @@ -34,16 +34,9 @@ Rake::TestTask.new(:test) do |test| test.verbose = true end -require 'rcov/rcovtask' -Rcov::RcovTask.new do |test| - test.libs << 'test' - test.pattern = 'test/**/test_*.rb' - test.verbose = true -end - task :default => :test -require 'rake/rdoctask' +require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" diff --git a/lib/porter2stemmer.rb b/lib/porter2stemmer.rb index 55d49d8..5d82d54 100644 --- a/lib/porter2stemmer.rb +++ b/lib/porter2stemmer.rb @@ -1,5 +1,5 @@ # coding: utf-8 -require 'bundle/setup' +require 'bundler/setup' # ==The Porter 2 stemmer diff --git a/pkg/porter2stemmer-1.0.0.gem b/pkg/porter2stemmer-1.0.0.gem index 71bdd5f..4d93170 100644 Binary files a/pkg/porter2stemmer-1.0.0.gem and b/pkg/porter2stemmer-1.0.0.gem differ