Skip to content

Commit

Permalink
release 0.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Mar 25, 2009
1 parent 28f2bd9 commit eeea2c9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
20 changes: 17 additions & 3 deletions Rakefile
Expand Up @@ -11,7 +11,8 @@ require 'tasks/dev'
#require 'rake/rdoctask'
require 'hanna/rdoctask'

load 'rufus-tokyo.gemspec'
gemspec = File.read('rufus-tokyo.gemspec')
eval "gemspec = #{gemspec}"

#
# tasks
Expand Down Expand Up @@ -39,14 +40,27 @@ end
#end
task :test => :spec


#
# VERSION

task :change_version do

version = ARGV.pop
`sedip "s/VERSION = '.*'/VERSION = '#{version}'/" lib/rufus/tokyo.rb`
`sedip "s/s.version = '.*'/s.version = '#{version}'/" rufus-tokyo.gemspec`
exit 0 # prevent rake from triggering other tasks
end


#
# PACKAGING

Rake::GemPackageTask.new($gemspec) do |pkg|
Rake::GemPackageTask.new(gemspec) do |pkg|
#pkg.need_tar = true
end

Rake::PackageTask.new('rufus-tokyo', '0.1.10') do |pkg|
Rake::PackageTask.new('rufus-tokyo', gemspec.version) do |pkg|

pkg.need_zip = true
pkg.package_files = FileList[
Expand Down
2 changes: 1 addition & 1 deletion lib/rufus/tokyo.rb
Expand Up @@ -29,7 +29,7 @@
module Rufus
module Tokyo

VERSION = '0.1.10'
VERSION = '0.1.11'

#
# A common error class
Expand Down
4 changes: 2 additions & 2 deletions rufus-tokyo.gemspec
@@ -1,8 +1,8 @@

$gemspec = Gem::Specification.new do |s|
Gem::Specification.new do |s|

s.name = 'rufus-tokyo'
s.version = '0.1.10'
s.version = '0.1.11'
s.authors = [ 'John Mettraux', ]
s.email = 'jmettraux@gmail.com'
s.homepage = 'http://rufus.rubyforge.org/'
Expand Down

0 comments on commit eeea2c9

Please sign in to comment.