method-ray 0.1.9-x86_64-linux → 0.2.0-x86_64-linux
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/CHANGELOG.md +42 -0
- data/README.md +9 -11
- data/lib/methodray/methodray-cli +0 -0
- data/lib/methodray/methodray.so +0 -0
- data/lib/methodray/rbs_cache.bin +0 -0
- data/lib/methodray/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4e2dfab16ba257769a6dda98a695fcf87349ff4b21ea1046a0edb80ef6a2fc0
|
|
4
|
+
data.tar.gz: c53f5fe58d1165251a0563b4352aaab6a376c9f8c4c7ae5ec7a4cc425fce889f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ce95d666255485bfdd808c0706ff14df1e6c5cbbcdc43c5d852b2954c141d7acd508febe9f2908f904c0eb1b2f517925fdf4a791f32cc5baa69b5a30cad6d0f
|
|
7
|
+
data.tar.gz: 94dd9307af04717dcb7ea4f5288b6f7cf12db37f4f1505cc47eb38f47b0a1f502bdb45d2f841db57fa76f6e6bbf1478b09027a6d17a0cc10b8f788395e37c1f1
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,46 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.0] - 2026-04-05
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Add pattern matching type inference ([#103](https://github.com/dak2/method-ray/pull/103))
|
|
13
|
+
- Add Lambda/Proc type inference support ([#104](https://github.com/dak2/method-ray/pull/104))
|
|
14
|
+
- Add compound assignment type inference ([#105](https://github.com/dak2/method-ray/pull/105))
|
|
15
|
+
- Add `defined?` type inference support ([#106](https://github.com/dak2/method-ray/pull/106))
|
|
16
|
+
- Add `yield` type inference support ([#107](https://github.com/dak2/method-ray/pull/107))
|
|
17
|
+
- Add control flow keyword support (`break`, `next`, `retry`, `redo`) ([#108](https://github.com/dak2/method-ray/pull/108))
|
|
18
|
+
- Add backtick string type inference ([#109](https://github.com/dak2/method-ray/pull/109))
|
|
19
|
+
- Add predicate type propagation to pattern variables in `case...in` ([#110](https://github.com/dak2/method-ray/pull/110))
|
|
20
|
+
- Add constant type inference support ([#102](https://github.com/dak2/method-ray/pull/102))
|
|
21
|
+
- Add global variable (`$var`) type tracking ([#100](https://github.com/dak2/method-ray/pull/100))
|
|
22
|
+
- Add class variable (`@@var`) type tracking ([#99](https://github.com/dak2/method-ray/pull/99))
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Fix uninitialized `@@var` reads silently skipping downstream type checking ([#101](https://github.com/dak2/method-ray/pull/101))
|
|
27
|
+
- Fix release workflow not triggered after tag push ([#88](https://github.com/dak2/method-ray/pull/88))
|
|
28
|
+
|
|
29
|
+
## [0.1.10] - 2026-03-24
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- Add safe navigation operator (`&.`) support ([#65](https://github.com/dak2/method-ray/pull/65))
|
|
34
|
+
- Add inheritance chain method resolution for user-defined classes ([#66](https://github.com/dak2/method-ray/pull/66))
|
|
35
|
+
- Add extend support for module methods as class methods ([#67](https://github.com/dak2/method-ray/pull/67))
|
|
36
|
+
- Add pull request template ([#82](https://github.com/dak2/method-ray/pull/82))
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- Migrate Rust integration tests to Ruby integration tests ([#68](https://github.com/dak2/method-ray/pull/68), [#69](https://github.com/dak2/method-ray/pull/69), [#70](https://github.com/dak2/method-ray/pull/70), [#71](https://github.com/dak2/method-ray/pull/71), [#72](https://github.com/dak2/method-ray/pull/72), [#73](https://github.com/dak2/method-ray/pull/73), [#74](https://github.com/dak2/method-ray/pull/74), [#75](https://github.com/dak2/method-ray/pull/75))
|
|
41
|
+
- Remove redundant Rust unit tests ([#77](https://github.com/dak2/method-ray/pull/77), [#78](https://github.com/dak2/method-ray/pull/78), [#80](https://github.com/dak2/method-ray/pull/80), [#83](https://github.com/dak2/method-ray/pull/83), [#84](https://github.com/dak2/method-ray/pull/84), [#85](https://github.com/dak2/method-ray/pull/85), [#86](https://github.com/dak2/method-ray/pull/86))
|
|
42
|
+
- Simplify README to focus on core value proposition ([#76](https://github.com/dak2/method-ray/pull/76))
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Fix release workflow to include gem assets in GitHub Release ([#63](https://github.com/dak2/method-ray/pull/63), [#64](https://github.com/dak2/method-ray/pull/64))
|
|
47
|
+
|
|
8
48
|
## [0.1.9] - 2026-03-15
|
|
9
49
|
|
|
10
50
|
### Added
|
|
@@ -140,6 +180,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
140
180
|
- Initial release
|
|
141
181
|
- `methodray check` - Static type checking for Ruby files
|
|
142
182
|
|
|
183
|
+
[0.2.0]: https://github.com/dak2/method-ray/releases/tag/v0.2.0
|
|
184
|
+
[0.1.10]: https://github.com/dak2/method-ray/releases/tag/v0.1.10
|
|
143
185
|
[0.1.9]: https://github.com/dak2/method-ray/releases/tag/v0.1.9
|
|
144
186
|
[0.1.8]: https://github.com/dak2/method-ray/releases/tag/v0.1.8
|
|
145
187
|
[0.1.7]: https://github.com/dak2/method-ray/releases/tag/v0.1.7
|
data/README.md
CHANGED
|
@@ -16,28 +16,26 @@ gem install methodray
|
|
|
16
16
|
|
|
17
17
|
## Quick Start
|
|
18
18
|
|
|
19
|
-
###
|
|
20
|
-
|
|
21
|
-
1. Install the [Method-Ray VSCode extension](https://github.com/dak2/method-ray-vscode)
|
|
22
|
-
2. Open a Ruby file in VSCode
|
|
23
|
-
3. Errors will be highlighted automatically
|
|
24
|
-
|
|
25
|
-
### CLI
|
|
19
|
+
### Checking Methods
|
|
26
20
|
|
|
27
21
|
```bash
|
|
28
22
|
# Check a single file
|
|
29
23
|
bundle exec methodray check app/models/user.rb
|
|
24
|
+
```
|
|
30
25
|
|
|
31
|
-
|
|
26
|
+
### Watching for File Changes, Re-checking Methods
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# Watch a file for changes and re-check on save
|
|
32
30
|
bundle exec methodray watch app/models/user.rb
|
|
33
31
|
```
|
|
34
32
|
|
|
35
|
-
#### Example
|
|
36
|
-
|
|
37
|
-
`methodray check <file>`: Performs static type checking on the specified Ruby file.
|
|
33
|
+
#### Example Usage
|
|
38
34
|
|
|
35
|
+
`bundle exec methodray check app/models/user.rb`
|
|
39
36
|
|
|
40
37
|
```ruby
|
|
38
|
+
# app/models/user.rb
|
|
41
39
|
class User
|
|
42
40
|
def greeting
|
|
43
41
|
name = "Alice"
|
data/lib/methodray/methodray-cli
CHANGED
|
Binary file
|
data/lib/methodray/methodray.so
CHANGED
|
Binary file
|
data/lib/methodray/rbs_cache.bin
CHANGED
|
Binary file
|
data/lib/methodray/version.rb
CHANGED