labimotion 1.0.10 → 1.0.11

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: 95963019e270001284bfb6a75a085785c40c49e71af21d10d9565c38f439a7da
4
- data.tar.gz: f51abb8bde5af0eb4908747622b6a6c8e20caf5ad603adc10e0d520fa1c1d339
3
+ metadata.gz: 7059d7bb80a3d629ddacc3ef633f4c2b039120b6a6a6754761a84de37a5aa6a0
4
+ data.tar.gz: 842ad058f7563befe7d7bf34a909aab07c97d8c406cd0f5b7f601d79f3af0ea2
5
5
  SHA512:
6
- metadata.gz: 87e851bf6615b5161e8193aa5ee13e65c6bcf83a6214a23f3c104aeaa865399d8480b53176f8b8c7b3f4631d254a4c0588d2d667542022db4004905b816754ec
7
- data.tar.gz: e0a302cefad4050e905b01dc195f79b0c4262eb9883f0b39d12687f09e86dca957cccd708383f278756115543018f6dda86b75968769e07b8c23c0887ee70810
6
+ metadata.gz: 8b03a6c2bc5592268ab5aef1e68a146c23c17e15d0d134a7f965d864dd38538b81051853c6b1d914df84d0f2697e0a8c7623bdbe5d9a548c0ee3a298994a7fba
7
+ data.tar.gz: f314a546d4b70cc3dc042b9e0977b918f984f2b573e512bc6385fe2611001c2e061b15226e2f7e99153db0bdaf0420b36c8b579246d3c5c7bea4cc9f2c60c59a
@@ -22,10 +22,12 @@ module Labimotion
22
22
  end
23
23
 
24
24
  def exec_converter
25
+ return if self.has_attribute?(:con_state) == false || con_state.present?
26
+
25
27
  #return if attachable_id.nil?
26
- return if Labimotion::IS_RAILS5 == false && con_state != Labimotion::ConState::WAIT
28
+ return if Labimotion::IS_RAILS5 == false && self.con_state != Labimotion::ConState::WAIT
27
29
 
28
- return if self.has_attribute?(:con_state) == false || con_state.nil? || con_state == Labimotion::ConState::NONE
30
+ return if self.has_attribute?(:con_state) == false || self.con_state.nil? || self.con_state == Labimotion::ConState::NONE
29
31
 
30
32
  case con_state
31
33
  when Labimotion::ConState::NMR
@@ -3,7 +3,7 @@
3
3
  ## Labimotion Version
4
4
  module Labimotion
5
5
  IS_RAILS5 = false
6
- VERSION_ELN = '1.0.10'
6
+ VERSION_ELN = '1.0.11'
7
7
  VERSION_REPO = '0.3.1'
8
8
 
9
9
  VERSION = Labimotion::VERSION_REPO if Labimotion::IS_RAILS5 == true
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.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chia-Lin Lin