kaminari-cells 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c297a5829f59630ae8de741d665997de93c61466
4
- data.tar.gz: deb84ba06a8cb5a593b8ccb65d0174c235bff15f
2
+ SHA256:
3
+ metadata.gz: 6e1de52baf3f4136f8de0bf664b79d14206a225c0f87ccc6fe4785139a6bf229
4
+ data.tar.gz: 5b031405a187e2bcc2b938f2e29df82ceb3c63d0a7e922abcfec730c5cf56173
5
5
  SHA512:
6
- metadata.gz: 51418be8a4f502aacac9d023e1a0662420e3f3314fb5a5e93f2f8e696e9211320f56b9a3efec2e4f0d8b87b7a746d410e02597a4bd2990c1978cc32aea8f5ac7
7
- data.tar.gz: c4c65d2fe3f9671967113a0e517652bc77e765f706cc4cfd8942a4f4907a044257b629df59ff47ff79932801345c0392678ada679816df2f18f866a80aefb493
6
+ metadata.gz: e0043854ab708f0d73523a3741629f5dfbda0be09f19a5f7f6ab440aa37967a3be991374b87a40f10d4843b176eeeb23a4e2dbc640b6954a85448e096199f72d
7
+ data.tar.gz: 0732246e5263e1ec74edf38246cd8668e0168884f257a1ed9e7923178728e58e08e8f4f8de4bbe4a50309a6c08fbca2ac74774a4ea6d5b9ca95f9586d3c3ebab
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.0.1
2
+
3
+ Add support for Rails 7 and Ruby 3.
4
+ Bump kaminari dependency to `kaminari ~> 1.2.0`.
5
+
1
6
  # 0.1.0
2
7
 
3
8
  Tighten dependency to `kaminari ~> 0.16.0` (previously was `kaminari >= 0.16.0`.
data/README.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  _Use Kaminari in Cells._
4
4
 
5
+
5
6
  ## Installation
6
7
 
7
8
  Add this line to your application's Gemfile:
8
9
 
9
10
  gem 'kaminari-cells'
10
11
 
11
- For Kaminari `1.0.*`, use kaminari-cells `1.0.0` or higher. For Kaminari versions lower than `1.0.0`, use kaminari-cells `0.1.*`.
12
12
 
13
13
  ## Usage
14
14
 
@@ -19,4 +19,4 @@ To use the wonderful [Kaminari](https://github.com/amatsuda/kaminari) gem in you
19
19
  include Kaminari::Cells
20
20
  ```
21
21
 
22
- You can now use `#paginate` in your cell and it will work.
22
+ You can now use `#paginate` in your cell and it will work.
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "kaminari", "~> 1.0.0"
21
+ spec.add_dependency "kaminari", "~> 1.2.0"
22
22
  spec.add_dependency "cells", ">= 4.0.0", "<= 5.0.0"
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  spec.add_development_dependency "cells-erb"
@@ -1,5 +1,5 @@
1
1
  module Kaminari
2
2
  module Cells
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -12,13 +12,12 @@ ActiveSupport.on_load :action_view do
12
12
  include ActionView::Helpers::TranslationHelper
13
13
  include Cell::ViewModel::Partial
14
14
 
15
- def paginate(scope, options = {}, &block)
15
+ def paginate(scope, **options, &block)
16
16
  options = options.reverse_merge(:views_prefix => "../views/")
17
17
  super
18
18
  end
19
19
  end
20
20
  end
21
21
  end
22
+ require 'kaminari/cells'
22
23
  end
23
-
24
- require 'kaminari/cells'
@@ -4,7 +4,7 @@ require "cells-rails"
4
4
  require 'kaminari-cells'
5
5
 
6
6
  require 'action_controller/railtie'
7
- require 'action_view/railtie'
7
+ require 'action_view/base'
8
8
  require 'active_record'
9
9
 
10
10
  # config
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaminari-cells
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-21 00:00:00.000000000 Z
11
+ date: 2022-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
26
+ version: 1.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cells
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -184,8 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  requirements: []
187
- rubyforge_project:
188
- rubygems_version: 2.6.11
187
+ rubygems_version: 3.1.2
189
188
  signing_key:
190
189
  specification_version: 4
191
190
  summary: Kaminari pagination in Cells.