luogu 0.1.11 → 0.1.12
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 +1 -2
- data/lib/luogu/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: d3ff171b0c4c4e1d93ebec7ffdbb1d9d95103989b4b9f29e0914b0c8f92a5949
|
4
|
+
data.tar.gz: fbb022de66ceaec42953c212e20ecb3a53a21d95664170249dbd7f036898e11b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6abeb1fa0e1bc92d9a744ecd2dbefa109deefd4f8d758de15838be7eb15560885652018662e9d864c201d08339f9e5a6de51b335cfeef0ab8579b2987a00e132
|
7
|
+
data.tar.gz: b9f3a6dfefe8004be775e590ae8ee4763a3bf254a02038ecfae711ba902c97e7468ce060f9308cc1ca1188d088693fd3d8f5c3b70ff78d773569c83b14ddd502
|
data/lib/luogu/prompt_parser.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Luogu
|
2
2
|
class PromptParser
|
3
|
-
attr_reader :ruby_code, :ruby_code_line, :file_path
|
3
|
+
attr_reader :ruby_code, :ruby_code_line, :file_path, :messages
|
4
4
|
def initialize(file_path)
|
5
5
|
@file_path = file_path
|
6
6
|
@messages = []
|
@@ -17,7 +17,6 @@ module Luogu
|
|
17
17
|
JSON.pretty_generate self.render
|
18
18
|
end
|
19
19
|
|
20
|
-
private
|
21
20
|
def process_file
|
22
21
|
@messages = []
|
23
22
|
file = File.read(@file_path)
|
data/lib/luogu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luogu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MJ
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-openai
|