sweet-moon 0.0.4 → 0.0.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.
data/dsl/state.rb CHANGED
@@ -7,7 +7,7 @@ module DSL
7
7
  include DSL::Concerns::Packages
8
8
  include DSL::Concerns::Fennel
9
9
 
10
- attr_reader :meta
10
+ attr_reader :meta, :api
11
11
 
12
12
  def initialize(api_component, interpreter_component, controller, options = {})
13
13
  @api = api_component[:api]
@@ -22,6 +22,10 @@ module DSL
22
22
  add_package_cpath(options[:package_cpath]) if options[:package_cpath]
23
23
  end
24
24
 
25
+ def raw
26
+ @state
27
+ end
28
+
25
29
  def eval(input, outputs = 1)
26
30
  @controller[:eval!].(@api, @interpreter, state, input, outputs)[:output]
27
31
  end
data/logic/spec.rb CHANGED
@@ -2,7 +2,7 @@ module Logic
2
2
  Spec = {
3
3
  name: 'sweet-moon',
4
4
  command: 'sweet-moon',
5
- version: '0.0.4',
5
+ version: '0.0.5',
6
6
  author: 'gbaptista',
7
7
  summary: 'Lua / Fennel from Ruby and vice versa. Support to LuaJIT, Lua 5.0, ' \
8
8
  'and 5.1. Lua C API for Lua 5, 4, and 3. LuaRocks and fnx integration.',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sweet-moon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - gbaptista
8
8
  autorequire:
9
9
  bindir: ports/in/shell
10
10
  cert_chain: []
11
- date: 2022-03-24 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi