From 5fe011b19a54123ce2e50ce0525500ef95a7ee4d Mon Sep 17 00:00:00 2001 From: Michael Bleigh Date: Wed, 12 Oct 2011 19:26:44 -0500 Subject: [PATCH] Bump version to 1.0.0.pr1 --- lib/omniauth/version.rb | 18 +----------------- omniauth.gemspec | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/lib/omniauth/version.rb b/lib/omniauth/version.rb index 27890f0..fbb7a36 100644 --- a/lib/omniauth/version.rb +++ b/lib/omniauth/version.rb @@ -1,19 +1,3 @@ module OmniAuth - module Version - unless defined?(::OmniAuth::Version::MAJOR) - MAJOR = 1 - end - unless defined?(::OmniAuth::Version::MINOR) - MINOR = 0 - end - unless defined?(::OmniAuth::Version::PATCH) - PATCH = 0 - end - unless defined?(::OmniAuth::Version::PRE) - PRE = "alpha" - end - unless defined?(::OmniAuth::Version::STRING) - STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.') - end - end + VERSION = "1.0.0.pr1" end diff --git a/omniauth.gemspec b/omniauth.gemspec index 853e701..684d97b 100644 --- a/omniauth.gemspec +++ b/omniauth.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |gem| gem.add_development_dependency 'rspec', '~> 2.5' gem.add_development_dependency 'yard', '~> 0.7' - gem.version = OmniAuth::Version::STRING + gem.version = OmniAuth::VERSION gem.files = `git ls-files`.split("\n") gem.homepage = 'http://github.com/intridea/omniauth' gem.require_paths = ['lib']