Kelsin-lilygraph 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/*
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/lib/lilygraph.rb CHANGED
@@ -151,9 +151,9 @@ class Lilygraph
151
151
  private
152
152
 
153
153
  def max
154
- (((@data.map do |num|
155
- num.respond_to?(:max) ? num.max : num
156
- end.max + 5) / 10.0).ceil * 10).round
154
+ ((((@data.map do |num|
155
+ num.respond_to?(:max) ? num.max : num
156
+ end.max || 0) + 5) / 10.0).ceil * 10).round
157
157
  end
158
158
 
159
159
  def graph_height
data/lilygraph.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lilygraph}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Christopher Giroir"]
@@ -17,7 +17,8 @@ Gem::Specification.new do |s|
17
17
  "README"
18
18
  ]
19
19
  s.files = [
20
- "LICENSE",
20
+ ".gitignore",
21
+ "LICENSE",
21
22
  "README",
22
23
  "Rakefile",
23
24
  "VERSION",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Kelsin-lilygraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Giroir
@@ -32,6 +32,7 @@ extra_rdoc_files:
32
32
  - LICENSE
33
33
  - README
34
34
  files:
35
+ - .gitignore
35
36
  - LICENSE
36
37
  - README
37
38
  - Rakefile