configura 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/configura.rb +3 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -17,6 +17,8 @@ class Configura
17
17
  end
18
18
  end
19
19
 
20
+ attr_reader :file
21
+
20
22
  def initialize()
21
23
  @file = "#{ENV['HOME']}/.configura"
22
24
  ensure_file_exists
@@ -24,7 +26,7 @@ class Configura
24
26
  load
25
27
  end
26
28
 
27
- def ensure_file_exists(file)
29
+ def ensure_file_exists
28
30
  unless File.exists? file
29
31
  @config = {}
30
32
  save
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Griffiths