openstax_salesforce 7.4.4 → 7.5.0

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
  SHA256:
3
- metadata.gz: e7a05b6a85387ab615b68f4f8344eb736649c431896de6b25caea544f8e1fa75
4
- data.tar.gz: b8dfa8ca1c56cac8f4a5ee0d7a5d7454c88bd259568ed49c506e9a0bc34e2f59
3
+ metadata.gz: c63e796e842dbe43626771ee624d3db87ad8de0b867c6e667f3ba96e1daffa6f
4
+ data.tar.gz: c2930f9349c820a2eaa2c3a6e5227946924db304705e3e80fdc04ac371dea521
5
5
  SHA512:
6
- metadata.gz: c5626b2b66ae5c49715763419431a7cb2fa0d5efff6388e247ff975aa8ab9bdedac0f6d0acfdafeaa613aa8501fb410afd14f3a56d96bd3dd06757b81d8dc4d6
7
- data.tar.gz: d3fdac8636977594bc89df2301f729fc041175e81f4dade69c6f0e7dd29218524dace2cdc4e7940d051a58854dc0c0d8066e2128114afecfbc874255ae11addd
6
+ metadata.gz: ac6d1a4f03b2ef22fd43e2f56a3e9b8f2ce6e9277c5056b858e59292ebbec378b46a41119d51c61a95d876c3d5b1425ad48dad5f762132a6a976ab2241c568bb
7
+ data.tar.gz: 3c84b0b816dd74aa424dcaa0c0fa4b3d623fc944f73c7e419eb1536ff585b3a3a8aa7434aac203040563da2d90f9ce91000e40b3569d5eafd79db9eb6b1563af
@@ -29,6 +29,7 @@ module OpenStax
29
29
  field :accounts_uuid, from: 'Accounts_UUID__c'
30
30
  field :lead_source, from: 'LeadSource'
31
31
  field :signup_date, from: 'Signup_Date__c', as: :datetime
32
+ field :renewal_eligible, from: 'Renewal_Eligible__c', as: :boolean
32
33
 
33
34
  self.table_name = 'Contact'
34
35
  end
@@ -5,18 +5,6 @@ module OpenStax
5
5
  module Remote
6
6
  # Lead object from Salesforce
7
7
  class Lead < ActiveForce::SObject
8
-
9
- VALID_VERIFICATION_STATUSES = %w[
10
- pending_faculty
11
- confirmed_faculty
12
- rejected_faculty
13
- pending_sheerid
14
- rejected_by_sheerid
15
- incomplete_signup
16
- ].freeze
17
-
18
- VALID_WHO_CHOOSES_BOOKS = %w[instructor committee coordinator].freeze
19
-
20
8
  field :id, from: 'Id'
21
9
  field :name, from: 'Name'
22
10
  field :first_name, from: 'FirstName'
@@ -58,23 +46,6 @@ module OpenStax
58
46
 
59
47
  validates(:last_name, presence: true)
60
48
  validates(:school, presence: true)
61
- validates(
62
- :verification_status,
63
- allow_blank: true,
64
- inclusion: {
65
- in: VALID_VERIFICATION_STATUSES,
66
- message: "must be either #{VALID_VERIFICATION_STATUSES.join(' or ')}"
67
- }
68
- )
69
-
70
- validates(
71
- :who_chooses_books,
72
- allow_blank: true,
73
- inclusion: {
74
- in: VALID_WHO_CHOOSES_BOOKS,
75
- message: "must be either #{VALID_WHO_CHOOSES_BOOKS.join(' or ')}"
76
- }
77
- )
78
49
 
79
50
  self.table_name = 'Lead'
80
51
 
@@ -12,6 +12,7 @@ module OpenStax
12
12
  field :account_id, from: 'Account_ID__c'
13
13
  field :account_uuid, from: 'Account_UUID__c'
14
14
  field :account_role, from: 'Account_Role__c'
15
+ field :faculty_status, from: 'Faculty_Status__c'
15
16
  field :salesforce_contact_id, from: 'Contact__c'
16
17
  field :salesforce_lead_id, from: 'Lead__c'
17
18
  field :signup_date, from: 'Signup_Date__c', as: :datetime
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '7.4.4'
3
+ VERSION = '7.5.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.4.4
4
+ version: 7.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-04-05 00:00:00.000000000 Z
13
+ date: 2022-05-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails