drawr 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Rakefile +5 -3
- data/lib/drawr.rb +1 -1
- metadata +24 -10
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -6,9 +6,11 @@ require './lib/drawr.rb'
|
|
6
6
|
|
7
7
|
Hoe.new('drawr', Drawr::VERSION) do |p|
|
8
8
|
p.rubyforge_name = 'seattlerb'
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
p.author = 'Aaron Patterson'
|
10
|
+
p.email = 'aaronp@rubyforge.org'
|
11
|
+
p.summary = p.paragraphs_of('README.txt', 2).join("\n\n")
|
12
|
+
p.description = p.paragraphs_of('README.txt', 1..7).join("\n\n")
|
13
|
+
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/).last.strip
|
12
14
|
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
13
15
|
end
|
14
16
|
|
data/lib/drawr.rb
CHANGED
metadata
CHANGED
@@ -3,15 +3,24 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: drawr
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-
|
8
|
-
summary:
|
6
|
+
version: 1.0.1
|
7
|
+
date: 2007-06-24 00:00:00 -07:00
|
8
|
+
summary: "== FEATURES/PROBLEMS: * Needs more tests!"
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
|
-
email:
|
12
|
-
homepage: http://
|
11
|
+
email: aaronp@rubyforge.org
|
12
|
+
homepage: http://seattlerb.org/
|
13
13
|
rubyforge_project: seattlerb
|
14
|
-
description:
|
14
|
+
description: "== DESCRIPTION: This is a ruby wrapper around Plotr with a similar API to
|
15
|
+
Gruff. You can create graphs with a similar interface to Gruff, but offload the
|
16
|
+
rendering to the browser! == FEATURES/PROBLEMS: * Needs more tests! ==
|
17
|
+
SYNOPSIS: An example in rails. Your controller: class GraphController <
|
18
|
+
ApplicationController def index @drawr = Drawr::Pie.new @drawr.title = \"Twan\"
|
19
|
+
@drawr.data(\"One\", [1]) @drawr.data('Two', [2]) @drawr.data('Three', [2])
|
20
|
+
@drawr.data('Four', [10]) @drawr.data('Five', [6]) end end Your view: <html>
|
21
|
+
<head> <%= javascript_include_tag 'prototype' %> <%= javascript_include_tag
|
22
|
+
'excanvas' %> <%= javascript_include_tag 'Plotr' %> </head> <body> <%= @drawr %>
|
23
|
+
</body> </html>"
|
15
24
|
autorequire:
|
16
25
|
default_executable:
|
17
26
|
bindir: bin
|
@@ -28,7 +37,7 @@ signing_key:
|
|
28
37
|
cert_chain:
|
29
38
|
post_install_message:
|
30
39
|
authors:
|
31
|
-
-
|
40
|
+
- Aaron Patterson
|
32
41
|
files:
|
33
42
|
- History.txt
|
34
43
|
- Manifest.txt
|
@@ -39,8 +48,13 @@ files:
|
|
39
48
|
- test/test_drawr.rb
|
40
49
|
test_files:
|
41
50
|
- test/test_drawr.rb
|
42
|
-
rdoc_options:
|
43
|
-
|
51
|
+
rdoc_options:
|
52
|
+
- "--main"
|
53
|
+
- README.txt
|
54
|
+
extra_rdoc_files:
|
55
|
+
- History.txt
|
56
|
+
- Manifest.txt
|
57
|
+
- README.txt
|
44
58
|
executables:
|
45
59
|
- drawr
|
46
60
|
extensions: []
|
@@ -54,5 +68,5 @@ dependencies:
|
|
54
68
|
-
|
55
69
|
- ">="
|
56
70
|
- !ruby/object:Gem::Version
|
57
|
-
version: 1.2.
|
71
|
+
version: 1.2.1
|
58
72
|
version:
|