lita-diabetter 1.2.6.alpha.84 → 1.2.6.alpha.85

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
  SHA1:
3
- metadata.gz: fa8298074c88be045af9770d0a17c691d5f90418
4
- data.tar.gz: 9f381040e8791ab9f331833bf6ed75c73b3bd7e8
3
+ metadata.gz: 1392195dd7bed06092066640394c1e0aec3d89c9
4
+ data.tar.gz: 925b737141129a434724bc1e156f56672990dfb4
5
5
  SHA512:
6
- metadata.gz: 52d50c269d1d27fdca268dda62f7f9ba8f53522c1b29a2c36753ad6e8de4daf028392288681aca823c739bbfb57a9e9d0c8103c075262c8be9768242622c8321
7
- data.tar.gz: 0bb4c95c58309a28d3b7aab5386416ed86adf0488d1231d185d12657443564984ac09a641abf26713063fc9c9a4b74f8dd54a565f625c5f8dc81ac905ac08efe
6
+ metadata.gz: 5c35ccd9ee2cc40f1a753b1212578063e7713d5ac3b2a2a98522f915713d6e1824db77c9842d6e74b28ba7cf3012319a4b1d62a5f8ebae0499414f4247e36c66
7
+ data.tar.gz: 1f5de46473bd5a1f67a3e02bfc7dbebb4901e03aed7d512c1abcb1975a1a23b80735531edd77d81781394adef690c172aef84bf4bf7dab620ee8bb14bdb016bd
@@ -6,16 +6,16 @@ module Lita
6
6
  @@upper = 50.0 # Upper limit for mmol/L - mg/dL cutoff
7
7
 
8
8
  route(/(?:^|_)(\d{1,3}|\d{1,2}\.\d+)(?:$|_)/, :convert, command: false, help: {
9
- '<number>' => 'Convert glucose between mass/molar concentration units.',
9
+ '<number>' => 'Convert glucose between mass/molar concentration units. Attempts to guess which way you want to convert',
10
10
  '_<number>_' => 'Convert glucose between mass/molar concentration units inline. E.g "I started at _125_ today"'
11
11
  })
12
12
 
13
13
  route(/(\d{1,3}\.?\d?)\s?(mmol\/?l?)/i, :convert_mmol, command: false, help: {
14
- '<number> mmol' => 'Convert glucose from mmol/L to mg/dL'
14
+ '<number> mmol' => 'Convert glucose from mmol/L to mg/dL, works inline or on its own. E.g "My BG is 5.7 mmol/L"'
15
15
  })
16
16
 
17
17
  route(/(\d{1,3}\.?\d?)\s?(mg\/?(dl)?)/i, :convert_mgdl, command: false, help: {
18
- '<number> mgdl' => 'Convert glucose from mg/dL to mmol/L'
18
+ '<number> mgdl' => 'Convert glucose from mg/dL to mmol/L, works inline or on its own. E.g "My BG is 110 mg/dL"'
19
19
  })
20
20
 
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-diabetter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6.alpha.84
4
+ version: 1.2.6.alpha.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns