tlconnor-scruffy 0.2.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/CHANGES.txt +115 -0
  2. data/LICENCE.txt +20 -0
  3. data/Manifest.txt +74 -0
  4. data/README.txt +66 -0
  5. data/lib/scruffy.rb +30 -0
  6. data/lib/scruffy/components.rb +22 -0
  7. data/lib/scruffy/components/axes.rb +23 -0
  8. data/lib/scruffy/components/background.rb +24 -0
  9. data/lib/scruffy/components/base.rb +57 -0
  10. data/lib/scruffy/components/data_markers.rb +41 -0
  11. data/lib/scruffy/components/graphs.rb +52 -0
  12. data/lib/scruffy/components/grid.rb +57 -0
  13. data/lib/scruffy/components/label.rb +17 -0
  14. data/lib/scruffy/components/legend.rb +147 -0
  15. data/lib/scruffy/components/style_info.rb +22 -0
  16. data/lib/scruffy/components/title.rb +19 -0
  17. data/lib/scruffy/components/value_markers.rb +25 -0
  18. data/lib/scruffy/components/viewport.rb +37 -0
  19. data/lib/scruffy/formatters.rb +233 -0
  20. data/lib/scruffy/graph.rb +205 -0
  21. data/lib/scruffy/graph_state.rb +29 -0
  22. data/lib/scruffy/helpers.rb +13 -0
  23. data/lib/scruffy/helpers/canvas.rb +41 -0
  24. data/lib/scruffy/helpers/layer_container.rb +119 -0
  25. data/lib/scruffy/helpers/marker_helper.rb +25 -0
  26. data/lib/scruffy/helpers/meta.rb +5 -0
  27. data/lib/scruffy/helpers/point_container.rb +99 -0
  28. data/lib/scruffy/layers.rb +28 -0
  29. data/lib/scruffy/layers/all_smiles.rb +137 -0
  30. data/lib/scruffy/layers/area.rb +46 -0
  31. data/lib/scruffy/layers/average.rb +67 -0
  32. data/lib/scruffy/layers/bar.rb +73 -0
  33. data/lib/scruffy/layers/base.rb +211 -0
  34. data/lib/scruffy/layers/box.rb +114 -0
  35. data/lib/scruffy/layers/line.rb +46 -0
  36. data/lib/scruffy/layers/multi.rb +74 -0
  37. data/lib/scruffy/layers/multi_bar.rb +51 -0
  38. data/lib/scruffy/layers/pie.rb +123 -0
  39. data/lib/scruffy/layers/pie_slice.rb +119 -0
  40. data/lib/scruffy/layers/scatter.rb +29 -0
  41. data/lib/scruffy/layers/sparkline_bar.rb +39 -0
  42. data/lib/scruffy/layers/stacked.rb +87 -0
  43. data/lib/scruffy/rasterizers.rb +14 -0
  44. data/lib/scruffy/rasterizers/batik_rasterizer.rb +39 -0
  45. data/lib/scruffy/rasterizers/mini_magick_rasterizer.rb +24 -0
  46. data/lib/scruffy/rasterizers/rmagick_rasterizer.rb +27 -0
  47. data/lib/scruffy/renderers.rb +23 -0
  48. data/lib/scruffy/renderers/axis_legend.rb +41 -0
  49. data/lib/scruffy/renderers/base.rb +95 -0
  50. data/lib/scruffy/renderers/cubed.rb +44 -0
  51. data/lib/scruffy/renderers/cubed3d.rb +53 -0
  52. data/lib/scruffy/renderers/empty.rb +22 -0
  53. data/lib/scruffy/renderers/pie.rb +20 -0
  54. data/lib/scruffy/renderers/reversed.rb +17 -0
  55. data/lib/scruffy/renderers/sparkline.rb +10 -0
  56. data/lib/scruffy/renderers/split.rb +48 -0
  57. data/lib/scruffy/renderers/standard.rb +37 -0
  58. data/lib/scruffy/themes.rb +177 -0
  59. data/lib/scruffy/version.rb +9 -0
  60. data/test/graph_creation_test.rb +286 -0
  61. data/test/test_helper.rb +2 -0
  62. metadata +150 -0
@@ -0,0 +1,2 @@
1
+ require 'test/unit'
2
+ require File.dirname(__FILE__) + '/../lib/scruffy'
metadata ADDED
@@ -0,0 +1,150 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tlconnor-scruffy
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 17
9
+ version: 0.2.17
10
+ platform: ruby
11
+ authors:
12
+ - Brasten Sager
13
+ - samhendley
14
+ - delano
15
+ - jagthedrummer
16
+ - tlconnor
17
+ autorequire:
18
+ bindir: bin
19
+ cert_chain: []
20
+
21
+ date: 2010-02-23 00:00:00 +13:00
22
+ default_executable:
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: builder
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ segments:
32
+ - 2
33
+ - 0
34
+ - 0
35
+ version: 2.0.0
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ description: Scruffy is a Ruby library for generating high quality, good looking graphs. It is designed to be easy to use and highly customizable.
39
+ email:
40
+ - brasten@nagilum.com
41
+ - david.parry@suranyami.com
42
+ - jagthedrummer@gmail.com
43
+ - tim@connorsoftware.com
44
+ executables: []
45
+
46
+ extensions: []
47
+
48
+ extra_rdoc_files: []
49
+
50
+ files:
51
+ - lib/scruffy/components/axes.rb
52
+ - lib/scruffy/components/background.rb
53
+ - lib/scruffy/components/base.rb
54
+ - lib/scruffy/components/data_markers.rb
55
+ - lib/scruffy/components/graphs.rb
56
+ - lib/scruffy/components/grid.rb
57
+ - lib/scruffy/components/label.rb
58
+ - lib/scruffy/components/legend.rb
59
+ - lib/scruffy/components/style_info.rb
60
+ - lib/scruffy/components/title.rb
61
+ - lib/scruffy/components/value_markers.rb
62
+ - lib/scruffy/components/viewport.rb
63
+ - lib/scruffy/components.rb
64
+ - lib/scruffy/formatters.rb
65
+ - lib/scruffy/graph.rb
66
+ - lib/scruffy/graph_state.rb
67
+ - lib/scruffy/helpers/canvas.rb
68
+ - lib/scruffy/helpers/layer_container.rb
69
+ - lib/scruffy/helpers/marker_helper.rb
70
+ - lib/scruffy/helpers/meta.rb
71
+ - lib/scruffy/helpers/point_container.rb
72
+ - lib/scruffy/helpers.rb
73
+ - lib/scruffy/layers/all_smiles.rb
74
+ - lib/scruffy/layers/area.rb
75
+ - lib/scruffy/layers/average.rb
76
+ - lib/scruffy/layers/bar.rb
77
+ - lib/scruffy/layers/base.rb
78
+ - lib/scruffy/layers/box.rb
79
+ - lib/scruffy/layers/line.rb
80
+ - lib/scruffy/layers/multi.rb
81
+ - lib/scruffy/layers/multi_bar.rb
82
+ - lib/scruffy/layers/pie.rb
83
+ - lib/scruffy/layers/pie_slice.rb
84
+ - lib/scruffy/layers/scatter.rb
85
+ - lib/scruffy/layers/sparkline_bar.rb
86
+ - lib/scruffy/layers/stacked.rb
87
+ - lib/scruffy/layers.rb
88
+ - lib/scruffy/rasterizers/batik_rasterizer.rb
89
+ - lib/scruffy/rasterizers/mini_magick_rasterizer.rb
90
+ - lib/scruffy/rasterizers/rmagick_rasterizer.rb
91
+ - lib/scruffy/rasterizers.rb
92
+ - lib/scruffy/renderers/axis_legend.rb
93
+ - lib/scruffy/renderers/base.rb
94
+ - lib/scruffy/renderers/cubed.rb
95
+ - lib/scruffy/renderers/cubed3d.rb
96
+ - lib/scruffy/renderers/empty.rb
97
+ - lib/scruffy/renderers/pie.rb
98
+ - lib/scruffy/renderers/reversed.rb
99
+ - lib/scruffy/renderers/sparkline.rb
100
+ - lib/scruffy/renderers/split.rb
101
+ - lib/scruffy/renderers/standard.rb
102
+ - lib/scruffy/renderers.rb
103
+ - lib/scruffy/themes.rb
104
+ - lib/scruffy/version.rb
105
+ - lib/scruffy.rb
106
+ - CHANGES.txt
107
+ - LICENCE.txt
108
+ - Manifest.txt
109
+ - README.txt
110
+ has_rdoc: true
111
+ homepage: http://scruffy.rubyforge.org
112
+ licenses: []
113
+
114
+ post_install_message:
115
+ rdoc_options:
116
+ - --quiet
117
+ - --title
118
+ - scruffy documentation
119
+ - --opname
120
+ - index.html
121
+ - --line-numbers
122
+ - --main
123
+ - README.txt
124
+ - --inline-source
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ segments:
132
+ - 0
133
+ version: "0"
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ segments:
139
+ - 0
140
+ version: "0"
141
+ requirements: []
142
+
143
+ rubyforge_project:
144
+ rubygems_version: 1.3.6
145
+ signing_key:
146
+ specification_version: 3
147
+ summary: A powerful, clean graphing library for Ruby.
148
+ test_files:
149
+ - test/graph_creation_test.rb
150
+ - test/test_helper.rb