last_hit 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fa9d2a6fabd2cb5deff9ce13ac483ecf5032916
4
- data.tar.gz: a035b064621a7d64b4257248608034d39ae27c9a
3
+ metadata.gz: 2742732a7571a78869368d815a09e3caa850ec47
4
+ data.tar.gz: f3f579950641855588e70910b6e503c8934b51b1
5
5
  SHA512:
6
- metadata.gz: a1bfc68c7b42d6629d30741cacdc635a7ece756adfb458c7e15d3bbff29f243851351352e3a05944f4cc725222563dafd0893f56ac791e9f048e5d35a3be9b7a
7
- data.tar.gz: 84357a90162986d1d4ea69ce7702507895fb3cf0fa02d8b2315587abbf84ccfe68b7e7342e2feb6c57743543cfc8008cf693ff3997904b2a05facffc9dd34c3b
6
+ metadata.gz: 23e4c4ac5bede7e5e7ee4043a1453b6f4a8393ff0eaecaee2df17e3ab60a959fb7ee937f91287a7cf301d6307b8b67ad1c55bef66d3334979aab59b0a06c5262
7
+ data.tar.gz: 00decfe1b1fcb038848e473e0bd577fd2a69e93ce86e07d6afd1094e4de536c888d8bff9d268f90cbc22e73476d2942392d542ef5a9816b99467c1891b81f8fb
data/lib/last_hit/cli.rb CHANGED
@@ -11,7 +11,7 @@ class LastHit
11
11
 
12
12
  class << self
13
13
  def load_config(path)
14
- fail(FileNotFound, 'Config file not found')
14
+ fail(FileNotFound, 'Config file not found') if File.file?(path)
15
15
  config = YAML.load_file(File.expand_path(path))
16
16
  Configure.set(config)
17
17
  rescue FileNotFound => e
@@ -1,3 +1,3 @@
1
1
  class LastHit
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: last_hit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duc Le