Sha256: 8b482e027babb2a2ba835113990aad4296e73adb89a1cfc59b1bf8a0e1aedd6b

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name           = "wulffeld_slug"
    gem.summary        = "Slug generation."
    gem.description    = ""
    gem.email          = "martin@wulffeld.org"
    gem.homepage       = "http://www.wulffeld.org/"
    gem.authors        = ["Martin Moen Wulffeld"]
    gem.add_dependency(%q<babosa>,        ">= 0.3.7")
    gem.add_dependency(%q<activesupport>, ">= 3.1.0")
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
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

desc "New release"
task :new_release do |t|
  `rake version:bump:patch`
  `rake gemspec`
  `bundle install`
  `git commit -am "Preparing new release."`
  `rm -f pkg/*`
  `rake build`
  `rake release`
  `cat VERSION`
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wulffeld_slug-0.0.27 Rakefile
wulffeld_slug-0.0.26 Rakefile
wulffeld_slug-0.0.25 Rakefile
wulffeld_slug-0.0.24 Rakefile
wulffeld_slug-0.0.23 Rakefile
wulffeld_slug-0.0.22 Rakefile
wulffeld_slug-0.0.21 Rakefile
wulffeld_slug-0.0.20 Rakefile