openstax_salesforce 7.4.4 → 7.4.5

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: 9723c405964d86192d90c1f886775450d53baf4fc4174b017cf4e75f6d16759d
4
+ data.tar.gz: b72ddfde5c016ff10e332342edb3f7211f6bcf4f3f9e077d38dc8153b95c8912
5
5
  SHA512:
6
- metadata.gz: c5626b2b66ae5c49715763419431a7cb2fa0d5efff6388e247ff975aa8ab9bdedac0f6d0acfdafeaa613aa8501fb410afd14f3a56d96bd3dd06757b81d8dc4d6
7
- data.tar.gz: d3fdac8636977594bc89df2301f729fc041175e81f4dade69c6f0e7dd29218524dace2cdc4e7940d051a58854dc0c0d8066e2128114afecfbc874255ae11addd
6
+ metadata.gz: 1df136b53b9312574f8d8f7e6f860e42ba604937cc567065de76019ba3b0e6848de33c80275fbbc524a7c66be2a93c254d35774bb066271c908a853323c05199
7
+ data.tar.gz: 42610dcecdd6677df7faefeda5296b26be7a54e67ffe8d2a96ebc4cfd4660490e42823133f9f1f2900fe0f2a2272a217ba88d345aeb7cc414722f3e0f3d2e1c3
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '7.4.4'
3
+ VERSION = '7.4.5'
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.4.5
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-04-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails