Rakefile in zenbox-0.0.3 vs Rakefile in zenbox-0.0.4
- old
+ new
@@ -2,17 +2,17 @@
require 'rake/testtask'
require 'rubygems/package_task'
require 'bundler'
Bundler::GemHelper.install_tasks
-require './lib/contextify/version'
+require './lib/zenbox/version'
namespace :changeling do
desc "Bumps the version by a minor or patch version, depending on what was passed in."
task :bump, :part do |t, args|
# Thanks, Jeweler!
- if Contextify::VERSION =~ /^(\d+)\.(\d+)\.(\d+)(?:\.(.*?))?$/
+ if Zenbox::VERSION =~ /^(\d+)\.(\d+)\.(\d+)(?:\.(.*?))?$/
major = $1.to_i
minor = $2.to_i
patch = $3.to_i
build = $4
else
@@ -29,12 +29,12 @@
abort
end
version = [major, minor, patch, build].compact.join('.')
- File.open(File.join("lib", "contextify", "version.rb"), "w") do |f|
+ File.open(File.join("lib", "zenbox", "version.rb"), "w") do |f|
f.write <<EOF
-module Contextify
+module Zenbox
VERSION = "#{version}".freeze
end
EOF
end
end