classproxy 0.7.14 → 0.7.15
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/lib/classproxy/classproxy.rb +2 -3
- data/lib/classproxy/version.rb +1 -1
- metadata +4 -4
@@ -6,7 +6,7 @@ module ClassProxy
|
|
6
6
|
class NotFound < StandardError; end
|
7
7
|
|
8
8
|
module ClassMethods
|
9
|
-
# This method establishes how
|
9
|
+
# This method establishes how the cache should be hit, it receives a
|
10
10
|
# hash with the data used for the query. If this method doesn't find
|
11
11
|
# anything the fallbacks will be triggered
|
12
12
|
#
|
@@ -219,8 +219,7 @@ module ClassProxy
|
|
219
219
|
@target
|
220
220
|
end
|
221
221
|
|
222
|
-
def method_missing(method, args, &block)
|
223
|
-
puts "calling method_missing #{method}"
|
222
|
+
def method_missing(method, args={}, &block)
|
224
223
|
@target.send(method, *args)
|
225
224
|
end
|
226
225
|
end
|
data/lib/classproxy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: classproxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -55,7 +55,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
segments:
|
57
57
|
- 0
|
58
|
-
hash: -
|
58
|
+
hash: -3920286333631575907
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
none: false
|
61
61
|
requirements:
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.8.
|
67
|
+
rubygems_version: 1.8.25
|
68
68
|
signing_key:
|
69
69
|
specification_version: 3
|
70
70
|
summary: A generic class proxy for your classes
|