Rakefile in genevalidator-1.6.0 vs Rakefile in genevalidator-1.6.1
- old
+ new
@@ -2,13 +2,13 @@
task default: [:build]
desc 'Installs the ruby gem'
task :build do
- require 'genevalidator/version'
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
- exec("gem build GeneValidator.gemspec && gem install ./GeneValidator-#{GeneValidator::VERSION}.gem")
+ require 'genevalidator/version'
+ exec("gem build genevalidator.gemspec && gem install ./genevalidator-#{GeneValidator::VERSION}.gem")
end
desc 'Unit tests for the majority of class methods'
task :test do
Rake::TestTask.new do |t|