standard_view 0.1.15 → 0.1.16

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: 62f8b997437730cd005a5e84de2037af5d588cf589f6ef412fedfd1ac3eb4714
4
- data.tar.gz: 730047005e6d791328033a9dc2e938e97cc9c071c407d72465d43201cd5689fd
3
+ metadata.gz: 81c8235d5e51d2dd75ff36ce1c7cdcf79c8310d89e311d48916607a19e1dcc76
4
+ data.tar.gz: 93112ccb629982de42fbba3e5aa8f2152a891bc0a268e9d2b55a5004d5fc6c07
5
5
  SHA512:
6
- metadata.gz: 97e68d3e09d2aef86136217f922758a993b9d98743bf3b9901824a9b620331bd386b226ddbef020688ddb99b8cb977a7939808e351ab0e8ac86b3d8eebdff5b0
7
- data.tar.gz: 8052a5f7456591ffe524025c086786c7405502da3d800082542eaaad8511887ec806676c08801c11d225145a6744b9741047219f5fe494cd8cfd859bbfac0fe2
6
+ metadata.gz: a1a0496c0c124fa04d886bb92db7c99dba57b7e4f9f6ae7e705c7ba40c5f3a49569f7fe7df679ec68612d22cec96938005cd558c200524439a1d133ec0267051
7
+ data.tar.gz: 13e2738e910c3de08b21ed489bc798db38da0f6249a8e4e4502a85e0e4e6c4ed6f7dd001ae08ad18647b0b35e71aedab05ce8ebd1d356c6ddfa3ebd2b8e7faa5
@@ -38,7 +38,7 @@ module StandardView
38
38
  end
39
39
 
40
40
  def current_page
41
- params[:page]
41
+ params[:page].try(:to_i)
42
42
  end
43
43
 
44
44
  def icon_tag(name = nil, style = nil, spin: false)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StandardView
4
- VERSION = "0.1.15"
4
+ VERSION = "0.1.16"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-22 00:00:00.000000000 Z
12
+ date: 2020-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails