Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/restpack_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
require 'restpack_serializer/factory'
require 'restpack_serializer/result'

Kaminari::Hooks.init

module RestPack
module Serializer
mattr_accessor :config
Expand Down
2 changes: 1 addition & 1 deletion lib/restpack_serializer/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module RestPack
module Serializer
VERSION = '0.5.9'
VERSION = '0.6.0'
end
end
2 changes: 1 addition & 1 deletion restpack_serializer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |gem|

gem.add_dependency 'activesupport', ['>= 4.0.3']
gem.add_dependency 'activerecord', ['>= 4.0.3']
gem.add_dependency 'kaminari', '~> 0.16.1'
gem.add_dependency 'kaminari', '>= 1.0', '< 2.0'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be safer for the upgrade, to still allow the a version before the 1.0 jump to still work (I based my suggestion on this PR where they updated it for Kaminari 1).

Suggested change
gem.add_dependency 'kaminari', '>= 1.0', '< 2.0'
gem.add_dependency 'kaminari', ['>= 0.17.0', '< 2.0']


gem.add_development_dependency 'restpack_gem', '~> 0.0.9'
gem.add_development_dependency 'rake', '~> 10.0.3'
Expand Down