versionr 0.0.1 → 0.0.2

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 (2) hide show
  1. data/lib/versionr.rb +2 -1
  2. metadata +1 -1
data/lib/versionr.rb CHANGED
@@ -7,7 +7,7 @@ class Versionr
7
7
  attr_reader :patch
8
8
 
9
9
  def initialize(version_dir = Dir.pwd)
10
- @version_dir = "#{version_dir}VERSION"
10
+ @version_dir = "#{version_dir}" + "/VERSION"
11
11
  version = YAML.load_file(@version_dir)
12
12
  @major = version['version']['major']
13
13
  @minor = version['version']['minor']
@@ -36,3 +36,4 @@ class Versionr
36
36
  end
37
37
 
38
38
  end
39
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versionr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: