scruffy 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +8 -0
- data/Rakefile +9 -2
- data/lib/scruffy.rb +13 -0
- data/lib/scruffy/components.rb +10 -0
- data/lib/scruffy/components/viewport.rb +29 -17
- data/lib/scruffy/formatters.rb +156 -91
- data/lib/scruffy/graph.rb +22 -24
- data/lib/scruffy/helpers.rb +8 -0
- data/lib/scruffy/helpers/canvas.rb +25 -22
- data/lib/scruffy/helpers/layer_container.rb +20 -2
- data/lib/scruffy/layers.rb +15 -1
- data/lib/scruffy/layers/all_smiles.rb +121 -97
- data/lib/scruffy/layers/area.rb +38 -30
- data/lib/scruffy/layers/average.rb +52 -35
- data/lib/scruffy/layers/bar.rb +35 -22
- data/lib/scruffy/layers/base.rb +138 -126
- data/lib/scruffy/layers/line.rb +15 -9
- data/lib/scruffy/layers/sparkline_bar.rb +38 -0
- data/lib/scruffy/layers/stacked.rb +74 -59
- data/lib/scruffy/rasterizers.rb +13 -1
- data/lib/scruffy/rasterizers/batik_rasterizer.rb +35 -21
- data/lib/scruffy/rasterizers/rmagick_rasterizer.rb +19 -22
- data/lib/scruffy/renderers.rb +17 -1
- data/lib/scruffy/renderers/base.rb +39 -31
- data/lib/scruffy/renderers/cubed.rb +39 -31
- data/lib/scruffy/renderers/cubed3d.rb +53 -0
- data/lib/scruffy/renderers/empty.rb +23 -0
- data/lib/scruffy/renderers/sparkline.rb +11 -0
- data/lib/scruffy/themes.rb +81 -61
- data/lib/scruffy/version.rb +1 -1
- metadata +16 -4
data/lib/scruffy/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: scruffy
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2006-08-
|
6
|
+
version: 0.2.1
|
7
|
+
date: 2006-08-18 00:00:00 -07:00
|
8
8
|
summary: A powerful, clean graphing library for Ruby.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -62,12 +62,16 @@ files:
|
|
62
62
|
- lib/scruffy/layers/bar.rb
|
63
63
|
- lib/scruffy/layers/base.rb
|
64
64
|
- lib/scruffy/layers/line.rb
|
65
|
+
- lib/scruffy/layers/sparkline_bar.rb
|
65
66
|
- lib/scruffy/layers/stacked.rb
|
66
67
|
- lib/scruffy/rasterizers/batik_rasterizer.rb
|
67
68
|
- lib/scruffy/rasterizers/rmagick_rasterizer.rb
|
68
69
|
- lib/scruffy/renderers/base.rb
|
69
70
|
- lib/scruffy/renderers/cubed.rb
|
71
|
+
- lib/scruffy/renderers/cubed3d.rb
|
72
|
+
- lib/scruffy/renderers/empty.rb
|
70
73
|
- lib/scruffy/renderers/reversed.rb
|
74
|
+
- lib/scruffy/renderers/sparkline.rb
|
71
75
|
- lib/scruffy/renderers/split.rb
|
72
76
|
- lib/scruffy/renderers/standard.rb
|
73
77
|
- spec/graph_spec.rb
|
@@ -84,5 +88,13 @@ extensions: []
|
|
84
88
|
|
85
89
|
requirements: []
|
86
90
|
|
87
|
-
dependencies:
|
88
|
-
|
91
|
+
dependencies:
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: builder
|
94
|
+
version_requirement:
|
95
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: "2.0"
|
100
|
+
version:
|