kaminari-logarithmic 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: e8bf3d87c81ba89dd3da95c28f4551d53bbf34de
4
- data.tar.gz: 3a682953b85968b06d721388a7f92e2a12cbfb60
3
+ metadata.gz: 499f44602635d992e5508b9e9aaa65d87cd6e30a
4
+ data.tar.gz: 8ee2973f4e891445700158d6180a79cd7d170bae
5
5
  SHA512:
6
- metadata.gz: d0f0ebb09058cbe59bf06949c38610242e46d01028dad4a204711a57a0fe3ceb1da8184a2bf2ab2fc539047ddd48c3d64ee2066d6dae7adf0f198c3a84529548
7
- data.tar.gz: 133c54bf5aebae420014eae36b2754c07f18526d969aa3a7bf0ec936c1c35df330653ed460acc89b56c86491a08b33fa486dc2052116ca07b20c11f278218cad
6
+ metadata.gz: d4463cda88e2f7c32989e245db7339057b664a0f167ad6a74cd4ca845de2870d5d18ba6c98ca7aedb3928ceda8f463d85e52d33dd04ac5f7144aac4650fec5c5
7
+ data.tar.gz: b2d7595a05de779b0e1559f1cda9d26979561baa26233e80fb6aeb3e4fefbda8df844574606564772bbdf8d09bc9f2c1da3745cbdea722327be5f9fb54375a69
data/README.md CHANGED
@@ -41,7 +41,7 @@ More details and options on [kaminari documentation page](https://github.com/ama
41
41
  ```
42
42
  Example:
43
43
  ```ruby
44
- <% if page.left_outer? || page.right_outer? || page.inside_window? || page.logaritmic? -%>
44
+ <% if page.left_outer? || page.right_outer? || page.inside_window? || page.logarithmic? -%>
45
45
  <%= page_tag page %>
46
46
  ```
47
47
 
@@ -3,6 +3,7 @@ require "kaminari/helpers/paginator"
3
3
  require "kaminari/logarithmic/version"
4
4
  require "kaminari/logarithmic/action_view_extension"
5
5
  require "kaminari/logarithmic/page_proxy_extension"
6
+ require "kaminari/logarithmic/paginator"
6
7
  require "kaminari/logarithmic/strategies/base_strategy"
7
8
  require "kaminari/logarithmic/strategies/even_strategy"
8
9
  require "kaminari/logarithmic/strategies/fixed_steps_strategy"
@@ -1,7 +1,7 @@
1
1
  module Kaminari
2
2
  module Logarithmic
3
3
  module PageProxyExtension
4
- def logaritmic?
4
+ def logarithmic?
5
5
  @options[:logarithmic_pages].include? @page
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  module Kaminari
2
2
  module Logarithmic
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaminari-logarithmic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Lee