Skip to content

Commit

Permalink
Add net-smtp for Ruby 3.1 or higher (#65)
Browse files Browse the repository at this point in the history
I got the following error in Ruby 3.1.

```
ruby -v
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
```

```
/app/lib/groonga-query-log/command/run-regression-test.rb:24:in `require': cannot load such file -- net/smtp (LoadError)
	from /app/lib/groonga-query-log/command/run-regression-test.rb:24:in `<top (required)>'
	from bin/groonga-query-log-run-regression-test:20:in `require'
	from bin/groonga-query-log-run-regression-test:20:in `<main>'
```

---------

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
abetomo and kou authored Apr 4, 2024
1 parent 362a2dd commit 96e631b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
steps:
- uses: actions/checkout@v4
- name: Set up Groonga APT repository
Expand Down
1 change: 1 addition & 0 deletions groonga-query-log.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Gem::Specification.new do |spec|

spec.add_runtime_dependency("charty")
spec.add_runtime_dependency("diff-lcs")
spec.add_runtime_dependency("net-smtp")
spec.add_runtime_dependency("groonga-client", ">= 0.6.2")
spec.add_runtime_dependency("groonga-log", ">= 0.1.2")

Expand Down

0 comments on commit 96e631b

Please sign in to comment.