ruby_header_parser 0.3.0 → 0.3.1

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: cc0d75280b017f256e41827e1f14c8b8b0d18cf52c491c017d64039242a22197
4
- data.tar.gz: 4f11bceded579fced47f92c709e69aad913e65a245347e7dd9a0c734b25568f9
3
+ metadata.gz: a3cb911b5f0dc841a7328c6c3b53fa3675da1354da43b46160cb3d6a1b1776a0
4
+ data.tar.gz: 16aae2bb9c95bebce91a54345a2acd13df16690e2a78db77ffb3ca8255387b04
5
5
  SHA512:
6
- metadata.gz: e9c1bd0ec1816fe63836a3d7fb957b7f197daf3152d61e012410e46da36a724fc3ffd38c0e4cc46ebf8bbf46ed63f0291701b29cb2b027051afbff2b9a607d5d
7
- data.tar.gz: ab355926c53b980c1a0895531cfe8cf09c7410c68e433e6767db0cac1bf3a25af0d7546e4d6c4d5737184b5325e02730464f262d946ff60578231d8fbd86da98
6
+ metadata.gz: ccd4722f2e50eadc3cc001e8554e811c14b435208b6e8a1bdfd44b2e000e3f90c662633cd8320f5861e4731ffb436d97e18cfd27a3eb0b9b6c7b6909eccedd73
7
+ data.tar.gz: 8208e18c41cd8ad0f98a47cd229790e2eb49b016701cf6e932e8a4ecd47d59cdaf8a3153cce330d914ec760a0a05986fa0504ee72ad7cbf6db42ec5e7e0f716b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
- [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.3.0...main)
2
+ [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.3.1...main)
3
+
4
+ ## [0.3.1](https://github.com/ruby-go-gem/ruby_header_parser/releases/tag/v0.3.1) - 2024-12-15
5
+ [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.3.0...v0.3.1)
6
+
7
+ * Change arg of `rb_gc_register_address` and `rb_gc_unregister_address` to in_ref https://github.com/ruby-go-gem/ruby_header_parser/pull/24
3
8
 
4
9
  ## [0.3.0](https://github.com/ruby-go-gem/ruby_header_parser/releases/tag/v0.3.0) - 2024-11-24
5
10
  [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.2.0...v0.3.0)
data/config/default.yml CHANGED
@@ -110,6 +110,10 @@ function:
110
110
  4: array
111
111
  rb_funcallv_public:
112
112
  4: array
113
+ rb_gc_register_address:
114
+ 1: in_ref
115
+ rb_gc_unregister_address:
116
+ 1: in_ref
113
117
  rb_get_values_at:
114
118
  5: function
115
119
  rb_glob:
@@ -93,8 +93,11 @@ module RubyHeaderParser
93
93
  def extract_enum_definitions
94
94
  stdout = execute_ctags("--c-kinds=e --fields=+n")
95
95
 
96
+ # Workaround for Ruby::UnannotatedEmptyCollection on steep 1.9.0+
97
+ name_to_definition = {} #: Hash[String, RubyHeaderParser::EnumDefinition] # rubocop:disable Layout/LeadingCommentSpace
98
+
96
99
  name_to_definitions =
97
- stdout.each_line.with_object({}) do |line, hash|
100
+ stdout.each_line.with_object(name_to_definition) do |line, hash|
98
101
  parts = line.split("\t")
99
102
 
100
103
  enum_name = Util.find_field(parts, "enum")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyHeaderParser
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -6,7 +6,7 @@ gems:
6
6
  source:
7
7
  type: git
8
8
  name: ruby/gem_rbs_collection
9
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
9
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
10
10
  remote: https://github.com/ruby/gem_rbs_collection.git
11
11
  repo_dir: gems
12
12
  - name: binding_of_caller
@@ -14,7 +14,7 @@ gems:
14
14
  source:
15
15
  type: git
16
16
  name: ruby/gem_rbs_collection
17
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
17
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
18
18
  remote: https://github.com/ruby/gem_rbs_collection.git
19
19
  repo_dir: gems
20
20
  - name: dbm
@@ -26,7 +26,7 @@ gems:
26
26
  source:
27
27
  type: git
28
28
  name: ruby/gem_rbs_collection
29
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
29
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
30
30
  remote: https://github.com/ruby/gem_rbs_collection.git
31
31
  repo_dir: gems
32
32
  - name: fileutils
@@ -42,7 +42,7 @@ gems:
42
42
  source:
43
43
  type: git
44
44
  name: ruby/gem_rbs_collection
45
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
45
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
46
46
  remote: https://github.com/ruby/gem_rbs_collection.git
47
47
  repo_dir: gems
48
48
  - name: parser
@@ -50,7 +50,7 @@ gems:
50
50
  source:
51
51
  type: git
52
52
  name: ruby/gem_rbs_collection
53
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
53
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
54
54
  remote: https://github.com/ruby/gem_rbs_collection.git
55
55
  repo_dir: gems
56
56
  - name: pstore
@@ -66,7 +66,7 @@ gems:
66
66
  source:
67
67
  type: git
68
68
  name: ruby/gem_rbs_collection
69
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
69
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
70
70
  remote: https://github.com/ruby/gem_rbs_collection.git
71
71
  repo_dir: gems
72
72
  - name: rake
@@ -74,7 +74,7 @@ gems:
74
74
  source:
75
75
  type: git
76
76
  name: ruby/gem_rbs_collection
77
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
77
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
78
78
  remote: https://github.com/ruby/gem_rbs_collection.git
79
79
  repo_dir: gems
80
80
  - name: regexp_parser
@@ -82,7 +82,7 @@ gems:
82
82
  source:
83
83
  type: git
84
84
  name: ruby/gem_rbs_collection
85
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
85
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
86
86
  remote: https://github.com/ruby/gem_rbs_collection.git
87
87
  repo_dir: gems
88
88
  - name: rspec-parameterized-core
@@ -98,7 +98,7 @@ gems:
98
98
  source:
99
99
  type: git
100
100
  name: ruby/gem_rbs_collection
101
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
101
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
102
102
  remote: https://github.com/ruby/gem_rbs_collection.git
103
103
  repo_dir: gems
104
104
  - name: rubocop-ast
@@ -106,7 +106,7 @@ gems:
106
106
  source:
107
107
  type: git
108
108
  name: ruby/gem_rbs_collection
109
- revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
109
+ revision: 0a6ea105a0afc7eaee4494585a7775f47eea6145
110
110
  remote: https://github.com/ruby/gem_rbs_collection.git
111
111
  repo_dir: gems
112
112
  - name: tmpdir
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_header_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-24 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rbs
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 3.7.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 3.7.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rspec
29
43
  requirement: !ruby/object:Gem::Requirement