ZIm/extensions/ruby/languages/ruby
Vitaly Slobodin a600799840
ruby: Remove outline for running tests (#12642)
Hi, this pull request superseeds the
https://github.com/zed-industries/zed/pull/12624
and removes queries for runnables from `outline.scm`. This pull request
has couple things to mention:

- Removed task for running tests with `minitest` as I think it's not
reliable in its state because, AFAIK, the only way to run `minitest`
with the specific line, i.e. `bundle exec rake test
spec/models/some_model.rb:12` is to use it with Rails. The support for
`minitest` is still there and users can add their own task, for
instance, when they use `minitest` in Rails to get support for running
tests:

  ```json
  {
    "label": "test $ZED_RELATIVE_FILE:$ZED_ROW",
    "command": "./bin/rails",
    "args": ["test", "\"$ZED_RELATIVE_FILE:$ZED_ROW\""],
    "tags": ["minitest-test"]
  }
  ```

**Question:** Perhaps that should be mentioned in the Ruby extension
documentation?

- Adjusted runnables queries to work without `ZED_SYMBOL`.

Release Notes:

- N/A
2024-06-10 18:04:43 +02:00
..
brackets.scm Extract Ruby extension (#11360) 2024-05-10 11:53:11 -04:00
config.toml ruby: Allow opt-in to Tailwind LS in string (#12742) 2024-06-06 19:02:25 +02:00
embedding.scm Extract Ruby extension (#11360) 2024-05-10 11:53:11 -04:00
highlights.scm Extract Ruby extension (#11360) 2024-05-10 11:53:11 -04:00
indents.scm ruby: Add proper indentation for singleton methods (#12535) 2024-05-31 11:36:42 -04:00
injections.scm ruby: Add a new injection for regular expressions (#12533) 2024-05-31 12:02:59 -04:00
outline.scm ruby: Remove outline for running tests (#12642) 2024-06-10 18:04:43 +02:00
overrides.scm Extract Ruby extension (#11360) 2024-05-10 11:53:11 -04:00
runnables.scm ruby: Remove outline for running tests (#12642) 2024-06-10 18:04:43 +02:00
tasks.json ruby: Remove outline for running tests (#12642) 2024-06-10 18:04:43 +02:00