File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
1313- 🎉 Initial release! 🎉
1414
1515[ unreleased ] : https://github.com/ruby-syntax-tree/syntax_tree-rbs/compare/v0.1.0...HEAD
16- [ 0.1.0 ] : https://github.com/ruby-syntax-tree/syntax_tree-rbs/compare/ba5aef ...v0.1.0
16+ [ 0.1.0 ] : https://github.com/ruby-syntax-tree/syntax_tree-rbs/compare/93efc7 ...v0.1.0
Original file line number Diff line number Diff line change 1111 docile (1.4.0 )
1212 minitest (5.15.0 )
1313 rake (13.0.6 )
14- rbs (2.2 .2 )
14+ rbs (2.3 .2 )
1515 simplecov (0.21.2 )
1616 docile (~> 1.1 )
1717 simplecov-html (~> 0.11 )
2222
2323PLATFORMS
2424 x86_64-darwin-21
25+ x86_64-linux
2526
2627DEPENDENCIES
2728 bundler
@@ -31,4 +32,4 @@ DEPENDENCIES
3132 syntax_tree-rbs !
3233
3334BUNDLED WITH
34- 2.4.0.dev
35+ 2.3.6
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ From the CLI:
3636
3737``` sh
3838$ stree ast --plugins=rbs file.rbs
39- (root object=(object values={ " Hello" = >( literal value= " world! " ) }) )
39+ (root declarations=[(constant name=(type-name " Hello" ) type=(class-instance (type-name " World " )))] )
4040```
4141
4242or
4343
4444``` sh
4545$ stree format --plugins=rbs file.rbs
46- { " Hello" : " world! " }
46+ Hello: World
4747```
4848
4949or
Original file line number Diff line number Diff line change @@ -84,4 +84,6 @@ def read(filepath)
8484 end
8585 end
8686 end
87+
88+ register_handler ( ".rbs" , RBS )
8789end
You can’t perform that action at this time.
0 commit comments