Sha256: d81438a593317016552be90ae4224960a525048cf43625e36d65d5d334c1ee66

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

# encoding: utf-8
require "rubygems"
require "bundler"
Bundler.setup
require "jeweler"

require "rspec"
require "rspec/core/rake_task"

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "io_shuten/version"



Jeweler::Tasks.new do |gem|
  gem.name        = "io_shuten"
  gem.version     = IO_shuten::VERSION
  gem.platform    = Gem::Platform::RUBY
  gem.authors     = ["Christoph Grabo"]
  gem.email       = ["chris@dinarrr.com"]
  gem.licenses    = ["MIT"]
  gem.homepage    = "http://github.com/asaaki/io_shuten"
  gem.summary     = "IO::shuten – Use databases as IO handler."
  gem.description = "IO::shuten – Use databases as IO handler like you would do with files and streams."
end



task :gem => :build

# Helper task because jeweler doesn't want to push my gem - how to fix it?
task "gem:release" => :gem do
  system "gem push pkg/io_shuten-#{IO_shuten::VERSION}.gem"
end

desc "A complete release cycle (build, git, gem, push to rubygems.org)"
task "full:release" => [:release,"gem:release"]

desc "Run all specs"
task RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = 'spec/**/*_spec.rb'
  t.verbose = false
end

desc "Run all specs + code coverage"
task "spec:cov" do
  ENV["COV"] = 'true'
  Rake::Task["spec"].invoke
end



desc "Starts IRB with env"
task :irb do
  sh "irb -I lib -r io_shuten"
end

desc "Starts PRY with env"
task :pry do
  sh "pry -I lib -r io_shuten --no-pager"
end

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
io_shuten-0.0.1.dev1 Rakefile