ruby_header_parser 0.1.0 → 0.3.0

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: 73e54692bd969e0639672d95e7b5315bd5bbf8857c988343c0291af3ff5a3ab6
4
- data.tar.gz: '099e7a0d30b0ef67d5c21853d123bf34927bae48915fef6cc1377fcea9e56689'
3
+ metadata.gz: cc0d75280b017f256e41827e1f14c8b8b0d18cf52c491c017d64039242a22197
4
+ data.tar.gz: 4f11bceded579fced47f92c709e69aad913e65a245347e7dd9a0c734b25568f9
5
5
  SHA512:
6
- metadata.gz: 282901b284812616deb5c0f5c180aa67397fac1b52c6b121df2462e6094f8e0b88e4ab57b45d2a371fe5f6682cd113e5ff2fb7b99f23f77660a803865a3f61c6
7
- data.tar.gz: c87c969a18e295904f4e35f56d83fb8173f7606464c46828ac27f56d1ebb4a4d2db164bcff20d6865fe2446e266fbbfde725ac3773327982e493d0077ce2e70e
6
+ metadata.gz: e9c1bd0ec1816fe63836a3d7fb957b7f197daf3152d61e012410e46da36a724fc3ffd38c0e4cc46ebf8bbf46ed63f0291701b29cb2b027051afbff2b9a607d5d
7
+ data.tar.gz: ab355926c53b980c1a0895531cfe8cf09c7410c68e433e6767db0cac1bf3a25af0d7546e4d6c4d5737184b5325e02730464f262d946ff60578231d8fbd86da98
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  ## [Unreleased]
2
+ [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.3.0...main)
2
3
 
