Skip to content

Commit

Permalink
Merge pull request #612 from soutaro/each_child_node
Browse files Browse the repository at this point in the history
Fix each_child_node
  • Loading branch information
soutaro authored Jul 26, 2022
2 parents 11daa25 + c77d4f1 commit 9736600
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
3 changes: 2 additions & 1 deletion Gemfile.steep
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source "https://rubygems.org"

gem "steep"
gem 'steep', '~> 1.1.pre'
gem "rbs", "~> 2.5.0"
13 changes: 7 additions & 6 deletions Gemfile.steep.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.3)
activesupport (7.0.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
ast (2.4.2)
concurrent-ruby (1.1.10)
ffi (1.15.5)
i18n (1.10.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
language_server-protocol (3.16.0.3)
listen (3.7.1)
Expand All @@ -23,8 +23,8 @@ GEM
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rbs (2.6.0)
steep (1.0.1)
rbs (2.5.1)
steep (1.1.0.pre.1)
activesupport (>= 5.1)
language_server-protocol (>= 3.15, < 4.0)
listen (~> 3.0)
Expand All @@ -35,15 +35,16 @@ GEM
terminal-table (>= 2, < 4)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.4)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
unicode-display_width (2.2.0)

PLATFORMS
arm64-darwin-21

DEPENDENCIES
steep
rbs (~> 2.5.0)
steep (~> 1.1.pre)

BUNDLED WITH
2.3.15
2 changes: 1 addition & 1 deletion lib/steep/node_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def value_node?(node)
when :dstr
each_child_node(node).all? {|child| value_node?(child)}
when :begin
each_child_node(node).all? {|child| value_node?(node) }
each_child_node(node).all? {|child| value_node?(child) }
else
false
end
Expand Down
18 changes: 7 additions & 11 deletions rbs_collection.steep.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,59 +11,55 @@ gems:
source:
type: stdlib
- name: rbs
version: 2.6.0
version: 2.5.1
source:
type: rubygems
- name: activesupport
version: '6.0'
source:
type: git
name: ruby/gem_rbs_collection
revision: cd6db41310b911e1df3476246257510673f01b8a
revision: 933f7176968d8620224c0b22baefadbd7d77ef27
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: ast
version: '2.4'
source:
type: git
name: ruby/gem_rbs_collection
revision: cd6db41310b911e1df3476246257510673f01b8a
revision: 933f7176968d8620224c0b22baefadbd7d77ef27
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: i18n
version: '1.10'
source:
type: git
name: ruby/gem_rbs_collection
revision: cd6db41310b911e1df3476246257510673f01b8a
revision: 933f7176968d8620224c0b22baefadbd7d77ef27
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: listen
version: '3.2'
source:
type: git
name: ruby/gem_rbs_collection
revision: cd6db41310b911e1df3476246257510673f01b8a
revision: 933f7176968d8620224c0b22baefadbd7d77ef27
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: minitest
version: '0'
source:
type: stdlib
- name: parallel
version: '1.20'
source:
type: git
name: ruby/gem_rbs_collection
revision: cd6db41310b911e1df3476246257510673f01b8a
revision: 933f7176968d8620224c0b22baefadbd7d77ef27
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: rainbow
version: '3.0'
source:
type: git
name: ruby/gem_rbs_collection
revision: cd6db41310b911e1df3476246257510673f01b8a
revision: 933f7176968d8620224c0b22baefadbd7d77ef27
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: logger
Expand Down

0 comments on commit 9736600

Please sign in to comment.