kaminari-cells 0.1.0 → 1.0.2

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: fd82bf71c9ee812e6258d592a3244878518b911b
4
- data.tar.gz: cd6839483e1cc395e082de2070f39c6f6b966e2f
2
+ SHA256:
3
+ metadata.gz: 94b745a2f933722c94b8d38ef313dc81a4eedaf15bef55035eab29008e97abf4
4
+ data.tar.gz: 00b6afe4442c151775526c439ac04998a136dfa1839bb6668db8d71472436855
5
5
  SHA512:
6
- metadata.gz: c1a62c244a207fa82c9a7fc6f02800831732a2df2dfe075b19942a207ab92d01bd393660f5c85e8e890bb2a4081f1b245ddcb32698ea81fa1b2a4300f0ac0ffb
7
- data.tar.gz: 5f8b40d95c52b2410e050fc03370e7e60b5855f85c5ac70e5dbaeb58f47a8e8475e64d44060fd516ace69ac4b051161dd5939b80c7bfafe8a86e468e1ed833bb
6
+ metadata.gz: fb83f1dd97228c2e959a72b9b89d38e78ee5aa6f803a5dbafbc20fee979ca953cebfc51652654e94de35afbf6a0ba54ab6a23ad7161eb9785e8a29fe007fa845
7
+ data.tar.gz: c29108e2ef483e1894bb9d9c6f76ed2a55afc8ed2ed4a61e4fdd3b4227ce0574a1b5abafa6818331d18f6977110d05186ee513c5de09ba06e88978874197b2fe
data/CHANGES.md CHANGED
@@ -1,3 +1,12 @@
1
+ # 1.0.2
2
+
3
+ Remove ActionView load hook.
4
+
5
+ # 1.0.1
6
+
7
+ Add support for Rails 7 and Ruby 3.
8
+ Bump kaminari dependency to `kaminari ~> 1.2.0`.
9
+
1
10
  # 0.1.0
2
11
 
3
12
  Tighten dependency to `kaminari ~> 0.16.0` (previously was `kaminari >= 0.16.0`.
@@ -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", "~> 0.16.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 = "0.1.0"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -1,21 +1,19 @@
1
1
  require "cells"
2
- require "kaminari"
2
+ require "kaminari/helpers/helper_methods"
3
3
  require "kaminari/cells/version"
4
4
  require "cell/partial"
5
5
 
6
- ActiveSupport.on_load :action_view do
7
- module Kaminari
8
- module Helpers
9
- module CellsHelper
10
- include Kaminari::ActionViewExtension
11
- include ActionView::Helpers::OutputSafetyHelper
12
- include ActionView::Helpers::TranslationHelper
13
- include Cell::ViewModel::Partial
6
+ module Kaminari
7
+ module Helpers
8
+ module CellsHelper
9
+ include Kaminari::Helpers::HelperMethods
10
+ include ActionView::Helpers::OutputSafetyHelper
11
+ include ActionView::Helpers::TranslationHelper
12
+ include Cell::ViewModel::Partial
14
13
 
15
- def paginate(scope, options = {}, &block)
16
- options = options.reverse_merge(:views_prefix => "../views/")
17
- super
18
- end
14
+ def paginate(scope, **options, &block)
15
+ options = options.reverse_merge(:views_prefix => "../views/")
16
+ super
19
17
  end
20
18
  end
21
19
  end
@@ -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: 0.1.0
4
+ version: 1.0.2
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-12 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: 0.16.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: 0.16.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.0.3.1
189
188
  signing_key:
190
189
  specification_version: 4
191
190
  summary: Kaminari pagination in Cells.