rbs 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +15 -0
 - data/core/thread.rbs +1 -1
 - data/ext/rbs_extension/parser.c +1 -1
 - data/lib/rbs/types.rb +1 -1
 - data/lib/rbs/version.rb +1 -1
 - data/sig/collection/collections.rbs +2 -0
 - metadata +2 -3
 - data/lib/ruby/signature.rb +0 -7
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d93b02ff74da3638b4aee35967e4ccc34460c1103ceb51ecfd5406d39e732f21
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: b11beb145022527d5d16e2c6545fcc4aa847790e3502b6054f77785685b7fe6c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 689cdd0da1b18d8d0d6c9cde454cd3a2de0d44f66e19d52400734bb13001770b44bf0f66a87db403d31fb91ddccdefee87a056686055165d1935ade8fd376ff6
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 488b07051aea9edb7c3c32e9fafc8b1bfcd16f38b8dc492aa4656a0a15a1577615522a15f22c3e900acb458f0bce4620998c2dfc79b17638dd64f025bd0ff29c
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -2,6 +2,21 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            ## master
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
      
 5 
     | 
    
         
            +
            ## 1.7.1 (2021-11-18)
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### Signature updates
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * `Thread#value` ([\#824](https://github.com/ruby/rbs/pull/824/files))
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ### Library changes
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Unquote parameter name ([\#827](https://github.com/ruby/rbs/pull/827))
         
     | 
| 
      
 14 
     | 
    
         
            +
            * Remove `ruby/signature.rb` ([\#825](https://github.com/ruby/rbs/pull/825))
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            ### Miscellaneous
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            * Use `untyped` as an expectation of return value of `IO#ready?` in test ([\#828](https://github.com/ruby/rbs/pull/828/files))
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
       5 
20 
     | 
    
         
             
            ## 1.7.0 (2021-11-11)
         
     | 
| 
       6 
21 
     | 
    
         | 
| 
       7 
22 
     | 
    
         
             
            This version replaces `RBS::Parser` implementation from pure Ruby code based on [Racc](https://github.com/ruby/racc) to C extension.
         
     | 
    
        data/core/thread.rbs
    CHANGED
    
    | 
         @@ -554,7 +554,7 @@ class Thread < Object 
     | 
|
| 
       554 
554 
     | 
    
         
             
              # b = Thread.new { raise 'something went wrong' }
         
     | 
| 
       555 
555 
     | 
    
         
             
              # b.value   #=> RuntimeError: something went wrong
         
     | 
| 
       556 
556 
     | 
    
         
             
              # ```
         
     | 
| 
       557 
     | 
    
         
            -
              def value: () ->  
     | 
| 
      
 557 
     | 
    
         
            +
              def value: () -> untyped
         
     | 
| 
       558 
558 
     | 
    
         | 
| 
       559 
559 
     | 
    
         
             
              # Marks a given thread as eligible for scheduling, however it may still
         
     | 
| 
       560 
560 
     | 
    
         
             
              # remain blocked on I/O.
         
     | 
    
        data/ext/rbs_extension/parser.c
    CHANGED
    
    | 
         @@ -273,7 +273,7 @@ static VALUE parse_function_param(parserstate *state) { 
     | 
|
| 
       273 
273 
     | 
    
         
             
                param_range.start = type_range.start;
         
     | 
| 
       274 
274 
     | 
    
         
             
                param_range.end = name_range.end;
         
     | 
| 
       275 
275 
     | 
    
         | 
| 
       276 
     | 
    
         
            -
                VALUE name =  
     | 
| 
      
 276 
     | 
    
         
            +
                VALUE name = rb_to_symbol(rbs_unquote_string(state, state->current_token.range, 0));
         
     | 
| 
       277 
277 
     | 
    
         
             
                VALUE location = rbs_new_location(state->buffer, param_range);
         
     | 
| 
       278 
278 
     | 
    
         
             
                rbs_loc *loc = rbs_check_location(location);
         
     | 
| 
       279 
279 
     | 
    
         
             
                rbs_loc_add_optional_child(loc, rb_intern("name"), name_range);
         
     | 
    
        data/lib/rbs/types.rb
    CHANGED
    
    
    
        data/lib/rbs/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rbs
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.7.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Soutaro Matsumoto
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2021-11- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-11-18 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       13 
13 
     | 
    
         
             
            description: RBS is the language for type signatures for Ruby and standard library
         
     | 
| 
       14 
14 
     | 
    
         
             
              definitions.
         
     | 
| 
         @@ -182,7 +182,6 @@ files: 
     | 
|
| 
       182 
182 
     | 
    
         
             
            - lib/rbs/vendorer.rb
         
     | 
| 
       183 
183 
     | 
    
         
             
            - lib/rbs/version.rb
         
     | 
| 
       184 
184 
     | 
    
         
             
            - lib/rbs/writer.rb
         
     | 
| 
       185 
     | 
    
         
            -
            - lib/ruby/signature.rb
         
     | 
| 
       186 
185 
     | 
    
         
             
            - rbs.gemspec
         
     | 
| 
       187 
186 
     | 
    
         
             
            - schema/annotation.json
         
     | 
| 
       188 
187 
     | 
    
         
             
            - schema/comment.json
         
     |