Skip to content

Commit

Permalink
Bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Nov 28, 2019
1 parent 8d13b68 commit 9acd717
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 3.3.0 ##

* Fix caching issue with settings pagination

*[@asko-ohmann]*
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
sail (3.2.4)
sail (3.3.0)
fugit
jquery-rails
rails
Expand Down
2 changes: 1 addition & 1 deletion app/models/sail/setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class UnexpectedCastType < StandardError; end

after_initialize :instantiate_caster

scope :paginated, lambda { |page, per_page| offset(page.to_i * per_page).limit(per_page) }
scope :paginated, ->(page, per_page) { offset(page.to_i * per_page).limit(per_page) }

scope :by_query, lambda { |query|
if cast_types.key?(query) || query == Sail::ConstantCollection::STALE
Expand Down
2 changes: 1 addition & 1 deletion lib/sail/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Sail
VERSION = "3.2.4"
VERSION = "3.3.0"
end

0 comments on commit 9acd717

Please sign in to comment.