nrepl-lazuli 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nrepl-lazuli/server.rb +2 -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: e198f7aeaa4e73c02bb95aab3cc78233e64730eb9da1c7a7a3b81100dc2063b1
|
4
|
+
data.tar.gz: f5bb2f932d3520450821ec746527c52c9a2aeb7bf2946cf37f7aa98d1b92f10e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b4b0f03d9673e708b6aabad549544d812bd3d06e63748507e39595e748a02c5a2344ac5f1d6819cb501b462b667756c3225da6a6a1254b72488f0e1115f20ea
|
7
|
+
data.tar.gz: 074bfe1128eac938c707fc33f2add4e388ab762ab0ecbd3113300829ffee2f67fe60f2246bf590953734065c68a40e8e398bd3a77b8104f7a81ce64a3f8bdf0a
|
data/lib/nrepl-lazuli/server.rb
CHANGED
@@ -132,7 +132,8 @@ module NREPL
|
|
132
132
|
|
133
133
|
def method_added(method_name)
|
134
134
|
return if method_name == :__lazuli_source_location
|
135
|
-
|
135
|
+
pwd = Dir.pwd
|
136
|
+
path = caller.select { |x| x.start_with?(pwd) }[0]
|
136
137
|
if path
|
137
138
|
(file, row) = path.split(/:/)
|
138
139
|
|