smart_paginate 0.1.2 → 0.1.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 +4 -4
- data/.rubocop.yml +3 -3
- data/.travis.yml +7 -2
- data/Gemfile +1 -1
- data/gemfiles/Gemfile.active_record-4.0 +8 -0
- data/gemfiles/Gemfile.active_record-4.1 +8 -0
- data/gemfiles/Gemfile.active_record-4.2 +8 -0
- data/gemfiles/Gemfile.active_record-5.0 +8 -0
- data/lib/smart_paginate/{active_record.rb → active_record_extension.rb} +1 -1
- data/lib/smart_paginate/version.rb +1 -1
- data/lib/smart_paginate.rb +2 -2
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9243f8c82e00d6a698b211f5faf99b157a2043d1
|
|
4
|
+
data.tar.gz: 86f6b75eecbe883132662b2a166b73a618e51e2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5835bb0bd176338657b610a09629498024f0d54c5e21ab7812d26c661960466cd3a5af8ece7ea6e7da37d5aba32a97f8332a5891fe1eedba8c66d8d37fdd5b2
|
|
7
|
+
data.tar.gz: dcf6088fd14c62731730bf5420b0581ab7869202f84bb99a7a79c0deda8d2c7319f604e662d87f0a6cde862dc47dc93b849405a72310b5e9878633e12971b780
|
data/.rubocop.yml
CHANGED
|
@@ -2,6 +2,9 @@ AllCops:
|
|
|
2
2
|
TargetRubyVersion: 2.2
|
|
3
3
|
DisplayCopNames: true
|
|
4
4
|
DisplayStyleGuide: true
|
|
5
|
+
Exclude:
|
|
6
|
+
- 'gemfiles/vendor/**/*'
|
|
7
|
+
- 'lib/smart_paginate/version.rb'
|
|
5
8
|
|
|
6
9
|
Metrics/LineLength:
|
|
7
10
|
Enabled: false
|
|
@@ -19,9 +22,6 @@ Style/GuardClause:
|
|
|
19
22
|
Style/IfUnlessModifier:
|
|
20
23
|
Enabled: false
|
|
21
24
|
|
|
22
|
-
Style/MutableConstant:
|
|
23
|
-
Enabled: false
|
|
24
|
-
|
|
25
25
|
Style/RedundantSelf:
|
|
26
26
|
Enabled: false
|
|
27
27
|
|
data/.travis.yml
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
sudo: false
|
|
2
1
|
language: ruby
|
|
2
|
+
sudo: false
|
|
3
|
+
cache: bundler
|
|
3
4
|
rvm:
|
|
4
5
|
- 2.2.5
|
|
5
6
|
- 2.3.1
|
|
6
|
-
|
|
7
|
+
gemfile:
|
|
8
|
+
- gemfiles/Gemfile.active_record-4.0
|
|
9
|
+
- gemfiles/Gemfile.active_record-4.1
|
|
10
|
+
- gemfiles/Gemfile.active_record-4.2
|
|
11
|
+
- gemfiles/Gemfile.active_record-5.0
|
data/Gemfile
CHANGED
data/lib/smart_paginate.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require "smart_paginate/
|
|
1
|
+
require "smart_paginate/active_record_extension"
|
|
2
2
|
require "smart_paginate/paginating_array"
|
|
3
3
|
require "smart_paginate/version"
|
|
4
4
|
require "active_support/concern"
|
|
@@ -6,5 +6,5 @@ require "active_support/concern"
|
|
|
6
6
|
module SmartPaginate
|
|
7
7
|
extend ActiveSupport::Concern
|
|
8
8
|
|
|
9
|
-
include SmartPaginate::
|
|
9
|
+
include SmartPaginate::ActiveRecordExtension
|
|
10
10
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_paginate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Postma
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -114,8 +114,12 @@ files:
|
|
|
114
114
|
- LICENSE.txt
|
|
115
115
|
- README.md
|
|
116
116
|
- Rakefile
|
|
117
|
+
- gemfiles/Gemfile.active_record-4.0
|
|
118
|
+
- gemfiles/Gemfile.active_record-4.1
|
|
119
|
+
- gemfiles/Gemfile.active_record-4.2
|
|
120
|
+
- gemfiles/Gemfile.active_record-5.0
|
|
117
121
|
- lib/smart_paginate.rb
|
|
118
|
-
- lib/smart_paginate/
|
|
122
|
+
- lib/smart_paginate/active_record_extension.rb
|
|
119
123
|
- lib/smart_paginate/paginate.rb
|
|
120
124
|
- lib/smart_paginate/paginating_array.rb
|
|
121
125
|
- lib/smart_paginate/version.rb
|