Skip to content

Commit

Permalink
Bump 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 23, 2024
1 parent ed65e4c commit 09a9181
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## master (unreleased)

## 1.3.1 (2024-10-23)

- Fix `rails destroy logidze:model SomeModel` not deleting the `fx` trigger file file. ([@tylerhunt][])

- Support sorting of trigger names alphabetically (defaults to false)
Expand Down
6 changes: 5 additions & 1 deletion lib/generators/logidze/model/model_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ def previous_version

def next_version
version = previous_version
(behavior == :invoke ? version&.next : version) || 1
if behavior == :invoke
version&.next || 1
else
version || 1
end
end

def all_triggers
Expand Down
2 changes: 1 addition & 1 deletion lib/logidze/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Logidze
VERSION = "1.3.0"
VERSION = "1.3.1"
end

0 comments on commit 09a9181

Please sign in to comment.