labimotion 1.0.20 → 1.1.1
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/libs/nmr_mapper.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: 31b676c3d3b051e9dae4da02b070aa56235b835d01b773d29096a0be2a946edc
|
4
|
+
data.tar.gz: 760e38c37701899c5a52320096a936b8c559828a807a62400182314c1e4efe02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cafa053063812ca19f6ada0142715a9063ad8c8f7c9e0f2c592e09a104eeef6c45e6660804e8b098d6d18c05b60fe4e5e89ff3e2b019c9c474f131f601b70a13
|
7
|
+
data.tar.gz: 94ca185e56c817789ba34c320d32d85cfb78e679f37b77a00ae3b194c1d0eecae4364e142f40dd52392821dcff7cee2dccbb2841aad55992da51df5c6759de1e
|
@@ -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
|
[]
|
@@ -18,7 +18,7 @@ module Labimotion
|
|
18
18
|
elsif result[:metadata] == nil
|
19
19
|
Labimotion::ConState::NONE
|
20
20
|
else
|
21
|
-
data = process(att, id,
|
21
|
+
data = process(att, id, result[:metadata])
|
22
22
|
generate_ds(id, att.attachable_id, data, current_user)
|
23
23
|
Labimotion::ConState::COMPLETED
|
24
24
|
end
|
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.1'
|
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.
|
4
|
+
version: 1.1.1
|
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-16 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
|