stbaldricks 8.3.2.alpha.1 → 9.0.0.alpha.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: e07b964ce6b3001ccbbe62f99a89196cf17e8e8b7c9c037f4ff00d910c9adbd6
4
- data.tar.gz: dec6e13fe2de188acc90f6bb7ff6f6ecb38e5f1efc5ecc02db0207a4de5d74bd
3
+ metadata.gz: d87c4d7501ad2c7a21a1ddcc2affd4a75d63624c132750339be5bc19d99cb7ee
4
+ data.tar.gz: 4fdb19033d45322357429c0b95f1f63859bf1fb4b61deb87dde89d09c83399d2
5
5
  SHA512:
6
- metadata.gz: 67acf512628305984347e616ac4e947f73e77b541dc699c2002586e92dcd79ab459388daa432aca9325d43f7fdc357c21682c6535ed852a813e7c51ebe3839a2
7
- data.tar.gz: 65a057198438670e72484d15da8517f89699481f4476ca48e711347cb8515a9dd9798d5d87186fb4236d1da022838b14094508489200a8107a3b81316997a100
6
+ metadata.gz: 3fab8d4deb6faaa943589243821ea76ea7efb923262ee52df4020bd2cbe1df92440b1f3df569995f3da9d502941d01c725fd164049b304f8f2c9976e8a16fc18
7
+ data.tar.gz: a55a46f90f8781d9eb26d3742eadcc170fb980c10757ac9eb4968d8efadaa49d54c77c656184eb8d333c93676b78e5f216906152758ec7f23550a71c6a559bc4
@@ -56,10 +56,10 @@ module SBF
56
56
  INDIRECT_MULTIPLE = 'indirect_multiple'
57
57
  DIRECT = 'direct'
58
58
  DIRECT_BUT_LOCKED = 'direct_but_locked'
59
- INHERITED_TEAM = 'inherited_team'
60
- INHERITED_EVENT = 'inherited_event'
61
- INHERITED_TEAMS_EVENT = 'inherited_teams_event'
62
- INHERITED_BOTH_TEAM_AND_EVENT = 'inherited_both_team_and_event'
59
+ INHERITED_FROM_TEAM = 'inherited_from_team'
60
+ INHERITED_FROM_EVENT = 'inherited_from_event'
61
+ INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'
62
+ INHERITED_FROM_BOTH_TEAM_AND_EVENT = 'inherited_from_both_team_and_event'
63
63
  end
64
64
 
65
65
  class Photos < SBF::Client::BaseEntity
@@ -65,10 +65,10 @@ module SBF
65
65
  NO_ASSOCIATION = 'no_association'
66
66
  DIRECT = 'direct'
67
67
  DIRECT_BUT_LOCKED = 'direct_but_locked'
68
- INHERITED_TEAM = 'inherited_team'
69
- INHERITED_EVENT = 'inherited_event'
70
- INHERITED_TEAMS_EVENT = 'inherited_teams_event'
71
- INHERITED_BOTH_TEAM_AND_EVENT = 'inherited_both_team_and_event'
68
+ INHERITED_FROM_TEAM = 'inherited_from_team'
69
+ INHERITED_FROM_EVENT = 'inherited_from_event'
70
+ INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'
71
+ INHERITED_FROM_BOTH_TEAM_AND_EVENT = 'inherited_from_both_team_and_event'
72
72
  end
73
73
 
74
74
  class Photos < SBF::Client::BaseEntity
@@ -42,7 +42,7 @@ module SBF
42
42
  INDIRECT_MULTIPLE = 'indirect_multiple'
43
43
  DIRECT = 'direct'
44
44
  DIRECT_BUT_LOCKED = 'direct_but_locked'
45
- INHERITED_EVENT = 'inherited_event'
45
+ INHERITED_FROM_EVENT = 'inherited_from_event'
46
46
  end
47
47
 
48
48
  class Photos < SBF::Client::BaseEntity
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '8.3.2.alpha.1'
3
+ VERSION = '9.0.0.alpha.1'
4
4
  end
5
5
  end
@@ -0,0 +1,14 @@
1
+ require 'faker'
2
+
3
+ module Faker
4
+ class Name < Base
5
+ class << self
6
+ def ascii_last_name
7
+ loop do
8
+ name = last_name
9
+ return name if /^[a-zA-Z]*$/.match(name)
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -10,7 +10,7 @@ FactoryBot.define do
10
10
 
11
11
  # birthday { Faker::Date.between(DateTime.now - 16, DateTime.now - 4).to_s }
12
12
  # date_of_passing { Faker::Date.between(birthday, DateTime.now).to_s }
13
- # name { "#{Faker::Name.first_name} #{Faker::Name.last_name}" }
13
+ # name { "#{Faker::Name.first_name} #{Faker::Name.ascii_last_name}" }
14
14
 
15
15
  birthday { Time.now.to_s }
16
16
  date_of_passing { Time.now.to_s }
@@ -7,7 +7,7 @@ FactoryBot.define do
7
7
  end
8
8
 
9
9
  first_name { Faker::Name.first_name }
10
- last_name { Faker::Name.last_name }
10
+ last_name { Faker::Name.ascii_last_name }
11
11
  middle_initial { Faker::Name.middle_name.slice(0, 1) }
12
12
  end
13
13
 
@@ -19,6 +19,6 @@ FactoryBot.define do
19
19
  end
20
20
 
21
21
  first_name { Faker::Name.first_name }
22
- last_name { Faker::Name.last_name }
22
+ last_name { Faker::Name.ascii_last_name }
23
23
  end
24
24
  end
@@ -8,6 +8,6 @@ FactoryBot.define do
8
8
 
9
9
  email_address { Faker::Internet.email }
10
10
  first_name { Faker::Name.first_name }
11
- last_name { Faker::Name.last_name }
11
+ last_name { Faker::Name.ascii_last_name }
12
12
  end
13
13
  end
@@ -6,6 +6,6 @@ FactoryBot.define do
6
6
  new(attributes)
7
7
  end
8
8
 
9
- number { "#{Faker::Number.number(3)}-#{Faker::Number.number(3)}-#{Faker::Number.number(4)}" }
9
+ number { "#{Faker::Number.between(200, 999)}-#{Faker::Number.number(3)}-#{Faker::Number.number(4)}" }
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stbaldricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.2.alpha.1
4
+ version: 9.0.0.alpha.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-30 00:00:00.000000000 Z
11
+ date: 2019-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -484,6 +484,7 @@ files:
484
484
  - spec/factories/kid/custom_institution.rb
485
485
  - spec/factories/kid_honor.rb
486
486
  - spec/factories/kid_institution.rb
487
+ - spec/factories/lib/faker_patch.rb
487
488
  - spec/factories/lib/helpers.rb
488
489
  - spec/factories/location.rb
489
490
  - spec/factories/memorial.rb
@@ -576,6 +577,7 @@ test_files:
576
577
  - spec/factories/collection.rb
577
578
  - spec/factories/fundraiser.rb
578
579
  - spec/factories/lib/helpers.rb
580
+ - spec/factories/lib/faker_patch.rb
579
581
  - spec/factories/person/email_addresses.rb
580
582
  - spec/factories/person/phone_numbers.rb
581
583
  - spec/factories/person/addresses.rb