kludge 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/kludge/many.rb CHANGED
@@ -22,7 +22,6 @@ module Kludge
22
22
  end
23
23
 
24
24
  def value=(value)
25
- p value
26
25
  @value = value.map do |val|
27
26
  if val.kind_of?(Hash)
28
27
  if val[:id].present?
data/lib/kludge/one.rb CHANGED
@@ -20,7 +20,6 @@ module Kludge
20
20
  end
21
21
 
22
22
  def value=(value)
23
- p value
24
23
  @value = if value.kind_of?(Hash)
25
24
  if value[:id]
26
25
  @name.to_s.classify.constantize.find(value.delete(:id)).tap { |v| v.assign_attributes(value) }
@@ -1,3 +1,3 @@
1
1
  module Kludge
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kludge
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - hubert