famili 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/famili/father.rb +5 -2
- data/lib/famili/version.rb +2 -2
- metadata +5 -5
data/lib/famili/father.rb
CHANGED
@@ -8,7 +8,10 @@ module Famili
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def build_hash(opts = {})
|
11
|
-
build(opts).attributes.symbolize_keys
|
11
|
+
attributes = build(opts).attributes.symbolize_keys
|
12
|
+
attributes.delete(:updated_at)
|
13
|
+
attributes.delete(:created_at)
|
14
|
+
attributes
|
12
15
|
end
|
13
16
|
|
14
17
|
def build(opts = {})
|
@@ -56,4 +59,4 @@ module Famili
|
|
56
59
|
@attributes.merge(attributes)
|
57
60
|
end
|
58
61
|
end
|
59
|
-
end
|
62
|
+
end
|
data/lib/famili/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: famili
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2012-04-16 00:00:00.000000000Z
|
14
14
|
dependencies: []
|
15
15
|
description: Yet another object mother pattern implementation.
|
16
16
|
email:
|
@@ -38,7 +38,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
38
|
version: '0'
|
39
39
|
segments:
|
40
40
|
- 0
|
41
|
-
hash: -
|
41
|
+
hash: -148278919315159194
|
42
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
43
|
none: false
|
44
44
|
requirements:
|
@@ -47,11 +47,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
version: '0'
|
48
48
|
segments:
|
49
49
|
- 0
|
50
|
-
hash: -
|
50
|
+
hash: -148278919315159194
|
51
51
|
requirements: []
|
52
52
|
rubyforge_project:
|
53
53
|
rubygems_version: 1.8.10
|
54
54
|
signing_key:
|
55
55
|
specification_version: 3
|
56
|
-
summary: famili-0.1.
|
56
|
+
summary: famili-0.1.7
|
57
57
|
test_files: []
|