kitchen_blame 0.5.1 → 0.6.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/kitchen_blame/version.rb +1 -1
- data/lib/kitchen_blame.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b6640c05a86ad34344d6e9b5eab9631046af2c4
|
|
4
|
+
data.tar.gz: ab9a9325b6407447ef39f6c7f0018c5e9175de4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 039617aa11c65cfc6255729dc8b9f0a43b913b4d6836487503180569a5e345b2e974ada7d957e1aeb006bacde8be14f9520eca8131b7920d57c6584d7b3122d0
|
|
7
|
+
data.tar.gz: 32c7cc1412fb2d624096dac5828f616b3eae77e00879c23af36909e2243f38d893928f42945c2de0534632f3492638de3c5934af881733571759e13044429629
|
data/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
9
9
|
### Added
|
|
10
10
|
-
|
|
11
11
|
|
|
12
|
+
## [0.6.0] - 2017-07-24
|
|
13
|
+
### Added
|
|
14
|
+
- User friendly error message if specified log doesn't exit and default log dir is missing
|
|
15
|
+
|
|
12
16
|
## [0.5.1] - 2017-07-12
|
|
13
17
|
### Fixed
|
|
14
18
|
- Error if default kitchen log dir does not exist
|
data/lib/kitchen_blame.rb
CHANGED
|
@@ -62,6 +62,7 @@ module KitchenBlame
|
|
|
62
62
|
return log_path.to_path if log_path.exist? && log_path.file?
|
|
63
63
|
log_path = LOG_DIR + log_path
|
|
64
64
|
return log_path.to_path if log_path.exist? && log_path.file?
|
|
65
|
+
fail "#{LOG_DIR} does not exist. Cannot find log file matching '#{log}'" unless LOG_DIR.exist?
|
|
65
66
|
LOG_DIR.each_child.select(&:file?).each do |log_dir_entry|
|
|
66
67
|
return log_dir_entry.to_path if log_dir_entry.basename.fnmatch("*#{log}*")
|
|
67
68
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen_blame
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian O'Connell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-07-
|
|
11
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|