luogu 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/luogu/prompt_parser.rb +2 -2
- data/lib/luogu/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: b16f3080badfbe3a83427b1e7e2c13f60fdeebaa758a3009beb6fb88d81995b1
|
4
|
+
data.tar.gz: b270f3adb7cebb3f5391ef88aa1fd331a355465da5a861071a7b060f8c989955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 850096cb88ea2764db10802b13047443aaa81f9e4343d671a02d386abcebcfab1581a1a90453566eef7bb3eae5a49198d966029d7fc59143b62d1bc4e96f8b58
|
7
|
+
data.tar.gz: f9847779776839a7dff96e75cf7e7d932510c4700d01c8c77e8e91f1d3b4321afa01af3bac943aa7bf2f2580a05c77779818b0a5d9df965ed5280f1197ef9f64
|
data/lib/luogu/prompt_parser.rb
CHANGED
@@ -9,7 +9,7 @@ module Luogu
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def render
|
12
|
-
process_file
|
12
|
+
process_file if @messages.size == 0
|
13
13
|
@messages
|
14
14
|
end
|
15
15
|
|
@@ -18,7 +18,7 @@ module Luogu
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def process_file
|
21
|
-
@messages = []
|
21
|
+
@messages = []
|
22
22
|
file = File.read(@file_path)
|
23
23
|
|
24
24
|
if file =~ /@callback/
|
data/lib/luogu/version.rb
CHANGED