oedipus-dm 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module Oedipus
22
22
 
23
23
  def call(resource)
24
24
  if @property
25
- @property.dump(resource[@attr])
25
+ @property.dump(resource.send(@attr))
26
26
  else
27
27
  resource.send(@attr)
28
28
  end
@@ -9,6 +9,6 @@
9
9
 
10
10
  module Oedipus
11
11
  module DataMapper
12
- VERSION = "0.0.3"
12
+ VERSION = "0.0.4"
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oedipus-dm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oedipus
16
- requirement: &18175300 !ruby/object:Gem::Requirement
16
+ requirement: &22561720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *18175300
24
+ version_requirements: *22561720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: dm-core
27
- requirement: &18174720 !ruby/object:Gem::Requirement
27
+ requirement: &22560920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.2'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *18174720
35
+ version_requirements: *22560920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &18174320 !ruby/object:Gem::Requirement
38
+ requirement: &22560340 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *18174320
46
+ version_requirements: *22560340
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &18173760 !ruby/object:Gem::Requirement
49
+ requirement: &22559480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *18173760
57
+ version_requirements: *22559480
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: dm-pager
60
- requirement: &18173280 !ruby/object:Gem::Requirement
60
+ requirement: &22558720 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *18173280
68
+ version_requirements: *22558720
69
69
  description: ! '== DataMapper Integration for Oedipus
70
70
 
71
71
 
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: 402637751909853895
120
+ hash: 969588701257665487
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements:
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  segments:
128
128
  - 0
129
- hash: 402637751909853895
129
+ hash: 969588701257665487
130
130
  requirements: []
131
131
  rubyforge_project:
132
132
  rubygems_version: 1.8.11