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']