bridgetown-paginate 1.1.0.beta2 → 1.1.0.beta3

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: 41540a59898c91f946d01152c9aaa0213d0a211c2fcbf2a2f4611a18269cced3
4
- data.tar.gz: 850a23a0a5663d4440f3e4727871c1c0cee948dcc417c669fdc51ce4c4a030da
3
+ metadata.gz: 3cec767f60158855c156cabd8c95add74230811265af4f01653b3400f60c5d5a
4
+ data.tar.gz: eb5c56adfa80a672dd6e1faa7fac505c87d18d5d589e27e120e704e9d9c15e9c
5
5
  SHA512:
6
- metadata.gz: 9a050f2ce921a5a17904c9deef58b5d68bc0f227c9e1ea616327a517ac962d7dfc7d502f72ff09473f61ddefb9480253f26dc4b0994721e8c5775129d634335c
7
- data.tar.gz: ffebaa5ec7d7347360c829a28c123d3f543911fb3c74a2678339bee0e75475d9e5782a32592016a2220e9d5122636527d7ae96708a4c3cf8c9ec9e7bb561ad30
6
+ metadata.gz: edf1da239c4eed043279d46e936c9be96f8dc9d998a8fffea6a50b08440d0dbae2a5160d7e9f3c3b6b50d08f1c6acbf7f3d2da1f48d2efe1c545e119f0739531
7
+ data.tar.gz: 5caccdd573200bad1e96aae7639823415d97ef4db07acd5bfd8e993485b2cc190b53259c50ade8112bc28afdea75b10d85944da75b86c741dfe80ccfb97624b1
@@ -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.beta2
4
+ version: 1.1.0.beta3
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-06-28 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.beta2
19
+ version: 1.1.0.beta3
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.beta2
26
+ version: 1.1.0.beta3
27
27
  description:
28
28
  email: maintainers@bridgetownrb.com
29
29
  executables: []