jcompiler 0.1.58 → 0.1.59

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/build +1 -1
  3. data/lib/jcompiler/compiler.rb +7 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee50ff72fb6a985e97d808bc659213dc1963653c
4
- data.tar.gz: 3fc4a0b8c6cc2e937b2272f77e92eabd8803e03d
3
+ metadata.gz: 5502d53444c7c73355ebe0da2a65f1915e7ac602
4
+ data.tar.gz: bd1e636b75b40ed20a6195ac0df082c7622beda6
5
5
  SHA512:
6
- metadata.gz: b5d678f43c69da4bbfd552ee3fb3362b6d31aa209f8cff4006b28073734f723e63619cd5cc71d5a851d9758dad7fe42162409810413f3c974f573d37ad8f39e1
7
- data.tar.gz: cbb0fc37adea863d888907849c77a9bcb39b434969752cc223889593186a1c98acbf471eccd26a06a07646d370797d95dfb76b2f4ed11aedba0db68f5bba1418
6
+ metadata.gz: 524c067adfe806dfb1c73f6129b0839b16ba512a6f0cd5a6bc725e5b7321c382bc168e9f9dbfbd30cfc9b38aca9dfa52349df8880fc76816e51547506c62cc30
7
+ data.tar.gz: ca681999d933226a8ba6881e3090e6639e069a5a14f4acc4e9d2ebfebd05631c0cb5bf9db0e679caa65e65ec18aebd7d4dd789fb3015b4728e83d141a8729b85
data/build CHANGED
@@ -1 +1 @@
1
- 59
1
+ 60
@@ -1,8 +1,14 @@
1
1
  class Jcompiler::Compiler
2
2
  def initialize(source, bind)
3
+ @source = source
4
+ @bind = bind
3
5
  end
4
6
 
5
7
  def compile
6
- '[]'
8
+ bind.eval('[]')
7
9
  end
10
+
11
+ protected
12
+
13
+ attr_reader :source, :bind
8
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jcompiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.58
4
+ version: 0.1.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya