rstats 0.0.1 → 0.0.2

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. data/lib/rstats.rb +0 -5
  2. data/lib/rstats/version.rb +1 -1
  3. metadata +1 -1
data/lib/rstats.rb CHANGED
@@ -3,14 +3,9 @@ $:.unshift(File.dirname(__FILE__)) unless
3
3
  require 'bigdecimal'
4
4
 
5
5
  class Numeric
6
- def square
7
- self * self
8
- end
9
-
10
6
  def round_to(precision=nil)
11
7
  precision.nil? ? round : (self * (10 ** precision)).round / (10 ** precision).to_f
12
8
  end
13
-
14
9
  end
15
10
 
16
11
  class Array
@@ -2,7 +2,7 @@ module Rstats
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Baker