unitsml 0.2.8 → 0.2.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a775437dde5a269c76fd4529f22f22eb41193345ef08cba32ac1e96cd5ebb74
4
- data.tar.gz: 354441d98afb6f35ea037d8530faf7672a24002b16a0a78b5b8ac4cf9b11e650
3
+ metadata.gz: f827b7e008cb967cbba93afa4777921dc1888d14a1c774fb9e8d53519c96a23f
4
+ data.tar.gz: 9890b583f250c426d3dc6b0bc1f117a32aea3dd88179abb9326faddd68b4822d
5
5
  SHA512:
6
- metadata.gz: 49a85665c41be2e35c0e4ce380b92adb2d8243293a841efab83673f2cdf61e7c3d7d13f8ba4cad9d6a6ffab8c9dc68f54038fa079961c6fc3c9add266ad27849
7
- data.tar.gz: 1a231c9ba814a87cdf88ae3fc64e5cf4a8d1d6362dc0411c9169b1e437f4ddddad037ab93651b5b3daec8c9e8d86d192370e7ae4e1b8595b5c3cb3588f00b3e8
6
+ metadata.gz: d182c8400372ec3c46ac932436ca403e496b36ef27f478e08867452add6e9a10845fe49b9795ff3ac5f4393b968cab2ce07cbee9002151e31f287a80ad6df74c
7
+ data.tar.gz: 41981bc903d629980f4937bd2b76e0971ab69f45d635ca897d414dd6a5871e1e7f4892838695593d3b5fe4953375401f61a8ab1bc8e19d55ea24a78b5bf7a2aa
@@ -8,6 +8,7 @@ module Unitsml
8
8
  @regexp = %r{(quantity|name|symbol|multiplier):\s*}
9
9
  @text = text&.match(/unitsml\((.*)\)/) ? Regexp.last_match[1] : text
10
10
  @orig_text = @text
11
+ @text = @text.gsub("−", "-")
11
12
  post_extras
12
13
  end
13
14
 
@@ -1,3 +1,3 @@
1
1
  module Unitsml
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unitsml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-11 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities