labimotion 1.3.0 → 1.3.0.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: 94c2f0242360d6b6fd17c82850b0650fe18f86ccd484b47ce98ae7dfdccd50d1
4
- data.tar.gz: 925eb30692c128d1339f97f96fdfe3b283f251822293fab6f25b9e2cffaedc25
3
+ metadata.gz: b0a2d70b1aee4937bb6ef17f4890586a56b43afbaef882b35405f0a4d9ba29bd
4
+ data.tar.gz: aa3ba75ff7343570d28e7821b4bea93088e99515075c909aea54c938a92c847a
5
5
  SHA512:
6
- metadata.gz: b611c37931e15ee233ff01708d2fafa421746b68aa5e63af907a0b811ccc2958b04491c80da4219516bc62db7cad682138af2c999d85a9708eca6a688489e63c
7
- data.tar.gz: 55680523c5140f1bfaffc632147ca1bce2a01969cb3866f1f1caa97681cfac9b497520b9002c9b2302e998792d6c6fd5c9ee50a5746493924982d745e031f8bc
6
+ metadata.gz: 22328a5f03a0e00afea8f06aa5fd82d6eee4b800c60892ab20f933b47ab815137429b9586fd3486938e0f9aa20276f4481cc4f2cc2be038636401ad819a0eccb
7
+ data.tar.gz: d613a1b16e9b906166943ccb58296abedd9beabee374b5aade1b5f38d9648ac1cd38acae52ea5ae32624605fe7f54efd486a86d1044b2eb64ac69b03efffe6eb
@@ -9,9 +9,8 @@ module Labimotion
9
9
  before_save :check_identifier
10
10
  end
11
11
 
12
-
13
12
  def check_identifier
14
- self.identifier = identifier || SecureRandom.uuid
13
+ self.identifier = identifier || SecureRandom.uuid if self.has_attribute?(:identifier)
15
14
  end
16
15
 
17
16
  def create_klasses_revision(current_user)
@@ -2,5 +2,5 @@
2
2
 
3
3
  ## Labimotion Version
4
4
  module Labimotion
5
- VERSION = '1.3.0'
5
+ VERSION = '1.3.0.1'
6
6
  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.3.0
4
+ version: 1.3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chia-Lin Lin