fe 2.3.1 → 2.3.2

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.
@@ -0,0 +1 @@
1
+ 65bc1237cce851bc0582579f97714eb9cd8cf2996894a0ff50031de2a574e211c820e793f9f55113e37779e1a8b7de5ffe6c2244b948892fb100e96dd105ce0e
@@ -9,6 +9,18 @@ describe Fe::ReferenceSheet, type: :model do
9
9
  # it { expect validate_presence_of :email } # need to add started_at column
10
10
  # it { expect validate_presence_of :relationship } # need to add started_at column
11
11
 
12
+ context '#email=' do
13
+ it 'strips surrounding whitespace' do
14
+ r = Fe::ReferenceSheet.new(email: " tester@test.com\t")
15
+ expect(r.email).to eq('tester@test.com')
16
+ end
17
+
18
+ it 'leaves nil alone' do
19
+ r = Fe::ReferenceSheet.new(email: nil)
20
+ expect(r.email).to be_nil
21
+ end
22
+ end
23
+
12
24
  context '#access_key' do
13
25
  it 'should generate two different in the same second' do
14
26
  # there's a small chance the first and second access keys generated will be in different seconds
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CruGlobal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-30 00:00:00.000000000 Z
11
+ date: 2026-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -611,10 +611,12 @@ files:
611
611
  - spec/dummy/db/migrate/20160204164613_add_visible_and_visibility_cache_key_to_reference_sheets.fe_engine.rb
612
612
  - spec/dummy/db/migrate/20181108201746_create_versions.rb
613
613
  - spec/dummy/db/schema.rb
614
+ - spec/dummy/log/test.log
614
615
  - spec/dummy/public/404.html
615
616
  - spec/dummy/public/422.html
616
617
  - spec/dummy/public/500.html
617
618
  - spec/dummy/public/favicon.ico
619
+ - spec/dummy/tmp/local_secret.txt
618
620
  - spec/factories/answer_sheet_question_sheets.rb
619
621
  - spec/factories/answer_sheets.rb
620
622
  - spec/factories/answers.rb
@@ -767,10 +769,12 @@ test_files:
767
769
  - spec/dummy/db/migrate/20160204164613_add_visible_and_visibility_cache_key_to_reference_sheets.fe_engine.rb
768
770
  - spec/dummy/db/migrate/20181108201746_create_versions.rb
769
771
  - spec/dummy/db/schema.rb
772
+ - spec/dummy/log/test.log
770
773
  - spec/dummy/public/404.html
771
774
  - spec/dummy/public/422.html
772
775
  - spec/dummy/public/500.html
773
776
  - spec/dummy/public/favicon.ico
777
+ - spec/dummy/tmp/local_secret.txt
774
778
  - spec/factories/answer_sheet_question_sheets.rb
775
779
  - spec/factories/answer_sheets.rb
776
780
  - spec/factories/answers.rb