rbs 3.9.0 → 3.9.2
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/.github/workflows/windows.yml +1 -1
- data/CHANGELOG.md +13 -0
- data/Rakefile +7 -3
- data/ext/rbs_extension/parserstate.c +1 -1
- data/lib/rbs/version.rb +1 -1
- data/src/util/rbs_constant_pool.c +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 170d86a49dcb384a18b08feffedd7ff3edef07ff08305c566f84f613765af36d
         | 
| 4 | 
            +
              data.tar.gz: '09975862bee26d90936c89c7d461c992829665b866053551ff02bd7a679ebd26'
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 653e269661b10cce36470bf51163e2ecb056bd9a1714de6c9a6aeb2d3d659b95a73460737b74328fd594cdf6455ee3a90308d63898a447ddc99d8e36b10b9733
         | 
| 7 | 
            +
              data.tar.gz: 27fe334fe021669723ad96918d6c01543cfe93b64217229668b7a77182df3c4fde89f4c98bb55577b0b12dc04658bfb735a3813f5d56c0f6b951fe6a8d993edb
         | 
| @@ -33,7 +33,7 @@ jobs: | |
| 33 33 |  | 
| 34 34 | 
             
                        res = URI.parse("https://stdgems.org/bundled_gems.json").read
         | 
| 35 35 | 
             
                        bundled_gems = JSON.parse(res)["gems"].map{_1["gem"]}
         | 
| 36 | 
            -
                        system "gem uninstall #{bundled_gems.join(" ")}", exception: true
         | 
| 36 | 
            +
                        system "gem uninstall --force #{bundled_gems.join(" ")}", exception: true
         | 
| 37 37 | 
             
                      '
         | 
| 38 38 | 
             
                  - name: bundle install
         | 
| 39 39 | 
             
                    run: |
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,18 @@ | |
| 1 1 | 
             
            # CHANGELOG
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 3.9.2 (2025-03-31)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ### Library changes
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Change `{}` to `{ 0 }` ([#2354](https://github.com/ruby/rbs/pull/2354))
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ## 3.9.1 (2025-03-24)
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            ### Miscellaneous
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            * `did_you_mean` is a default gem ([#2348](https://github.com/ruby/rbs/pull/2348))
         | 
| 14 | 
            +
            * Skip loading ruby_memcheck ([#2347](https://github.com/ruby/rbs/pull/2347))
         | 
| 15 | 
            +
             | 
| 3 16 | 
             
            ## 3.9.0 (2025-03-18)
         | 
| 4 17 |  | 
| 5 18 | 
             
            ### Miscellaneous
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -22,10 +22,14 @@ end | |
| 22 22 | 
             
            Rake::TestTask.new(test: :compile, &test_config)
         | 
| 23 23 |  | 
| 24 24 | 
             
            unless Gem.win_platform?
         | 
| 25 | 
            -
               | 
| 25 | 
            +
              begin
         | 
| 26 | 
            +
                require "ruby_memcheck"
         | 
| 26 27 |  | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 28 | 
            +
                namespace :test do
         | 
| 29 | 
            +
                  RubyMemcheck::TestTask.new(valgrind: :compile, &test_config)
         | 
| 30 | 
            +
                end
         | 
| 31 | 
            +
              rescue LoadError => exn
         | 
| 32 | 
            +
                STDERR.puts "🚨🚨🚨🚨 Skipping RubyMemcheck: #{exn.inspect} 🚨🚨🚨🚨"
         | 
| 29 33 | 
             
              end
         | 
| 30 34 | 
             
            end
         | 
| 31 35 |  | 
| @@ -334,7 +334,7 @@ parserstate *alloc_parser(VALUE buffer, lexstate *lexer, int start_pos, int end_ | |
| 334 334 | 
             
                .vars = NULL,
         | 
| 335 335 | 
             
                .last_comment = NULL,
         | 
| 336 336 |  | 
| 337 | 
            -
                .constant_pool = {},
         | 
| 337 | 
            +
                .constant_pool = { 0 },
         | 
| 338 338 | 
             
              };
         | 
| 339 339 |  | 
| 340 340 | 
             
              // The parser's constant pool is mainly used for storing the names of type variables, which usually aren't many.
         | 
    
        data/lib/rbs/version.rb
    CHANGED
    
    
| @@ -169,7 +169,7 @@ rbs_constant_pool_resize(rbs_constant_pool_t *pool) { | |
| 169 169 | 
             
            }
         | 
| 170 170 |  | 
| 171 171 | 
             
            // This storage is initialized by `Init_rbs_extension()` in `main.c`.
         | 
| 172 | 
            -
            static rbs_constant_pool_t RBS_GLOBAL_CONSTANT_POOL_STORAGE = {};
         | 
| 172 | 
            +
            static rbs_constant_pool_t RBS_GLOBAL_CONSTANT_POOL_STORAGE = { 0 };
         | 
| 173 173 | 
             
            rbs_constant_pool_t *RBS_GLOBAL_CONSTANT_POOL = &RBS_GLOBAL_CONSTANT_POOL_STORAGE;
         | 
| 174 174 |  | 
| 175 175 | 
             
            /**
         | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: rbs
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.9. | 
| 4 | 
            +
              version: 3.9.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Soutaro Matsumoto
         | 
| 8 8 | 
             
            bindir: exe
         | 
| 9 9 | 
             
            cert_chain: []
         | 
| 10 | 
            -
            date: 2025-03- | 
| 10 | 
            +
            date: 2025-03-31 00:00:00.000000000 Z
         | 
| 11 11 | 
             
            dependencies:
         | 
| 12 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 13 13 | 
             
              name: logger
         |