benhoskings-ambitious-activerecord 0.1.3.4 → 0.1.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = %q{ambitious-activerecord}
7
- s.version = "0.1.3.4"
7
+ s.version = "0.1.3.5"
8
8
 
9
9
  s.specification_version = 2 if s.respond_to? :specification_version=
10
10
 
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.test_files = ["test/chaining_test.rb", "test/count_test.rb", "test/enumerable_test.rb", "test/join_test.rb", "test/ruby_test.rb", "test/select_test.rb", "test/slice_test.rb", "test/sort_test.rb", "test/source_test.rb", "test/types_test.rb"]
26
26
 
27
27
  s.add_dependency(%q<activerecord>, [">= 1.15.6"])
28
- s.add_dependency(%q<benhoskings-ambition>, [">= 0.5.4.1"])
28
+ s.add_dependency(%q<benhoskings-ambition>, [">= 0.5.4.3"])
29
29
  end
30
30
 
31
31
 
@@ -17,6 +17,10 @@ module Ambition
17
17
  with_context_scope(to_hash) { owner.count_with_deleted *args }
18
18
  end
19
19
 
20
+ def paginate *args
21
+ with_context_scope(to_hash) { owner.paginate *args }
22
+ end
23
+
20
24
  def within outer_scope, join_association
21
25
  context = ambition_context
22
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benhoskings-ambitious-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.4
4
+ version: 0.1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath
@@ -31,7 +31,7 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 0.5.4.1
34
+ version: 0.5.4.3
35
35
  version:
36
36
  description: An ambitious adapter for ActiveRecord
37
37
  email: chris@ozmm.org, ben@hoskings.net