integer 0.1.2 → 0.1.3

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 (4) hide show
  1. data/VERSION +1 -1
  2. data/integer.gemspec +1 -1
  3. data/test/test_integer.rb +2 -0
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{integer}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mary Wong"]
@@ -98,6 +98,8 @@ class TestInteger < ActiveSupport::TestCase
98
98
  assert_equal 13, 15.closest_fibonacci_smaller_or_equal_to
99
99
  assert_equal 13, 20.closest_fibonacci_smaller_or_equal_to
100
100
  assert_equal 21, 21.closest_fibonacci_smaller_or_equal_to
101
+ assert_equal 89, 99.closest_fibonacci_smaller_or_equal_to
102
+ assert_equal 144, 156.closest_fibonacci_smaller_or_equal_to
101
103
 
102
104
  test_fixnum = 99999999
103
105
  assert test_fixnum.is_a?(Fibonacci)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: integer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mary Wong