Sha256: 6dad665290d0b038abf0d10774508e9a61abcc030c96228df8fe9951ce241832
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 KB
Contents
# encoding: utf-8 # Process of development: # 1. update the version in lib/flushing-flash/version.rb # 2. git commit -am "bump version to 0.1.0" # please update the version number # 3. do the actual coding and update (hopfully with tests) # 4. commit # 5. goto 3 if needed :) else goto 6 # 6. rake install to install locally (and hopfully test it with test applications) # 7. rake release # will be automatically git tagged!!! 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' require './lib/flushing-flash/version.rb' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "flushing-flash" gem.homepage = "http://github.com/peterwongpp/flushing-flash" gem.license = "MIT" gem.summary = "To provide helper methods for handling rails flash messages." gem.description = "To provide helper methods for handling rails flash messages." gem.email = "peter@peterwongpp.com" gem.authors = ["PeterWong"] gem.version = FlushingFlash::Version::STRING # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true test.rcov_opts << '--exclude "gems/*"' end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "flushing-flash #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flushing-flash-0.4.1 | Rakefile |
flushing-flash-0.3.0 | Rakefile |