pagination_scope 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pagination_scope.rb +1 -1
  2. data/rails/init.rb +1 -3
  3. metadata +1 -1
@@ -1,7 +1,7 @@
1
1
  require 'activesupport'
2
2
 
3
3
  module PaginationScope
4
- VERSION = '0.0.8'
4
+ VERSION = '0.1.0'
5
5
 
6
6
  class << self
7
7
  def included(base)
data/rails/init.rb CHANGED
@@ -1,5 +1,3 @@
1
1
  require 'pagination_scope'
2
2
 
3
- ActiveRecord::Base.class_eval do
4
-  include PaginationScope
5
- end
3
+ ActiveRecord::Base.send :include, PaginationScope
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagination_scope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Takiuchi