dorian 2.2.0 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/dorian/bin.rb +3 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c57cc82bf70d1fbbc5d118453d9e80083394de05bdde5932eea98b361816cd8
|
4
|
+
data.tar.gz: 929ad4aa06e09b40955d706027897cf56245d9a1d874e0c2e8c785bcfe7aa357
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043d2e531dc632ff68908007010635ee5936a79fb8582c2c461a82121da7179088906ba37e6772393cc25d30f43f8f36460dc805d09c9f2a0db8719af82a7354
|
7
|
+
data.tar.gz: 97eafc3b7a1e0081285a068249c8f298fb2c259cf7dcef6d822d9125092c39681573b5f050fc757fd9fe57f815cb157b8324c84730d1bc89de979d93f74c614e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.2
|
data/lib/dorian/bin.rb
CHANGED
@@ -218,7 +218,7 @@ class Dorian
|
|
218
218
|
{ role: :user, content: content_3 }
|
219
219
|
]
|
220
220
|
|
221
|
-
message = completion(token: token(".commit"), model: "gpt-4o", messages:
|
221
|
+
message = completion(token: token(".commit"), model: "gpt-4o", messages:)
|
222
222
|
|
223
223
|
Git.open(".").commit(message)
|
224
224
|
|
@@ -264,13 +264,11 @@ class Dorian
|
|
264
264
|
end
|
265
265
|
|
266
266
|
def command_append
|
267
|
-
outputs(everything.
|
267
|
+
outputs(everything.sum { |input| lines(reads(input)) })
|
268
268
|
end
|
269
269
|
|
270
270
|
def command_prepend
|
271
|
-
outputs(
|
272
|
-
everything.reverse.map { |input| lines(reads(input)) }.inject(&:+)
|
273
|
-
)
|
271
|
+
outputs(everything.reverse.sum { |input| lines(reads(input)) })
|
274
272
|
end
|
275
273
|
|
276
274
|
def command_select
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: csv
|
@@ -157,16 +157,16 @@ require_paths:
|
|
157
157
|
- lib
|
158
158
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
159
|
requirements:
|
160
|
-
- -
|
160
|
+
- - ">="
|
161
161
|
- !ruby/object:Gem::Version
|
162
|
-
version: 3.3
|
162
|
+
version: '3.3'
|
163
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
rubygems_version: 3.5.
|
169
|
+
rubygems_version: 3.5.16
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: a collection of gems
|