closest_fibonacci 1.2.7 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.7
1
+ 1.2.9
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "closest_fibonacci"
8
- s.version = "1.2.7"
8
+ s.version = "1.2.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Boris Polania"]
@@ -1,4 +1,4 @@
1
- module fibonacci
1
+ module Fibonacci
2
2
 
3
3
  def closest_fibonacci
4
4
 
@@ -21,5 +21,5 @@ module fibonacci
21
21
 
22
22
  end
23
23
 
24
- class Float; include fibonacci; end
25
- class Fixnum; include fibonacci; end
24
+ class Float; include Fibonacci; end
25
+ class Fixnum; include Fibonacci; end
@@ -1,7 +1,7 @@
1
1
  require 'helper'
2
2
 
3
3
  class TestClosestFibonacci < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
4
+ should "be a numeric value" do
5
+ assert_true, /^[\d]+(\.[\d]+){0,1}$/ === 100
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closest_fibonacci
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 7
10
- version: 1.2.7
9
+ - 9
10
+ version: 1.2.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Boris Polania