openstax_salesforce 7.5.1 → 7.6.1

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: 9cfce7d66076b6f070a2d6e0bc75f8a9cd849b784c916248db7c6a09ce340aff
4
+ data.tar.gz: f3991ff60341ceb093e2cd2dc007c044ef4ba89c3ee6ae4a4e7fc125e5fdb104
5
5
  SHA512:
6
- metadata.gz: 01e3a08610df004b4bed0645840fbf8fbfce0c517d651324cc9eb5f55bc88960617e2420bc5cda5c711d60aaaa37d2b57a8861f68e0963d1cc9f0427c5fea250
7
- data.tar.gz: 8f1f1f34fd47ec0b42e5e1da562f0c17c930b459db89c96148d6d0618eb9f26940d7ee99d214f6c1ec059cf8418b66db485addc373958234ecf93dcfd5f22a7c
6
+ metadata.gz: 2c75689eaed7d8eba35384d38adcbab9c538e9c497172e34973265cc62eac1312d217b3dfdfe492be93e3c7d6179f05fa615cb47b8565186046f6569767a6e9f
7
+ data.tar.gz: 1c3c514fd2c00c0bc3b352de2f417dc2167b84cc35b29f0f20102b8802ec7ebe09e26b70bf7a0a2cb1eecb7701f2434b4d68a418a0ca8f8857b78be8ddff6f9d
@@ -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'")
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.1'
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.1
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: 2023-11-27 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: []