Skip to content

Commit

Permalink
Bump to 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquena committed Oct 14, 2022
1 parent dd8566b commit 4aad1e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG for Beaneater

## 1.1.3 (Oct 14 2022)

* Fixes issue introduced in 1.1.2 re YML parsing (@pond)
* Fix job lookup test so it passes again

## 1.1.2 (Oct 10 2022)

* Fixes beaneater when used with Ruby 3.1 and YAML 4 (@pond)
Expand Down
2 changes: 1 addition & 1 deletion lib/beaneater/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Beaneater
# Current version of gem.
VERSION = "1.1.2"
VERSION = "1.1.3"
end
8 changes: 6 additions & 2 deletions test/jobs_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
assert_equal "foo find #{@time}", @jobs.find(@job.id).body
end

it "should return nil for invalid id" do
assert_nil @jobs.find(-1)
it "should return nil for invalid negative id" do
assert_nil @jobs.find(10000)
end

it "should return nil for invalid negative id" do
assert_raises(Beaneater::BadFormatError) { @jobs.find(-1) }
end
end # find

Expand Down

0 comments on commit 4aad1e4

Please sign in to comment.