Skip to content
Browse files

Move the version definition into lib and reference it from gemspec.

  • Loading branch information...
1 parent 5522359 commit 50d243bda4b03ed1b961268f552f30df23610d59 @jim jim committed Mar 30, 2012
Showing with 10 additions and 5 deletions.
  1. +0 −1 VERSION
  2. +6 −4 carmen.gemspec
  3. +1 −0 lib/carmen.rb
  4. +3 −0 lib/carmen/version.rb
View
1 VERSION
@@ -1 +0,0 @@
-0.2.9
View
10 carmen.gemspec
@@ -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'
View
1 lib/carmen.rb
@@ -6,6 +6,7 @@
require 'carmen/country'
require 'carmen/i18n'
+require 'carmen/version'
module Carmen
class << self
View
3 lib/carmen/version.rb
@@ -0,0 +1,3 @@
+module Carmen
+ VERSION = '1.0.0.beta1'
+end

0 comments on commit 50d243b

Please sign in to comment.
Something went wrong with that request. Please try again.