rufus-doric 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +5 -0
- data/lib/rufus/doric/model.rb +3 -1
- data/lib/rufus/doric/version.rb +1 -1
- data/rufus-doric.gemspec +2 -2
- data/test/ut_6_model_associations.rb +8 -0
- metadata +3 -3
data/CHANGELOG.txt
CHANGED
data/lib/rufus/doric/model.rb
CHANGED
data/lib/rufus/doric/version.rb
CHANGED
data/rufus-doric.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rufus-doric}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.13"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["John Mettraux"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-21}
|
13
13
|
s.description = %q{
|
14
14
|
something at the intersection of Rails3, CouchDB and rufus-jig
|
15
15
|
}
|
@@ -98,6 +98,14 @@ class UtModelAssociationsTest < Test::Unit::TestCase
|
|
98
98
|
assert_equal 'eu', c.region.name
|
99
99
|
end
|
100
100
|
|
101
|
+
def test_nil_region_id
|
102
|
+
|
103
|
+
c = Customer.find('fred')
|
104
|
+
c.region_id = nil
|
105
|
+
|
106
|
+
assert_equal nil, c.region
|
107
|
+
end
|
108
|
+
|
101
109
|
def test_customer
|
102
110
|
|
103
111
|
o = Order.find('a')
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 13
|
9
|
+
version: 0.1.13
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John Mettraux
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-21 00:00:00 +09:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|