effective_bootstrap 0.5.10 → 0.5.11

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: 622f48ff1dd4abc8aa2bc13302d93cc876961b8888d8a9a47f51556e04e88657
4
- data.tar.gz: 18cf439e3d4ee14b499cff5d77e37968d9c760a1503ca39f81b3cbb7bc563b26
3
+ metadata.gz: 37e0294126b30396a410da94ffc00f811308847610960610c76747db6e7757a4
4
+ data.tar.gz: 5430d972f13631c02fe59916c1bff73a44ec4bafa6f1f4cd5f86423926acfbab
5
5
  SHA512:
6
- metadata.gz: 990e58244b6ce1bf096fed20f2b8a6bea4ae91f4604c89e08bdab3273cae0b7859561ed724d3b57169c70e0cbf75f483c1db17e8def9e5a193b820ea556038a4
7
- data.tar.gz: 4149d82536f0b9027b65c01cbc10c6c503ab1a59ad220f31581e1f4e48aaf32a52c65f2aaee1f904d2acf69e06d22d6d5911fa16d4bc62402c3c5661d304cf1d
6
+ metadata.gz: 6b34b06416a0137ee83f6680253b12651790c2b5df601f164db0707893fe18ecb6213b2d8c264577251b7250fbead9b733e254d871474f086069f16a41ea7397
7
+ data.tar.gz: d5aea572cb207f06e8c54fae959f19ffce32057cf01b44cb8925cd8279d1057beccf76edee9a5644675f56658274b9f79bfac503199b27045a9905772b865846
@@ -218,7 +218,7 @@ module EffectiveBootstrapHelper
218
218
  end
219
219
  end.join.html_safe +
220
220
  content_tag(:li, class: ['page-item', ('disabled' if page >= last)].compact.join(' ')) do
221
- link_to(url + params.merge('page' => page + 1).to_query, class: 'page-link', 'aria-label': 'Next', title: 'Next') do
221
+ link_to((page >= last ? '#' : url + params.merge('page' => page + 1).to_query), class: 'page-link', 'aria-label': 'Next', title: 'Next') do
222
222
  content_tag(:span, '»'.html_safe, 'aria-hidden': true) + content_tag(:span, 'Next', class: 'sr-only')
223
223
  end
224
224
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.5.10'.freeze
2
+ VERSION = '0.5.11'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails