draper 0.4.1 → 0.4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/draper/base.rb +1 -1
- data/lib/draper/version.rb +1 -1
- metadata +3 -3
data/lib/draper/base.rb
CHANGED
@@ -49,7 +49,7 @@ module Draper
|
|
49
49
|
|
50
50
|
def build_methods
|
51
51
|
select_methods.each do |method|
|
52
|
-
unless self.respond_to(method)
|
52
|
+
unless self.respond_to?(method)
|
53
53
|
(class << self; self; end).class_eval do
|
54
54
|
define_method method do |*args, &block|
|
55
55
|
source.send method, *args, &block
|
data/lib/draper/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: draper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.4.1
|
5
|
+
version: 0.4.1.1
|
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:
|
146
|
+
hash: 4442743917446124071
|
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:
|
155
|
+
hash: 4442743917446124071
|
156
156
|
segments:
|
157
157
|
- 0
|
158
158
|
version: "0"
|