pagy 0.8.4 → 0.8.5

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: dda23dfaf654fccdeafca5c511f6e1f23c501e4599989f5e6887b1d1f0ecc3ad
4
- data.tar.gz: 9be4570f44ffdd234e58364ff92bbec6fd5f8dedad6050a7defef37314dd84e2
3
+ metadata.gz: 3fc9db27e943b125adb609fb4423f98e52361825f6271e915e2a36db6433089d
4
+ data.tar.gz: 2972025004eb3d76ca89d1b9d34d612c832269932de001e3d6a4e37a80309e62
5
5
  SHA512:
6
- metadata.gz: 52e7cb89a79da6e3a8f9610ed4e0088cfc731a14f61fef6b0a1dc40eec0b692639dd3d41692774bf0f8e87464609eb9e52cc0afd653c9f66214b3e703d3d559d
7
- data.tar.gz: d2418aa0a685140b8e73c06fe510076126bdc62f0d264f1be5a1e282f53600387ae5905b5c552aaf19d6e2b82eb64a215044484189a5522323ea578e85ea00a2
6
+ metadata.gz: bd152a0736163ccd8c1aec249fb191dfb7ca311cb253e006d27b5c3b4d789aef09b5d0618f825fdac46785dc28e4869288419038866fa42c5dd4b1246fdf9bc7
7
+ data.tar.gz: dbfb1f93c06b5e5f2a9bf40c7d0e1c4a04845df97c3e2f526d541d53f563bf85b5c7b0fcd51322fa5444e4de6938f82b460d96d47d46d666cdf287e397c71a79
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'pathname'
4
4
 
5
- class Pagy ; VERSION = '0.8.4'
5
+ class Pagy ; VERSION = '0.8.5'
6
6
 
7
7
  class OutOfRangeError < StandardError; end
8
8
 
@@ -4,7 +4,7 @@ class Pagy
4
4
  # Use ::I18n gem
5
5
  module Frontend
6
6
 
7
- ::I18n.load_path << I18N[:file]
7
+ ::I18n.load_path << Pagy.root.join('locales', 'pagy.yml')
8
8
 
9
9
  # overrides the built-in pagy_t
10
10
  def pagy_t(*args)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domizio Demichelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-02 00:00:00.000000000 Z
11
+ date: 2018-06-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Agnostic pagination in plain ruby: it works with any framework, ORM
14
14
  and DB type, with all kinds of collections, even pre-paginated, scopes, Arrays,