fakecrm 0.9.9.beta2 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fakecrm/resource/contact.rb +10 -10
- data/lib/fakecrm/version.rb +1 -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: 1a5481f01f45044657142ff83812d4559c0d7323
|
4
|
+
data.tar.gz: 0749ce8d220d21fc2908f75fe47ddb90cf4d8d62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b374ddf17205ff1fd5347e7a27f34c9fb4a460c7bab9e9a6d615721ecfcceb5f6680f5cc751e8f8a0f345db81c8aa1af2ba4e3c38049ab04661817aee357a6e
|
7
|
+
data.tar.gz: 73b5f22d12a99db59fe5f763a35e7d04571678ce42c3d703109449564c81471fc7ac0a118b86e4a3043660c6286a7fa90fc7d1131114bb28dd0672cf9da7e164
|
@@ -6,8 +6,8 @@ module Fakecrm
|
|
6
6
|
include DataMapper::Resource
|
7
7
|
|
8
8
|
property :id, Serial
|
9
|
-
property :first_name, String
|
10
|
-
property :last_name, String, :required => true
|
9
|
+
property :first_name, String, :length => 64
|
10
|
+
property :last_name, String, :required => true, :length => 64
|
11
11
|
|
12
12
|
property :email, String
|
13
13
|
property :login, String, :unique => true
|
@@ -15,24 +15,24 @@ module Fakecrm
|
|
15
15
|
belongs_to :account, :required => false
|
16
16
|
property :country, String
|
17
17
|
property :extended_address, String
|
18
|
-
property :fax, String
|
18
|
+
property :fax, String, :length => 32
|
19
19
|
property :gender, Enum['M', 'F', 'N'], :required => true
|
20
|
-
property :job_title, String
|
20
|
+
property :job_title, String, :length => 100
|
21
21
|
property :language, String, :required => true
|
22
22
|
property :locality, String
|
23
23
|
property :merged_into_id, String
|
24
|
-
property :mobile_phone, String
|
25
|
-
property :name_prefix, String
|
24
|
+
property :mobile_phone, String, :length => 32
|
25
|
+
property :name_prefix, String, :length => 64
|
26
26
|
property :org_name_address, String
|
27
27
|
property :org_unit_address, String
|
28
|
-
property :phone, String
|
28
|
+
property :phone, String, :length => 32
|
29
29
|
property :postalcode, String
|
30
30
|
property :region, String
|
31
31
|
property :street_address, String
|
32
|
-
property :want_email, Boolean
|
32
|
+
property :want_email, Boolean, :default => true
|
33
33
|
property :want_geo_location, Boolean
|
34
|
-
property :want_phonecall, Boolean
|
35
|
-
property :want_snailmail, Boolean
|
34
|
+
property :want_phonecall, Boolean, :default => true
|
35
|
+
property :want_snailmail, Boolean, :default => true
|
36
36
|
|
37
37
|
property :role_names, CommaSeparatedList, :default => ''
|
38
38
|
|
data/lib/fakecrm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fakecrm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.9
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Sojka
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -270,9 +270,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
270
270
|
version: '0'
|
271
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
272
|
requirements:
|
273
|
-
- - '
|
273
|
+
- - '>='
|
274
274
|
- !ruby/object:Gem::Version
|
275
|
-
version:
|
275
|
+
version: '0'
|
276
276
|
requirements: []
|
277
277
|
rubyforge_project:
|
278
278
|
rubygems_version: 2.0.14
|