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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 922005c45c006cf1b4991ef81a4997cdab73fd70697c9ecfc229e49430f83ac4
4
- data.tar.gz: 9336acd2e4612ed37b3ca302093742063fadcbc589e88af8b52d3123b8f65123
3
+ metadata.gz: d8a8385f6d5844b769756ea90e4c2c3b270d7a67b257d50896a973dc0609b7e7
4
+ data.tar.gz: 9726103fba4eb3902ed02d443b6b2cfcdf4061598371a8066155c07cb508ae5d
5
5
  SHA512:
6
- metadata.gz: 5b4951a8d8c71abaa01fae4ce9dd90137ede01cf5d222560f69f7accbd2a639eef914e0dde8ec45d54aba60aad70a392ab44413f91deb3a8c766541a9b299d85
7
- data.tar.gz: a2b2c4838aa1c3f8b9f1b8fafa10c0abd9595363797eeea5021025953c57bba1cbd61d1264a1619faa1d7bd790c3f7d24bd0d3e17575684b9e56ecf6485a2404
6
+ metadata.gz: 61f353be372be75b852f2f0bba8a418c87f4d0d5f19c6040fbe4c6ac448692c89ce28f373682d22c47b4ac1010335741dde1990b3a88339c262a0e29ae24a2fa
7
+ data.tar.gz: fb867c32a6fa44da2b02aacb024f8faabb6b7a80912dbb6cb1d0e0ee2e840d6351af4b3d345c57dcad38604ddc5fa1c1a7bf2254e14ff5abaafca9bf4231f9d3
@@ -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.13.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-06 00:00:00.000000000 Z
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.13.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.13.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
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper