will_paginate_semantic_ui 2.1.0 → 2.1.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
- SHA1:
3
- metadata.gz: fc883d7585180f6eb62b455ee97ea8c427ff5cdb
4
- data.tar.gz: 5546e7b07f2b564f359e1ef8403fc16ba66f50e4
2
+ SHA256:
3
+ metadata.gz: e25d25cff9dc75752fb3cb8f9de3fa1b954046f0b96b7238003e49334c678c8a
4
+ data.tar.gz: 3d436d570784de9b9408e7177faba68179293b42960c5cca0a1fb02c0de9aea1
5
5
  SHA512:
6
- metadata.gz: dd99e970c0e288a296dcacfb64a393fde2928fe672afd926337ed91e0449acf89231228ae29fdd0da2c873ef577b09943bc79e341c625033144ede5092aac59a
7
- data.tar.gz: 8555ce43c95853be912e66c87828b1b16bc63980842e5575801eb932f0e50a4c603cfa3edd60476102331991353275e8be9a74581cf5eb837e90c6a46010a62f
6
+ metadata.gz: '0699574d8a60773af80364dbb16c1c7f179b32c5a457c73997952d54fb1fab66b6aaaa0349eccad0693d2deb7f373fca950d98f2cc71e6743112d470a0a9e1e7'
7
+ data.tar.gz: dcdbac423ef454f9017e30bd48f04bfdf4deb59c99b63c7d27e21c239a825fcf40a9e06d780493e8da6abaee78aa5043fd90849707ab70404175df8b5d6e4f62
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.1.2
1
+ ruby-3.3.8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.1
4
+
5
+ - Fixes the deprecated Fixnum class
6
+
3
7
  ## 2.1.0
4
8
 
5
9
  - Avoid creation of `/false` links when that page not exists. (For more details: https://github.com/rafaelbiriba/will_paginate_semantic_ui/pull/1 )
data/Gemfile.lock CHANGED
@@ -1,54 +1,77 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- will_paginate_semantic_ui (2.1.0)
4
+ will_paginate_semantic_ui (2.1.1)
5
5
  will_paginate (> 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- byebug (9.0.5)
11
- coveralls (0.8.14)
10
+ bigdecimal (3.2.2)
11
+ byebug (12.0.0)
12
+ coveralls (0.8.23)
12
13
  json (>= 1.8, < 3)
13
- simplecov (~> 0.12.0)
14
+ simplecov (~> 0.16.1)
14
15
  term-ansicolor (~> 1.3)
15
- thor (~> 0.19.1)
16
- tins (~> 1.6.0)
17
- diff-lcs (1.2.5)
18
- docile (1.1.5)
19
- json (2.0.1)
20
- mini_portile2 (2.1.0)
21
- nokogiri (1.6.8)
22
- mini_portile2 (~> 2.1.0)
23
- pkg-config (~> 1.1.7)
24
- pkg-config (1.1.7)
25
- rake (11.2.2)
26
- rspec (3.5.0)
27
- rspec-core (~> 3.5.0)
28
- rspec-expectations (~> 3.5.0)
29
- rspec-mocks (~> 3.5.0)
30
- rspec-core (3.5.1)
31
- rspec-support (~> 3.5.0)
32
- rspec-expectations (3.5.0)
16
+ thor (>= 0.19.4, < 2.0)
17
+ tins (~> 1.6)
18
+ diff-lcs (1.6.2)
19
+ docile (1.4.1)
20
+ json (2.12.2)
21
+ nokogiri (1.18.8-aarch64-linux-gnu)
22
+ racc (~> 1.4)
23
+ nokogiri (1.18.8-aarch64-linux-musl)
24
+ racc (~> 1.4)
25
+ nokogiri (1.18.8-arm-linux-gnu)
26
+ racc (~> 1.4)
27
+ nokogiri (1.18.8-arm-linux-musl)
28
+ racc (~> 1.4)
29
+ nokogiri (1.18.8-arm64-darwin)
30
+ racc (~> 1.4)
31
+ nokogiri (1.18.8-x86_64-darwin)
32
+ racc (~> 1.4)
33
+ nokogiri (1.18.8-x86_64-linux-gnu)
34
+ racc (~> 1.4)
35
+ nokogiri (1.18.8-x86_64-linux-musl)
36
+ racc (~> 1.4)
37
+ racc (1.8.1)
38
+ rake (13.3.0)
39
+ rspec (3.13.1)
40
+ rspec-core (~> 3.13.0)
41
+ rspec-expectations (~> 3.13.0)
42
+ rspec-mocks (~> 3.13.0)
43
+ rspec-core (3.13.4)
44
+ rspec-support (~> 3.13.0)
45
+ rspec-expectations (3.13.5)
33
46
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.5.0)
35
- rspec-mocks (3.5.0)
47
+ rspec-support (~> 3.13.0)
48
+ rspec-mocks (3.13.5)
36
49
  diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.5.0)
38
- rspec-support (3.5.0)
39
- simplecov (0.12.0)
40
- docile (~> 1.1.0)
50
+ rspec-support (~> 3.13.0)
51
+ rspec-support (3.13.4)
52
+ simplecov (0.16.1)
53
+ docile (~> 1.1)
41
54
  json (>= 1.8, < 3)
42
55
  simplecov-html (~> 0.10.0)
43
- simplecov-html (0.10.0)
44
- term-ansicolor (1.3.2)
56
+ simplecov-html (0.10.2)
57
+ sync (0.5.0)
58
+ term-ansicolor (1.11.2)
45
59
  tins (~> 1.0)
46
- thor (0.19.1)
47
- tins (1.6.0)
48
- will_paginate (3.1.0)
60
+ thor (1.3.2)
61
+ tins (1.38.0)
62
+ bigdecimal
63
+ sync
64
+ will_paginate (4.0.1)
49
65
 
50
66
  PLATFORMS
51
- ruby
67
+ aarch64-linux-gnu
68
+ aarch64-linux-musl
69
+ arm-linux-gnu
70
+ arm-linux-musl
71
+ arm64-darwin
72
+ x86_64-darwin
73
+ x86_64-linux-gnu
74
+ x86_64-linux-musl
52
75
 
53
76
  DEPENDENCIES
54
77
  bundler
@@ -60,4 +83,4 @@ DEPENDENCIES
60
83
  will_paginate_semantic_ui!
61
84
 
62
85
  BUNDLED WITH
63
- 1.14.4
86
+ 2.6.9
@@ -4,7 +4,7 @@ module WillPaginateSemanticUi
4
4
 
5
5
  def to_html
6
6
  list_items = pagination.map do |item|
7
- item.class == Fixnum ? page_number(item) : send(item)
7
+ item.class == Integer ? page_number(item) : send(item)
8
8
  end.join(@options[:link_separator])
9
9
 
10
10
  tag("div", list_items, class: ul_class)
@@ -1,3 +1,3 @@
1
1
  module WillPaginateSemanticUi
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
@@ -31,10 +31,6 @@ describe WillPaginateSemanticUi::GenericRenderer do
31
31
  expect(html.at_css('div.disabled.item')).not_to be_nil
32
32
  end
33
33
 
34
- it "has one item with rel start value" do
35
- expect(html.css('[rel~=start]').size).to eql 1
36
- end
37
-
38
34
  it "has two items with rel prev value" do
39
35
  expect(html.css('[rel~=prev]').size).to eql 2
40
36
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_paginate_semantic_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Biriba
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: will_paginate
@@ -138,7 +137,6 @@ homepage: https://github.com/rafaelbiriba/will_paginate_semantic_ui
138
137
  licenses:
139
138
  - MIT
140
139
  metadata: {}
141
- post_install_message:
142
140
  rdoc_options: []
143
141
  require_paths:
144
142
  - lib
@@ -153,9 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
151
  - !ruby/object:Gem::Version
154
152
  version: '0'
155
153
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.6.10
158
- signing_key:
154
+ rubygems_version: 3.6.9
159
155
  specification_version: 4
160
156
  summary: Integrates the Semantic UI pagination component with will_paginate
161
157
  test_files: