bridgetown-paginate 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bridgetown-paginate.gemspec +1 -1
- data/lib/bridgetown-paginate/hooks.rb +1 -1
- metadata +5 -6
- data/.rspec +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a8385f6d5844b769756ea90e4c2c3b270d7a67b257d50896a973dc0609b7e7
|
4
|
+
data.tar.gz: 9726103fba4eb3902ed02d443b6b2cfcdf4061598371a8066155c07cb508ae5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61f353be372be75b852f2f0bba8a418c87f4d0d5f19c6040fbe4c6ac448692c89ce28f373682d22c47b4ac1010335741dde1990b3a88339c262a0e29ae24a2fa
|
7
|
+
data.tar.gz: fb867c32a6fa44da2b02aacb024f8faabb6b7a80912dbb6cb1d0e0ee2e840d6351af4b3d345c57dcad38604ddc5fa1c1a7bf2254e14ff5abaafca9bf4231f9d3
|
data/bridgetown-paginate.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.author = "Bridgetown Team"
|
9
9
|
spec.email = "maintainers@bridgetownrb.com"
|
10
10
|
spec.summary = "A Bridgetown plugin to add pagination support for posts and collection indices."
|
11
|
-
spec.homepage = "https://github.com/bridgetownrb/bridgetown-paginate"
|
11
|
+
spec.homepage = "https://github.com/bridgetownrb/bridgetown/tree/master/bridgetown-paginate"
|
12
12
|
spec.license = "MIT"
|
13
13
|
|
14
14
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features)/!) }
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
Bridgetown::Hooks.register :pages, :post_init do |page|
|
3
|
+
Bridgetown::Hooks.register :pages, :post_init, reloadable: false do |page|
|
4
4
|
if page.class != Bridgetown::Paginate::PaginationPage &&
|
5
5
|
page.site.config.dig("pagination", "enabled") &&
|
6
6
|
page.data.dig("pagination", "enabled")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown-paginate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bridgetown-core
|
@@ -16,21 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.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.
|
26
|
+
version: 0.14.0
|
27
27
|
description:
|
28
28
|
email: maintainers@bridgetownrb.com
|
29
29
|
executables: []
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
- ".rspec"
|
34
33
|
- ".rubocop.yml"
|
35
34
|
- Rakefile
|
36
35
|
- bridgetown-paginate.gemspec
|
@@ -43,7 +42,7 @@ files:
|
|
43
42
|
- lib/bridgetown-paginate/pagination_page.rb
|
44
43
|
- lib/bridgetown-paginate/paginator.rb
|
45
44
|
- lib/bridgetown-paginate/utils.rb
|
46
|
-
homepage: https://github.com/bridgetownrb/bridgetown-paginate
|
45
|
+
homepage: https://github.com/bridgetownrb/bridgetown/tree/master/bridgetown-paginate
|
47
46
|
licenses:
|
48
47
|
- MIT
|
49
48
|
metadata: {}
|
data/.rspec
DELETED