Skip to content

Commit

Permalink
Keep version in Basepack::VERSION string
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Gorin committed Feb 8, 2014
1 parent 489a7e7 commit f4753a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require "bundler/gem_tasks"
require "./lib/netzke/basepack/version"

YARD::Rake::YardocTask.new do |t|
t.options = ['--title', "Netzke Basepack #{Netzke::Basepack::Version::STRING}"]
t.options = ['--title', "Netzke Basepack #{Netzke::Basepack::VERSION}"]
end

namespace :yard do
Expand Down
9 changes: 1 addition & 8 deletions lib/netzke/basepack/version.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
module Netzke
module Basepack
module Version
MAJOR = 0
MINOR = 10
PATCH = 0
PRE = 'rc1'

STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
end
VERSION = "0.10.0"
end
end
2 changes: 1 addition & 1 deletion netzke-basepack.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require "./lib/netzke/basepack/version"

Gem::Specification.new do |s|
s.name = "netzke-basepack"
s.version = Netzke::Basepack::Version::STRING
s.version = Netzke::Basepack::VERSION
s.author = "Max Gorin"
s.email = "[email protected]"
s.homepage = "http://netzke.org"
Expand Down

0 comments on commit f4753a3

Please sign in to comment.