node_query 1.13.4 → 1.13.6

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: 7628f82cb6b224f6b9b0db0eb8bf6af8b2f86db79ced62c0ee335ab8b3c4b556
4
- data.tar.gz: 7d68bf360a86a0597a337fd2db61a22468674d005a2b7055e48d3ab1b433fe3d
3
+ metadata.gz: 1fc52310d059d7e75fec20edc82dbecbdfc4d35c1e020c11d00502c0e5fe5908
4
+ data.tar.gz: 69d60bdc00ee3f045c9c04984f8b8d6428c1ade3c390b451965abe0343d436cc
5
5
  SHA512:
6
- metadata.gz: 451f69a9540b987af3f615bba14ca332777a5371fbe9ae168cb14e7ce08d5013ba72197ea4b6deba684182900a2e0ecefe9178da19069af5d10e1c786aad90ef
7
- data.tar.gz: 3b3dcdf5ca312edd305f0991bb861eb103b7da41bf6bc0b4f412f8775c4bef65014075def561ed4ac4efc50a6edc6f8ade598e90c7db9b64c07802643cc884f9
6
+ metadata.gz: 6924c8b4f4cd528eba9702ffa65f8b5845cd6e2677af90f662e8e1586353f9ccf9b1fa37f6cdafcb7e12abeeb22af614d936f1f7261aa6dab5f7e458ff2f9667
7
+ data.tar.gz: c8787e460af35970f72751cedf04fe3f453b3b7afd451c9d80516979706785857be0380506b46f321c1ba3c885fee93eff5eac496853524c996ccfd1df359137
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.13.6 (2023-06-26)
4
+
5
+ * Flatten syntax_tree children
6
+
7
+ ## 1.13.5 (2023-06-17)
8
+
9
+ * Separate syntax_tree tests from parser tests
10
+ * Flatten child iteration for syntax_tree
11
+
3
12
  ## 1.13.4 (2023-06-15)
4
13
 
5
14
  * Support `Hash#except` for ruby 2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- node_query (1.13.4)
4
+ node_query (1.13.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -67,7 +67,7 @@ GEM
67
67
  shellany (0.0.1)
68
68
  syntax_tree (6.1.1)
69
69
  prettier_print (>= 1.2.0)
70
- syntax_tree_ext (0.3.1)
70
+ syntax_tree_ext (0.6.1)
71
71
  syntax_tree
72
72
  thor (1.2.1)
73
73
 
@@ -25,7 +25,7 @@ class NodeQuery::SyntaxTreeAdapter
25
25
  end
26
26
 
27
27
  def get_children(node)
28
- node.deconstruct_keys([]).except(:location, :comments).values
28
+ node.deconstruct_keys([]).except(:location, :comments).values.flatten
29
29
  end
30
30
 
31
31
  def get_siblings(node)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class NodeQuery
4
- VERSION = "1.13.4"
4
+ VERSION = "1.13.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: node_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.4
4
+ version: 1.13.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: ast node query language
14
14
  email: