Sha256: f1e8671f50350511c1155f57e66a4d04b226ec0e839fc5f8604f67f913536e69

Contents?: true

Size: 1.91 KB

Versions: 4

Compression:

Stored size: 1.91 KB

Contents

# encoding: utf-8

# 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 = "itrigga-ruby19_hacks"
  gem.homepage = "http://github.com/ansonK/itrigga-ruby19_hacks"
  gem.license = "MIT"
  gem.summary = %Q{Hacks & monkey patches needed to make Rails 2.3 work with ruby 1.9.2}
  gem.description = %Q{Hacks & monkey patches needed to make Rails 2.3 work with ruby 1.9.2
  * Changed binding on Hashie::Mash
  * Overrode to_ary on RSpec mock  

}
  gem.email = "ansonkelly@itrigga.com"
  gem.authors = ["Anson"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'spec/version'
require 'spec/rake/spectask'
require 'spec/ruby'

Spec::Rake::SpecTask.new(:spec) do |spec|
  RAILS_ENV = "test"
  spec.spec_files = FileList['spec/**/*_spec.rb']
  spec.spec_opts = ['--options', 'spec/spec.opts']
end

task :default => :spec

desc "Run all specs with rcov"
Spec::Rake::SpecTask.new(:rcov) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--options', 'spec/spec.opts']
  t.rcov = true
  t.rcov_dir = 'coverage'
  t.rcov_opts = ['--exclude', "features,kernel,load-diff-lcs\.rb,instance_exec\.rb,lib/spec.rb,lib/spec/runner.rb,^spec/*,bin/spec,examples,/gems,/Library/Ruby,\.autotest,#{ENV['GEM_HOME']}"]
  t.rcov_opts << '--sort coverage --text-summary --aggregate coverage.data'
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "net_helper #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
itrigga-ruby19_hacks-0.1.4 Rakefile
itrigga-ruby19_hacks-0.1.3 Rakefile
itrigga-ruby19_hacks-0.1.2 Rakefile
itrigga-ruby19_hacks-0.1.1 Rakefile