labimotion 1.3.0.rc5 → 1.3.0
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 +4 -4
- data/lib/labimotion/utils/units.rb +22 -13
- data/lib/labimotion/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 94c2f0242360d6b6fd17c82850b0650fe18f86ccd484b47ce98ae7dfdccd50d1
|
|
4
|
+
data.tar.gz: 925eb30692c128d1339f97f96fdfe3b283f251822293fab6f25b9e2cffaedc25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b611c37931e15ee233ff01708d2fafa421746b68aa5e63af907a0b811ccc2958b04491c80da4219516bc62db7cad682138af2c999d85a9708eca6a688489e63c
|
|
7
|
+
data.tar.gz: 55680523c5140f1bfaffc632147ca1bce2a01969cb3866f1f1caa97681cfac9b497520b9002c9b2302e998792d6c6fd5c9ee50a5746493924982d745e031f8bc
|
|
@@ -44,11 +44,11 @@ module Labimotion
|
|
|
44
44
|
"position": 35,
|
|
45
45
|
"placeholder": "amount of substance",
|
|
46
46
|
"units": [
|
|
47
|
-
{ "key": "mol", "label": "mol
|
|
48
|
-
{ "key": "mmol", "label": "mmol
|
|
49
|
-
{ "key": "umol", "label": "µmol
|
|
50
|
-
{ "key": "nmol", "label": "nmol
|
|
51
|
-
{ "key": "pmol", "label": "pmol
|
|
47
|
+
{ "key": "mol", "label": "mol", "nm": 1 },
|
|
48
|
+
{ "key": "mmol", "label": "mmol", "nm": 1000 },
|
|
49
|
+
{ "key": "umol", "label": "µmol", "nm": 1000000 },
|
|
50
|
+
{ "key": "nmol", "label": "nmol", "nm": 1.0e9 },
|
|
51
|
+
{ "key": "pmol", "label": "pmol", "nm": 1.0e12 }
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
{
|
|
@@ -59,11 +59,11 @@ module Labimotion
|
|
|
59
59
|
"position": 40,
|
|
60
60
|
"placeholder": "molarity",
|
|
61
61
|
"units": [
|
|
62
|
-
{ "key": "mol_l", "label": "mol/L
|
|
63
|
-
{ "key": "mmol_l", "label": "mmol/L
|
|
64
|
-
{ "key": "umol_l", "label": "µmol/L
|
|
65
|
-
{ "key": "nmol_l", "label": "nmol/L
|
|
66
|
-
{ "key": "pmol_l", "label": "pmol/L
|
|
62
|
+
{ "key": "mol_l", "label": "mol/L", "nm": 1 },
|
|
63
|
+
{ "key": "mmol_l", "label": "mmol/L", "nm": 1000 },
|
|
64
|
+
{ "key": "umol_l", "label": "µmol/L", "nm": 1000000 },
|
|
65
|
+
{ "key": "nmol_l", "label": "nmol/L", "nm": 1000000000 },
|
|
66
|
+
{ "key": "pmol_l", "label": "pmol/L", "nm": 1000000000000 }
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
{
|
|
@@ -168,6 +168,15 @@ module Labimotion
|
|
|
168
168
|
"placeholder": "Electric Charge in C",
|
|
169
169
|
"units": [{ "key": "ec_c", "label": "C", "nm": 1 }]
|
|
170
170
|
},
|
|
171
|
+
{
|
|
172
|
+
"type": "numeric",
|
|
173
|
+
"field": "electric_charge_mol",
|
|
174
|
+
"label": "Electric Charge per mol",
|
|
175
|
+
"default": "",
|
|
176
|
+
"position": 85,
|
|
177
|
+
"placeholder": "Electric Charge per mol",
|
|
178
|
+
"units": [{ "key": "ec_mol", "label": "C/mol", "nm": 1 }]
|
|
179
|
+
},
|
|
171
180
|
{
|
|
172
181
|
"type": "numeric",
|
|
173
182
|
"field": "electric_field",
|
|
@@ -206,12 +215,12 @@ module Labimotion
|
|
|
206
215
|
{
|
|
207
216
|
"type": "numeric",
|
|
208
217
|
"field": "faraday",
|
|
209
|
-
"label": "Faraday",
|
|
218
|
+
"label": "Faraday (Fd)",
|
|
210
219
|
"default": "",
|
|
211
220
|
"position": 95,
|
|
212
|
-
"placeholder": "Faraday",
|
|
221
|
+
"placeholder": "Faraday (Fd)",
|
|
213
222
|
"units": [
|
|
214
|
-
{ "key": "faraday", "label": "
|
|
223
|
+
{ "key": "faraday", "label": "Fd", "nm": 1 }
|
|
215
224
|
]
|
|
216
225
|
},
|
|
217
226
|
{
|
data/lib/labimotion/version.rb
CHANGED
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
|
|
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: 2024-04-
|
|
12
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -121,9 +121,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
version: '0'
|
|
122
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
|
124
|
-
- - "
|
|
124
|
+
- - ">="
|
|
125
125
|
- !ruby/object:Gem::Version
|
|
126
|
-
version:
|
|
126
|
+
version: '0'
|
|
127
127
|
requirements: []
|
|
128
128
|
rubygems_version: 3.1.6
|
|
129
129
|
signing_key:
|