rbs 2.8.2 → 2.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf3c8572ef6596d9598901e8674b111f99d4c988561bf568c15eafe52b4cc1bd
4
- data.tar.gz: 460e6d18775380538a504d7521bc4d29aefb48eba4812ad463c27ea14f3b898e
3
+ metadata.gz: '038fda245a80a2e3eb408a3e8aa872f50e36b24a994ff4a6c4d8576cab7d6634'
4
+ data.tar.gz: ccc5db43cae3907aa594ac0ce53df343bb6b942b484fb507d9248fc33305be81
5
5
  SHA512:
6
- metadata.gz: af9c9b7298ca69a0ab2ada373108559c4719d3bfd4157a44af2f664dd1fc4f4a2ba91d175a11487207f971bb61658757533c778fd2a4d8297d996f1eb36ad3d7
7
- data.tar.gz: 8bf75a3d6fe3ebd6005a8d0234cf18a14771ef6a6968dfa7c289ad64063d1b3e653730ed3d3376d878d0ff42068f9de588bbe6eb7a66ee060053f51446a1db77
6
+ metadata.gz: 1b8fe38a58cca575ac24d8cfb3745c39ac19a3638c45e665cd7cda7923ccc46f7304c6e9cc86126ca5f159118d0bf5e9d055aff1134ebdedf79fec17998f1558
7
+ data.tar.gz: 1cefb1986f35af43f6a903452545a61622df14358acb06b70a3b94f4ceb3ba697cfaf2c364d5d77b2c4e77a962f03326fc30194e1e81c3ba51e2931a63954597
@@ -10,7 +10,7 @@ jobs:
10
10
  test:
11
11
  runs-on: "ubuntu-latest"
12
12
  container:
13
- image: rubylang/ruby:3.1-focal
13
+ image: rubylang/ruby:3.1-dev-focal
14
14
  steps:
15
15
  - uses: actions/checkout@v3
16
16
  - name: Install dependencies
@@ -6,6 +6,9 @@ on:
6
6
  - master
7
7
  pull_request: {}
8
8
 
9
+ env:
10
+ LANG: 'C.UTF-8'
11
+
9
12
  jobs:
10
13
  test:
11
14
  runs-on: "ubuntu-latest"
@@ -13,9 +16,9 @@ jobs:
13
16
  matrix:
14
17
  container_tag:
15
18
  - master-nightly-focal
16
- - 3.1-focal
17
- - 3.0-focal
18
- - 2.7-bionic
19
+ - 3.1-dev-focal
20
+ - 3.0-dev-focal
21
+ - 2.7-dev-bionic
19
22
  - 2.6-bionic
20
23
  job:
21
24
  - test
@@ -28,16 +31,16 @@ jobs:
28
31
  job: confirm_lexer
29
32
  - container_tag: 2.6-bionic
30
33
  job: stdlib_test
31
- - container_tag: 2.7-bionic
34
+ - container_tag: 2.7-dev-bionic
32
35
  job: stdlib_test
33
- - container_tag: 3.0-focal
36
+ - container_tag: 3.0-dev-focal
34
37
  job: stdlib_test
35
38
  container:
36
39
  image: rubylang/ruby:${{ matrix.container_tag }}
37
40
  steps:
38
41
  - uses: actions/checkout@v3
39
42
  - name: Set working directory as safe
40
- run: /usr/bin/git config --global --add safe.directory $(pwd)
43
+ run: git config --global --add safe.directory $(pwd)
41
44
  - name: Install dependencies
42
45
  run: |
