johansenja

Results 9 issues of johansenja

### Problem this feature will solve Currently, I can create a factory like this: ```ruby FactoryBot.define do factory :a do my_json_column do { "a" => 1, "b" => 2, "c"...

feature

Let's say I have the following example: ``` # @type var a: [ 1,2,3 ] # @type var b: Array[{ a: Integer, b: bool }] a = [1, 2, 3]...

bug

My current setup doesn't seem to autformat .rake files on save, (I use `:Rufo` manually). Maybe I am missing something, but is there an easy way to configure this?

bug

The currently links don't go anywhere, but now they should 😄

This PR implements a new method called `Hash#keys_of`: ```ruby h = { c: 1, b: 0, a: 1, d: 5 } h.keys_of 1 # => [ :c, :a ] ```...

### Q&A - OS: macOS - Browser: Firefox 120.0b8 - Version: N/A - Method of installation: N/A - Swagger-Editor version: The version currently [2024-01-12] on https://editor-next.swagger.io/ and https://editor.swagger.io/ - Swagger/OpenAPI...

In React, you can do this: ```ts const [myState, setMyState] = useState(["hello"]); setMyState(prevVal => [...prevVal, "world"]); ``` whereas currently in storybook-addon-state you can only do ```ts const [myState, setMyState] =...

### Background Brakeman version: 6.1.2 Rails version: 7.0.8.4 Ruby version: 3.2.2 Link to Rails application code: https://github.com/johansenja/brakeman-erb-test ### Issue `Evaluation` check doesn't seem to be running. Judging by https://github.com/presidentbeef/brakeman/blob/main/lib/brakeman/checks/check_evaluation.rb, it...

## Context If you have privacyRedirect installed in your browser, any embedded youtube videos are automatically replaced by an invidious equivalent on pages you visit. The trouble is, often embeds...