labimotion 1.0.2 → 1.0.3

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: 9d95cca4c3067ae72420caeba93fbaed69e9e948dfb8e673c395c3ae758b1419
4
- data.tar.gz: 7c5a469509b6dc448cce12d278c107b913a84d5e9efae2d57585f0b33db12143
3
+ metadata.gz: 85b16e5e5f7016923f9bd794dd16b295e481ba19dd7b5ee7966197709d2ee021
4
+ data.tar.gz: 934764fb714324941eb21090bbaeb0a634397ae639b7fd7af2ce855e5d59ab48
5
5
  SHA512:
6
- metadata.gz: ac1b93bf0e741d492daf65110ae91ffa3ef793852ddb8d7fd4c3f6ba73cc93b125d1a8898d0f79c7bf4aa20dc584e30d14279a04d4cc1ce3af5c0e149b69be2b
7
- data.tar.gz: 545fb7261afd1e503bb79e0eb0104512cd91545531461766b4efeac81a4a9a9d6d3949866be77966bff45e1f7cae0af4103aaeb722e025f5dbe830b01e977bbb
6
+ metadata.gz: c485ee1953b3672a3b9a60fc2add5b0000d7af23fc2cc67d995de097600ccbf6a598a4bbb91c3d0adc063e7c6e77404ccf03f2b64d82ea9df50d638482d05195
7
+ data.tar.gz: c8a40e8f6bdd3b6521bd1aef4ddf2e153c60aa5d32f7a256f053a83d9c281626979b36fe4d95040332000cc1b76101d119e10b05a6d2f128da5bc86be28f11f2
@@ -23,7 +23,7 @@ module Labimotion
23
23
  uuid = SecureRandom.uuid
24
24
  props = args[:properties]
25
25
  props['pkg'] = Labimotion::Utils.pkg(props['pkg'])
26
- props['identifier'] = klass.identifier
26
+ props['identifier'] = klass.identifier if klass.identifier.present?
27
27
  props['uuid'] = uuid
28
28
  props['klass'] = 'Dataset'
29
29
 
@@ -48,7 +48,7 @@ module Labimotion
48
48
  uuid = SecureRandom.uuid
49
49
  props = seg['properties']
50
50
  props['pkg'] = Labimotion::Utils.pkg(props['pkg'])
51
- props['identifier'] = identifier
51
+ props['identifier'] = klass.identifier if klass.identifier.present?
52
52
  props['uuid'] = uuid
53
53
  props['klass'] = 'Segment'
54
54
  segment = Labimotion::Segment.find_by(element_type: Labimotion::Utils.element_name(self.class.name), element_id: self.id, segment_klass_id: seg['segment_klass_id'])
@@ -3,5 +3,5 @@
3
3
  module Labimotion
4
4
  IS_RAILS5 = false
5
5
  VERSION = '0.1.14' if Labimotion::IS_RAILS5 == true
6
- VERSION = '1.0.2' if Labimotion::IS_RAILS5 == false
6
+ VERSION = '1.0.3' if Labimotion::IS_RAILS5 == false
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: labimotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chia-Lin Lin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-08-30 00:00:00.000000000 Z
12
+ date: 2023-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails