buzztools 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/buzztools/extend_string.rb +1 -1
- data/lib/buzztools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74a3cc1c63a44db46505a87dd99767c78ad4c988
|
4
|
+
data.tar.gz: 66e14b48f0cd01f2f0775380ccc61e1067302bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aaebbc6ef8f75919319d6f8250ee83c7360f3a8f13eca55af56eb4917256f4616e0816a213a6ef85024810076432be0eeaf5f225f305ee42db02a9687d63ffd
|
7
|
+
data.tar.gz: 9e86f64f92f5ef81f08943b29a46614151d2319c7d942bfaa1ebb1bc045b3253e76c8b54443c057f3446fb70da6b9a188630afce3aa5440a51e41eddd3950cb9
|
@@ -137,7 +137,7 @@ String.class_eval do
|
|
137
137
|
|
138
138
|
def to_float(aDefault=nil)
|
139
139
|
t = self.strip
|
140
|
-
return aDefault if !t =~ /(\+|-)?([0-9]+\.?[0-9]*|\.[0-9]+)([eE](\+|-)?[0-9]+)?/
|
140
|
+
return aDefault if !(t =~ /(\+|-)?([0-9]+\.?[0-9]*|\.[0-9]+)([eE](\+|-)?[0-9]+)?/)
|
141
141
|
return t.to_f
|
142
142
|
end
|
143
143
|
|
data/lib/buzztools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buzztools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary McGhee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|