llmed 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/llmed.rb +19 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9a72f5adba83a14146323330f7c97636982a0c4b1c0572743d4df1a2880ecc8
|
4
|
+
data.tar.gz: 47eb82716df32a3f44ca34e5cfb04265a47646a4decd32264ca4144b90118d12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4dae07f84ef2679397688cafbfe32995f50d8af3ff3e3f792ad6f469258b1d13f2163d5741f6d0857332d6a7549a50d35220494c42c58939c77fc93cfed5b01
|
7
|
+
data.tar.gz: e84827166b379ec1e80cd7b2a7f5a70ece603ec025684fcb8c7afa8e4eb85770baa6c685cc29019157c38fdb17105bea05b7e833cdd7f9f87bfdd0dafd124388
|
data/lib/llmed.rb
CHANGED
@@ -6,6 +6,7 @@ require 'csv'
|
|
6
6
|
require 'pathname'
|
7
7
|
require 'fileutils'
|
8
8
|
require 'forwardable'
|
9
|
+
require 'notify'
|
9
10
|
|
10
11
|
class LLMed
|
11
12
|
extend Forwardable
|
@@ -186,6 +187,10 @@ You must only modify the following source code:
|
|
186
187
|
end
|
187
188
|
@logger.info("APPLICATION #{@name} WROTE STATISTICS FILE #{statistics_file}")
|
188
189
|
end
|
190
|
+
|
191
|
+
def notify(message)
|
192
|
+
Notify.notify("APPLICATION #{@name}", message)
|
193
|
+
end
|
189
194
|
end
|
190
195
|
|
191
196
|
def initialize(logger:)
|
@@ -212,7 +217,13 @@ You must only modify the following source code:
|
|
212
217
|
end
|
213
218
|
|
214
219
|
def compile(output_dir:, release_dir: nil)
|
215
|
-
@applications.each { |app|
|
220
|
+
@applications.each { |app|
|
221
|
+
app.notify("COMPILE START")
|
222
|
+
_, elapsed_seconds = measure do
|
223
|
+
compile_application(app, output_dir, release_dir)
|
224
|
+
end
|
225
|
+
app.notify("COMPILE DONE #{elapsed_seconds}")
|
226
|
+
}
|
216
227
|
end
|
217
228
|
|
218
229
|
private
|
@@ -256,6 +267,13 @@ You must only modify the following source code:
|
|
256
267
|
file.write(output)
|
257
268
|
end
|
258
269
|
end
|
270
|
+
|
271
|
+
def measure
|
272
|
+
start = Time.now
|
273
|
+
result = yield
|
274
|
+
stop = Time.now
|
275
|
+
[result, stop - start]
|
276
|
+
end
|
259
277
|
end
|
260
278
|
|
261
279
|
require_relative 'llm'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llmed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jovany Leandro G.C
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: langchainrb
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '8.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: notify
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.5.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.5.2
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|