Permalink
Browse files

Update the version.rb files to include a PRE part

  • Loading branch information...
carllerche committed Nov 16, 2010
1 parent 9dd4db4 commit a27e80b1614473a182e345f4d233644acad18bd0
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
+ PRE = nil
- STRING = [MAJOR, MINOR, TINY].join('.')
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 1
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
View
@@ -3,7 +3,8 @@ module VERSION #:nodoc:
MAJOR = 3
MINOR = 0
TINY = 3
-
- STRING = [MAJOR, MINOR, TINY].join('.')
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end

0 comments on commit a27e80b

Please sign in to comment.