dsl_evaluator 0.2.1 → 0.2.2
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 +3 -0
- data/lib/dsl_evaluator/printer.rb +3 -3
- data/lib/dsl_evaluator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26846cd800a79e9572ce8c211cd24d1e4911853d20ddcbdc10ae986963735967
|
4
|
+
data.tar.gz: 309e468802ecc3b8633ca6e56278c919b7a152dfc797f7ce8f841b25ad672894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f2de655796b2f5ff2da73cb7c5287ecbb2030d15ac8e05c7a41aadaa4e0ba304cd0c1b05b6535134feb8df6d8bd90c405f37ac631837b8a9dbd77700a9f7ab4
|
7
|
+
data.tar.gz: fc056998929261db856e2d2755e8dcda41cceeaacd815dd62c22c9dd1ad846f37d4dc361d078a9bdc93fcb7c866b8fa75269db39ae18f7b93a7ab4315c0e6c4c
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [0.2.2] - 2022-02-25
|
7
|
+
- dont filter lines with FULL_BACKTRACE=1
|
8
|
+
|
6
9
|
## [0.2.1] - 2022-02-25
|
7
10
|
- [#4](https://github.com/tongueroo/dsl_evaluator/pull/4) add config.select_pattern option
|
8
11
|
|
@@ -52,11 +52,11 @@ module DslEvaluator
|
|
52
52
|
if ENV['FULL_BACKTRACE']
|
53
53
|
logger.error @error.message.color(:red)
|
54
54
|
logger.error lines.join("\n")
|
55
|
+
else
|
56
|
+
lines = reject(lines)
|
57
|
+
lines = select(lines)
|
55
58
|
end
|
56
59
|
|
57
|
-
lines = reject(lines)
|
58
|
-
lines = select(lines)
|
59
|
-
|
60
60
|
error_info = lines.first
|
61
61
|
parts = error_info.split(':')
|
62
62
|
windows = error_info.match(/^[a-zA-Z]:/)
|