Skip to content

Commit

Permalink
Add ostruct to Gemfile
Browse files Browse the repository at this point in the history
We are getting a warning about `ostruct` while running tests during
local development:

```
~/.asdf/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/rack-2.2.9/lib/rack/show_exceptions.rb:3: warning: ~/.asdf/installs/ruby/3.3.5/lib/ruby/3.3.0/ostruct.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
```

This commit adds `ostruct` to the `Gemfile` to clear the warning.
  • Loading branch information
smaboshe committed Sep 11, 2024
1 parent e3c4a77 commit 630a885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ gem "octokit"
gem "omniauth"
gem "omniauth-github"
gem "omniauth-rails_csrf_protection"
gem "ostruct"
gem "paperclip"
gem "pg"
gem "pg_search"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ GEM
omniauth-rails_csrf_protection (1.0.2)
actionpack (>= 4.2)
omniauth (~> 2.0)
ostruct (0.6.0)
paperclip (6.1.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
Expand Down Expand Up @@ -654,6 +655,7 @@ DEPENDENCIES
omniauth
omniauth-github
omniauth-rails_csrf_protection
ostruct
paperclip
pg
pg_search
Expand Down

0 comments on commit 630a885

Please sign in to comment.