foreverb 0.3.0.g → 0.3.0.h

Sign up to get free protection for your applications and to get access to all the features.
data/lib/forever/base.rb CHANGED
@@ -345,7 +345,7 @@ module Forever
345
345
  end
346
346
 
347
347
  def write_config!
348
- config_was = File.exist?(FOREVER_PATH) ? YAML.load_file(FOREVER_PATH) : [{}]
348
+ config_was = File.exist?(FOREVER_PATH) ? YAML.load_file(FOREVER_PATH) : []
349
349
  config_was.delete_if { |conf| conf[:file] == file }
350
350
  config_was << config
351
351
  File.open(FOREVER_PATH, "w") { |f| f.write config_was.to_yaml }
@@ -1,3 +1,3 @@
1
1
  module Forever
2
- VERSION = "0.3.0.g" unless defined?(Forever::VERSION)
2
+ VERSION = "0.3.0.h" unless defined?(Forever::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreverb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 60
4
+ hash: 61
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
- - g
11
- version: 0.3.0.g
10
+ - h
11
+ version: 0.3.0.h
12
12
  platform: ruby
13
13
  authors:
14
14
  - DAddYE