jcompiler 0.1.61 → 0.1.62
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build +1 -1
- data/lib/jcompiler/compiler.rb +3 -3
- data/lib/jcompiler/provider.rb +5 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbf850df72a89471071a15c63963138e056353e4
|
4
|
+
data.tar.gz: 02c61e1efcbdd329b2123f33ac5d495f621b32b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b4c1e8589179856a955382d7865dfe69244ba9cda9c01b72f948ba801e97e2b822d35f9cf233b83025360c887656eda0cb8ba261f26ff6ca87b2335a2ee2de9
|
7
|
+
data.tar.gz: 919c4f2a90a5691f03bde0b24f7a6763a18a9185ef6e4bab1224f57bbfc208d24c7cf18a348e54c28925f748a6a56ce661cc639563a80092e8ea901649ce7d90
|
data/build
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
63
|
data/lib/jcompiler/compiler.rb
CHANGED
@@ -5,11 +5,11 @@ class Jcompiler::Compiler
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def compile
|
8
|
-
bind.local_variable_set(:
|
9
|
-
bind.eval(
|
8
|
+
bind.local_variable_set(:json, Jcompiler::Provider.new)
|
9
|
+
bind.eval(source)
|
10
10
|
end
|
11
11
|
|
12
|
-
|
12
|
+
private
|
13
13
|
|
14
14
|
attr_reader :source, :bind
|
15
15
|
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.
|
4
|
+
version: 0.1.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tetsuri Moriya
|
@@ -29,6 +29,7 @@ files:
|
|
29
29
|
- lib/jcompiler/cache.rb
|
30
30
|
- lib/jcompiler/compiler.rb
|
31
31
|
- lib/jcompiler/handler.rb
|
32
|
+
- lib/jcompiler/provider.rb
|
32
33
|
- tmp/.gitignore
|
33
34
|
homepage: https://bitbucket.org/pandora2000/jcompiler
|
34
35
|
licenses:
|