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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f43553f226cfb1524f5160d0570ed5e3fb0a1e5
4
- data.tar.gz: c6c836de0a6069897b22e403060d3bc07e901da8
3
+ metadata.gz: 74a3cc1c63a44db46505a87dd99767c78ad4c988
4
+ data.tar.gz: 66e14b48f0cd01f2f0775380ccc61e1067302bd7
5
5
  SHA512:
6
- metadata.gz: f3b1fd3ed438b8f8fd87b90b4842f9cce014bd828479ecdcc9ec2f649be15186bd0c67c568f14a104113d9a020aa1e6ca972182d14713cd99347b01703db032f
7
- data.tar.gz: a8fdba0a760b224ecefe2fd3caba04916772c96550b06f37d9252b173ef45d028aa9c50d908a6b8b8d2a775498f88f33373d0ae6cd7e7abd0e6bd18dacadeafb
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
 
@@ -1,3 +1,3 @@
1
1
  module Buzztools
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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: 2018-10-29 00:00:00.000000000 Z
11
+ date: 2019-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler