dm-pager 1.0.1 → 1.0.2

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.
data/History.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 1.0.2 / 2010-02-18
3
+ ==================
4
+
5
+ * Extend Pagination module into all available models
6
+
2
7
  1.0.1 / 2009-12-19
3
8
  ==================
4
9
 
data/dm-pager.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{dm-pager}
5
- s.version = "1.0.1"
5
+ s.version = "1.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
9
- s.date = %q{2009-12-19}
9
+ s.date = %q{2010-02-18}
10
10
  s.description = %q{DataMapper Pagination}
11
11
  s.email = %q{tj@vision-media.ca}
12
12
  s.extra_rdoc_files = ["lib/dm-pager.rb", "lib/dm-pager/defaults.rb", "lib/dm-pager/helpers.rb", "lib/dm-pager/helpers/rails.rb", "lib/dm-pager/pager.rb", "lib/dm-pager/pagination.rb", "lib/dm-pager/version.rb", "tasks/docs.rake", "tasks/gemspec.rake", "tasks/spec.rake"]
@@ -1,6 +1,6 @@
1
1
 
2
2
  module DataMapper
3
3
  module Pagination
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
6
6
  end
data/lib/dm-pager.rb CHANGED
@@ -33,7 +33,7 @@ require 'dm-pager/helpers'
33
33
  # DataMapper
34
34
  #++
35
35
 
36
- DataMapper::Model.send :include, DataMapper::Pagination
36
+ DataMapper::Model.append_extensions DataMapper::Pagination
37
37
  DataMapper::Collection.send :include, DataMapper::Pagination
38
38
  DataMapper::Query.send :include, DataMapper::Pagination
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-pager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-19 00:00:00 -08:00
12
+ date: 2010-02-18 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency