-
The `RuboCop::Cop::RSpecRails::TravelAround` cop does not detect the following pattern:
```ruby
around do |example|
freeze_time(&example)
end
```
## Expected behavior
The cop should detec…
aki77 updated
2 weeks ago
-
This issue seems to be similar to #709 and #652, but slightly different. This is a pretty annoying problem when using Rubocop as it prefers Symbol#to_proc over blocks.
```sh
> steep --version
1.7…
-
### Usecase / What to achieve
Because this seems to me that it is more related to Capybara, but related to your docs, i post it as question here:
I want to use Playwright without Capybara DSL [l…
-
On version 0.8.10 (haven't tested master but code seems to be the same)
The block input and output rates are computed using pgpgin and pgpgout from `/proc/vmstat`:
https://github.com/landley/toybo…
-
I tried this code:
```rust
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
unsafe extern {
pub fn test();
}
```
I expected to see this happen: it should compile.
Instead, this happened: it fails …
-
# Overview
Within `lib/bgs/form686c.rb`
This block is only logging a warning when it should be raising the error.
```
begin
benefit_claim_id = benefit_claim_record[:benefit_claim_id]
…
-
Currently steep will exit with code `1` on warning:
```
Run ./.github/actions/lint/types
Run bundle exec steep check --jobs 5
# Type checking files:
..........................................…
-
What is better way how to define a function on RDD?
``` ruby
# as Proc
rdd.map(lambda{|x| x*2})
# as block
rdd.map {|x| x*2}
```
Which method should be supported?
**As Proc:**
- the same way as in…
-
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:153:in `new': tried to create Proc object without a block (ArgumentError)
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/ge…
-
Moved from https://github.com/ruby/rbs/issues/298.
Thanks @timhatch for reporting an issue. I think it's a problem more related to Steep than RBS and moved to here. The question is the following co…