rbs-inline 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/rbs/inline/ast/annotations.rb +1 -1
- data/lib/rbs/inline/ast/declarations.rb +1 -1
- data/lib/rbs/inline/node_utils.rb +1 -1
- data/lib/rbs/inline/version.rb +1 -1
- data/lib/rbs/inline/writer.rb +1 -1
- data/rbs_collection.lock.yaml +8 -8
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ce83c34652cf8585d8ffda40fb71534b8829cf513395a3bba27f48be42f27d6
|
4
|
+
data.tar.gz: 0efd8f5ce926b7573c0d12186c8a948883c07df41df6e90681e3ff25cb692ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 281e0d112f8b1943c2dd8d528a1f53eebf21307212039fbe1db5cef1e1057494e89b656e49cf9a89d51fe8582cd294709e72fc59bdd212874cc42c5eb2bfdac5
|
7
|
+
data.tar.gz: 72024761def9796f3ba65410308cda068fb46e234696ceecabc201b361c0e8effcfbc02dcb5f5e54f06e6b637c63ad2209b51c9fa8699ef5606644b880dc551a
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
RBS::Inline allows embedding RBS type declarations into Ruby code as comments. You can declare types, write the implementation, and verifies they are consistent without leaving the editor opening the Ruby code.
|
4
4
|
|
5
|
+
> [!IMPORTANT]
|
6
|
+
> The maintainer is working to implement the inline RBS syntax to rbs-gem itself.
|
7
|
+
> This repository is not actively updated.
|
8
|
+
|
5
9
|
> [!IMPORTANT]
|
6
10
|
> This gem is a prototype for testing. We plan to merge this feature to rbs-gem and deprecate rbs-inline gem after that.
|
7
11
|
|
data/lib/rbs/inline/version.rb
CHANGED
data/lib/rbs/inline/writer.rb
CHANGED
@@ -267,7 +267,7 @@ module RBS
|
|
267
267
|
members = [:singleton, :instance].map do |kind|
|
268
268
|
RBS::AST::Members::MethodDefinition.new(
|
269
269
|
name: :members,
|
270
|
-
kind: kind, #: RBS::AST::MethodDefinition::
|
270
|
+
kind: kind, #: RBS::AST::Members::MethodDefinition::kind
|
271
271
|
overloads: [
|
272
272
|
RBS::AST::Members::MethodDefinition::Overload.new(
|
273
273
|
method_type: RBS::MethodType.new(
|
data/rbs_collection.lock.yaml
CHANGED
@@ -14,17 +14,17 @@ gems:
|
|
14
14
|
source:
|
15
15
|
type: stdlib
|
16
16
|
- name: minitest
|
17
|
-
version: '
|
17
|
+
version: '5.25'
|
18
18
|
source:
|
19
|
-
type:
|
19
|
+
type: git
|
20
|
+
name: ruby/gem_rbs_collection
|
21
|
+
revision: 43b158b1fc209960643ca6baf5f883b186997e8d
|
22
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
23
|
+
repo_dir: gems
|
20
24
|
- name: monitor
|
21
25
|
version: '0'
|
22
26
|
source:
|
23
27
|
type: stdlib
|
24
|
-
- name: mutex_m
|
25
|
-
version: '0'
|
26
|
-
source:
|
27
|
-
type: stdlib
|
28
28
|
- name: optparse
|
29
29
|
version: '0'
|
30
30
|
source:
|
@@ -42,11 +42,11 @@ gems:
|
|
42
42
|
source:
|
43
43
|
type: git
|
44
44
|
name: ruby/gem_rbs_collection
|
45
|
-
revision:
|
45
|
+
revision: 43b158b1fc209960643ca6baf5f883b186997e8d
|
46
46
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
47
47
|
repo_dir: gems
|
48
48
|
- name: rbs
|
49
|
-
version: 3.
|
49
|
+
version: 3.9.4
|
50
50
|
source:
|
51
51
|
type: rubygems
|
52
52
|
- name: rdoc
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs-inline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03
|
10
|
+
date: 2025-10-03 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: prism
|
@@ -16,9 +16,6 @@ dependencies:
|
|
16
16
|
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '0.29'
|
19
|
-
- - "<"
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '1.3'
|
22
19
|
type: :runtime
|
23
20
|
prerelease: false
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,23 +23,20 @@ dependencies:
|
|
26
23
|
- - ">="
|
27
24
|
- !ruby/object:Gem::Version
|
28
25
|
version: '0.29'
|
29
|
-
- - "<"
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: '1.3'
|
32
26
|
- !ruby/object:Gem::Dependency
|
33
27
|
name: rbs
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
35
29
|
requirements:
|
36
30
|
- - ">="
|
37
31
|
- !ruby/object:Gem::Version
|
38
|
-
version: 3.
|
32
|
+
version: 3.8.0
|
39
33
|
type: :runtime
|
40
34
|
prerelease: false
|
41
35
|
version_requirements: !ruby/object:Gem::Requirement
|
42
36
|
requirements:
|
43
37
|
- - ">="
|
44
38
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.
|
39
|
+
version: 3.8.0
|
46
40
|
description: Inline RBS type declaration.
|
47
41
|
email:
|
48
42
|
- matsumoto@soutaro.com
|