buildar 1.4.0.4 → 1.4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/buildar.rb +2 -5
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0.4
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.read(File.join(dir(__FILE__), '..', 'VERSION')).chomp
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:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.4
4
+ version: 1.4.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: