Permalink
Browse files

Update versions for 4.1.0.rc1

  • Loading branch information...
1 parent 33cb47e commit 211ec1f3c2ebac301655870e25a97ca4d6f7b746 @dhh dhh committed Feb 18, 2014
View
@@ -1 +1 @@
-4.1.0.beta2
+4.1.0.rc1
@@ -1,11 +1,10 @@
module ActionMailer
- # Returns the version of the currently loaded ActionMailer as a Gem::Version
- def self.version
- Gem::Version.new "4.1.0.beta2"
- end
+ module VERSION
+ MAJOR = 4
+ MINOR = 1
+ TINY = 0
+ PRE = "rc1"
- module VERSION #:nodoc:
- MAJOR, MINOR, TINY, PRE = ActionMailer.version.segments
- STRING = ActionMailer.version.to_s
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
@@ -1,11 +1,10 @@
module ActionPack
- # Returns the version of the currently loaded ActionPack as a Gem::Version
- def self.version
- Gem::Version.new "4.1.0.beta2"
- end
+ module VERSION
+ MAJOR = 4
+ MINOR = 1
+ TINY = 0
+ PRE = "rc1"
- module VERSION #:nodoc:
- MAJOR, MINOR, TINY, PRE = ActionPack.version.segments
- STRING = ActionPack.version.to_s
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
@@ -1,11 +1,10 @@
module ActionView
- # Returns the version of the currently loaded ActionView as a Gem::Version
- def self.version
- Gem::Version.new "4.1.0.beta2"
- end
+ module VERSION
+ MAJOR = 4
+ MINOR = 1
+ TINY = 0
+ PRE = "rc1"
- module VERSION #:nodoc:
- MAJOR, MINOR, TINY, PRE = ActionView.version.segments
- STRING = ActionView.version.to_s
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
@@ -1,11 +1,10 @@
module ActiveModel
- # Returns the version of the currently loaded ActiveModel as a Gem::Version
- def self.version
- Gem::Version.new "4.1.0.beta2"
- end
+ module VERSION
+ MAJOR = 4
+ MINOR = 1
+ TINY = 0
+ PRE = "rc1"
- module VERSION #:nodoc:
- MAJOR, MINOR, TINY, PRE = ActiveModel.version.segments
- STRING = ActiveModel.version.to_s
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
@@ -1,11 +1,10 @@
module ActiveRecord
- # Returns the version of the currently loaded ActiveRecord as a Gem::Version
- def self.version
- Gem::Version.new "4.1.0.beta2"
- end
+ module VERSION
+ MAJOR = 4
+ MINOR = 1
+ TINY = 0
+ PRE = "rc1"
- module VERSION #:nodoc:
- MAJOR, MINOR, TINY, PRE = ActiveRecord.version.segments
- STRING = ActiveRecord.version.to_s
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
@@ -1,11 +1,10 @@
module ActiveSupport
- # Returns the version of the currently loaded ActiveSupport as a Gem::Version
- def self.version
- Gem::Version.new "4.1.0.beta2"
- end
+ module VERSION
+ MAJOR = 4
+ MINOR = 1
+ TINY = 0
+ PRE = "rc1"
- module VERSION #:nodoc:
- MAJOR, MINOR, TINY, PRE = ActiveSupport.version.segments
- STRING = ActiveSupport.version.to_s
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
@@ -3,7 +3,7 @@ module VERSION
MAJOR = 4
MINOR = 1
TINY = 0
- PRE = "beta2"
+ PRE = "rc1"
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
View
@@ -3,7 +3,7 @@ module VERSION
MAJOR = 4
MINOR = 1
TINY = 0
- PRE = "beta2"
+ PRE = "rc1"
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end

0 comments on commit 211ec1f

Please sign in to comment.