bridgetown-paginate 1.1.0.beta1 → 1.1.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: d8d7266c5e0dc1ca064eb708a40837bdc7d2b3ae8110271578e94f47a686f7f4
4
- data.tar.gz: 4a83ea0e7bd905b8dfeaa04275bf0fda96a8fd01ca8b9e4f0cad9af56980a32e
3
+ metadata.gz: aebf2bf904b652a9a051b42a53e9e1676b5d6be12797012615a0b8f3a43a2c8a
4
+ data.tar.gz: 83dfe8146b54dd2f55d0b844e15f2ac79b4ba9881b128fcae9cae4c04da414a8
5
5
  SHA512:
6
- metadata.gz: 3f7a48a98d34b3f12e45256268186c36199eabaa29ea771a23201d4423d8caf73d85043140c86ded5ad3f33120f5d057842aefe7ef4841710b3c0ccde92e3f04
7
- data.tar.gz: 785620faeb604237353ab31793a7dac6c645fad9c9897a43d5cfdb5b50f5bb291342a4f38d94c227deb055a735f4c2900c6f712db9f45372787c0d57ef691701
6
+ metadata.gz: 194c5a968d2d73a546aca9ea1359855b36949ac6468c06f242d735b66371b8f5096600d7b55704db0eae160eda9841a75a60e1439024be51c3875c85ce9ff82e
7
+ data.tar.gz: 227836d645db15ab22977e600c05f6a7242de71d3e31e6c488c7f34a23c3e6f3a00cd4f4630c44b97c4024c96ad7defc7df7c3e224cec87008d335133f0692c6
@@ -35,8 +35,8 @@ module Bridgetown
35
35
 
36
36
  # If disabled then simply quit
37
37
  unless default_config["enabled"]
38
- Bridgetown.logger.info "Pagination:", "disabled. Enable in site config" \
39
- " with pagination:\\n enabled: true"
38
+ Bridgetown.logger.info "Pagination:", "disabled. Enable in site config " \
39
+ "with pagination:\\n enabled: true"
40
40
  return
41
41
  end
42
42
 
@@ -33,8 +33,8 @@ module Bridgetown
33
33
  def run(default_config, templates, site_title) # rubocop:todo Metrics/AbcSize
34
34
  if templates.size.to_i <= 0
35
35
  @logging_lambda.call(
36
- "is enabled in the config, but no paginated pages found." \
37
- " Add 'pagination:\\n collection: <label>' to the front-matter of a page.",
36
+ "is enabled in the config, but no paginated pages found. " \
37
+ "Add 'pagination:\\n collection: <label>' to the front-matter of a page.",
38
38
  "warn"
39
39
  )
40
40
  return
@@ -28,8 +28,8 @@ module Bridgetown
28
28
  @total_pages = num_pages
29
29
 
30
30
  if @page > @total_pages
31
- raise "page number can't be greater than total pages:" \
32
- " #{@page} > #{@total_pages}"
31
+ raise "page number can't be greater than total pages: " \
32
+ "#{@page} > #{@total_pages}"
33
33
  end
34
34
 
35
35
  init = (@page - 1) * @per_page
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: 1.1.0.beta1
4
+ version: 1.1.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: 2022-06-02 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bridgetown-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.0.beta1
19
+ version: 1.1.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.1.0.beta1
26
+ version: 1.1.0
27
27
  description:
28
28
  email: maintainers@bridgetownrb.com
29
29
  executables: []
@@ -57,9 +57,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
57
  version: '0'
58
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 1.3.1
62
+ version: '0'
63
63
  requirements: []
64
64
  rubygems_version: 3.1.4
65
65
  signing_key: