jcompiler 0.1.126 → 0.1.127

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
  SHA1:
3
- metadata.gz: 9d843884f0b2208b82a9cb08ae61d99db34fa88f
4
- data.tar.gz: 6b35bbfb69eaf637e6160709b937c02372a769f8
3
+ metadata.gz: 5e3b64b1bd49ffefdd571dde1abdb9e95eb95837
4
+ data.tar.gz: ef2d1956f2cf87f54337b13d1ac30a11bdf0fbae
5
5
  SHA512:
6
- metadata.gz: 363af4701f48714ad4013ecafff76d9ed59fe75877618c2387f6eaf10ca2d67b099c664f7711522d6db9329b06ebcf3bcfe90f9e19b4118eb6c014373ce3914c
7
- data.tar.gz: 5f4b031a80be2058d23eac9d1036bce5ddac03cd7159acbc363ce4a8c388bfac0416c7bbf692d684f8f732a2587ee14fa142d278e708a4029c7c516bc7adad23
6
+ metadata.gz: a1a6a9f11ed566c0842bfb090b218e1d5aa931d7afffe62ca96b915d5a01ae82f96c1f5fdc794f61ea7429f0176c3ec7c54c01cc81f3e8be5ccdb936f4dd9621
7
+ data.tar.gz: fb5bea4a953cf265414f24443a255cc99b95599f566971807d07d59cb5a918ec861e85967944240bea0b2ba68973d4e9045da8a225582136141d290655445939
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
-
5
- gem 'ParseTree'
6
- gem 'sourcify'
data/build CHANGED
@@ -1 +1 @@
1
- 127
1
+ 128
@@ -8,7 +8,4 @@ Gem::Specification.new do |s|
8
8
  s.homepage = 'https://bitbucket.org/pandora2000/jcompiler'
9
9
  s.license = 'MIT'
10
10
  s.files = `git ls-files`.split("\n")
11
- s.add_dependency 'ParseTree', '~> 3.0', '>= 3.0.9'
12
-
13
- s.add_dependency 'sourcify', '~> 0'
14
11
  end
@@ -18,7 +18,7 @@ class Jcompiler::Provider
18
18
  def array!(arg_src, &block)
19
19
  item_name = block.parameters[0][1].to_s
20
20
  src = block.call(nil)
21
- %{"[\#{(#{arg_src}).map { |#{item_name}| #{src} }.join(',')}]"}
21
+ %{"[\#{(#{arg_src}).map{|#{item_name}|#{src}}.join(',')}]"}
22
22
  end
23
23
 
24
24
  def number!(num)
@@ -35,6 +35,10 @@ class Jcompiler::Provider
35
35
  end
36
36
  end
37
37
 
38
+ def partial!(obj_name)
39
+
40
+ end
41
+
38
42
  def method_missing(name, *args, &block)
39
43
  if block
40
44
  @context << %{"\\"#{name}\\":\#{#{block.call}}"}
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.126
4
+ version: 0.1.127
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya
@@ -9,41 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-05-24 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: ParseTree
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '3.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 3.0.9
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '3.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 3.0.9
33
- - !ruby/object:Gem::Dependency
34
- name: sourcify
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '0'
12
+ dependencies: []
47
13
  description: High performance JSON view via compiled DSL
48
14
  email:
49
15
  - tetsuri.moriya@gmail.com