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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1563025b587735a14bb7360d5fbe7203c2c5eb2dfe9e1d880eb927e43062427
4
- data.tar.gz: 19e9def3a41c111b3aca41485e47894737bb784e48fa64342317f2aa39bfb4b5
3
+ metadata.gz: ad89c50b2d48ce08a1c2c2584fd09f765b43555f8d8daf67b1eb727524f81855
4
+ data.tar.gz: 4b297fde78ae009658f319812c8f3d605d7bfbaf7f9e9f7621867a2e856323ff
5
5
  SHA512:
6
- metadata.gz: 7862efaf4bc9ef28584c9c6c0cd2ad8696f1db475d65c9d3b6998b1e82b36bdd6ae4d7ca96b0912dd00d969fab3233fb8680551246597c59c823e50828d2defc
7
- data.tar.gz: a83c9f16a768bb4d910651fecd67f834be7c1f4bd310e4a1ed7142fd23b68c817f6598d6c71939dbcf77093066423a1c815d74d1d93b8f3be8bf837fc04cb7fe
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 = ["Victor Gama"]
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/trunk/lib/docrb-parser"
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", "~> 0.13"
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::KeywordParameterNode then n.value ? :optkw : :kw
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}"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Docrb
4
4
  class Parser
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
- - Victor Gama
7
+ - Vito Sartori
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-28 00:00:00.000000000 Z
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: '0.13'
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: '0.13'
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/trunk/lib/docrb-parser
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.4.10
105
+ rubygems_version: 3.5.18
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Docrb's Ruby Parser