File tree 4 files changed +8
-5
lines changed
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
13
13
- 🎉 Initial release! 🎉
14
14
15
15
[ 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 11
11
docile (1.4.0 )
12
12
minitest (5.15.0 )
13
13
rake (13.0.6 )
14
- rbs (2.2 .2 )
14
+ rbs (2.3 .2 )
15
15
simplecov (0.21.2 )
16
16
docile (~> 1.1 )
17
17
simplecov-html (~> 0.11 )
22
22
23
23
PLATFORMS
24
24
x86_64-darwin-21
25
+ x86_64-linux
25
26
26
27
DEPENDENCIES
27
28
bundler
@@ -31,4 +32,4 @@ DEPENDENCIES
31
32
syntax_tree-rbs !
32
33
33
34
BUNDLED 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:
36
36
37
37
``` sh
38
38
$ 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 " )))] )
40
40
```
41
41
42
42
or
43
43
44
44
``` sh
45
45
$ stree format --plugins=rbs file.rbs
46
- { " Hello" : " world! " }
46
+ Hello: World
47
47
```
48
48
49
49
or
Original file line number Diff line number Diff line change @@ -84,4 +84,6 @@ def read(filepath)
84
84
end
85
85
end
86
86
end
87
+
88
+ register_handler ( ".rbs" , RBS )
87
89
end
You can’t perform that action at this time.
0 commit comments