openstax_salesforce 4.11.0 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d9c9cf19718d8dfb2986c3f24e0aa4b1d5cac65f945740f3a3829b0a251e5e8
4
- data.tar.gz: c6a7aeac7498ad448a2965248b298886b534b8aa649a8e6e5de2c126882c2846
3
+ metadata.gz: 072e8f4a57fc8b2b62c5b07f992647f7e72f53e37c33e9f38afb32d6a12d8d29
4
+ data.tar.gz: aace96854377e96566c1b6efb33ee58a70d715d93d7cd23e29a851a158b69ff6
5
5
  SHA512:
6
- metadata.gz: 44f4299a16d1c3ac7c7fc2580cd99cdacebb2331651c0664455d5f44f204ea248fd9b5a91da9e28bb3caea74d52594696927bba084efac846ade350186073380
7
- data.tar.gz: 8dc1202340ad2825a4cfbc9fce820b72ba726a9b5f3431d4eb29a1e18d3e55dc92644f2337b3e7cd1e7c6d6a2e3a580848ea08093683de42e252a2c10fe80165
6
+ metadata.gz: 2febbbc5b3352452237c98c6d7785f9c2ba4517c371b2920e5d68b2c987196a2dad4556e114072663fbdfd8f8a3b4660d62f7301d5454cbccfe827f340b1ef41
7
+ data.tar.gz: '082a78fbe362ca9b37ba6ebefbb863bf560ef212d75bcb4ab6ffba254f15309816507d63d673eeafd480ec6ce1d7195e06ee5b5bd1253f56d60e8537864197ab'
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # OpenStax::Salesforce
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/openstax_salesforce)
4
- [![Build Status](https://travis-ci.org/openstax/openstax_salesforce.svg?branch=master)](https://travis-ci.org/openstax/openstax_salesforce)
4
+ [![Tests](https://github.com/openstax/openstax_salesforce/workflows/Tests/badge.svg)](https://github.com/openstax/openstax_salesforce/actions?query=workflow:Tests)
5
5
  [![Code Climate](https://codeclimate.com/github/openstax/openstax_salesforce/badges/gpa.svg)](https://codeclimate.com/github/openstax/openstax_salesforce)
6
6
 
7
7
  OpenStax::Salesforce is a Rails engine used by OpenStax projects to communicate
@@ -16,6 +16,8 @@ module OpenStax::Salesforce::Remote
16
16
  field :salutation, from: "Salutation"
17
17
  field :subject, from: "Subject__c"
18
18
  field :school, from: "Company"
19
+ field :city, from: "City"
20
+ field :state, from: "State"
19
21
  field :phone, from: "Phone"
20
22
  field :website, from: "Website"
21
23
  field :status, from: "Status"
@@ -33,9 +35,14 @@ module OpenStax::Salesforce::Remote
33
35
  field :who_chooses_books, from: "who_chooses_books__c"
34
36
  field :verification_status, from: "FV_Status__c"
35
37
  field :finalize_educator_signup, from: "FV_Final__c", as: :boolean
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
38
+ field :needs_cs_review, from: "Needs_CS_Review__c", as: :boolean
39
+ field :b_r_i_marketing, from: "BRI_Marketing__c", as: :boolean # Bill of Rights Institute (book) marketing
40
+ field :title_1_school, from: "Title_1_school__c", as: :boolean
41
+ field :sheerid_school_name, from: "SheerID_School_Name__c"
42
+
43
+ # These 2 fields both hold the Account (School) ID, but have different data types and uses in SF
44
+ field :account_id, from: 'Account_ID__c'
45
+ field :school_id, from: 'School__c'
39
46
 
40
47
  validates(:last_name, presence: true)
41
48
  validates(:school, presence: true)
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '4.11.0'
3
+ VERSION = '4.12.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.11.0
4
+ version: 4.12.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: 2021-03-02 00:00:00.000000000 Z
12
+ date: 2021-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails