Skip to content

Commit

Permalink
Move the version definition into lib and reference it from gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim committed Mar 30, 2012
1 parent 5522359 commit 50d243b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

10 changes: 6 additions & 4 deletions carmen.gemspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
require File.expand_path('../lib/carmen/version', __FILE__)

Gem::Specification.new do |s|
s.name = %q{carmen}
s.summary = %q{A collection of geographic country and state names for Ruby}
s.description = %q{A collection of geographic country and state names for Ruby. Also includes replacements for Rails' country_select and state_select plugins}
s.version = "1.0.0.pre"
s.summary = %q{A collection of geographic region names and abbreviations for Ruby}
s.description = %q{Includes data from the Debian iso-data project.}
s.version = Carmen::VERSION
s.authors = ["Jim Benton"]
s.email = %q{jim@autonomousmachine.com}
s.date = %q{2012-03-23}
s.date = %q{2012-03-30}
s.homepage = %q{http://github.com/jim/carmen}

s.required_rubygems_version = '>= 1.3.6'
Expand Down
1 change: 1 addition & 0 deletions lib/carmen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

require 'carmen/country'
require 'carmen/i18n'
require 'carmen/version'

module Carmen
class << self
Expand Down
3 changes: 3 additions & 0 deletions lib/carmen/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Carmen
VERSION = '1.0.0.beta1'
end

0 comments on commit 50d243b

Please sign in to comment.