will_paginate_bootstrp 0.3.2 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75520e0f770d9c49c20a7bbf9f54a110724d06dd76eac905d5cfa300bb8a7360
4
- data.tar.gz: 6f4d78885c68b717a0783cf2f073ffea75e95860d7d526ec01991dea2d9e2fff
3
+ metadata.gz: 6f58b4c9b8ceb5ab802a5be587efc0b148db0d5b73d20ff71ff0015eb34f1038
4
+ data.tar.gz: a648b7b7a7710d99ab0ca191198403fb396301afaf914126a4bc142f3fcec4ff
5
5
  SHA512:
6
- metadata.gz: b8642804ba9de47c5a979c43505c8b8fc7549a9fffdd6d22e3f31f36d39e96910721bdfccdc01d70009091402ae2c50de90f288a7a1938ac5739ee465e1a65f5
7
- data.tar.gz: 8e26416a8484a3c8093c4e7d09a458fddd01bfbe4640e9ec22e1461784230249ab3c33777a6d7dfe72a8de028c21d39872b2012305dd4d56e21fed4536e54477
6
+ metadata.gz: 5692e28a3ab1e966f76806cb420115238eb558cb19e55154e6dcd16e01b8fe8ad846e1f4e990cf40ae3b7e5001cb61573ccb3aba2b5a40afcdd2ba39787b1c46
7
+ data.tar.gz: 1986c8fa1bd2e0e4e3efacd23fe54bab7093d2308ab7e5eb8331909dfec9fe1e56de39bc50377c9d391ff464f3d81483b16a97e8c5a312521dc556a1811f185e
@@ -11,7 +11,7 @@ module WillPaginate
11
11
 
12
12
  options = options.symbolize_keys
13
13
  options[:renderer] ||= WillPaginateBootstrp::Renderer
14
- options[:list_classes] ||= ['pagination']
14
+ options[:list_classes] ||= [WillPaginateBootstrp::Renderer::CLASS_NAME]
15
15
  options[:previous_label] ||= WillPaginateBootstrp::Renderer::PREVIOUS_LABEL
16
16
  options[:next_label] ||= WillPaginateBootstrp::Renderer::NEXT_LABEL
17
17
 
@@ -7,6 +7,7 @@ module WillPaginateBootstrp
7
7
  ELLIPSIS = "…" # hellip means horizontal ellipsis and is used to denote … (i.e. three dots)
8
8
  NEXT_LABEL = "→" # →
9
9
  PREVIOUS_LABEL = "←" # ←
10
+ CLASS_NAME = "pagination" # used as a default className
10
11
 
11
12
  def to_html
12
13
  html = pagination.map do |item|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WillPaginateBootstrp
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_paginate_bootstrp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergii Demianchuk
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: will_paginate
@@ -39,7 +39,7 @@ homepage: https://github.com/systemu-net/will_paginate_bootstrp
39
39
  licenses:
40
40
  - MIT
41
41
  metadata: {}
42
- post_install_message:
42
+ post_install_message:
43
43
  rdoc_options: []
44
44
  require_paths:
45
45
  - lib
@@ -54,8 +54,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubygems_version: 3.4.1
58
- signing_key:
57
+ rubygems_version: 3.1.6
58
+ signing_key:
59
59
  specification_version: 4
60
60
  summary: Integrates Twitter Bootstrap pagination component with will_paginate gem
61
61
  test_files: []