last_hit 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/last_hit/cli.rb +1 -1
- data/lib/last_hit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbb0baadbefda1a2af5012490b946f259a2e4add
|
4
|
+
data.tar.gz: 0639f7c456c0e19882b2a2de1e81cf9aa6f4a593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe9d4d8ea20630ad69cb4c8ab2576c01603186a47b7ccd95a3d0e606fc12bf028816ccaf4df9a84da70ef4714d35dabbfee75dd96a203b6b4a1decfc95c2903d
|
7
|
+
data.tar.gz: 4ab0dc5ad493d2a955706b96309ab1316bd9e9cceba2fcc73e8109ef8ae0e591af50480a24cef9d7ad50178a30bb46461412b4417f36eed41827a7e4cde23965
|
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') unless File.file?(path)
|
15
15
|
config = YAML.load_file(File.expand_path(path))
|
16
16
|
Configure.set(config)
|
17
17
|
rescue FileNotFound => e
|
data/lib/last_hit/version.rb
CHANGED