buildar 1.4.0.4 → 1.4.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/buildar.rb +2 -5
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.0.
|
1
|
+
1.4.0.5
|
data/lib/buildar.rb
CHANGED
@@ -7,12 +7,9 @@
|
|
7
7
|
# And it can't be set to nil, for example.
|
8
8
|
#
|
9
9
|
class Buildar
|
10
|
-
def self.dir(file)
|
11
|
-
File.expand_path('..', file)
|
12
|
-
end
|
13
|
-
|
14
10
|
def self.version
|
15
|
-
File.
|
11
|
+
file = File.expand_path('../../VERSION', __FILE__)
|
12
|
+
File.read(file).chomp
|
16
13
|
end
|
17
14
|
|
18
15
|
# Call this from the rakefile, like:
|