Sha256: 13a66b3c32ae69021e5cb37d5e759bbc4d36fe3edb57274d0a3533f4cfb36b25

Contents?: true

Size: 808 Bytes

Versions: 4

Compression:

Stored size: 808 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'simple_model_translations/version'

require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
require 'rake/rdoctask'

RSpec::Core::RakeTask.new(:spec) do |spec|
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "simple_model_translations #{SimpleModelTranslations::VERSION}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

task :build do
  system 'gem build simple_model_translations.gemspec'
  system 'mkdir pkg' unless File.exists?('pkg')
  system "mv simple_model_translations-#{SimpleModelTranslations::VERSION}.gem pkg"
end
 
task :release => :build do
  system "gem push pkg/simple_model_translations-#{SimpleModelTranslations::VERSION}.gem"
end

task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_model_translations-0.2.1 Rakefile
simple_model_translations-0.2.0 Rakefile
simple_model_translations-0.1.9 Rakefile
simple_model_translations-0.1.8 Rakefile