lib/pagy.rb in pagy-2.0.0 vs lib/pagy.rb in pagy-2.0.1
- old
+ new
@@ -2,10 +2,10 @@
# encoding: utf-8
# frozen_string_literal: true
require 'pathname'
-class Pagy ; VERSION = '2.0.0'
+class Pagy ; VERSION = '2.0.1'
class OverflowError < StandardError; attr_reader :pagy; def initialize(pagy) @pagy = pagy end; end
# Root pathname to get the path of Pagy files like templates or dictionaries
def self.root; @root ||= Pathname.new(__FILE__).dirname.freeze end