jpt 0.0.3 → 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: 5b81541e6476a9486b10d2442106aa6d61c6000b72535bc317806d0b3f93f47d
4
- data.tar.gz: 675c96f768ce4f33cb4f2012683ad5afd4c21b28dd99bbf62dd027a4976060e1
3
+ metadata.gz: 8384c2b533862dd8680c91a673db060c59f950a5f6f7e56962bb5d18913d3f54
4
+ data.tar.gz: f2700ad739f78beb7ed048998c7c6831c9c077a6810c723b51091b4c95176be6
5
5
  SHA512:
6
- metadata.gz: 5e5714c5e9d9fb9ec3e1961653978bba3477fa5c95601fbb949b153434ecd6820f020b54277237e8961a9321fd2a7a93db9ce42b7781ccfeccc4a6cca1355226
7
- data.tar.gz: 1ba0a3379ebe75a2ae308da8676e94f3510d9ea044196aa2516b12f3f2b35eff783e4d7df40f1e0c29b2b6431093a58a8234f3caa857e18cec2667c3764ffb00
6
+ metadata.gz: dab70f4ce946f2716d403696d750ac97ddee416c9da1a04a2bc8b375c5c93ff9bf93aff1ccce23c0431820e7e6ef39fbb00f08a6cb4ff34c8e206dea4d97d33c
7
+ data.tar.gz: b4c83b1a0c98652b00359a554a6f75f3fcf8ab57330425b139f6093aec70505a5061fa0036f13b5d32006486d3928035558b50a346a004cfaa3310f5f4c94bc5
data/jpt.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "jpt"
3
- s.version = "0.0.3"
3
+ s.version = "0.0.4"
4
4
  s.summary = "JSONPath tools"
5
5
  s.description = %q{jpt implements converters and miscellaneous tools for JSONPath}
6
6
  s.author = "Carsten Bormann"
@@ -3087,12 +3087,18 @@ module JPTGRAMMAR
3087
3087
  end
3088
3088
 
3089
3089
  module NameSegment1
3090
+ def ast
3091
+ elements[1].ast
3092
+ end
3093
+ end
3094
+
3095
+ module NameSegment2
3090
3096
  def member_name_shorthand
3091
3097
  elements[1]
3092
3098
  end
3093
3099
  end
3094
3100
 
3095
- module NameSegment2
3101
+ module NameSegment3
3096
3102
  def ast
3097
3103
  elements[1].ast
3098
3104
  end
@@ -3136,6 +3142,7 @@ module JPTGRAMMAR
3136
3142
  if s1.last
3137
3143
  r1 = instantiate_node(SyntaxNode,input, i1...index, s1)
3138
3144
  r1.extend(NameSegment0)
3145
+ r1.extend(NameSegment1)
3139
3146
  else
3140
3147
  @index = i1
3141
3148
  r1 = nil
@@ -3159,8 +3166,8 @@ module JPTGRAMMAR
3159
3166
  end
3160
3167
  if s5.last
3161
3168
  r5 = instantiate_node(SyntaxNode,input, i5...index, s5)
3162
- r5.extend(NameSegment1)
3163
3169
  r5.extend(NameSegment2)
3170
+ r5.extend(NameSegment3)
3164
3171
  else
3165
3172
  @index = i5
3166
3173
  r5 = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann