primary_connect_proto 0.12.0 → 0.13.0

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: c367cc34fa389d087c38addd77cbdd455572ed37393dc62fc98224e96117b380
4
- data.tar.gz: 79f99dafbe4101cacb9e790d9a75f6dd797872e0ad6ef635aa6b91cdd2b00d05
3
+ metadata.gz: '09aaf5037ee8a3196602f62971fb8c41c879a869cab4b3e4cc3a595b1812fb28'
4
+ data.tar.gz: 051e08114423cc9cece4bcecfeb20c11a20802023b4c52fc5f919644824e75c8
5
5
  SHA512:
6
- metadata.gz: 6a3c744c63a6c80e1eac6046c9dd57b541ddbe48f82d547ab44219d03dc1405dbddad867331f36a927424bd1de3ffae7fe5418ad6acd6967bfbb83166b1de34a
7
- data.tar.gz: ca63ceb021f7c1969d148ab9d0462d5f5d172140283ebc8f21b6059427fc32e02a0cbd8cf752e7d7c26acc9cb3507d66ee1155c0201f7175c481f3a8dcbe328d
6
+ metadata.gz: c8b1be15392e9f6bd406eb3b71d2d80b96572bfd04698fba85e2870cafa06191472ff86bdda0e46dbdcb8c9b80f17979bc0e606f9d53b8aa4c33b8150bc3e7f1
7
+ data.tar.gz: aac836e793ed0180e815a39e74ffd134d43c11448af157554be8566b283be866749c99323dfd7b615684d4b67f879385c7b196f878786f4cccc2977a26ed1766
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.13.0
4
+
5
+ - Added `Demographics::Gender::GENDER_INTERSEX`
6
+
7
+ ## 0.12.1
8
+
9
+ - Update `ConnectProto::Extensions::Valueable` to handle `TrueClass` and `FalseClass`
10
+
3
11
  ## 0.12.0
4
12
 
5
13
  - Added `Order.Order.Status.STATUS_REPORTED`
@@ -94,6 +94,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
94
94
  value :GENDER_TRANSGENDER_MALE, 5
95
95
  value :GENDER_TRANSGENDER_FEMALE, 6
96
96
  value :GENDER_PREFER_NOT_TO_DISCLOSE, 7
97
+ value :GENDER_INTERSEX, 8
97
98
  end
98
99
  add_enum "primary.connect.Demographics.SexualOrientation" do
99
100
  value :ORIENTATION_UNKNOWN, 0
@@ -41,19 +41,19 @@ message Demographics {
41
41
  }
42
42
 
43
43
  enum MaritalStatus {
44
- MARITAL_STATUS_UNKNOWN = 0;
45
- MARITAL_STATUS_SEPARATED = 1;
46
- MARITAL_STATUS_UNMARRIED = 2;
44
+ MARITAL_STATUS_UNKNOWN = 0;
45
+ MARITAL_STATUS_SEPARATED = 1;
46
+ MARITAL_STATUS_UNMARRIED = 2;
47
47
  MARITAL_STATUS_COMMON_LAW = 3;
48
48
  MARITAL_STATUS_DIVORCED = 4;
49
- MARITAL_STATUS_LEGALLY_SEPARATED = 5;
50
- MARITAL_STATUS_LIVING_TOGETHER = 6;
51
- MARITAL_STATUS_INTERLOCUTORY = 7;
52
- MARITAL_STATUS_MARRIED = 8;
49
+ MARITAL_STATUS_LEGALLY_SEPARATED = 5;
50
+ MARITAL_STATUS_LIVING_TOGETHER = 6;
51
+ MARITAL_STATUS_INTERLOCUTORY = 7;
52
+ MARITAL_STATUS_MARRIED = 8;
53
53
  MARITAL_STATUS_ANNULLED = 9;
54
- MARITAL_STATUS_OTHER = 10;
54
+ MARITAL_STATUS_OTHER = 10;
55
55
  MARITAL_STATUS_DOMESTIC_PARTNER = 11;
56
- MARITAL_STATUS_REGISTERED_DOMESTIC_PARTNER = 12;
56
+ MARITAL_STATUS_REGISTERED_DOMESTIC_PARTNER = 12;
57
57
  MARITAL_STATUS_SINGLE= 13;
58
58
  MARITAL_STATUS_UNREPORTED = 14;
59
59
  MARITAL_STATUS_WIDOWED = 15;
@@ -77,6 +77,7 @@ message Demographics {
77
77
  GENDER_TRANSGENDER_MALE = 5;
78
78
  GENDER_TRANSGENDER_FEMALE = 6;
79
79
  GENDER_PREFER_NOT_TO_DISCLOSE = 7;
80
+ GENDER_INTERSEX = 8;
80
81
  }
81
82
 
82
83
  enum SexualOrientation {
@@ -1,3 +1,3 @@
1
1
  module ConnectProto
2
- VERSION = '0.12.0'
2
+ VERSION = '0.13.0'
3
3
  end
@@ -5,6 +5,7 @@ module ConnectProto
5
5
  module Valueable
6
6
  def self.to_value(value)
7
7
  case value
8
+ when TrueClass, FalseClass then Google::Protobuf::Value.new(bool_value: value)
8
9
  when String then Google::Protobuf::Value.new(string_value: value)
9
10
  when Numeric then Google::Protobuf::Value.new(number_value: value)
10
11
  when NilClass then Google::Protobuf::Value.new(null_value: :NULL_VALUE)
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primary_connect_proto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Primary.Health
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -127,6 +127,7 @@ files:
127
127
  - lib/extensions/phone_numberable.rb
128
128
  - lib/extensions/valueable.rb
129
129
  - lib/primary_connect_proto.rb
130
+ - primary_connect_proto-0.12.0.gem
130
131
  - spec/protobuf/demographics_spec.rb
131
132
  - spec/protobuf/name_spec.rb
132
133
  - spec/protobuf/order/order/facility_spec.rb