svg-graph 1.0.1 → 1.0.3

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.
Files changed (53) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +7 -5
  3. data/Manifest.txt +53 -17
  4. data/README.markdown +14 -0
  5. data/README.txt +10 -3
  6. data/Rakefile +6 -0
  7. data/build.xml +143 -0
  8. data/dist.xml.in +46 -0
  9. data/images/bar.png +0 -0
  10. data/images/bar.svg +76 -0
  11. data/images/bar.svgz +0 -0
  12. data/images/barhorizontal.png +0 -0
  13. data/images/barhorizontal.svg +76 -0
  14. data/images/barhorizontal.svgz +0 -0
  15. data/images/line.png +0 -0
  16. data/images/line.svg +80 -0
  17. data/images/line.svgz +0 -0
  18. data/images/pie.png +0 -0
  19. data/images/pie.svg +70 -0
  20. data/images/pie.svgz +0 -0
  21. data/images/plot.png +0 -0
  22. data/images/plot.svg +131 -0
  23. data/images/plot.svgz +0 -0
  24. data/images/schedule.png +0 -0
  25. data/images/schedule.svg +67 -0
  26. data/images/timeseries.png +0 -0
  27. data/images/timeseries.svg +179 -0
  28. data/images/timeseries.svgz +0 -0
  29. data/index.xml +281 -0
  30. data/install.rb +161 -0
  31. data/lib/SVG/Graph/Bar.rb +1 -1
  32. data/lib/SVG/Graph/Graph.rb +11 -9
  33. data/lib/SVG/Graph/Line.rb +1 -0
  34. data/lib/SVG/Graph/Pie.rb +3 -3
  35. data/lib/SVG/Graph/Plot.rb +69 -20
  36. data/lib/SVG/Graph/Schedule.rb +19 -5
  37. data/lib/SVG/Graph/TimeSeries.rb +62 -45
  38. data/lib/svggraph.rb +1 -2
  39. data/screenshots.xml +148 -0
  40. data/style/common.xsl +37 -0
  41. data/style/release_html.xsl +169 -0
  42. data/style/release_txt.xsl +25 -0
  43. data/svg-graph.gemspec +59 -0
  44. data/test/data.txt +4 -0
  45. data/test/plot.rb +51 -0
  46. data/test/schedule.rb +43 -0
  47. data/test/single.rb +33 -0
  48. data/test/test.rb +54 -0
  49. data/test/test_plot.rb +170 -0
  50. data/test/test_svg_graph.rb +24 -55
  51. data/test/timeseries.rb +58 -0
  52. metadata +79 -14
  53. metadata.gz.sig +2 -1
metadata CHANGED
@@ -1,35 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svg-graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ prerelease:
5
+ version: 1.0.3
5
6
  platform: ruby
6
7
  authors:
7
8
  - Sean Russell
8
9
  - Claudio Bustos
10
+ - Liehann Loots
11
+ - Piergiuliano Bossi
9
12
  autorequire:
10
13
  bindir: bin
11
- cert_chain: []
14
+ cert_chain:
15
+ - |
16
+ -----BEGIN CERTIFICATE-----
17
+ MIIDMjCCAhqgAwIBAgIBADANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhjbGJ1
18
+ c3RvczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
19
+ MB4XDTEwMDMyOTIxMzg1NVoXDTExMDMyOTIxMzg1NVowPzERMA8GA1UEAwwIY2xi
20
+ dXN0b3MxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
21
+ bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf8JVMGqE7m5kYb+PNN
22
+ neZv2pcXV5fQCi6xkyG8bi2/SIFy/LyxuvLzEeOxBeaz1Be93bayIUquOIqw3dyw
23
+ /KXWa31FxuNuvAm6CN8fyeRYX/ou4cw3OIUUnIvB7RMNIu4wbgeM6htV/QEsNLrv
24
+ at1/mh9JpqawPrcjIOVMj4BIp67vmzJCaUf+S/H2uYtSO09F+YQE3tv85TPeRmqU
25
+ yjyXyTc/oJiw1cXskUL8UtMWZmrwNLHXuZWWIMzkjiz3UNdhJr/t5ROk8S2WPznl
26
+ 0bMy/PMIlAbqWolRn1zl2VFJ3TaXScbqImY8Wf4g62b/1ZSUlGrtnLNsCYXrWiso
27
+ UPUCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFGu9
28
+ rrJ1H64qRmNNu3Jj/Qjvh0u5MA0GCSqGSIb3DQEBBQUAA4IBAQCV0Unka5isrhZk
29
+ GjqSDqY/6hF+G2pbFcbWUpjmC8NWtAxeC+7NGV3ljd0e1SLfoyBj4gnFtFmY8qX4
30
+ K02tgSZM0eDV8TpgFpWXzK6LzHvoanuahHLZEtk/+Z885lFene+nHadkem1n9iAB
31
+ cs96JO9/JfFyuXM27wFAwmfHCmJfPF09R4VvGHRAvb8MGzSVgk2i06OJTqkBTwvv
32
+ JHJdoyw3+8bw9RJ+jLaNoQ+xu+1pQdS2bb3m7xjZpufml/m8zFCtjYM/7qgkKR8z
33
+ /ZZt8lCiKfFArppRrZayE2FVsps4X6WwBdrKTMZ0CKSXTRctbEj1BAZ67eoTvBBt
34
+ rpP0jjs0
35
+ -----END CERTIFICATE-----
12
36
 
13
- date: 2009-09-26 00:00:00 -04:00
37
+ date: 2011-08-04 00:00:00 -04:00
14
38
  default_executable:
15
39
  dependencies:
16
40
  - !ruby/object:Gem::Dependency
17
41
  name: hoe
18
- type: :development
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
42
+ prerelease: false
43
+ requirement: &id001 !ruby/object:Gem::Requirement
44
+ none: false
21
45
  requirements:
22
46
  - - ">="
23
47
  - !ruby/object:Gem::Version
24
- version: 2.3.3
25
- version:
48
+ version: 2.8.0
49
+ type: :development
50
+ version_requirements: *id001
26
51
  description: |-
27
- Gem version of SVG:::Graph.
52
+ This is a minor revision of the [SVG::Graph library](http://www.germane-software.com/software/SVG/SVG::Graph/) by Sean Russell with few minor touch-ups to make it run on Ruby 1.9.x and to have it gem-installable
28
53
 
29
54
  SVG:::Graph is a pure Ruby library for generating charts, which are a type of graph where the values of one axis are not scalar. SVG::Graph has a verry similar API to the Perl library SVG::TT::Graph, and the resulting charts also look the same. This isn't surprising, because SVG::Graph started as a loose port of SVG::TT::Graph, although the internal code no longer resembles the Perl original at all.
30
55
  email:
31
56
  - ser_AT_germane-software.com
32
57
  - clbustos_AT_gmail.com
58
+ - liehhanl_AT_gmail.com
59
+ - pgbossi_AT_gmail.com
33
60
  executables: []
34
61
 
35
62
  extensions: []
@@ -45,9 +72,33 @@ files:
45
72
  - History.txt
46
73
  - LICENSE.txt
47
74
  - Manifest.txt
75
+ - README.markdown
48
76
  - README.txt
49
77
  - Rakefile
50
- - lib/svggraph.rb
78
+ - build.xml
79
+ - dist.xml.in
80
+ - images/bar.png
81
+ - images/bar.svg
82
+ - images/bar.svgz
83
+ - images/barhorizontal.png
84
+ - images/barhorizontal.svg
85
+ - images/barhorizontal.svgz
86
+ - images/line.png
87
+ - images/line.svg
88
+ - images/line.svgz
89
+ - images/pie.png
90
+ - images/pie.svg
91
+ - images/pie.svgz
92
+ - images/plot.png
93
+ - images/plot.svg
94
+ - images/plot.svgz
95
+ - images/schedule.png
96
+ - images/schedule.svg
97
+ - images/timeseries.png
98
+ - images/timeseries.svg
99
+ - images/timeseries.svgz
100
+ - index.xml
101
+ - install.rb
51
102
  - lib/SVG/Graph/Bar.rb
52
103
  - lib/SVG/Graph/BarBase.rb
53
104
  - lib/SVG/Graph/BarHorizontal.rb
@@ -57,7 +108,20 @@ files:
57
108
  - lib/SVG/Graph/Plot.rb
58
109
  - lib/SVG/Graph/Schedule.rb
59
110
  - lib/SVG/Graph/TimeSeries.rb
111
+ - lib/svggraph.rb
112
+ - screenshots.xml
113
+ - style/common.xsl
114
+ - style/release_html.xsl
115
+ - style/release_txt.xsl
116
+ - svg-graph.gemspec
117
+ - test/data.txt
118
+ - test/plot.rb
119
+ - test/schedule.rb
120
+ - test/single.rb
121
+ - test/test.rb
60
122
  - test/test_svg_graph.rb
123
+ - test/timeseries.rb
124
+ - test/test_plot.rb
61
125
  has_rdoc: true
62
126
  homepage: http://www.germane-software.com/software/SVG/SVG::Graph/
63
127
  licenses: []
@@ -69,23 +133,24 @@ rdoc_options:
69
133
  require_paths:
70
134
  - lib
71
135
  required_ruby_version: !ruby/object:Gem::Requirement
136
+ none: false
72
137
  requirements:
73
138
  - - ">="
74
139
  - !ruby/object:Gem::Version
75
140
  version: "0"
76
- version:
77
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
+ none: false
78
143
  requirements:
79
144
  - - ">="
80
145
  - !ruby/object:Gem::Version
81
146
  version: "0"
82
- version:
83
147
  requirements: []
84
148
 
85
149
  rubyforge_project: ruby-statsample
86
- rubygems_version: 1.3.5
150
+ rubygems_version: 1.6.0
87
151
  signing_key:
88
152
  specification_version: 3
89
- summary: Gem version of SVG:::Graph
153
+ summary: This is a minor revision of the [SVG::Graph library](http://www.germane-software.com/software/SVG/SVG::Graph/) by Sean Russell with few minor touch-ups to make it run on Ruby 1.9.x and to have it gem-installable
90
154
 
91
155
  SVG:::Graph is a pure Ruby library for generating charts, which are a type of graph where the values of one axis are not scalar
92
156
  test_files:
93
157
  - test/test_svg_graph.rb
158
+ - test/test_plot.rb
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ E��|Z�P�/Umy���r�
- xt��b�}] ����ڸ�r)
2
+ cL#�-����V�t�§D5�����ʋ�Y��9���i�����i������*��0U(�pʼ�����M��㔃��SG��Wl�.6�Z|e~sL���$5��HŜ(��<N�ܱ�����m�7�"G� �H�qǺ%}����(�+u�!�gM��h�\`5⋃؅���b�f��q�����Z��,���{��lN�h�~/