openstax_salesforce 4.9.0 → 4.11.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: 60ec01b3372a6c4c3542469a38481e56915070b447e53b59eeec04ddc8b6b5fc
4
- data.tar.gz: c5881ae24fd8cf7764c36a0f42922556c7fb829bb6e083b3332d61fe623bf801
3
+ metadata.gz: 1d9c9cf19718d8dfb2986c3f24e0aa4b1d5cac65f945740f3a3829b0a251e5e8
4
+ data.tar.gz: c6a7aeac7498ad448a2965248b298886b534b8aa649a8e6e5de2c126882c2846
5
5
  SHA512:
6
- metadata.gz: '08d0a74e0227b08e402ad900023fb0df05a114b3310953b4bae200f336f5f417b7ec59429165dfbe872d9948cd225beb14a1ada7a16e97ae56bcabb4ed48baf7'
7
- data.tar.gz: 859abc396195f3d0e80f023b4da2017c7fb1ea3ef658ab0c48e0c28be6bfc0845fc7496b150f0af4a7ddae4e848d3596d7e1e0ba4bcc31a918a8c6db05fa2955
6
+ metadata.gz: 44f4299a16d1c3ac7c7fc2580cd99cdacebb2331651c0664455d5f44f204ea248fd9b5a91da9e28bb3caea74d52594696927bba084efac846ade350186073380
7
+ data.tar.gz: 8dc1202340ad2825a4cfbc9fce820b72ba726a9b5f3431d4eb29a1e18d3e55dc92644f2337b3e7cd1e7c6d6a2e3a580848ea08093683de42e252a2c10fe80165
@@ -18,6 +18,8 @@ module OpenStax::Salesforce::Remote
18
18
  field :confirmed_emails, from: "Confirmed_Emails__c"
19
19
  field :adoption_status, from: "Adoption_Status__c"
20
20
  field :grant_tutor_access, from: "Grant_Tutor_Access__c", as: :boolean
21
+ field :b_r_i_marketing, from: "BRI_Marketing__c", as: :boolean # Bill of Rights Institute (book) marketing
22
+ field :title_1_school, from: "Title_1_school__c", as: :boolean
21
23
 
22
24
  self.table_name = 'Contact'
23
25
  end
@@ -29,10 +29,13 @@ module OpenStax::Salesforce::Remote
29
29
  field :accounts_uuid, from: "accounts_uuid_c__c"
30
30
  field :application_source, from: "Application_Source__c"
31
31
  field :role, from: "Role__c"
32
+ field :other_role_name, from: "other_role_name__c"
32
33
  field :who_chooses_books, from: "who_chooses_books__c"
33
34
  field :verification_status, from: "FV_Status__c"
34
35
  field :finalize_educator_signup, from: "FV_Final__c", as: :boolean
35
36
  field :needs_cs_review, from: "Needs_CS_Review__c", as: :boolean
37
+ field :b_r_i_marketing, from: "BRI_Marketing__c", as: :boolean # Bill of Rights Institute (book) marketing
38
+ field :title_1_school, from: "Title_1_school__c", as: :boolean
36
39
 
37
40
  validates(:last_name, presence: true)
38
41
  validates(:school, presence: true)
@@ -1,10 +1,13 @@
1
1
  module OpenStax::Salesforce::Remote
2
2
  class School < ActiveForce::SObject
3
- field :name, from: 'Name'
4
- field :type, from: 'Type'
5
- field :school_location, from: 'School_Location__c'
6
- field :is_kip, from: 'K_I_P__c', as: :boolean
7
- field :is_child_of_kip, from: 'child_of_kip__c', as: :boolean
3
+ field :name, from: 'Name'
4
+ field :city, from: 'BillingCity'
5
+ field :state, from: 'BillingState'
6
+ field :type, from: 'Type'
7
+ field :school_location, from: 'School_Location__c'
8
+ field :sheerid_school_name, from: 'SheerID_School_Name__c'
9
+ field :is_kip, from: 'K_I_P__c', as: :boolean
10
+ field :is_child_of_kip, from: 'child_of_kip__c', as: :boolean
8
11
 
9
12
  self.table_name = 'Account'
10
13
  end
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '4.9.0'
3
+ VERSION = '4.11.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: 4.9.0
4
+ version: 4.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-03 00:00:00.000000000 Z
12
+ date: 2021-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.1.4
152
+ rubygems_version: 3.2.7
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Interface gem for accessing OpenStax's Salesforce instance