docrb-parser 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docrb-parser.gemspec +3 -3
- data/lib/docrb/parser/method_parameters.rb +2 -1
- data/lib/docrb/parser/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad89c50b2d48ce08a1c2c2584fd09f765b43555f8d8daf67b1eb727524f81855
|
4
|
+
data.tar.gz: 4b297fde78ae009658f319812c8f3d605d7bfbaf7f9e9f7621867a2e856323ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39c21d2bc0feb1796b612cdf59e0d1c5f8bc545ce9294765a02153c03f8883f9493bfabe0f570e30b60fc548d40a27f5a41d1fd3c49eff0dc8cc66dc2b4d8433
|
7
|
+
data.tar.gz: 646866daab9663552dd05e253f4cc90cf0081e19cd0c3899dabc83ed6b681f3abe66389820b2703468b2fc77dece7f59c7e14c49329101a0ce258e3e758f782f
|
data/docrb-parser.gemspec
CHANGED
@@ -5,7 +5,7 @@ require_relative "lib/docrb/parser/version"
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "docrb-parser"
|
7
7
|
spec.version = Docrb::Parser::VERSION
|
8
|
-
spec.authors = ["
|
8
|
+
spec.authors = ["Vito Sartori"]
|
9
9
|
spec.email = ["hey@vito.io"]
|
10
10
|
|
11
11
|
spec.summary = "Docrb's Ruby Parser"
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.required_ruby_version = ">= 3.2"
|
19
19
|
|
20
20
|
spec.metadata["homepage_uri"] = spec.homepage
|
21
|
-
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/
|
21
|
+
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/master/lib/docrb-parser"
|
22
22
|
spec.metadata["changelog_uri"] = spec.homepage
|
23
23
|
spec.metadata["rubygems_mfa_required"] = "true"
|
24
24
|
|
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
35
35
|
spec.require_paths = ["lib"]
|
36
36
|
|
37
|
-
spec.add_dependency "prism", "~>
|
37
|
+
spec.add_dependency "prism", "~> 1"
|
38
38
|
end
|
@@ -13,7 +13,8 @@ module Docrb
|
|
13
13
|
when Prism::RequiredParameterNode then :arg
|
14
14
|
when Prism::OptionalParameterNode then :optarg
|
15
15
|
when Prism::RestParameterNode then :rest
|
16
|
-
when Prism::
|
16
|
+
when Prism::OptionalKeywordParameterNode then n.value ? :optkw : :kw
|
17
|
+
when Prism::RequiredKeywordParameterNode then :kw
|
17
18
|
when Prism::KeywordRestParameterNode then :kwrest
|
18
19
|
when Prism::BlockParameterNode then :block
|
19
20
|
else raise NotImplementedError, "Unsupported parameter kind #{n.class}"
|
data/lib/docrb/parser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docrb-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Vito Sartori
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1'
|
27
27
|
description: "docrb-parser is responsible for parsing Ruby sources into a structured
|
28
28
|
\nformat for usage by docrb and docrb-html.\n"
|
29
29
|
email:
|
@@ -84,7 +84,7 @@ licenses:
|
|
84
84
|
- MIT
|
85
85
|
metadata:
|
86
86
|
homepage_uri: https://github.com/heyvito/docrb
|
87
|
-
source_code_uri: https://github.com/heyvito/docrb/tree/
|
87
|
+
source_code_uri: https://github.com/heyvito/docrb/tree/master/lib/docrb-parser
|
88
88
|
changelog_uri: https://github.com/heyvito/docrb
|
89
89
|
rubygems_mfa_required: 'true'
|
90
90
|
post_install_message:
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.
|
105
|
+
rubygems_version: 3.5.18
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Docrb's Ruby Parser
|