act_as_releasable 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -11,10 +11,10 @@ module Proposal
|
|
11
11
|
|
12
12
|
module InstanceMethods
|
13
13
|
def candidate_attributes
|
14
|
-
|
14
|
+
Marshal.load(Base64.decode64(candidate_data))
|
15
15
|
end
|
16
16
|
def candidate_attributes=(candidate_attributes)
|
17
|
-
self.candidate_data = Base64.encode64(Marshal.dump(candidate_attributes
|
17
|
+
self.candidate_data = Base64.encode64(Marshal.dump(candidate_attributes))
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
data/lib/act_as_releasable.rb
CHANGED
data/spec/candidate_spec.rb
CHANGED