labimotion 1.0.20 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/labimotion/apis/labimotion_hub_api.rb +1 -1
- data/lib/labimotion/version.rb +1 -5
- data/lib/labimotion.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c374697be6dd59785865b85ea34a92de6d9e87d8d0fe9d5416b5b58c5f18f11
|
4
|
+
data.tar.gz: 11b8842141477f92d08e50c0fc55c29f82c7a098dc8c08ed9be610b9d037c0ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ebbb6edd334c5f13bbf3196cc7f5b56510019925f516abb35404b0943c9546e21fd16227ffebe5365955d9202b7201b795fac019c72050d0a59f902d4aa70ca
|
7
|
+
data.tar.gz: eded51a9e589660b0a6dcf20187eb715e946448fa9a047263176212c0136d0a648c9015d50a3de0ae06ea39ba6942fcfc23e00b085aecaa583e8faa57e67f1ee
|
@@ -19,7 +19,7 @@ module Labimotion
|
|
19
19
|
get do
|
20
20
|
list = "Labimotion::#{params[:klass]}".constantize.where(is_active: true).where.not(released_at: nil)
|
21
21
|
list = list.where(is_generic: true) if params[:klass] == 'ElementKlass'
|
22
|
-
entities = Labimotion::GenericPublicEntity.represent(list, displayed: params[:with_props])
|
22
|
+
entities = Labimotion::GenericPublicEntity.represent(list, displayed: params[:with_props], root: 'list')
|
23
23
|
rescue StandardError => e
|
24
24
|
Labimotion.log_exception(e, current_user)
|
25
25
|
[]
|
data/lib/labimotion/version.rb
CHANGED
@@ -3,9 +3,5 @@
|
|
3
3
|
## Labimotion Version
|
4
4
|
module Labimotion
|
5
5
|
IS_RAILS5 = false
|
6
|
-
|
7
|
-
VERSION_REPO = '0.3.1'
|
8
|
-
|
9
|
-
VERSION = Labimotion::VERSION_REPO if Labimotion::IS_RAILS5 == true
|
10
|
-
VERSION = Labimotion::VERSION_ELN if Labimotion::IS_RAILS5 == false
|
6
|
+
VERSION = '1.1.0'
|
11
7
|
end
|
data/lib/labimotion.rb
CHANGED
@@ -8,7 +8,7 @@ module Labimotion
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.log_exception(exception, current_user = nil)
|
11
|
-
Labimotion.logger.error("version: #{Labimotion::VERSION};
|
11
|
+
Labimotion.logger.error("version: #{Labimotion::VERSION}; (#{current_user&.id}) \n Exception: #{exception.message}")
|
12
12
|
Labimotion.logger.error(exception.backtrace.join("\n"))
|
13
13
|
end
|
14
14
|
|
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
|
4
|
+
version: 1.1.0
|
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:
|
12
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
119
|
+
rubygems_version: 3.1.6
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Chemotion LabIMotion
|