stbaldricks 6.5.0 → 6.6.0.alpha.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2c00b9151de3c3eb6b48f592209361771d31def368ba46da053d82139833fb4
|
4
|
+
data.tar.gz: 201873e4e72d4dbfc881f9ea833ad5ec5a18e4cc2641eb6a732bc7eac1cb93df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6487282787cd238a68599278252c1171f15aac1ce834f6aa0e21243c641b9bf02a255a4240d1e36ad55ff41510edf33a5de6fc280fb7d89d786d67b2b47a7a2a
|
7
|
+
data.tar.gz: 4925f37a84e76fc57eacb99c39f127cf10a9c83c9f6ddaecaa85fcf749fa7100c792e19b22094d3762bcb2a166b60942497a3bd39a3f258b394827c279b2bc2f
|
@@ -206,6 +206,7 @@ module SBF
|
|
206
206
|
|
207
207
|
attribute_value = entity.send(attribute)
|
208
208
|
next if attribute_value.class.demodulize.start_with?('Partial')
|
209
|
+
next unless attribute_value.is_a? SBF::Client::BaseEntity
|
209
210
|
|
210
211
|
hsh[attribute] = reconstitute_with(attribute_value)
|
211
212
|
end
|
@@ -49,7 +49,7 @@ module SBF
|
|
49
49
|
class Contacts < SBF::Client::BaseEntity
|
50
50
|
class Contact < SBF::Client::BaseEntity
|
51
51
|
attr_reader :name
|
52
|
-
entity_attr_accessor :name_pieces, 'SBF::Client::
|
52
|
+
entity_attr_accessor :name_pieces, 'SBF::Client::EventContactNamePieces'
|
53
53
|
entity_attr_accessor :phone, 'SBF::Client::Phone'
|
54
54
|
entity_attr_accessor :email_address, 'SBF::Client::EmailAddress'
|
55
55
|
end
|
@@ -2,9 +2,7 @@ require 'stbaldricks/entities/lib/base'
|
|
2
2
|
|
3
3
|
module SBF
|
4
4
|
module Client
|
5
|
-
class
|
6
|
-
attr_accessor :prefix, :first_name, :middle_initial, :last_name, :suffix
|
7
|
-
|
5
|
+
class NamePiecesBase < SBF::Client::BaseEntity
|
8
6
|
def combined_name
|
9
7
|
name = ''
|
10
8
|
name += @first_name + ' ' unless @first_name.nil?
|
@@ -13,5 +11,13 @@ module SBF
|
|
13
11
|
name.strip
|
14
12
|
end
|
15
13
|
end
|
14
|
+
|
15
|
+
class NamePieces < NamePiecesBase
|
16
|
+
attr_accessor :prefix, :first_name, :middle_initial, :last_name, :suffix
|
17
|
+
end
|
18
|
+
|
19
|
+
class EventContactNamePieces < NamePiecesBase
|
20
|
+
attr_accessor :prefix, :first_name, :last_name, :suffix
|
21
|
+
end
|
16
22
|
end
|
17
23
|
end
|
data/lib/stbaldricks/version.rb
CHANGED
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: 6.
|
4
|
+
version: 6.6.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: 2018-10-
|
11
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -234,9 +234,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
236
|
requirements:
|
237
|
-
- - "
|
237
|
+
- - ">"
|
238
238
|
- !ruby/object:Gem::Version
|
239
|
-
version:
|
239
|
+
version: 1.3.1
|
240
240
|
requirements: []
|
241
241
|
rubyforge_project:
|
242
242
|
rubygems_version: 2.7.7
|