3
- ## [0.1.0](https://github.com/sue445/ruby_header_parser/releases/tag/v0.1.0) - 2024-10-14
4
+ ## [0.3.0](https://github.com/ruby-go-gem/ruby_header_parser/releases/tag/v0.3.0) - 2024-11-24
5
+ [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.2.0...v0.3.0)
6
+
7
+ * Support `RARRAY_` https://github.com/ruby-go-gem/ruby_header_parser/pull/21
8
+
9
+ ## [0.2.0](https://github.com/ruby-go-gem/ruby_header_parser/releases/tag/v0.2.0) - 2024-10-21
10
+ [full changelog](http://github.com/ruby-go-gem/ruby_header_parser/compare/v0.1.0...v0.2.0)
11
+
12
+ * Transfer to ruby-go-gem org https://github.com/ruby-go-gem/ruby_header_parser/pull/17
13
+
14
+ ## [0.1.0](https://github.com/ruby-go-gem/ruby_header_parser/releases/tag/v0.1.0) - 2024-10-14
4
15
 
5
16
  - Initial release
data/CONFIG.md CHANGED
@@ -45,7 +45,7 @@ enum:
45
45
  ```
46
46
 
47
47
  ## Full configuration file
48
- [config/default.yml](config/default.yml) is used by https://github.com/sue445/go-gem-wrapper to generate bindings for Go.
48
+ [config/default.yml](config/default.yml) is used by https://github.com/ruby-go-gem/go-gem-wrapper to generate bindings for Go.
49
49
 
50
50
  ## `function.include_name`, `struct.include_name`, `type.include_name`, `enum.include_name`
51
51
  Return functions and structures that match the condition with a [RubyHeaderParser::Parser](lib/ruby_header_parser/parser.rb)
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # RubyHeaderParser
2
2
  Parser for `ruby.h`
3
3
 
4
- [![test](https://github.com/sue445/ruby_header_parser/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/ruby_header_parser/actions/workflows/test.yml)
4
+ [![Gem Version](https://badge.fury.io/rb/ruby_header_parser.svg)](https://badge.fury.io/rb/ruby_header_parser)
5
+ [![test](https://github.com/ruby-go-gem/ruby_header_parser/actions/workflows/test.yml/badge.svg)](https://github.com/ruby-go-gem/ruby_header_parser/actions/workflows/test.yml)
5
6
 
6
7
  ## Installation
7
8
 
@@ -48,7 +49,7 @@ enum_definitions = parser.extract_enum_definitions
48
49
 
49
50
  See below for details.
50
51
 
51
- https://sue445.github.io/ruby_header_parser/RubyHeaderParser/Parser.html
52
+ https://ruby-go-gem.github.io/ruby_header_parser/RubyHeaderParser/Parser.html
52
53
 
53
54
  See [CONFIG.md](CONFIG.md) for config file details
54
55
 
@@ -60,7 +61,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
60
61
 
61
62
  ## Contributing
62
63
 
63
- Bug reports and pull requests are welcome on GitHub at https://github.com/sue445/ruby_header_parser.
64
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ruby-go-gem/ruby_header_parser.
64
65
 
65
66
  ## License
66
67
 
data/config/default.yml CHANGED
@@ -2,6 +2,7 @@ function:
2
2
  include_name:
3
3
  - !ruby/regexp /^rb_/i
4
4
  - !ruby/regexp /^rstring_/i
5
+ - !ruby/regexp /^rarray_/i
5
6
 
6
7
  exclude_name:
7
8
  # deprecated functions
@@ -4,7 +4,7 @@ module RubyHeaderParser
4
4
  # Manager for config file
5
5
  class Config
6
6
  # @!attribute [r] data
7
- # @return [Hash]
7
+ # @return [Hash]
8
8
  attr_reader :data
9
9
 
10
10
  # @param config_file [String]
@@ -7,7 +7,7 @@ module RubyHeaderParser
7
7
  # @return [String]
8
8
  attr_accessor :name
9
9
 
10
- # @!attribute enum_value_definitions
10
+ # @!attribute values
11
11
  # @return [Array<String>]
12
12
  attr_accessor :values
13
13
 
@@ -4,19 +4,19 @@ module RubyHeaderParser
4
4
  # parse `ruby.h` using `ctags`
5
5
  class Parser # rubocop:disable Metrics/ClassLength
6
6
  # @!attribute [r] header_file
7
- # @return [String]
7
+ # @return [String]
8
8
  attr_reader :header_file
9
9
 
10
10
  # @!attribute [r] include_paths
11
- # @return [Array<String>]
11
+ # @return [Array<String>]
12
12
  attr_reader :include_paths
13
13
 
14
14
  # @!attribute [r] dist_preprocessed_header_file
15
- # @return [String]
15
+ # @return [String]
16
16
  attr_reader :dist_preprocessed_header_file
17
17
 
18
- # @!attribute [r] data
19
- # @return [RubyHeaderParser::Config]
18
+ # @!attribute [r] config
19
+ # @return [RubyHeaderParser::Config]
20
20
  attr_reader :config
21
21
 
22
22
  DEFAULT_HEADER_FILE = "#{RbConfig::CONFIG["rubyhdrdir"]}/ruby.h".freeze
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyHeaderParser
4
- VERSION = "0.1.0"
4
+ VERSION = "0.3.0"
5
5
  end
@@ -6,7 +6,7 @@ gems:
6
6
  source:
7
7
  type: git
8
8
  name: ruby/gem_rbs_collection
9
- revision: 704f7e6b395fca717cc25c562598ca86015ed545
9
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
17
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
29
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
45
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
53
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
69
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
77
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
85
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
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: 704f7e6b395fca717cc25c562598ca86015ed545
101
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
102
102
  remote: https://github.com/ruby/gem_rbs_collection.git
103
103
  repo_dir: gems
104
104
  - name: rubocop-ast
@@ -106,9 +106,13 @@ gems:
106
106
  source:
107
107
  type: git
108
108
  name: ruby/gem_rbs_collection
109
- revision: 704f7e6b395fca717cc25c562598ca86015ed545
109
+ revision: 63c49dc63d905ff6f55bd3b19e576108da423b2b
110
110
  remote: https://github.com/ruby/gem_rbs_collection.git
111
111
  repo_dir: gems
112
+ - name: tmpdir
113
+ version: '0'
114
+ source:
115
+ type: stdlib
112
116
  - name: yaml
113
117
  version: '0'
114
118
  source:
data/rbs_collection.yaml CHANGED
@@ -24,3 +24,4 @@ gems:
24
24
  ignore: true
25
25
 
26
26
  - name: yaml
27
+ - 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.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-13 00:00:00.000000000 Z
11
+ date: 2024-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -176,14 +176,14 @@ files:
176
176
  - sig/ruby_header_parser/type_definition.rbs
177
177
  - sig/ruby_header_parser/typeref_definition.rbs
178
178
  - sig/ruby_header_parser/util.rbs
179
- homepage: https://github.com/sue445/ruby_header_parser
179
+ homepage: https://github.com/ruby-go-gem/ruby_header_parser
180
180
  licenses:
181
181
  - MIT
182
182
  metadata:
183
- homepage_uri: https://github.com/sue445/ruby_header_parser
184
- source_code_uri: https://github.com/sue445/ruby_header_parser
185
- changelog_uri: https://github.com/sue445/ruby_header_parser/blob/main/CHANGELOG.md
186
- documentation_uri: https://sue445.github.io/ruby_header_parser/
183
+ homepage_uri: https://github.com/ruby-go-gem/ruby_header_parser
184
+ source_code_uri: https://github.com/ruby-go-gem/ruby_header_parser
185
+ changelog_uri: https://github.com/ruby-go-gem/ruby_header_parser/blob/main/CHANGELOG.md
186
+ documentation_uri: https://ruby-go-gem.github.io/ruby_header_parser/
187
187
  rubygems_mfa_required: 'true'
188
188
  post_install_message:
189
189
  rdoc_options: []