openstax_salesforce 7.5.0 → 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: c63e796e842dbe43626771ee624d3db87ad8de0b867c6e667f3ba96e1daffa6f
4
- data.tar.gz: c2930f9349c820a2eaa2c3a6e5227946924db304705e3e80fdc04ac371dea521
3
+ metadata.gz: 9cfce7d66076b6f070a2d6e0bc75f8a9cd849b784c916248db7c6a09ce340aff
4
+ data.tar.gz: f3991ff60341ceb093e2cd2dc007c044ef4ba89c3ee6ae4a4e7fc125e5fdb104
5
5
  SHA512:
6
- metadata.gz: ac6d1a4f03b2ef22fd43e2f56a3e9b8f2ce6e9277c5056b858e59292ebbec378b46a41119d51c61a95d876c3d5b1425ad48dad5f762132a6a976ab2241c568bb
7
- data.tar.gz: 3c84b0b816dd74aa424dcaa0c0fa4b3d623fc944f73c7e419eb1536ff585b3a3a8aa7434aac203040563da2d90f9ce91000e40b3569d5eafd79db9eb6b1563af
6
+ metadata.gz: 2c75689eaed7d8eba35384d38adcbab9c538e9c497172e34973265cc62eac1312d217b3dfdfe492be93e3c7d6179f05fa615cb47b8565186046f6569767a6e9f
7
+ data.tar.gz: 1c3c514fd2c00c0bc3b352de2f417dc2167b84cc35b29f0f20102b8802ec7ebe09e26b70bf7a0a2cb1eecb7701f2434b4d68a418a0ca8f8857b78be8ddff6f9d
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/openstax_salesforce)
4
4
  [![Tests](https://github.com/openstax/openstax_salesforce/workflows/Tests/badge.svg)](https://github.com/openstax/openstax_salesforce/actions?query=workflow:Tests)
5
- [![Code Climate](https://codeclimate.com/github/openstax/openstax_salesforce/badges/gpa.svg)](https://codeclimate.com/github/openstax/openstax_salesforce)
6
5
 
7
6
  OpenStax::Salesforce is a Rails engine used by OpenStax projects to communicate
8
7
  with the OpenStax Salesforce instance.
@@ -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'
@@ -12,6 +12,7 @@ module OpenStax
12
12
  field :salutation, from: 'Salutation'
13
13
  field :title, from: 'Title'
14
14
  field :subject, from: 'Subject__c'
15
+ field :subject_interest, from: 'Subject_Interest__c'
15
16
  field :school, from: 'Company'
16
17
  field :city, from: 'City'
17
18
  field :state, from: 'State'
@@ -39,14 +40,12 @@ module OpenStax
39
40
  field :sheerid_school_name, from: 'SheerID_School_Name__c'
40
41
  field :instant_conversion, from: 'Instant_Conversion__c', as: :boolean
41
42
  field :signup_date, from: 'Signup_Date__c', as: :datetime
43
+ field :self_reported_school, from: 'Self_Reported_School__c'
42
44
 
43
45
  # These 2 fields both hold the Account (School) ID, but have different data types and uses in SF
44
46
  field :account_id, from: 'Account_ID__c'
45
47
  field :school_id, from: 'School__c'
46
48
 
47
- validates(:last_name, presence: true)
48
- validates(:school, presence: true)
49
-
50
49
  self.table_name = 'Lead'
51
50
 
52
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.0'
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.0
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-11 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: []