bitwiseCalc 1.6.0 → 1.6.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bitwiseCalc +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 291ba8693f8476a508712b9ca6b7fa690435b8ec
4
- data.tar.gz: 4679cc129d07100ab9bac21999c8ae59bdb07406
3
+ metadata.gz: 719c535cb175d4653546c4bb81ef1d1f10938e93
4
+ data.tar.gz: 2f4760f7f3de6d1aa6fee2ae9d91be98508b9937
5
5
  SHA512:
6
- metadata.gz: 1ef57bd68037118cc9642ee42a6caf5e52b65f578d2a5c5cfc2a9c0ddee8e34c92266ac2c86a6f0b87e216401f0d62693375ccb09de2ec03c95228cb62e5e9d9
7
- data.tar.gz: d42b86871d3ee653c38dfcbee311b19e6e30edd50c104b3e5ea8f1f04a6ed94f4412d655acde58bbca3f100fcc6e2ac8bf0f541317ba62c4c49ea91867afdbdb
6
+ metadata.gz: fc63a581cfd8e6bc1f9a36d75a10749dba33853d147d573366aab003e5ed5cfd0b22cdc90755a49c51cac0630657f0359238e99a427f7a1e8a01df510f9ae744
7
+ data.tar.gz: 53dba6b9e3cb8394739480126db2d9efb4f6319366b06f8c9a50cd33b41b3538a9b41c63de2750ec11c7a1fdc34b3c1bf41cca9a80d5f807f7753cbc5e40a105
@@ -4,7 +4,7 @@
4
4
  # @Email: vargash1@wit.edu
5
5
  # @Date: 2015-02-23 10:23:20
6
6
  # @Last modified by: vargash1
7
- # @Last modified time: Tuesday, May 10th 2016, 5:19:18 pm
7
+ # @Last modified time: Tuesday, May 10th 2016, 6:40:15 pm
8
8
  require 'colorize'
9
9
 
10
10
  class BoolCalc
@@ -142,7 +142,7 @@ class BoolCalc
142
142
  when arg[/0[0-7]+/]
143
143
  @x == nil ? @x = arg.to_i(8) : @y = arg.to_i(8)
144
144
  #decimal number
145
- when arg[/[0-9]+/]
145
+ when arg[/^-?[0-9]+/]
146
146
  @x == nil ? @x = arg.to_i : @y = arg.to_i
147
147
  end
148
148
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitwiseCalc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hector Vargas