Skip to content

Instantly share code, notes, and snippets.

View stefannibrasil's full-sized avatar
🌱
Be kind to all kinds

Stefanni Brasil stefannibrasil

🌱
Be kind to all kinds
View GitHub Profile
@stefannibrasil
stefannibrasil / linters.yml
Created April 30, 2022 03:32
GitHub Actions Workflow Rubocop Linter
name: Linter
on: [pull_request]
env:
RAILS_ENV: test
jobs:
rubocop:
name: Rubocop
@stefannibrasil
stefannibrasil / main.yml
Created April 30, 2022 03:28
GitHub Actions Workflow for a Rails 7 Tailwind CSS application
name: Rails specs
on: [pull_request]
env:
RAILS_ENV: test
jobs:
build:
runs-on: ubuntu-latest
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# branch with proposed bug fix
Error:
BugTest#test_active_storage_url_does_not_raise:
NoMethodError: undefined method `rails_disk_service_url' for #<Module:0x000056214bf78498>
Did you mean? rails_info_properties_url
/home/steff/.asdf/installs/ruby/2.7.0/lib/ruby/gems/2.7.0/gems/activestorage-6.1.3.1/lib/active_storage/service/disk_service.rb:129:in `generate_url'
/home/steff/.asdf/installs/ruby/2.7.0/lib/ruby/gems/2.7.0/gems/activestorage-6.1.3.1/lib/active_storage/service/disk_service.rb:107:in `private_url'
/home/steff/.asdf/installs/ruby/2.7.0/lib/ruby/gems/2.7.0/gems/activestorage-6.1.3.1/lib/active_storage/service.rb:118:in `block in url'
/home/steff/.asdf/installs/ruby/2.7.0/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3.1/lib/active_support/notifications.rb:203:in `block in instrument'
/home/steff/.asdf/installs/ruby/2.7.0/lib/ruby/gems/2.7.0/gems/activesupport-6.1.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'

Keybase proof

I hereby claim:

  • I am stefannibrasil on github.
  • I am sonequinhaz (https://keybase.io/sonequinhaz) on keybase.
  • I have a public key ASCAURFv6aHbSjFFib7aoGk478QdhLgOd-dPq59gkC_N-wo

To claim this, I am signing this object: