effective_bootstrap 1.16.0 → 1.16.1

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: cfe065669ae756a8e58b9ea357bd5e448ed4cf6e0033b5282134fff7413bb538
4
- data.tar.gz: b9506944db75b76c35c38b9b6c65d9140c66cb3e0c4fe64c1a859cc98fd504c8
3
+ metadata.gz: ccf7a54e3db3db623fce49bd558b72f39938d3c01bef4b5c06e0250e0b581946
4
+ data.tar.gz: 06aadcb37db501af97921a20a558e29a3693d8de08162cc2b621b305a015b36c
5
5
  SHA512:
6
- metadata.gz: 676f003a0a66e2550a2e78bcf5f14f5146b14cba6d1d8d543c986f692880da073d1e5236d1f2b6a583fb7007ea412b631e754379a9f15668fccf5c30936bc9a2
7
- data.tar.gz: cd94f9fe97ca0449deeaebf1d8bedc01d31d4cefe7da7aeaf301f84b5a912f7b97e2ade5c019b376168501d2f22b854043fdb3ad518b0893eb3f76c62666f993
6
+ metadata.gz: e378b4f94cb4bc226b8ce80a18703e8348f84d023ed61d6d9aecd03191ae7cbeb6ab71b7374553ec91dfa7d623f7a5ecff88a3e114fc302648da1aeec0431864
7
+ data.tar.gz: 3ca5c93e2c8207d8460f138036564d228baff8383fc14827df107f1f12e5f7c781ff7624a53338bd16e9978e1f4309a0dbbdb5629970d575ef1c032bbac49929
@@ -485,13 +485,13 @@ module EffectiveBootstrapHelper
485
485
  # Pagination Tags
486
486
  prev_tag = content_tag(:li, class: ['page-item', ('disabled' if page <= 1)].compact.join(' ')) do
487
487
  link_to(content_tag(:span, 'Previous'.html_safe), (page <= 1 ? '#' : url + params.merge('page' => page - 1).to_query),
488
- class: 'page-link', 'aria-label': 'Previous', title: 'Previous', 'aria-disabled': ('true' if page <= 1), 'tabindex': ('-1' if page <= 1)
488
+ class: 'page-link', 'aria-label': 'Previous', title: 'Previous', 'aria-disabled': ('true' if page <= 1), 'tabindex': ('-1' if page <= 1), 'rel': ('prev' unless page <= 1)
489
489
  )
490
490
  end
491
491
 
492
492
  next_tag = content_tag(:li, class: ['page-item', ('disabled' if page >= last)].compact.join(' ')) do
493
493
  link_to(content_tag(:span, 'Next'.html_safe), (page >= last ? '#' : url + params.merge('page' => page + 1).to_query),
494
- class: 'page-link', 'aria-label': 'Next', title: 'Next', 'aria-disabled': ('true' if page >= last), 'tabindex': ('-1' if page >= last)
494
+ class: 'page-link', 'aria-label': 'Next', title: 'Next', 'aria-disabled': ('true' if page >= last), 'tabindex': ('-1' if page >= last), 'rel': ('next' unless page >= last)
495
495
  )
496
496
  end
497
497
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '1.16.0'.freeze
2
+ VERSION = '1.16.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect