conductor 0.5.11 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/conductor.rb +7 -4
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.12
|
data/lib/conductor.rb
CHANGED
@@ -11,10 +11,13 @@ class Conductor
|
|
11
11
|
MINIMUM_LAUNCH_DAYS = 7
|
12
12
|
DBG = false
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
module Version
|
15
|
+
version = Gem::Specification.load(File.expand_path("../conductor.gemspec", File.dirname(__FILE__))).version.to_s.split(".").map { |i| i.to_i }
|
16
|
+
MAJOR = version[0]
|
17
|
+
MINOR = version[1]
|
18
|
+
PATCH = version[2]
|
19
|
+
STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
|
20
|
+
end
|
18
21
|
|
19
22
|
cattr_writer :cache
|
20
23
|
|