draper 0.3.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/draper/base.rb CHANGED
@@ -13,7 +13,7 @@ module Draper
13
13
 
14
14
  def initialize(subject)
15
15
  subject.inspect
16
- self.source_class = subject.class
16
+ self.class.source_class = subject.class
17
17
  self.source = subject
18
18
  build_methods
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module Draper
2
- VERSION = "0.3.5"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: draper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.5
5
+ version: 0.4.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Casimir
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="
145
145
  - !ruby/object:Gem::Version
146
- hash: -2342952529279476133
146
+ hash: 3457998694318349497
147
147
  segments:
148
148
  - 0
149
149
  version: "0"
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - ">="
154
154
  - !ruby/object:Gem::Version
155
- hash: -2342952529279476133
155
+ hash: 3457998694318349497
156
156
  segments:
157
157
  - 0
158
158
  version: "0"