sixarm_ruby_active_record_mock 1.4.2 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG.txt +1 -0
- data/VERSION +1 -1
- data/lib/sixarm_ruby_active_record_mock.rb +4 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.4
|
@@ -23,11 +23,12 @@ class ActiveRecordMock
|
|
23
23
|
def self.find(id,*ops)
|
24
24
|
case id
|
25
25
|
when nil
|
26
|
-
|
26
|
+
raise ArgumentError.new
|
27
27
|
when :all
|
28
|
-
@@find
|
28
|
+
return @@find
|
29
29
|
else
|
30
|
-
@@find.each{|x| if x.read_attribute(:id)==id then return x end }
|
30
|
+
@@find.each{|x| if x.read_attribute(:id)==id then return x end }
|
31
|
+
return nil
|
31
32
|
end
|
32
33
|
end
|
33
34
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sixarm_ruby_active_record_mock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.4.
|
5
|
+
version: 1.4.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- SixArm
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
eabwpCbAopo=
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date: 2011-04-
|
33
|
+
date: 2011-04-26 00:00:00 -07:00
|
34
34
|
default_executable:
|
35
35
|
dependencies: []
|
36
36
|
|
metadata.gz.sig
CHANGED
Binary file
|