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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 93c0eff44335f7842dde181e98c5e9426de30a49
4
- data.tar.gz: d19ca3cb0226bf278dc369015b8b9852bea58ae6
3
+ metadata.gz: 44d87145cb383882cf73fd882d51f40bd4144c93
4
+ data.tar.gz: 2b65e1070504982b80264724bd631492fd423c46
5
5
  SHA512:
6
- metadata.gz: ec1a7212f1b7b5de08c16e9e5556fc5a879d76e48141608452d19e66f2db571321a53fe4891a15d590894bc6ee73c8bdaf31a1d03826ece51d424d20ac55ee87
7
- data.tar.gz: 6db9fcdd432ddac99002d602f9a4a6faadec9d7af6a5f338feb736f9642222226acaa779d7510c1e2302371000665e88f4837f414419463d6d51c7f4ab0751d3
6
+ metadata.gz: d0de2d50e18d03e4c583707c242bc160dd66b9d4e14df0ce49be6abde95721aa6685081ba5071c8a24e25bd73bec9f383b8c9e3f1c6050816321d42bc731b40e
7
+ data.tar.gz: d319a4a5d631a5564b345352ddd9bb9a5ba79287cccbe3db90512319e55e87cc1cf2666ff2c14ae2516d370907627c340ff0b8e4bea7c8079e7ef798cfe8bc1e
@@ -5,6 +5,7 @@ module Crm
5
5
 
6
6
  has_many :notes, foreign_key: 'ObjectId', class_name: "Crm::AccountNote"
7
7
  has_many :cases, foreign_key: 'AccountId'
8
+ has_many :opportunities, foreign_key: 'AccountId'
8
9
 
9
10
  validates :Name, presence: true
10
11
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ActiverecordSqlserverCrm
2
- VERSION = "4.2.17"
2
+ VERSION = "4.2.18"
3
3
  end
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.17
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: 2016-12-22 00:00:00.000000000 Z
11
+ date: 2017-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails