labimotion 0.1.12 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
data/lib/labimotion.rb CHANGED
@@ -7,7 +7,7 @@ module Labimotion
7
7
  @@labimotion_logger ||= Logger.new(Rails.root.join('log/labimotion.log')) # rubocop:disable Style/ClassVars
8
8
  end
9
9
 
10
- def self.log_exception(exception, current_user = {})
10
+ def self.log_exception(exception, current_user = nil)
11
11
  Labimotion.logger.error("version: #{Labimotion::VERSION}; #{Labimotion::IS_RAILS5}, (#{current_user&.id}) \n Exception: #{exception.message}")
12
12
  Labimotion.logger.error(exception.backtrace.join("\n"))
13
13
  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.12
4
+ version: 0.1.15
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-17 00:00:00.000000000 Z
12
+ date: 2023-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -73,6 +73,7 @@ files:
73
73
  - lib/labimotion/models/concerns/generic_klass_revisions.rb
74
74
  - lib/labimotion/models/concerns/generic_revisions.rb
75
75
  - lib/labimotion/models/concerns/segmentable.rb
76
+ - lib/labimotion/models/concerns/workflow.rb
76
77
  - lib/labimotion/models/dataset.rb
77
78
  - lib/labimotion/models/dataset_klass.rb
78
79
  - lib/labimotion/models/dataset_klasses_revision.rb
@@ -83,6 +84,7 @@ files:
83
84
  - lib/labimotion/models/elements_element.rb
84
85
  - lib/labimotion/models/elements_revision.rb
85
86
  - lib/labimotion/models/elements_sample.rb
87
+ - lib/labimotion/models/hub_log.rb
86
88
  - lib/labimotion/models/segment.rb
87
89
  - lib/labimotion/models/segment_klass.rb
88
90
  - lib/labimotion/models/segment_klasses_revision.rb