new_operators 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/new_operators.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  class Fixnum
2
2
  def ^(x)
3
3
  return 'no negative exponents' if x < 0
4
- return 'no negative numbers' if self < 0
5
4
  product, remainder = self, nil
6
5
  return 'undefined' if self == 0 && x == 0
7
6
  return 1 if x == 0
@@ -1,3 +1,3 @@
1
1
  module NewOperators
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: new_operators
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.6
5
+ version: 0.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charlie McElfresh