Kelsin-lilygraph 0.2.1 → 0.2.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.
- data/.gitignore +1 -0
- data/VERSION +1 -1
- data/lib/lilygraph.rb +3 -3
- data/lilygraph.gemspec +3 -2
- metadata +2 -1
data/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pkg/*
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
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
|
-
|
|
156
|
-
|
|
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.
|
|
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
|
-
"
|
|
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.
|
|
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
|