Sha256: ae21bbe049799f2472bb879964804380ef71bd459cdae79f5861a675d9fa528b
Contents?: true
Size: 1.56 KB
Versions: 2
Compression:
Stored size: 1.56 KB
Contents
require 'rubygems' require 'rake' require 'yaml' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "ssn_validator" gemspec.author = "Kevin Tyll" gemspec.email = "kevintyll@gmail.com" gemspec.homepage = %q{http://kevintyll.git.com/ssn_validator} gemspec.summary = "Validates whether an SSN has likely been issued or not." gemspec.description = "Validates whether an SSN has likely been issued or not." gemspec.post_install_message = File.readlines("PostInstall.txt").join("") end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << '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 :default => :test require 'rdoc/task' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION.yml') config = YAML.load(File.read('VERSION.yml')) version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "ssn_validator #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('LICENSE*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ssn_validator-1.0.11 | Rakefile |
ssn_validator-1.0.10 | Rakefile |