Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (35 sloc) 1.126 kB
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'digest-crc'
gem.license = 'MIT'
gem.summary = %Q{A Cyclic Redundancy Check (CRC) library for Ruby.}
gem.description = %Q{Adds support for calculating Cyclic Redundancy Check (CRC) to the Digest module.}
gem.email = 'postmodern.mod3@gmail.com'
gem.homepage = 'http://github.com/postmodern/digest-crc'
gem.authors = ['Postmodern']
gem.add_development_dependency 'rspec', '>= 1.3.0'
gem.has_rdoc = 'yard'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs += ['lib', 'spec']
spec.spec_files = FileList['spec/**/*_spec.rb']
spec.spec_opts = ['--options', '.specopts']
end
task :spec => :check_dependencies
task :default => :spec
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yard do
abort "YARD is not available. In order to run yard, you must: gem install yard"
end
end
Jump to Line
Something went wrong with that request. Please try again.