Sha256: fdc446dce7fad61ebd9a5ce687f41cc408d71dcc777b13357dcbe61e5072d236
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "little-math-pet" gem.homepage = "http://github.com/vrinek/little-math-pet" gem.license = "MIT" gem.summary = %Q{Parses math expressions and returns the result} gem.description = %Q{LittleMathPet understands simple math expressions in string format with mutliple variables and returns the result of the expression} gem.email = "kostas.karachalios@me.com" gem.authors = ["Kostas Karachalios"] end Jeweler::RubygemsDotOrgTasks.new require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "little-math-pet #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end task :default => :spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
little_math_pet-0.1.2 | Rakefile |