openstax_salesforce 7.6.2 → 7.7.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: b8aee8ae25929505af4231fcb9bb57a5aad680705e8dba6ecfd9de2d8b4cbdf8
4
- data.tar.gz: 42d60a13b87008203c90b58fb6a63aa265570896b1365965798059f30d600d37
3
+ metadata.gz: a80d72400a2b99add2b89a2b5316ed462677b7f71339e6082950dc36075ed8a8
4
+ data.tar.gz: 3d79343775a5ed2b383d7fb9f74e1c92bdc487247c9becbd5c0d8b8fad44b2a8
5
5
  SHA512:
6
- metadata.gz: 33b14b473d23fe2241618f058030f3b88afc71406bee0ccf64ec721b90c48a258979c279f82b35b611cce0a6940f41bf90be63423211a95499a32a088767e600
7
- data.tar.gz: d0655b23591f9c00ddcf9a36c034600e764de76647ee79d66fb0127c996fff88d98f263694b012729da4f8382a596c3df7a72e070079482dd378c06f2fc95712
6
+ metadata.gz: 87a40383fbd020db1197ce01838e8c49d1ef752bbdcc4e751e238bf0621517ae1480b80637e3fa28d3a8da6f5e449bf0ea4e9a6293b5fb346848bbb0d19f671f
7
+ data.tar.gz: 8a5285b08157acdc704f2208d84c6bae5816b8b19e4085a11bbe7bdae1f54b62cdc7ee0a0c289cc023d531ff33deb5e2b0926c15c3df487866196c2fbb374f12
@@ -28,6 +28,8 @@ module OpenStax
28
28
  field :lead_source, from: 'LeadSource'
29
29
  field :signup_date, from: 'Signup_Date__c', as: :datetime
30
30
  field :renewal_eligible, from: 'Renewal_Eligible__c', as: :boolean
31
+ field :assignable_interest, from: 'Assignable_Interest__c'
32
+ field :assignable_adoption_date, from: 'Assignable_Adoption_Date__c', as: :datetime
31
33
 
32
34
  self.table_name = 'Contact'
33
35
  end
@@ -80,7 +80,7 @@ module OpenStax::Salesforce::SpecHelpers
80
80
  first_name: first_name || Faker::Name.first_name,
81
81
  last_name: last_name || Faker::Name.last_name,
82
82
  school_id: school_id(school_name),
83
- email: email || Faker::Internet.safe_email,
83
+ email: email || Faker::Internet.email,
84
84
  faculty_verified: faculty_verified
85
85
  ).tap do |contact|
86
86
  raise "Could not save SF contact: #{contact.errors}" unless contact.save
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = '7.6.2'
3
+ VERSION = '7.7.0'
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ namespace :openstax_salesforce do
2
2
  namespace :install do
3
3
  desc 'Copy initializers from openstax_salesforce to application'
4
4
  task :initializers do
5
- Dir.glob(File.expand_path('../../../config/initializers/*.rb', __FILE__)) do |file|
5
+ Dir.glob(File.expand_path('../../config/initializers/*.rb', __dir__)) do |file|
6
6
  if File.exists?(File.expand_path(File.basename(file), 'config/initializers'))
7
7
  print "NOTE: Initializer #{File.basename(file)} from openstax_salesforce has been skipped. Initializer with the same name already exists.\n"
8
8
  else
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: 7.6.2
4
+ version: 7.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-01-22 00:00:00.000000000 Z
13
+ date: 2024-06-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -64,16 +64,16 @@ dependencies:
64
64
  name: sqlite3
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - "<"
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: '2'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - "<"
75
75
  - !ruby/object:Gem::Version
76
- version: '0'
76
+ version: '2'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: rspec-rails
79
79
  requirement: !ruby/object:Gem::Requirement
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.4.22
184
+ rubygems_version: 3.2.33
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Interface gem for accessing OpenStax's Salesforce instance