43
46
  apt-get update
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 2.8.4 (2023-01-20)
6
+
7
+ ### Miscellaneous
8
+
9
+ * Make `rake stdlib_test` run with single process (Backport [#1207](https://github.com/ruby/rbs/pull/1207), [#1211](https://github.com/ruby/rbs/pull/1211))
10
+ * Remove `steep/*` files from `.gem` (Backport [#1214](https://github.com/ruby/rbs/pull/1214), [#1216](https://github.com/ruby/rbs/pull/1216))
11
+
12
+ ## 2.8.3 (2023-01-06)
13
+
14
+ ### Library changes
15
+
16
+ * Use `-std=gnu99` instead of `-std=c99` (Backport [#973](https://github.com/ruby/rbs/pull/973))
17
+ * Add `rbs_` prefix to `skip` function (Backport [#1186](https://github.com/ruby/rbs/pull/1186))
18
+
5
19
  ## 2.8.2 (2022-12-21)
6
20
 
7
21
  ### Signature updates
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbs (2.8.2)
4
+ rbs (2.8.4)
5
5
 
6
6
  PATH
7
7
  remote: test/assets/test-gem
data/Rakefile CHANGED
@@ -69,7 +69,15 @@ FileList["test/stdlib/**/*_test.rb"].each do |test|
69
69
  task test => :compile do
70
70
  sh "#{ruby} -Ilib #{bin}/test_runner.rb #{test}"
71
71
  end
72
- task stdlib_test: test
72
+ end
73
+
74
+ task :stdlib_test do
75
+ test_files = FileList["test/stdlib/**/*_test.rb"].reject do |path|
76
+ path =~ %r{Ractor}
77
+ end
78
+ sh "#{ruby} -Ilib #{bin}/test_runner.rb #{test_files.join(' ')}"
79
+ # TODO: Ractor tests need to be run in a separate process
80
+ sh "#{ruby} -Ilib #{bin}/test_runner.rb test/stdlib/Ractor_test.rb"
73
81
  end
74
82
 
75
83
  task :rubocop do
@@ -1,4 +1,4 @@
1
1
  require 'mkmf'
2
2
  $INCFLAGS << " -I$(top_srcdir)" if $extmk
3
- append_cflags ['-std=c99']
3
+ append_cflags ['-std=gnu99']
4
4
  create_makefile 'rbs_extension'
data/lib/rbs/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RBS
4
- VERSION = "2.8.2"
4
+ VERSION = "2.8.4"
5
5
  end
data/rbs.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  # Specify which files should be added to the gem when it is released.
29
29
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
30
30
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
31
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin)/}) }
31
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin|steep)/}) }
32
32
  end
33
33
  spec.extensions = %w{ext/rbs_extension/extconf.rb}
34
34
 
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: 2.8.2
4
+ version: 2.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-21 00:00:00.000000000 Z
11
+ date: 2023-01-20 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.
@@ -416,8 +416,6 @@ files:
416
416
  - stdlib/yaml/0/store.rbs
417
417
  - stdlib/yaml/0/yaml.rbs
418
418
  - stdlib/zlib/0/zlib.rbs
419
- - steep/Gemfile
420
- - steep/Gemfile.lock
421
419
  homepage: https://github.com/ruby/rbs
422
420
  licenses:
423
421
  - BSD-2-Clause
data/steep/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "steep"
data/steep/Gemfile.lock DELETED
@@ -1,61 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- activesupport (7.0.4)
5
- concurrent-ruby (~> 1.0, >= 1.0.2)
6
- i18n (>= 1.6, < 2)
7
- minitest (>= 5.1)
8
- tzinfo (~> 2.0)
9
- ast (2.4.2)
10
- concurrent-ruby (1.1.10)
11
- csv (3.2.5)
12
- ffi (1.15.5)
13
- fileutils (1.6.0)
14
- i18n (1.12.0)
15
- concurrent-ruby (~> 1.0)
16
- json (2.6.2)
17
- language_server-protocol (3.17.0.1)
18
- listen (3.7.1)
19
- rb-fsevent (~> 0.10, >= 0.10.3)
20
- rb-inotify (~> 0.9, >= 0.9.10)
21
- logger (1.5.1)
22
- minitest (5.16.3)
23
- parallel (1.22.1)
24
- parser (3.1.2.1)
25
- ast (~> 2.4.1)
26
- rainbow (3.1.1)
27
- rb-fsevent (0.11.2)
28
- rb-inotify (0.10.1)
29
- ffi (~> 1.0)
30
- rbs (2.8.0)
31
- securerandom (0.2.0)
32
- steep (1.3.0)
33
- activesupport (>= 5.1)
34
- csv (>= 3.0.9)
35
- fileutils (>= 1.1.0)
36
- json (>= 2.1.0)
37
- language_server-protocol (>= 3.15, < 4.0)
38
- listen (~> 3.0)
39
- logger (>= 1.3.0)
40
- parallel (>= 1.0.0)
41
- parser (>= 3.1)
42
- rainbow (>= 2.2.2, < 4.0)
43
- rbs (>= 2.8.0)
44
- securerandom (>= 0.1)
45
- strscan (>= 1.0.0)
46
- terminal-table (>= 2, < 4)
47
- strscan (3.0.4)
48
- terminal-table (3.0.2)
49
- unicode-display_width (>= 1.1.1, < 3)
50
- tzinfo (2.0.5)
51
- concurrent-ruby (~> 1.0)
52
- unicode-display_width (2.3.0)
53
-
54
- PLATFORMS
55
- ruby
56
-
57
- DEPENDENCIES
58
- steep
59
-
60
- BUNDLED WITH
61
- 2.3.14