llmed 0.3.3 → 0.3.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de4af1bcbd459b42e93cad731da1334f599065200111aa13363367c07d715477
4
- data.tar.gz: 7b64d48d886baa7a9c7d7ea1882248032e0b380fdc8438d4b025ca23783a6948
3
+ metadata.gz: 8103f6e252aef7b213e309ffd8cae2b0d15a7b0652fe8f14d2bdc41422eef7ed
4
+ data.tar.gz: 4da1faee13b83ae8bd4eef1b38526bf742cb585c247def76114b64e15c6a81fb
5
5
  SHA512:
6
- metadata.gz: 3b6c12c3c7cc03b333fbf849f6692bddbd423ef203a8a2e51b37ae6dc6b7e6257e43f0008c66f1b02fea5752e350ac6785612cc26bd176f5145ecb4607fa2021
7
- data.tar.gz: 8ded8e1efef05559f9bc6ff14d5cbb23abc6fb76aac73f550aa46fc804c9b890d22c8b6848a318aefdff56d9b890a90109ebc52e8f2addf6cea77a8380fe0f12
6
+ metadata.gz: 748ddc16d40cef2a5fd285b1f985221cde1344a6a01fe11d787e13c4b6d2f6600183817c6cb18aa275dc745edc3d330f035a83fc49c51160ecefacc23a670c54
7
+ data.tar.gz: be5f6674f162618906d3b6e177490e7f8add476445fc0a1aba5322438c689ea379fac5d9e7aa2937621d5f41a932bf7ab027eb7330589a2e562e018f071a70a4
@@ -35,6 +35,7 @@ class LLMed
35
35
  end
36
36
 
37
37
  def prepare
38
+ @logger.info("APPLICATION #{@name} COMPILING FOR #{@language}")
38
39
  return unless @output_file.is_a?(String)
39
40
  return unless @release
40
41
 
@@ -4,12 +4,14 @@
4
4
  class LLMed
5
5
  class Configuration
6
6
  def initialize
7
+ # Manual tested, pass 5 times execution
7
8
  @prompt = LLMed::LLM::Template.build(template: "
8
9
  You are a software developer with knowledge only of the programming language {language}, following the SOLID principles strictly, you always use only imperative and functional programming, and design highly isolated components.
9
10
  The contexts are declarations of how the source code will be, ensure to follow this always.
10
11
  The contexts are connected as a linked list.
11
12
  Your response must contain only the generated source code, with no additional text.
12
- All source code must be written in a single file, and you must ensure it runs correctly on the first attempt.
13
+ All the contexts represent one source code.
14
+ You must also the ensure that the source code runs correctly on the first attempt.
13
15
  There is always a one-to-one correspondence between context and source code.
14
16
  Always include the properly escaped comment: LLMED-COMPILED.
15
17
 
data/lib/llmed.rb CHANGED
@@ -56,7 +56,6 @@ class LLMed
56
56
 
57
57
  def compile_application(app)
58
58
  app.notify('COMPILE START')
59
- @logger.info("APPLICATION #{app.name} COMPILING")
60
59
 
61
60
  app.prepare
62
61
  app.evaluate
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llmed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jovany Leandro G.C