dsl_evaluator 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: 5d712162a49ab0151d9acb686bc7613b11f242a0187f95628b5617a2fe88de58
4
- data.tar.gz: 481d6aea0a1800ad8efc46af97771b99925d69bc81231ff4673c02f01d3e0d52
3
+ metadata.gz: 26846cd800a79e9572ce8c211cd24d1e4911853d20ddcbdc10ae986963735967
4
+ data.tar.gz: 309e468802ecc3b8633ca6e56278c919b7a152dfc797f7ce8f841b25ad672894
5
5
  SHA512:
6
- metadata.gz: '0854ffb84d518b498c2c32ddc16cfa0f6306645be452574cf22e878a002959be6792bd4f7dd0ef4e1af20460ea5443f74164bdf5cbef58a8f0a6fd48429d0062'
7
- data.tar.gz: d66dd8eaf3d9317e74227d9fef78cdfae27f6db990587b7c80a0be29ab1b2f47c2f87c83a408fccb9b59728ca55887121798473ffcefef92af2bffead1df6e38
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]:/)
@@ -1,3 +1,3 @@
1
1
  module DslEvaluator
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsl_evaluator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen