abstract-synthesizer 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9fb5f8f070ea42409db5da81ebe273103823ae035f438bbe51bcca4fb61bc20
4
- data.tar.gz: 4508ad132b044c667035ce6835ef2d88e968bbf99f2f259879acc3adaacf093f
3
+ metadata.gz: 5416187a1f57ced6fbbf8c920b8612a6a2b7b770ceb6c9fd4119dd30a8355d25
4
+ data.tar.gz: 5203db5cdd6ddaf1a3afcdd5066434e1b03d925ddfb94b57e0acb1923f1dd1e0
5
5
  SHA512:
6
- metadata.gz: d5102d48fc4d62c714db9b8d06872ee04529b24f2d5c03beedbc48e813b8f2bd4c7cca2a6bcef68440d8e5edc4f5f3f0bc41139d81dbcf2e189f8e2ed7e7200b
7
- data.tar.gz: a327aac1e2f8fbe46360717ead58d0f2a77c60571e50f5818f275a3eb1ec276ffcf3fb21743a83eec9d0fbcdb03301d5c0c79a76e0cd540990fb9c824c80cae2
6
+ metadata.gz: 38ab5837fa520ddcceb128d2a2dbe70ab7c67b79741c34670af4797bb264db71b401e59b1936bd554b0abea8886aed6b30d10a15a40e064229e22ffaf15283a0
7
+ data.tar.gz: 3a2c547d1c18fcc17f2ce7a4e7466c8a0ce71494d5b9cd844097b1503585ddec37bcfdfd98682ec6be366e8e9763ced8a9627afa3858f9ff77a53334a141401a
@@ -1,3 +1,3 @@
1
1
  module AbstractSynthesizer
2
- VERSION = %(0.0.2)
2
+ VERSION = %(0.0.4).freeze
3
3
  end
@@ -6,7 +6,7 @@ require_relative %(./abstract-synthesizer/primitives/bury)
6
6
  class AbstractSynthesizer
7
7
  include Bury
8
8
 
9
- attr_reader :translation
9
+ attr_reader :translation, :context_data
10
10
 
11
11
  def initialize(name: nil) # rubocop:disable Lint/UnusedMethodArgument
12
12
  @translation = {
@@ -16,6 +16,11 @@ class AbstractSynthesizer
16
16
  }
17
17
  end
18
18
 
19
+ def load_synthesis_data(data)
20
+ @context_data = data
21
+ @context_data
22
+ end
23
+
19
24
  def synthesis
20
25
  translation[:template]
21
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstract-synthesizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - drzlnthslnt@gmail.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-21 00:00:00.000000000 Z
11
+ date: 2023-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-rspec