labimotion 0.1.16 → 0.1.17

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: 95752e2c3001d5de57f899a05dc5e348611cd3408a7fe1a1448ee426edf56437
4
- data.tar.gz: b8715b44806c7586c71c05534e83147ec33a0648f771bd3867b0212440cdaa69
3
+ metadata.gz: 7ed98fcca69390ab37b7bf5b5ad57064e1e13e19fd9210c759cc62a397061a4e
4
+ data.tar.gz: 53d3f4ecc5915591616a4d2a6a1bf90f0938317251ba6ff77dcbb174141a6194
5
5
  SHA512:
6
- metadata.gz: 45faeec9d12b78dec9838b47ac863f4492ae1808f84e4777f38d9a3137e60b74c238827ceff45639a003535906e6ec9a339d669cbc935eba62bbcb0e1157533f
7
- data.tar.gz: a19c0cd0422952d57e1151ffe87ddc032e1e18f2029ab860284a094f6ad5d645665771f7705dd7a39bfd139d524ab67a0635c936f1a46f981f55ef16b7188ed1
6
+ metadata.gz: ed56398c7180bbbdce79a0f7132447181de4999a0e4cb809d6ffefc3afa0f474b6be99565bd5e1070f12abc0c9283d21601d8b9a61403f595f1363b86705cb98
7
+ data.tar.gz: 39257e01ac10e83cd05d38f207393b2642d120ecfb55ef141b3d5446e6850b9786537242ec1366324b34aaca017d458154c39b89f95a6d5fb7f4326f8abde2ea
@@ -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'])
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Labimotion
4
4
  IS_RAILS5 = true
5
- VERSION = '0.1.16' if Labimotion::IS_RAILS5 == true
6
- VERSION = '1.0.1' if Labimotion::IS_RAILS5 == false
5
+ VERSION = '0.1.17' if Labimotion::IS_RAILS5 == true
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: 0.1.16
4
+ version: 0.1.17
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-29 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