spring_onion 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spring_onion/config.rb +4 -2
- data/lib/spring_onion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc46f208b6c23dee53529598492e790c4b7335a694540312932b27eb4613889
|
4
|
+
data.tar.gz: d94debb3984be7370cefccd527e38ae56d90fcef1a42fac8277b011a171359bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89f5da00f467539f3829439824b3610886893e3cf7b47ada519f178d96b99e85b07885c3390e05a1a15c3850038625a5ae2e3bed64bd1ac19cf34538dd2a2bac
|
7
|
+
data.tar.gz: be8e4de6c3fd4a4e5758761047f57eb6145fc0739911171756092c2006479d1d4d742262bbd485275ceae7844684b3cf389e76785b08977811e6b0b25a09e377
|
data/Gemfile.lock
CHANGED
data/lib/spring_onion/config.rb
CHANGED
@@ -50,14 +50,16 @@ module SpringOnion
|
|
50
50
|
)
|
51
51
|
|
52
52
|
@ignore_source_filter_re = Regexp.union(
|
53
|
-
[RbConfig::TOPDIR, *Gem.path].tap do |ary|
|
53
|
+
[RbConfig::TOPDIR, *Gem.path, '/.rbenv/versions/'].tap do |ary|
|
54
54
|
re = ENV['SPRING_ONION_IGNORE_SOURCE_FILTER_RE']
|
55
55
|
ary << Regexp.new(re) if re
|
56
56
|
end
|
57
57
|
)
|
58
58
|
|
59
59
|
@source_filter = lambda do |backtrace_lines|
|
60
|
-
backtrace_lines.grep_v(@ignore_source_filter_re)
|
60
|
+
backtrace_lines = backtrace_lines.grep_v(@ignore_source_filter_re)
|
61
|
+
idx = backtrace_lines.index { |l| @source_filter_re =~ l }
|
62
|
+
idx ? backtrace_lines.slice(idx..-1) : []
|
61
63
|
end
|
62
64
|
|
63
65
|
@logger = Logger.new($stdout).tap do |logger|
|
data/lib/spring_onion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spring_onion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- winebarrel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|