Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "method redefined" #23

Merged
merged 1 commit into from
Jun 12, 2024
Merged

fix "method redefined" #23

merged 1 commit into from
Jun 12, 2024

Conversation

kenchan
Copy link
Contributor

@kenchan kenchan commented Jun 12, 2024

I fixed it because the following warning appears when running it with Ruby 3.3.

❯ bundle exec rake
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/core_ext/hash.rb:2: warning: method redefined; discarding old slice
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/configurable.rb:50: warning: method redefined; discarding old slack_team
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/configurable.rb:54: warning: method redefined; discarding old slack_team=
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/configurable.rb:63: warning: method redefined; discarding old slack_token
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/userable.rb:5: warning: method redefined; discarding old users
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/userable.rb:15: warning: method redefined; discarding old guests
/home/kenchan/src/github.com/pepabo/arisaid/lib/arisaid/userable.rb:25: warning: method redefined; discarding old bots
Run options: --seed 45432

# Running:

............

Finished in 0.074746s, 160.5428 runs/s, 280.9499 assertions/s.

12 runs, 21 assertions, 0 failures, 0 errors, 0 skips

@kenchan kenchan merged commit b4d2550 into master Jun 12, 2024
4 checks passed
@kenchan kenchan deleted the fix-warning branch June 12, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant