Skip to content

Commit

Permalink
Use new Error.subclass interface
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Dec 4, 2024
1 parent 0bc7832 commit 8ee5fde
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.0.5] - 2024-12-04

- Use new Error.subclass method interface

## [0.0.4] - 2024-12-03

- Convert entities into immutable models
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GIT
PATH
remote: .
specs:
foobara-remote-imports (0.0.4)
foobara-remote-imports (0.0.5)
foobara

GEM
Expand All @@ -28,7 +28,7 @@ GEM
docile (1.4.1)
dotenv (3.1.4)
ffi (1.17.0-x86_64-linux-gnu)
foobara (0.0.23)
foobara (0.0.26)
foobara-util
foobara-rubocop-rules (0.0.5)
rubocop
Expand Down
2 changes: 1 addition & 1 deletion src/foobara/remote_imports/import_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def build_error
end

Foobara::Error.subclass(
context_type_declaration: manifest_to_import.context_type_declaration,
context: manifest_to_import.context_type_declaration,
name: manifest_to_import.error_class,
symbol: manifest_to_import.symbol.to_sym,
base_error:,
Expand Down
2 changes: 1 addition & 1 deletion version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Foobara
module RemoteImports
VERSION = "0.0.4".freeze
VERSION = "0.0.5".freeze
end
end

0 comments on commit 8ee5fde

Please sign in to comment.