method-ray 0.1.8-aarch64-linux → 0.1.10-aarch64-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 +38 -0
- data/README.md +9 -11
- data/lib/methodray/binary_locator.rb +2 -2
- data/lib/methodray/commands.rb +1 -1
- 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: 727708d17eb472425fa09fc18e0d3dabe979380848171393c0d8a32b5d8d710f
|
|
4
|
+
data.tar.gz: 03e65fb016fabe34ea0270b08261687b79608dd343e46ba6fd0ea9b74db74867
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ec6102ebb75b2d95e73c73ed3c96cca4529df82cfc9a370a17cedd7cd628c71471553ff279d7aab3a65e5dfb0a9c275f865a9615fc946e3c65316b5cb2f831a
|
|
7
|
+
data.tar.gz: bf45b775fbede0f48ba448a070c99034ee0d36e5248e68d6d227cb8fb4289b2628accef29a9f63f34c332dbe2aa029b5cb511b5f4e589ffac278d292518855b8
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ 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.1.10] - 2026-03-24
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Add safe navigation operator (`&.`) support ([#65](https://github.com/dak2/method-ray/pull/65))
|
|
13
|
+
- Add inheritance chain method resolution for user-defined classes ([#66](https://github.com/dak2/method-ray/pull/66))
|
|
14
|
+
- Add extend support for module methods as class methods ([#67](https://github.com/dak2/method-ray/pull/67))
|
|
15
|
+
- Add pull request template ([#82](https://github.com/dak2/method-ray/pull/82))
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- 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))
|
|
20
|
+
- 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))
|
|
21
|
+
- Simplify README to focus on core value proposition ([#76](https://github.com/dak2/method-ray/pull/76))
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- 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))
|
|
26
|
+
|
|
27
|
+
## [0.1.9] - 2026-03-15
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Add linter CI workflow for Clippy and RuboCop ([#61](https://github.com/dak2/method-ray/pull/61))
|
|
32
|
+
- Add unit tests for blocks and parameters analyzers ([#60](https://github.com/dak2/method-ray/pull/60))
|
|
33
|
+
- Add super call type inference support ([#59](https://github.com/dak2/method-ray/pull/59))
|
|
34
|
+
- Add for loop type inference support ([#58](https://github.com/dak2/method-ray/pull/58))
|
|
35
|
+
- Add module include support for mixin method resolution ([#57](https://github.com/dak2/method-ray/pull/57))
|
|
36
|
+
- Add complete multi-assignment type inference ([#56](https://github.com/dak2/method-ray/pull/56))
|
|
37
|
+
- Add auto-tagging workflow for release PR merges ([#53](https://github.com/dak2/method-ray/pull/53))
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Rename rust/ directory to core/ ([#55](https://github.com/dak2/method-ray/pull/55))
|
|
42
|
+
- Infer actual exception types in rescue clauses ([#54](https://github.com/dak2/method-ray/pull/54))
|
|
43
|
+
|
|
8
44
|
## [0.1.8] - 2026-03-09
|
|
9
45
|
|
|
10
46
|
### Added
|
|
@@ -123,6 +159,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
123
159
|
- Initial release
|
|
124
160
|
- `methodray check` - Static type checking for Ruby files
|
|
125
161
|
|
|
162
|
+
[0.1.10]: https://github.com/dak2/method-ray/releases/tag/v0.1.10
|
|
163
|
+
[0.1.9]: https://github.com/dak2/method-ray/releases/tag/v0.1.9
|
|
126
164
|
[0.1.8]: https://github.com/dak2/method-ray/releases/tag/v0.1.8
|
|
127
165
|
[0.1.7]: https://github.com/dak2/method-ray/releases/tag/v0.1.7
|
|
128
166
|
[0.1.6]: https://github.com/dak2/method-ray/releases/tag/v0.1.6
|
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"
|
|
@@ -21,8 +21,8 @@ module MethodRay
|
|
|
21
21
|
File.expand_path(@binary_name, LIB_DIR),
|
|
22
22
|
# Development: target/release (project root)
|
|
23
23
|
File.expand_path("../../target/release/#{@binary_name}", LIB_DIR),
|
|
24
|
-
# Development:
|
|
25
|
-
File.expand_path("../../
|
|
24
|
+
# Development: core/target/release (legacy standalone binary)
|
|
25
|
+
File.expand_path("../../core/target/release/#{@legacy_binary_name}", LIB_DIR)
|
|
26
26
|
]
|
|
27
27
|
end
|
|
28
28
|
end
|
data/lib/methodray/commands.rb
CHANGED
|
@@ -46,7 +46,7 @@ module MethodRay
|
|
|
46
46
|
warn 'Error: CLI binary not found.'
|
|
47
47
|
warn ''
|
|
48
48
|
warn 'For development, build with:'
|
|
49
|
-
warn ' cd
|
|
49
|
+
warn ' cd core && cargo build --release --bin methodray --features cli'
|
|
50
50
|
warn ''
|
|
51
51
|
warn 'If installed via gem, this might be a platform compatibility issue.'
|
|
52
52
|
warn 'Please report at: https://github.com/dak2/method-ray/issues'
|
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