Sha256: a4de269a120d24b1cb4d744b90d565d0a161ccdae59fdbcc5cf5c5bc9e36a6e3
Contents?: true
Size: 1.35 KB
Versions: 6
Compression:
Stored size: 1.35 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 = "mutaconf" gem.homepage = "http://github.com/AlphaHydrae/mutaconf" gem.license = "MIT" gem.summary = %Q{Configuration utilities.} gem.description = %Q{Create simple DSLs and read configuration from hashes or objects.} gem.email = "hydrae.alpha@gmail.com" gem.authors = ["AlphaHydrae"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new Rake::TaskManager.class_eval do def remove_task(task_name) @tasks.delete(task_name.to_s) end end [ 'version', 'version:bump:major', 'version:bump:minor', 'version:bump:patch', 'version:write' ].each do |task| Rake.application.remove_task task end # version tasks require 'rake-version' RakeVersion::Tasks.new do |v| v.copy 'lib/mutaconf.rb' end require 'rspec/core/rake_task' desc "Run specs" RSpec::Core::RakeTask.new do |t| #t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. # Put spec opts in a file named .rspec in root end task :default => :spec
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
mutaconf-0.1.1 | Rakefile |
mutaconf-0.1.0 | Rakefile |
mutaconf-0.0.7 | Rakefile |
mutaconf-0.0.6 | Rakefile |
mutaconf-0.0.5 | Rakefile |
mutaconf-0.0.4 | Rakefile |