benhoskings-ambitious-activerecord 0.1.3.3 → 0.1.3.4

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.3"
7
+ s.version = "0.1.3.4"
8
8
 
9
9
  s.specification_version = 2 if s.respond_to? :specification_version=
10
10
 
@@ -17,15 +17,6 @@ module Ambition
17
17
  with_context_scope(to_hash) { owner.count_with_deleted *args }
18
18
  end
19
19
 
20
-
21
- protected
22
-
23
- def with_context_scope find_conditions, &block
24
- owner.send :with_scope, :find => find_conditions do
25
- yield
26
- end
27
- end
28
-
29
20
  def within outer_scope, join_association
30
21
  context = ambition_context
31
22
 
@@ -39,5 +30,14 @@ module Ambition
39
30
  context
40
31
  end
41
32
 
33
+
34
+ protected
35
+
36
+ def with_context_scope find_conditions, &block
37
+ owner.send :with_scope, :find => find_conditions do
38
+ yield
39
+ end
40
+ end
41
+
42
42
  end
43
43
  end
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.3
4
+ version: 0.1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath