move-to-go 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 369dc09edf8f83c6e21d833aaceccfdc5517d577
4
- data.tar.gz: 50a934212ed3607d5e2fd24ab0578f3dcd3cb8fe
3
+ metadata.gz: 7e471b1e49a7396fbbf7b5a36070e60759c580dd
4
+ data.tar.gz: ac925c84c894b5f8da1177e0dfc012b60ba15111
5
5
  SHA512:
6
- metadata.gz: a87a18293122ab47b4e3d5e13c924deb92bbc1bb4ed40995bf4e6913ab169cf6c12a4ab50b97fc99d39c47518438d19a53d99619a22ea9283292b2649c4195bd
7
- data.tar.gz: c12a6eecd94e064a64938c090284f3526f27b1698dc7f9ebf9f15d7c9804c8903be59972c4a9b5dfce21d6fa93b8a5477f575e97b4752298782e5e942332a390
6
+ metadata.gz: c7bdc7e863824e2051d5a0296393871f0ad71c9195d1830cbcdee835ebf4cc741520314243c9ce4d5e013d291418a6b3f34d743657cf89726ecaabd99233c848
7
+ data.tar.gz: 83695922bc5f8693ded99a030d31c7795523ded2b7a8410da2aa7b76155859adeb95d16a1c31c903752a05aa2f1fc72ec47091ca2a368f21458d2e95fdd3fb56
@@ -98,7 +98,8 @@ module MoveToGo
98
98
  raise_if_immutable
99
99
  if classification == HistoryClassification::Comment || classification == HistoryClassification::SalesCall ||
100
100
  classification == HistoryClassification::TalkedTo || classification == HistoryClassification::TriedToReach ||
101
- classification == HistoryClassification::ClientVisit
101
+ classification == HistoryClassification::ClientVisit ||
102
+ classification == HistoryClassification::MailMessage
102
103
  @classification = classification
103
104
  else
104
105
  raise InvalidHistoryClassificationError, classification
@@ -18,6 +18,9 @@ module MoveToGo
18
18
 
19
19
  # We had a meeting at the client's site.
20
20
  ClientVisit = 'ClientVisit'
21
+
22
+ #We had Email correspondence
23
+ MailMessage = 'MailMessage'
21
24
  end
22
25
  end
23
26
 
@@ -55,7 +55,8 @@ def convert_source
55
55
  # Person - Consent connection
56
56
  # Reads the file and creats a hash
57
57
  # that connect persons to consents
58
- if(File.exists?(PERSON_CONSENT_FILE))
58
+
59
+ if(defined?(PERSON_CONSENT_FILE) && File.exists?(PERSON_CONSENT_FILE))
59
60
  if (defined?(VALID_EMAIL_CONSENTS) && VALID_EMAIL_CONSENTS.size > 0)
60
61
  consent = Hash.new
61
62
  process_rows(" - Reading Person Consents '#{PERSON_CONSENT_FILE}'", PERSON_CONSENT_FILE) do |row|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: move-to-go
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petter Sandholdt
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2018-04-10 00:00:00.000000000 Z
17
+ date: 2018-09-25 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: iso_country_codes