stbaldricks 6.5.0 → 6.6.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: 9e65e70d9e8cf824515f8b77ffda3f9485a4628abb192c3174199dcb66ea1569
4
- data.tar.gz: 74150f7982ab8eb5827a654bdbd080e9bf379daf5ffa9489117b5411c211e4fc
3
+ metadata.gz: d2c00b9151de3c3eb6b48f592209361771d31def368ba46da053d82139833fb4
4
+ data.tar.gz: 201873e4e72d4dbfc881f9ea833ad5ec5a18e4cc2641eb6a732bc7eac1cb93df
5
5
  SHA512:
6
- metadata.gz: 85d92ba748ce7915f89ad7e36d2a47a34b3eef3ca89450c3611808a6d905a7506b245750495b7f9fe9c0ecd23bb376448f0228c98f4702fe488705d60432c6bc
7
- data.tar.gz: 74169cac2a736473db9469d077d04c9d101ea9e86354016eb5de8a4cd89a827c6b812c9bc329ee9dae452d33cec86dafa1ea5e1c0d31396e88f556ee7982639e
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::NamePieces'
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 NamePieces < SBF::Client::BaseEntity
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
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '6.5.0'
3
+ VERSION = '6.6.0.alpha.1'
4
4
  end
5
5
  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: 6.5.0
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-08 00:00:00.000000000 Z
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: '0'
239
+ version: 1.3.1
240
240
  requirements: []
241
241
  rubyforge_project:
242
242
  rubygems_version: 2.7.7