trogdir_models 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir/email.rb +1 -1
- data/lib/trogdir/phone.rb +1 -1
- data/lib/trogdir_models/version.rb +1 -1
- data/spec/factories/email_factory.rb +0 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80233da71ac3d3bf5357cca18d7ff05b0039b792
|
4
|
+
data.tar.gz: 9159cd72f2f3f277f88b1c81b7eefd5147271013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e1ed80068eb888db90a807c3f7b15cc240e035c48e31da92d55f5bca99d60ca5277861c4df96c4ab7c1713de5bbf41423ff37163ca2ad5923921e148604a50b
|
7
|
+
data.tar.gz: ed1117a72b2e69b91c2ce432c7aa4488d688e21e28be1026956d9cf8ab1c9975016df71d47779a60a2a2f335e7112531135b917bfd8db6c9a5cc31602497cc11
|
data/lib/trogdir/email.rb
CHANGED
@@ -8,7 +8,7 @@ class Email
|
|
8
8
|
|
9
9
|
field :type, type: Symbol
|
10
10
|
field :address, type: String
|
11
|
-
field :primary, type: Boolean
|
11
|
+
field :primary, type: Boolean, default: false
|
12
12
|
|
13
13
|
validates :type, presence: true, inclusion: { in: Email::TYPES }
|
14
14
|
validates :address, presence: true, email: true
|
data/lib/trogdir/phone.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trogdir_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.3
|
89
|
+
version: '1.3'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.3
|
96
|
+
version: '1.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|