smart_paginate 0.1.2 → 0.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: 9573864349278f83f79017f2df0d815dd4e0c763
4
- data.tar.gz: 25b4c976a78a46403998fe9799368fbcfbf5f8dd
3
+ metadata.gz: 9243f8c82e00d6a698b211f5faf99b157a2043d1
4
+ data.tar.gz: 86f6b75eecbe883132662b2a166b73a618e51e2e
5
5
  SHA512:
6
- metadata.gz: 5873386936fd32388576c0ac502745f50692159f1b7380951850bdb1af96643b06a8cb9e6bd4344850c8b7323d10723b4cf84975344927b39b97b7b28e2329ea
7
- data.tar.gz: 677ee7f3309637b473c4c0f222d4140200eab53fe702ea0947315e18bb8eb2c8743b703325bbebb3c1519300775286dd9b8e403d98d00e50071fa220877de5ec
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
- before_install: gem install bundler -v 1.12.5
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
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in smart_paginate.gemspec
4
4
  gemspec
5
5
 
6
- gem 'rubocop', '~> 0.40.0', group: :test
6
+ gem 'rubocop', '~> 0.43.0', group: :test
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smart_paginate.gemspec
4
+ gemspec path: '..'
5
+
6
+ gem 'activerecord', '~> 4.0.0'
7
+
8
+ gem 'rubocop', '~> 0.43.0', group: :test
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smart_paginate.gemspec
4
+ gemspec path: '..'
5
+
6
+ gem 'activerecord', '~> 4.1.0'
7
+
8
+ gem 'rubocop', '~> 0.43.0', group: :test
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smart_paginate.gemspec
4
+ gemspec path: '..'
5
+
6
+ gem 'activerecord', '~> 4.2.0'
7
+
8
+ gem 'rubocop', '~> 0.43.0', group: :test
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smart_paginate.gemspec
4
+ gemspec path: '..'
5
+
6
+ gem 'activerecord', '~> 5.0.0'
7
+
8
+ gem 'rubocop', '~> 0.43.0', group: :test
@@ -3,7 +3,7 @@ require "active_support/concern"
3
3
  require "active_record"
4
4
 
5
5
  module SmartPaginate
6
- module ActiveRecord
6
+ module ActiveRecordExtension
7
7
  extend ActiveSupport::Concern
8
8
 
9
9
  module ClassMethods
@@ -1,3 +1,3 @@
1
1
  module SmartPaginate
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -1,4 +1,4 @@
1
- require "smart_paginate/active_record"
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::ActiveRecord
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.2
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-09-28 00:00:00.000000000 Z
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/active_record.rb
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