rubyvis 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -1
- data/History.txt +14 -0
- data/Manifest.txt +5 -2
- data/README.txt +8 -2
- data/examples/antibiotics/{antibiotics.rb → antibiotics_scatter.rb} +1 -0
- data/examples/antibiotics/antibiotics_wedge.rb +121 -0
- data/examples/area.rb +42 -35
- data/examples/area_interpolation.rb +3 -3
- data/examples/barley/barley.rb +6 -2
- data/examples/cars/cars.rb +90 -0
- data/examples/cars/cars_data.rb +409 -0
- data/examples/crimea/crimea_grouped_bar.rb +2 -0
- data/examples/crimea/crimea_line.rb +3 -0
- data/examples/first_protovis_api.rb +2 -2
- data/examples/first_rbp_api.rb +2 -2
- data/lib/rubyvis.rb +1 -2
- data/lib/rubyvis/internals.rb +30 -1
- data/lib/rubyvis/javascript_behaviour.rb +8 -2
- data/lib/rubyvis/layout.rb +7 -1
- data/lib/rubyvis/layout/stack.rb +3 -3
- data/lib/rubyvis/mark.rb +173 -84
- data/lib/rubyvis/mark/area.rb +2 -3
- data/lib/rubyvis/mark/image.rb +1 -1
- data/lib/rubyvis/mark/line.rb +1 -1
- data/lib/rubyvis/mark/shorcut_methods.rb +93 -5
- data/lib/rubyvis/mark/wedge.rb +15 -10
- data/lib/rubyvis/scale/ordinal.rb +19 -0
- data/lib/rubyvis/scale/quantitative.rb +1 -0
- data/lib/rubyvis/scene/svg_line.rb +2 -2
- data/lib/rubyvis/scene/svg_scene.rb +1 -1
- data/spec/anchor_spec.rb +4 -4
- data/spec/internal_spec.rb +5 -0
- data/spec/line_spec.rb +2 -2
- data/spec/readme_spec.rb +38 -0
- data/spec/spec.opts +1 -1
- data/web/Rakefile +6 -5
- data/web/build_site.rb +3 -2
- metadata +9 -5
- metadata.gz.sig +0 -0
- data/examples/image.svg +0 -1
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Claudio Bustos
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
rpP0jjs0
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2010-11-
|
38
|
+
date: 2010-11-11 00:00:00 -03:00
|
39
39
|
default_executable:
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -82,13 +82,16 @@ files:
|
|
82
82
|
- Manifest.txt
|
83
83
|
- README.txt
|
84
84
|
- Rakefile
|
85
|
-
- examples/antibiotics/antibiotics.rb
|
86
85
|
- examples/antibiotics/antibiotics_data.rb
|
86
|
+
- examples/antibiotics/antibiotics_scatter.rb
|
87
|
+
- examples/antibiotics/antibiotics_wedge.rb
|
87
88
|
- examples/area.rb
|
88
89
|
- examples/area_interpolation.rb
|
89
90
|
- examples/bar_column_chart.rb
|
90
91
|
- examples/barley/barley.rb
|
91
92
|
- examples/barley/barley_data.rb
|
93
|
+
- examples/cars/cars.rb
|
94
|
+
- examples/cars/cars_data.rb
|
92
95
|
- examples/crimea/crimea_data.rb
|
93
96
|
- examples/crimea/crimea_grouped_bar.rb
|
94
97
|
- examples/crimea/crimea_line.rb
|
@@ -98,7 +101,6 @@ files:
|
|
98
101
|
- examples/fixtures/tipsy.gif
|
99
102
|
- examples/grouped_charts.rb
|
100
103
|
- examples/image.rb
|
101
|
-
- examples/image.svg
|
102
104
|
- examples/line.rb
|
103
105
|
- examples/line_and_step.rb
|
104
106
|
- examples/line_interpolation.rb
|
@@ -160,6 +162,7 @@ files:
|
|
160
162
|
- spec/mark_spec.rb
|
161
163
|
- spec/nest_spec.rb
|
162
164
|
- spec/panel_spec.rb
|
165
|
+
- spec/readme_spec.rb
|
163
166
|
- spec/ruby_api_spec.rb
|
164
167
|
- spec/scale_linear_datetime_spec.rb
|
165
168
|
- spec/scale_linear_spec.rb
|
@@ -307,6 +310,7 @@ test_files:
|
|
307
310
|
- spec/scale_log_spec.rb
|
308
311
|
- spec/scale_linear_datetime_spec.rb
|
309
312
|
- spec/anchor_spec.rb
|
313
|
+
- spec/readme_spec.rb
|
310
314
|
- spec/scale_spec.rb
|
311
315
|
- spec/scale_linear_spec.rb
|
312
316
|
- spec/ruby_api_spec.rb
|
metadata.gz.sig
CHANGED
Binary file
|
data/examples/image.svg
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<svg fill='none' font-family='sans-serif' font-size='10px' height='200.0' stroke='none' stroke-width='1.5' width='200.0' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns='http://www.w3.org/2000/svg'><g transform='translate(0.0,0.0)'><image height='9' xlink:href='fixtures/tipsy.gif' preserveAspectRatio='none' width='9' x='20' y='161'/><image height='9' xlink:href='fixtures/tipsy.gif' preserveAspectRatio='none' width='9' x='60' y='131'/><image height='9' xlink:href='fixtures/tipsy.gif' preserveAspectRatio='none' width='9' x='100' y='101'/><image height='9' xlink:href='fixtures/tipsy.gif' preserveAspectRatio='none' width='9' x='140' y='71'/><image height='9' xlink:href='fixtures/tipsy.gif' preserveAspectRatio='none' width='9' x='180' y='41'/><image height='9' xlink:href='fixtures/tipsy.gif' preserveAspectRatio='none' width='9' x='220' y='11'/></g></svg>
|