method-ray 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23dc6a87888386dca19ac6c02c051df5712943cffd755ed29437117273347f51
4
- data.tar.gz: ba211cf132132316f6efa5fbfa5061df93ba9b81b0766192e85a25273720efd8
3
+ metadata.gz: 820b8ee8240aede2c29b705b08e9f14a0217b06ca6c0bee3d23f04872af018a5
4
+ data.tar.gz: d4e84dc8e271e79fead7bbfb06f9c9629fa071d168a2190c8ecdfb379ce1ca1f
5
5
  SHA512:
6
- metadata.gz: f485df1d4c80d86bdaa60e4ffb968fc919669e7df4142a91093a2b4004ce758112aeb701936f1e96b2a2a933724c7a38eb9cae982ae55994b664ac604f2c19e8
7
- data.tar.gz: ad0ab16ba07f4966ff06acde966527bfcac0a96e1a6b65563f5a82dc1454e541ed3c74a35fc8c950a15f662abe2ac00fb66809296c2b4761a9cc523ba3db71de
6
+ metadata.gz: 39c4e95d9804272232ba5eeb7db4742c26dfb18abb4e0df86b77ba105a3f5361ac64aee9bff27cacefd0a74b13a092d53f2a560a34b0b6fe4aecfbf06c0f4705
7
+ data.tar.gz: ef6996df6d735d1b94dfce807f921bcb894a8fa6c4d57b655b765dd50da066a81a36c387bdff3cbe646d186ca69477280276a7204f7c298887a593159c260228
data/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ 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.1] - 2026-05-03
9
+
10
+ ### Deprecated
11
+
12
+ - Deprecate `watch` subcommand ([#113](https://github.com/dak2/method-ray/pull/113))
13
+ - Deprecate `methodray-lsp` binary ([#116](https://github.com/dak2/method-ray/pull/116))
14
+
15
+ ### Fixed
16
+
17
+ - Fix gem name in README ([#115](https://github.com/dak2/method-ray/pull/115))
18
+
8
19
  ## [0.2.0] - 2026-04-05
9
20
 
10
21
  ### Added
data/README.md CHANGED
@@ -11,7 +11,7 @@ Method-Ray supports Ruby 3.4 or later.
11
11
  ## Installation
12
12
 
13
13
  ```bash
14
- gem install methodray
14
+ gem install method-ray
15
15
  ```
16
16
 
17
17
  ## Quick Start
@@ -23,13 +23,6 @@ gem install methodray
23
23
  bundle exec methodray check app/models/user.rb
24
24
  ```
25
25
 
26
- ### Watching for File Changes, Re-checking Methods
27
-
28
- ```bash
29
- # Watch a file for changes and re-check on save
30
- bundle exec methodray watch app/models/user.rb
31
- ```
32
-
33
26
  #### Example Usage
34
27
 
35
28
  `bundle exec methodray check app/models/user.rb`
data/core/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "methodray-core"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  edition = "2021"
5
5
 
6
6
  [lib]
@@ -12,6 +12,7 @@ name = "methodray"
12
12
  path = "src/main.rs"
13
13
  required-features = ["cli"]
14
14
 
15
+ # [DEPRECATED] methodray-lsp will be removed in a future version.
15
16
  [[bin]]
16
17
  name = "methodray-lsp"
17
18
  path = "src/lsp/main.rs"
data/core/src/cli/args.rs CHANGED
@@ -25,7 +25,7 @@ pub enum Commands {
25
25
  verbose: bool,
26
26
  },
27
27
 
28
- /// Watch a Ruby file and re-check on changes
28
+ /// [DEPRECATED] Watch a Ruby file and re-check on changes
29
29
  Watch {
30
30
  /// Ruby file to watch
31
31
  #[arg(value_name = "FILE")]
data/core/src/lsp/main.rs CHANGED
@@ -1,8 +1,11 @@
1
1
  //! LSP server binary entry point
2
+ //!
3
+ //! [DEPRECATED] methodray-lsp will be removed in a future version.
2
4
 
3
5
  use methodray_core::lsp;
4
6
 
5
7
  #[tokio::main]
6
8
  async fn main() {
9
+ eprintln!("WARNING: 'methodray-lsp' is deprecated and will be removed in a future version.");
7
10
  lsp::run_server().await;
8
11
  }
data/core/src/main.rs CHANGED
@@ -32,6 +32,7 @@ fn main() -> Result<()> {
32
32
  }
33
33
  }
34
34
  Commands::Watch { file } => {
35
+ eprintln!("WARNING: 'watch' is deprecated and will be removed in a future version.");
35
36
  commands::watch_file(&file)?;
36
37
  }
37
38
  Commands::Version => {
data/ext/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "methodray"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  edition = "2021"
5
5
 
6
6
  [lib]
data/ext/src/cli.rs CHANGED
@@ -19,6 +19,7 @@ fn main() -> Result<()> {
19
19
  }
20
20
  }
21
21
  Commands::Watch { file } => {
22
+ eprintln!("WARNING: 'watch' is deprecated and will be removed in a future version.");
22
23
  commands::watch_file(&file)?;
23
24
  }
24
25
  Commands::Version => {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MethodRay
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: method-ray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dak2