gom 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ shared_examples_for "an adapter with search view" do
12
12
  before :each do
13
13
  @object_one = GOM::Spec::Object.new
14
14
  @object_one.number = 11
15
+ @object_one.instance_variable_set :@nested, { :test => "value" }
15
16
 
16
17
  @object_two = GOM::Spec::Object.new
17
18
  @object_two.number = 24
@@ -40,6 +41,7 @@ shared_examples_for "an adapter with search view" do
40
41
  collection.size.should == 1
41
42
  collection.map(&:class).should == [ GOM::Spec::Object ]
42
43
  collection.map(&:number).should == [ 11 ]
44
+ collection.map{ |object| object.instance_variable_get :@nested }.should == [ { :test => "value" } ]
43
45
  end
44
46
 
45
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-19 00:00:00.000000000Z
12
+ date: 2011-10-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: configure
16
- requirement: &16490400 !ruby/object:Gem::Requirement
16
+ requirement: &17393340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16490400
24
+ version_requirements: *17393340
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &16488920 !ruby/object:Gem::Requirement
27
+ requirement: &17389780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *16488920
35
+ version_requirements: *17389780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: reek
38
- requirement: &16486660 !ruby/object:Gem::Requirement
38
+ requirement: &17389060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '1.2'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *16486660
46
+ version_requirements: *17389060
47
47
  description: Core package of the General Object Mapper.
48
48
  email: b.phifty@gmail.com
49
49
  executables: []