openstax_salesforce 7.5.1 → 7.6.2

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: 738e0030858b77691e6ab212dc8ede8a12df4bfc882e6b3146a3318f7e7bb615
4
- data.tar.gz: 3ce511124d5ff2a1d979ac76529eaf2b7086fdf317de3364fdabfb163e8a9b05
3
+ metadata.gz: b8aee8ae25929505af4231fcb9bb57a5aad680705e8dba6ecfd9de2d8b4cbdf8
4
+ data.tar.gz: 42d60a13b87008203c90b58fb6a63aa265570896b1365965798059f30d600d37
5
5
  SHA512:
6
- metadata.gz: 01e3a08610df004b4bed0645840fbf8fbfce0c517d651324cc9eb5f55bc88960617e2420bc5cda5c711d60aaaa37d2b57a8861f68e0963d1cc9f0427c5fea250
7
- data.tar.gz: 8f1f1f34fd47ec0b42e5e1da562f0c17c930b459db89c96148d6d0618eb9f26940d7ee99d214f6c1ec059cf8418b66db485addc373958234ecf93dcfd5f22a7c
6
+ metadata.gz: 33b14b473d23fe2241618f058030f3b88afc71406bee0ccf64ec721b90c48a258979c279f82b35b611cce0a6940f41bf90be63423211a95499a32a088767e600
7
+ data.tar.gz: d0655b23591f9c00ddcf9a36c034600e764de76647ee79d66fb0127c996fff88d98f263694b012729da4f8382a596c3df7a72e070079482dd378c06f2fc95712
@@ -21,10 +21,8 @@ module OpenStax
21
21
  field :school_type, from: 'School_Type__c'
22
22
  field :send_faculty_verification_to, from: 'SendFacultyVerificationTo__c'
23
23
  field :all_emails, from: 'All_Emails__c'
24
- field :confirmed_emails, from: 'Confirmed_Emails__c'
25
24
  field :adoption_status, from: 'Adoption_Status__c'
26
25
  field :grant_tutor_access, from: 'Grant_Tutor_Access__c', as: :boolean
27
- field :b_r_i_marketing, from: 'BRI_Marketing__c', as: :boolean # Bill of Rights Institute (book) marketing
28
26
  field :title_1_school, from: 'Title_1_school__c', as: :boolean
29
27
  field :accounts_uuid, from: 'Accounts_UUID__c'
30
28
  field :lead_source, from: 'LeadSource'
@@ -40,14 +40,12 @@ module OpenStax
40
40
  field :sheerid_school_name, from: 'SheerID_School_Name__c'
41
41
  field :instant_conversion, from: 'Instant_Conversion__c', as: :boolean
42
42
  field :signup_date, from: 'Signup_Date__c', as: :datetime
43
+ field :self_reported_school, from: 'Self_Reported_School__c'
43
44
 
44
45
  # These 2 fields both hold the Account (School) ID, but have different data types and uses in SF
45
46
  field :account_id, from: 'Account_ID__c'
46
47
  field :school_id, from: 'School__c'
47
48
 
48
- validates(:last_name, presence: true)
49
- validates(:school, presence: true)
50
-
51
49
  self.table_name = 'Lead'
52
50
 
53
51
  end
@@ -20,7 +20,7 @@ module OpenStax
20
20
  self.table_name = 'Account'
21
21
 
22
22
  def self.query
23
- super.where("RecordType.Name = 'School'")
23
+ super.where("RecordType.Name = 'School' OR RecordType.Name = 'School District' OR RecordType.Name = 'General'")
24
24
  end
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '7.5.1'
3
+ VERSION = '7.6.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.5.1
4
+ version: 7.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
8
8
  - Dante Soares
9
- - Michael Harrison
10
- autorequire:
9
+ - Michael Volo
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-05-24 00:00:00.000000000 Z
13
+ date: 2024-01-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -132,7 +132,7 @@ dependencies:
132
132
  version: '0'
133
133
  description: Interface gem for accessing OpenStax's Salesforce instance
134
134
  email:
135
- - mwharrison@rice.edu
135
+ - volo@rice.edu
136
136
  executables: []
137
137
  extensions: []
138
138
  extra_rdoc_files: []
@@ -166,7 +166,7 @@ homepage: https://github.com/openstax/openstax_salesforce
166
166
  licenses:
167
167
  - MIT
168
168
  metadata: {}
169
- post_install_message:
169
+ post_install_message:
170
170
  rdoc_options: []
171
171
  require_paths:
172
172
  - lib
@@ -181,8 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.2.33
185
- signing_key:
184
+ rubygems_version: 3.4.22
185
+ signing_key:
186
186
  specification_version: 4
187
187
  summary: Interface gem for accessing OpenStax's Salesforce instance
188
188
  test_files: []