range_math 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmY1YWY0NDY0ZDM5ODdhYWYxNWViYzJlNWY0ZDU0MWVkMDgyOWNhZQ==
4
+ ZTcxZWRjY2IwNThhMjI5MzY5OGVlZWE3YjUyOTQ1N2U1ZDIyZjJiOQ==
5
5
  data.tar.gz: !binary |-
6
- MTNmNGZiOWUzNmI3ZTFmMzlkNzlkMzY0ZWRlOGE3NTMyOWE1MTQxYg==
6
+ OTRmYTdkODlmZDllMjBjNTJjYTNiMjBmNWM4MzRkNDc2Yzg5ZDg1NQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzY1Zjg1YWMxNGVhMWU3NTUyMzJhNGVkODEyNjE1N2M2YmNhYWRhZWQxNDgy
10
- YjJiYzI4OGY4MzQ1NTA2YTI5ZTk3N2ZlZDEwMmJlNGFiZjUxYzViM2U5N2Ey
11
- NjYyYmEzODYzMGM1MDkwOTVjNWJjMGM4ZmQ1MzRmZjRlOWQxZDk=
9
+ MGZmZGJmNDRmNmEwMjI4NjJlYzY4YWY3OTVkYjZkN2IzNzI5ZTM0MmNkOTA3
10
+ MjYwZGEwNDZlYWM2OTA3NzMyNzY5MDAyMmU1NjRkZWY1Mjc4ZjQ3MDlkNDgz
11
+ NTE2NjNjZWI0NjI3OWExMDc4MmU5NTExNjY3ZGFjNjc5MzExYmM=
12
12
  data.tar.gz: !binary |-
13
- Y2IwMjVlYzYxZDJiYzFkNGJkMzgyYmQyNDI1NmRiMjFkMTIxZDE3MmI2ZDQ0
14
- ZTZiMGEyZGUxZjUzYTA4ZjBjMDNmNWE0N2UyMDZkZThiZTU3YTgxOGM4NWI4
15
- ODcwMDQ4YzMwZmJjMmIwYjc5MDU0NmE1N2VhMDQ4YzJjZDY5ODY=
13
+ OTY5ZGRiZTEwNjZhMzg4MzZlODJhNWRjMTlhMWFiM2VjMTdjZTMwZGMyNTc4
14
+ Y2M3MzVmNDg2NWZkYzRkOWE4NzgyYTJhODI2ZDM1MDlhMGExYzM5NmYyMzU0
15
+ NTljNjY1YjgyZjE0NzI0NTUwNjVkMWFkMzIyYjM4OTlhNWRiZmM=
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/range_math.rb CHANGED
@@ -33,7 +33,7 @@ class Range
33
33
  end
34
34
 
35
35
  def to_i
36
- (self.begin.to_i..self.end.to_i)
36
+ (self.begin.round..self.end.round)
37
37
  end
38
38
 
39
39
  def average
data/range_math.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "range_math"
3
- s.version = "0.6.0"
3
+ s.version = "0.6.1"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["muflax"]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: range_math
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
metadata.gz.sig CHANGED
Binary file