Skip to content

Commit

Permalink
updated version to 1.2.0, which includes some rails 3 compat fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lwe committed Aug 30, 2010
1 parent d029d5d commit 1f71d47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/simple_enum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
module SimpleEnum

# +SimpleEnum+ version string.
VERSION = "1.1.0".freeze
VERSION = "1.2.0".freeze

class << self

Expand Down
11 changes: 4 additions & 7 deletions simple_enum.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{simple_enum}
s.version = "1.0.1"
s.version = "1.2.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Lukas Westermann"]
s.date = %q{2010-04-06}
s.date = %q{2010-08-30}
s.email = %q{lukas.westermann@gmail.com}
s.extra_rdoc_files = [
"README.rdoc"
Expand All @@ -21,7 +21,6 @@ Gem::Specification.new do |s|
"Rakefile",
"init.rb",
"lib/simple_enum.rb",
"lib/simple_enum/array_support.rb",
"lib/simple_enum/enum_hash.rb",
"lib/simple_enum/object_support.rb",
"lib/simple_enum/validation.rb",
Expand All @@ -34,15 +33,14 @@ Gem::Specification.new do |s|
"test/object_backed_test.rb",
"test/object_support_test.rb",
"test/prefixes_test.rb",
"test/se_array_support_test.rb",
"test/simple_enum_test.rb",
"test/test_helper.rb",
"test/without_shortcuts_test.rb"
]
s.homepage = %q{http://github.com/lwe/simple_enum}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
s.rubygems_version = %q{1.3.7}
s.summary = %q{Simple enum-like field support for ActiveRecord (including validations and i18n)}
s.test_files = [
"test/array_conversions_test.rb",
Expand All @@ -53,7 +51,6 @@ Gem::Specification.new do |s|
"test/object_backed_test.rb",
"test/object_support_test.rb",
"test/prefixes_test.rb",
"test/se_array_support_test.rb",
"test/simple_enum_test.rb",
"test/test_helper.rb",
"test/without_shortcuts_test.rb"
Expand All @@ -63,7 +60,7 @@ Gem::Specification.new do |s|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
else
end
else
Expand Down

0 comments on commit 1f71d47

Please sign in to comment.