kitchen_blame 0.3.0 → 0.4.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 +2 -0
- data/lib/kitchen_blame/version.rb +1 -1
- data/lib/kitchen_blame.rb +5 -2
- 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: a4c520d76719a4015379b6fdd4539b9eecb10f61
|
|
4
|
+
data.tar.gz: 257e66eb87ba3ac2191ffae8cfbfc0c608747db7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f926441ca786350af2365fe65013951b1cc7f555d04a71e56231a5c7906abd65c029da18ee5a2f0c140affe870a284ac47cd8a485ff982e069903b85b7459946
|
|
7
|
+
data.tar.gz: dee096dd0a35465c74b9d6d43f737d5c184d8e21b8db98cf83065f3d5733b5dc02fcc53d0676efad6bf1b9e47425b2931dff20edf6325b4e8acdc822a1a1545c
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
|
+
### Added
|
|
9
|
+
- Fuzzy matching on log name
|
|
8
10
|
|
|
9
11
|
## [0.3.0] - 2017-07-06
|
|
10
12
|
### Added
|
data/lib/kitchen_blame.rb
CHANGED
|
@@ -52,8 +52,11 @@ module KitchenBlame
|
|
|
52
52
|
log_path = Pathname.new(log)
|
|
53
53
|
return log_path.to_path if log_path.exist? && log_path.file?
|
|
54
54
|
log_path = LOG_DIR + log_path
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
return log_path.to_path if log_path.exist? && log_path.file?
|
|
56
|
+
LOG_DIR.each_child.select(&:file?).each do |log_dir_entry|
|
|
57
|
+
return log_dir_entry.to_path if log_dir_entry.basename.fnmatch("*#{log}*")
|
|
58
|
+
end
|
|
59
|
+
fail "Unable to fully qualify or find test kitchen log #{log}"
|
|
57
60
|
end
|
|
58
61
|
|
|
59
62
|
def self.analyze_create(key_path, log)
|
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.4.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-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|