activerecord_sqlserver_crm 4.2.17 → 4.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/crm/account.rb +1 -0
- data/app/models/crm/contact.rb +1 -0
- data/lib/activerecord_sqlserver_crm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44d87145cb383882cf73fd882d51f40bd4144c93
|
4
|
+
data.tar.gz: 2b65e1070504982b80264724bd631492fd423c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0de2d50e18d03e4c583707c242bc160dd66b9d4e14df0ce49be6abde95721aa6685081ba5071c8a24e25bd73bec9f383b8c9e3f1c6050816321d42bc731b40e
|
7
|
+
data.tar.gz: d319a4a5d631a5564b345352ddd9bb9a5ba79287cccbe3db90512319e55e87cc1cf2666ff2c14ae2516d370907627c340ff0b8e4bea7c8079e7ef798cfe8bc1e
|
data/app/models/crm/account.rb
CHANGED
data/app/models/crm/contact.rb
CHANGED
@@ -6,6 +6,7 @@ module Crm
|
|
6
6
|
has_many :cases, foreign_key: 'ContactId'
|
7
7
|
has_many :invoices, foreign_key: 'ContactId'
|
8
8
|
has_many :notes, foreign_key: 'ObjectId', class_name: "Crm::ContactNote"
|
9
|
+
has_many :opportunities, foreign_key: 'ContactId'
|
9
10
|
|
10
11
|
validates :FirstName, presence: true
|
11
12
|
validates :LastName, presence: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord_sqlserver_crm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rolf Lawrenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|