dimples 4.1.2 → 4.1.3

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
  SHA1:
3
- metadata.gz: 78fcfacb81bd3f0d45ff4db4491ea38484098868
4
- data.tar.gz: d079d8d49036b08cb7ab79a9287462ca3b7380d8
3
+ metadata.gz: e4066a33f67147ae9d974930a4bbebbcd0d66a97
4
+ data.tar.gz: 0c21a026756610171383174f183ea2db4d6e4fbe
5
5
  SHA512:
6
- metadata.gz: 4ec9936e6ebbe66cc1af0d4e85c568f7b7c80007520abcc26716d74e151e3c36908794b4a4a161358780062553b2dd444637ec5a50b0e8a197730800eb1a2422
7
- data.tar.gz: ce848d7bada92bf07d320c6973d7511f555d0bdbf61e600a30bb272a9af056b99723527e4a2e68ad830fae3c238c96104a7304d922e71a798f25e0d5b26d44bf
6
+ metadata.gz: b58c2ebd02f2a34f600407ec688c8338ec1c5b5647ac3f544d3b9a7274f8037ec253b2ed4f1a98a05d66b2e86b4fc3b4a26221edd600a401d61b9730a8a826aa
7
+ data.tar.gz: 8fde57e85fddfa556ff51e5e749c75e3aa8c27593b4797317845c9bc102d76caf986265a4acb460f9d94a8dd4ea0090d32e03cf07e5a8f2517f522fc7ead31b3
@@ -78,7 +78,7 @@ module Dimples
78
78
  end
79
79
 
80
80
  def last_page_url
81
- "#{@url}#{@page_prefix}#{@page_count}"
81
+ @page_count != 1 ? "#{@url}#{@page_prefix}#{@page_count}" : @url
82
82
  end
83
83
 
84
84
  def previous_page_url
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dimples
4
- VERSION = '4.1.2'
4
+ VERSION = '4.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.2
4
+ version: 4.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-11 00:00:00.000000000 Z
11
+ date: 2017-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt