ziya 2.1.8 → 2.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -10
- data/Rakefile +6 -0
- data/version.txt +1 -1
- metadata +3 -7
- data/Gemfile.lock +0 -29
- data/README.txt1 +0 -310
- data/gem_script.rb +0 -5
- data/ziya.gemspec1 +0 -40
data/README.rdoc
CHANGED
@@ -50,12 +50,8 @@ like applications. Your manager will love you for it !!
|
|
50
50
|
for a reasonable price.
|
51
51
|
|
52
52
|
== INSTALL:
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
> gem sources -a http://gemcutter.org
|
57
|
-
|
58
|
-
> sudo gem install ziya
|
53
|
+
|
54
|
+
> gem install ziya
|
59
55
|
|
60
56
|
cd to your application directory and issue the following command
|
61
57
|
|
@@ -80,7 +76,7 @@ like applications. Your manager will love you for it !!
|
|
80
76
|
|
81
77
|
ziya.rb:
|
82
78
|
|
83
|
-
# Pull in the ZiYa gem framework
|
79
|
+
# Pull in the ZiYa gem framework
|
84
80
|
gem 'derailed-ziya', '= 2.1.0'
|
85
81
|
require 'ziya'
|
86
82
|
|
@@ -101,9 +97,7 @@ like applications. Your manager will love you for it !!
|
|
101
97
|
blee_controller.rb:
|
102
98
|
|
103
99
|
class BleeController < ApplicationController
|
104
|
-
|
105
|
-
helper Ziya::HtmlHelpers::Charts
|
106
|
-
helper Ziya::YamlHelpers::Charts
|
100
|
+
helper Ziya::HtmlHelpers::Charts, Ziya::YamlHelpers::Charts
|
107
101
|
|
108
102
|
# Callback from the flash movie to get the chart's data
|
109
103
|
def load_chart
|
data/Rakefile
CHANGED
@@ -16,4 +16,10 @@ Bones {
|
|
16
16
|
gem.executables %w[ziyafy]
|
17
17
|
spec_opts %w[--color]
|
18
18
|
ruby_opts %w[-W0]
|
19
|
+
|
20
|
+
depends_on "logging"
|
21
|
+
depends_on "color"
|
22
|
+
depends_on "bones" , :development => true
|
23
|
+
depends_on "bones-git" , :development => true
|
24
|
+
depends_on "bones-extras", :development => true
|
19
25
|
}
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.9
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 2.1.
|
8
|
+
- 9
|
9
|
+
version: 2.1.9
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Fernand Galiana
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-08-20 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -61,10 +61,8 @@ extra_rdoc_files:
|
|
61
61
|
- version.txt
|
62
62
|
files:
|
63
63
|
- Gemfile
|
64
|
-
- Gemfile.lock
|
65
64
|
- History.txt
|
66
65
|
- README.rdoc
|
67
|
-
- README.txt1
|
68
66
|
- Rakefile
|
69
67
|
- bin/ziyafy
|
70
68
|
- examples/charts/basic_chart.rb
|
@@ -136,7 +134,6 @@ files:
|
|
136
134
|
- examples/maps/public/stylesheets/map.css
|
137
135
|
- examples/maps/views/index.erb
|
138
136
|
- examples/maps/views/layout.erb
|
139
|
-
- gem_script.rb
|
140
137
|
- lib/ziya.rb
|
141
138
|
- lib/ziya/charts/area.rb
|
142
139
|
- lib/ziya/charts/area_threed.rb
|
@@ -399,7 +396,6 @@ files:
|
|
399
396
|
- spec/ziya_helper_spec.rb
|
400
397
|
- spec/ziya_spec.rb
|
401
398
|
- version.txt
|
402
|
-
- ziya.gemspec1
|
403
399
|
has_rdoc: true
|
404
400
|
homepage: http://ziya.liquidrail.com/
|
405
401
|
licenses: []
|
data/Gemfile.lock
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
bones (3.4.7)
|
5
|
-
little-plugger (>= 1.1.2)
|
6
|
-
loquacious (>= 1.6.4)
|
7
|
-
rake (>= 0.8.7)
|
8
|
-
bones-extras (1.2.4)
|
9
|
-
bones (>= 3.4.3)
|
10
|
-
bones-git (1.2.0)
|
11
|
-
bones (>= 3.4.7)
|
12
|
-
git (>= 1.2.5)
|
13
|
-
color (1.4.1)
|
14
|
-
git (1.2.5)
|
15
|
-
little-plugger (1.1.2)
|
16
|
-
logging (1.4.3)
|
17
|
-
little-plugger (>= 1.1.2)
|
18
|
-
loquacious (1.6.4)
|
19
|
-
rake (0.8.7)
|
20
|
-
|
21
|
-
PLATFORMS
|
22
|
-
ruby
|
23
|
-
|
24
|
-
DEPENDENCIES
|
25
|
-
bones
|
26
|
-
bones-extras
|
27
|
-
bones-git
|
28
|
-
color
|
29
|
-
logging
|
data/README.txt1
DELETED
@@ -1,310 +0,0 @@
|
|
1
|
-
=== ZiYa
|
2
|
-
by Fernand Galiana
|
3
|
-
git://github.com/derailed/ziya.git
|
4
|
-
|
5
|
-
== DESCRIPTION:
|
6
|
-
|
7
|
-
ZiYa allows you to easily create interactive charts, gauges and maps for your web applications. ZiYa leverages
|
8
|
-
flash which offload heavy server side processing to the client. At the root ZiYa allows you to easily generate an
|
9
|
-
XML files that will be downloaded to the client for rendering. Using this gem, you will be able to easily create great
|
10
|
-
looking charts for your application. You will also be able to use the charts, gauges and maps has a navigation scheme
|
11
|
-
by embedding various link in the graphical components thus bringing to the table an ideal scheme for reporting and dashboard
|
12
|
-
like applications. Your manager will love you for it !!
|
13
|
-
|
14
|
-
Sample Site : http://ziya.liquidrail.com
|
15
|
-
Documentation : http://ziya.liquidrail.com/docs
|
16
|
-
Forum : http://groups.google.com/group/ziya-plugin
|
17
|
-
Repositories : git://github.com/derailed/ziya.git
|
18
|
-
|
19
|
-
== FEATURES:
|
20
|
-
|
21
|
-
* Supports a wide variety of chart/gauge types, sure to fit your needs.
|
22
|
-
* Geographical maps. Maps can be drillable and refreshable
|
23
|
-
* Relieves your server load by generating the actual chart on the client side.
|
24
|
-
* Provides for cascading like css-styles for your charts using YAML files.
|
25
|
-
* Themes support. You can change the appearance and behavior of any charts by introducing new themes
|
26
|
-
|
27
|
-
== REQUIREMENTS:
|
28
|
-
|
29
|
-
ZiYa depends on the following gems
|
30
|
-
|
31
|
-
* logging
|
32
|
-
* color
|
33
|
-
|
34
|
-
ZiYa comes pre-bundled with the following packages:
|
35
|
-
* XML/SWF charts Version 5.07 (http://www.maani.us/xml_charts/index.php)
|
36
|
-
* XML/SWF gauges Version 1.6 (http://www.maani.us/gauge/index.php)
|
37
|
-
* DIY Maps (http://backspace.com/mapapp/)
|
38
|
-
|
39
|
-
XML/SWF
|
40
|
-
* XML/SWF charts are free of charge unless you need to use special features such
|
41
|
-
as embedded links and printing.
|
42
|
-
|
43
|
-
The package cost $45 per domain, including localhost and is well worth the investment.
|
44
|
-
A similar fee applies to the gauge framework.
|
45
|
-
|
46
|
-
DIY Map
|
47
|
-
* This package is free for use in non-commercial applications. For commercial applications,
|
48
|
-
there is a $20.00 license per domain. I have chosen this package over others, as it supports
|
49
|
-
the interaction and configuration I was looking for, it seems stable and packs lots of features
|
50
|
-
for a reasonable price.
|
51
|
-
|
52
|
-
== INSTALL:
|
53
|
-
|
54
|
-
NOTE: You will need to add github as a gem source and thus will need gem version 1.3 or later
|
55
|
-
|
56
|
-
> gem sources -a http://gemcutter.org
|
57
|
-
|
58
|
-
> sudo gem install ziya
|
59
|
-
|
60
|
-
cd to your application directory and issue the following command
|
61
|
-
|
62
|
-
> ziyafy --charts
|
63
|
-
|
64
|
-
This will copy the necessary themes and flash files to run ZiYa in your application
|
65
|
-
public/charts directory. You can install maps and gauges components as well. Type in
|
66
|
-
|
67
|
-
> ziyafy --help
|
68
|
-
|
69
|
-
To see all available options.
|
70
|
-
|
71
|
-
== SYNOPSIS:
|
72
|
-
|
73
|
-
This gem version requires a client update to flash 9.0 and possibly you will
|
74
|
-
need to get a new license from XML/SWF >= 5.0, if you want to use
|
75
|
-
advanced features suck as links and live updates.
|
76
|
-
|
77
|
-
== Creating a ZiYa chart in a Rails 2.3 application
|
78
|
-
|
79
|
-
1 - Create a ziya.rb file under config/initializers
|
80
|
-
|
81
|
-
ziya.rb:
|
82
|
-
|
83
|
-
# Pull in the ZiYa gem framework
|
84
|
-
gem 'derailed-ziya', '= 2.1.0'
|
85
|
-
require 'ziya'
|
86
|
-
|
87
|
-
# Initializes the ZiYa Framework
|
88
|
-
Ziya.initialize(
|
89
|
-
:logger => RAILS_DEFAULT_LOGGER,
|
90
|
-
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
|
91
|
-
)
|
92
|
-
|
93
|
-
This will initialize the gem. You can log the output to stdout using the ZiYa bundled logger
|
94
|
-
or specify a file ie File.join( File.dirname(__FILE__), %w[.. log ziya.log]. If you choose to use the
|
95
|
-
ZiYa logger, you can specify the :log_level option to either :warn :info :debug or :error.
|
96
|
-
You will need to specify your themes directory typically located under public/charts/themes or any location
|
97
|
-
you'll like to choose.
|
98
|
-
|
99
|
-
3 - Create a chart controller
|
100
|
-
|
101
|
-
blee_controller.rb:
|
102
|
-
|
103
|
-
class BleeController < ApplicationController
|
104
|
-
# Load ZiYa necessary helpers
|
105
|
-
helper Ziya::HtmlHelpers::Charts
|
106
|
-
helper Ziya::YamlHelpers::Charts
|
107
|
-
|
108
|
-
# Callback from the flash movie to get the chart's data
|
109
|
-
def load_chart
|
110
|
-
# Create a bar chart with 2 series composed of 3 data points each.
|
111
|
-
# Chart will be rendered using the default look and feel
|
112
|
-
chart = Ziya::Charts::Bar.new
|
113
|
-
chart.add( :axis_category_text, %w[2006 2007 2008] )
|
114
|
-
chart.add( :series, "Dogs", [10,20,30] )
|
115
|
-
chart.add( :series, "Cats", [5,15,25] )
|
116
|
-
respond_to do |fmt|
|
117
|
-
fmt.xml { render :xml => chart.to_xml }
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
|
-
4 - Create a view
|
122
|
-
|
123
|
-
blee/index.html.erb:
|
124
|
-
|
125
|
-
# Defines the necessary tag to embed a flash movie in your html page.
|
126
|
-
# This will callback to your controller to fetch the necessary xml.
|
127
|
-
<%= ziya_chart load_chart_url -%>
|
128
|
-
|
129
|
-
5 - Create a named route
|
130
|
-
|
131
|
-
config/routes.rb:
|
132
|
-
|
133
|
-
map.load_chart '/blee/load_chart', :controller => 'blee', :action => 'load_chart'
|
134
|
-
|
135
|
-
== Styling a chart
|
136
|
-
|
137
|
-
=== Basic Theme
|
138
|
-
|
139
|
-
1 - Create a directory fred in public/charts/themes
|
140
|
-
2 - Create a file called column_chart.yml under the fred directory
|
141
|
-
2 - Edit column_chart.yml and add the following lines mind the yaml 2 space indentation!
|
142
|
-
|
143
|
-
<%= chart :column %>
|
144
|
-
<%=comp :axis_category %>
|
145
|
-
color: ff0000
|
146
|
-
|
147
|
-
3 - In fred_controller add the following directive to the chart to associate your new theme with the chart
|
148
|
-
|
149
|
-
chart.add( :theme, 'fred' )
|
150
|
-
|
151
|
-
4 - reload the page and you should now see the red x axis label
|
152
|
-
|
153
|
-
=== Cascading themes
|
154
|
-
|
155
|
-
To override the default column chart theme, you may now create an instance theme.
|
156
|
-
|
157
|
-
1 - Create fred.yml in public/chart/themes/fred
|
158
|
-
|
159
|
-
2 - Edit fred.yml as follows
|
160
|
-
|
161
|
-
<%= chart :column %>
|
162
|
-
<%=comp :axis_category %>
|
163
|
-
color: 00ff00
|
164
|
-
|
165
|
-
3 - Edit your controller to indicate the instance theme name
|
166
|
-
|
167
|
-
chart = Ziya::Charts.Column.new( nil, 'fred' )
|
168
|
-
|
169
|
-
4 - Reload the page - The x axis category labels should now be green.
|
170
|
-
|
171
|
-
NOTE: There are lots of setup example for themes in the ziya-galeria app at
|
172
|
-
git://github.com/derailed/ziya-galeria.git.
|
173
|
-
The themes component follows the xml/swf xml settings for configuration which
|
174
|
-
are documented here http://www.maani.us/xml_charts/index.php?menu=Reference
|
175
|
-
|
176
|
-
=== Using theme helpers
|
177
|
-
|
178
|
-
Just like rails view template helpers, ZiYa support helpers for theme stylesheets.
|
179
|
-
In order to use a helper for your chart you will need to use the following steps:
|
180
|
-
|
181
|
-
1 - Create a ziya directory under app/helpers
|
182
|
-
2 - Create a file called fred_helper.rb
|
183
|
-
3 - Edit fred_helper.rb and add the following lines
|
184
|
-
|
185
|
-
module Ziya::FredHelper
|
186
|
-
def random_color
|
187
|
-
%w[ffaa00 aaff00 aabbff][rand(3)]
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
4 - Edit you theme stylesheet to call the helper method
|
192
|
-
|
193
|
-
In fred.yml
|
194
|
-
|
195
|
-
<%= chart :column %>
|
196
|
-
<%=comp :axis_category %>
|
197
|
-
color: <%= random_color %>
|
198
|
-
|
199
|
-
5 - Edit you config/initializer/ziya.rb and add the following line
|
200
|
-
|
201
|
-
# Initializes the ZiYa Framework
|
202
|
-
Ziya.initialize( :logger => RAILS_DEFAULT_LOGGER,
|
203
|
-
:helpers_dir => File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ), # <-- New line !!
|
204
|
-
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
|
205
|
-
)
|
206
|
-
|
207
|
-
6 - Restart your app server
|
208
|
-
7 - Reload the page serveral time and watch the x axis label color change
|
209
|
-
|
210
|
-
== Creating a gauge for a rails application
|
211
|
-
|
212
|
-
You will need to modify the ziya initializer and add the following directive
|
213
|
-
|
214
|
-
Ziya.initialize(
|
215
|
-
:logger => RAILS_DEFAULT_LOGGER,
|
216
|
-
:designs_dir => File.join( File.dirname(__FILE__), %w[.. .. public gauges designs] ), # => Add this !!
|
217
|
-
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes]) )
|
218
|
-
|
219
|
-
* fred_controller.rb
|
220
|
-
|
221
|
-
class FredController < ApplicationController
|
222
|
-
def load_gauge
|
223
|
-
gauge = Ziya::Gauges::Base.new( LICENCE_KEY, 'my_gauge' )
|
224
|
-
respond_to do |fmt|
|
225
|
-
fmt.xml => { render :xml => gauge.to_xml }
|
226
|
-
end
|
227
|
-
end
|
228
|
-
end
|
229
|
-
|
230
|
-
* fred/index.html.erb
|
231
|
-
|
232
|
-
<%= ziya_gauge load_gauge_url -%>
|
233
|
-
|
234
|
-
* config/routes.rb
|
235
|
-
|
236
|
-
# Creates a named route for the chart.
|
237
|
-
map.load_gauge '/fred/load_gauge', :controller => 'fred', :action => 'load_gauge'
|
238
|
-
|
239
|
-
* public/gauges/designs/my_gauge.yml
|
240
|
-
|
241
|
-
In the design file you will leverage the components defined in the Ziya::Gauges::Support
|
242
|
-
package to create your gauge desgins. You gauges can be animated using rotate, scale and
|
243
|
-
move operations. In this example we will create a volume control that will rotate to the
|
244
|
-
desired position. In real life you will fetch the volume level from your models to
|
245
|
-
set the desired position. Take a look at the ZiYa sample application for the various
|
246
|
-
possibilities. You can think of a gauge as a portable canvas element where you can draw
|
247
|
-
you own designs using the various components provided ZiYa components ( No need to worry about
|
248
|
-
various browsers' canvas support )
|
249
|
-
|
250
|
-
<%= gauge :base %>
|
251
|
-
# specifies the number of ticks to draw in a circular fashion
|
252
|
-
<%= dial :radial_ticks, :volume %>
|
253
|
-
x: 100
|
254
|
-
y: 75
|
255
|
-
radius: 35
|
256
|
-
length: 4
|
257
|
-
start_angle: 235
|
258
|
-
end_angle: 485
|
259
|
-
ticks: 10
|
260
|
-
thickness: 2
|
261
|
-
color: 000000
|
262
|
-
# rotates the volume to the desired position.
|
263
|
-
<%= dial :rotate, :volume_setting %>
|
264
|
-
x: 100
|
265
|
-
y: 75
|
266
|
-
start: 300
|
267
|
-
span: 160
|
268
|
-
step: 5
|
269
|
-
skake_span: 20
|
270
|
-
shadow_alpha: 20
|
271
|
-
shadow_x_offset: 3
|
272
|
-
shadow_y_offset: 3
|
273
|
-
<%= dials %>
|
274
|
-
<%= dial :circle, :circle_1 %>
|
275
|
-
x: 100
|
276
|
-
y: 75
|
277
|
-
radius: 30
|
278
|
-
fill_color: 777777
|
279
|
-
line_thickness: 5
|
280
|
-
line_alpha: 75
|
281
|
-
<%= dial :circle, :circle_2 %>
|
282
|
-
x: 100
|
283
|
-
y: 55
|
284
|
-
radius: 5
|
285
|
-
fill_alpha: 80
|
286
|
-
|
287
|
-
== LICENSE:
|
288
|
-
|
289
|
-
(The MIT License)
|
290
|
-
|
291
|
-
Copyright (c) 2008 FIXME (different license?)
|
292
|
-
|
293
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
294
|
-
a copy of this software and associated documentation files (the
|
295
|
-
'Software'), to deal in the Software without restriction, including
|
296
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
297
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
298
|
-
permit persons to whom the Software is furnished to do so, subject to
|
299
|
-
the following conditions:
|
300
|
-
|
301
|
-
The above copyright notice and this permission notice shall be
|
302
|
-
included in all copies or substantial portions of the Software.
|
303
|
-
|
304
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
305
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
306
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
307
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
308
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
309
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
310
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/gem_script.rb
DELETED
data/ziya.gemspec1
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
s.name = %q{ziya}
|
6
|
-
s.version = "2.1.5"
|
7
|
-
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
-
s.authors = ["Fernand Galiana"]
|
10
|
-
s.date = %q{2009-06-08}
|
11
|
-
s.default_executable = %q{ziyafy}
|
12
|
-
s.description = %q{Easily add charting to your rails/merb applications}
|
13
|
-
s.email = %q{fernand@liquidrail.com}
|
14
|
-
s.executables = ["ziyafy"]
|
15
|
-
s.extra_rdoc_files = ["README.txt", "bin/ziyafy", "examples/charts/public/charts/themes/readme.txt", "examples/maps/public/maps/themes/readme.txt", "release_notes.txt", "resources/charts/themes/readme.txt", "resources/maps/themes/readme.txt"]
|
16
|
-
s.files = ["Manifest.txt", "README.txt", "Rakefile", "bin/ziyafy", "examples/charts/basic_chart.rb", "examples/charts/public/charts/AC_RunActiveContent.js", "examples/charts/public/charts/charts.swf", "examples/charts/public/charts/charts_library/ar3d.swf", "examples/charts/public/charts/charts_library/arno.swf", "examples/charts/public/charts/charts_library/ars3.swf", "examples/charts/public/charts/charts_library/arst.swf", "examples/charts/public/charts/charts_library/brfl.swf", "examples/charts/public/charts/charts_library/brno.swf", "examples/charts/public/charts/charts_library/brst.swf", "examples/charts/public/charts/charts_library/buno.swf", "examples/charts/public/charts/charts_library/cl3d.swf", "examples/charts/public/charts/charts_library/clfl.swf", "examples/charts/public/charts/charts_library/clim.swf", "examples/charts/public/charts/charts_library/clno.swf", "examples/charts/public/charts/charts_library/clp3.swf", "examples/charts/public/charts/charts_library/cls3.swf", "examples/charts/public/charts/charts_library/clst.swf", "examples/charts/public/charts/charts_library/cnno.swf", "examples/charts/public/charts/charts_library/dono.swf", "examples/charts/public/charts/charts_library/lnno.swf", "examples/charts/public/charts/charts_library/mxno.swf", "examples/charts/public/charts/charts_library/pi3d.swf", "examples/charts/public/charts/charts_library/piim.swf", "examples/charts/public/charts/charts_library/pino.swf", "examples/charts/public/charts/charts_library/pono.swf", "examples/charts/public/charts/charts_library/scno.swf", "examples/charts/public/charts/full_screen.swf", "examples/charts/public/charts/scripts/output_jpg.php", "examples/charts/public/charts/sliders/black.swf", "examples/charts/public/charts/sliders/preview_handle_1.swf", "examples/charts/public/charts/sliders/preview_handle_2.swf", "examples/charts/public/charts/themes/cool_theme/column_chart.yml", "examples/charts/public/charts/themes/readme.txt", "examples/charts/views/index.erb", "examples/maps/basic_map.rb", "examples/maps/helpers/map_helper.rb", "examples/maps/models/confidential_herpes_report.rb", "examples/maps/public/javascripts/jquery-1.3.2.js", "examples/maps/public/map.xml", "examples/maps/public/maps/js/Exception.js", "examples/maps/public/maps/js/FlashProxy.js", "examples/maps/public/maps/js/FlashSerializer.js", "examples/maps/public/maps/js/FlashTag.js", "examples/maps/public/maps/js/JavaScriptFlashGateway.js", "examples/maps/public/maps/js/JavaScriptFlashGateway.swf", "examples/maps/public/maps/map_library/australia.swf", "examples/maps/public/maps/map_library/belgium.swf", "examples/maps/public/maps/map_library/brazil.swf", "examples/maps/public/maps/map_library/canada.swf", "examples/maps/public/maps/map_library/europe.swf", "examples/maps/public/maps/map_library/france.swf", "examples/maps/public/maps/map_library/germany.swf", "examples/maps/public/maps/map_library/italy.swf", "examples/maps/public/maps/map_library/mexico.swf", "examples/maps/public/maps/map_library/sweden.swf", "examples/maps/public/maps/map_library/uk_ireland.swf", "examples/maps/public/maps/map_library/us.swf", "examples/maps/public/maps/map_library/us_canada.swf", "examples/maps/public/maps/map_library/world.swf", "examples/maps/public/maps/themes/default/base_map.yml", "examples/maps/public/maps/themes/default/us_map.yml", "examples/maps/public/maps/themes/default/us_map_2.yml", "examples/maps/public/maps/themes/readme.txt", "examples/maps/public/stylesheets/map.css", "examples/maps/views/index.erb", "examples/maps/views/layout.erb", "lib/ziya.rb", "lib/ziya/charts/area.rb", "lib/ziya/charts/area_threed.rb", "lib/ziya/charts/bar.rb", "lib/ziya/charts/base.rb", "lib/ziya/charts/bubble.rb", "lib/ziya/charts/candle_stick.rb", "lib/ziya/charts/column.rb", "lib/ziya/charts/column_threed.rb", "lib/ziya/charts/custom.rb", "lib/ziya/charts/donut.rb", "lib/ziya/charts/floating_bar.rb", "lib/ziya/charts/floating_column.rb", "lib/ziya/charts/image_column.rb", "lib/ziya/charts/image_pie.rb", "lib/ziya/charts/line.rb", "lib/ziya/charts/mixed.rb", "lib/ziya/charts/parallel_threed_column.rb", "lib/ziya/charts/pie.rb", "lib/ziya/charts/pie_threed.rb", "lib/ziya/charts/polar.rb", "lib/ziya/charts/scatter.rb", "lib/ziya/charts/stacked_area.rb", "lib/ziya/charts/stacked_bar.rb", "lib/ziya/charts/stacked_column.rb", "lib/ziya/charts/stacked_threed_area.rb", "lib/ziya/charts/stacked_threed_column.rb", "lib/ziya/charts/support/area.rb", "lib/ziya/charts/support/axis_category.rb", "lib/ziya/charts/support/axis_ticks.rb", "lib/ziya/charts/support/axis_value.rb", "lib/ziya/charts/support/base.rb", "lib/ziya/charts/support/bevel.rb", "lib/ziya/charts/support/blur.rb", "lib/ziya/charts/support/button.rb", "lib/ziya/charts/support/chart_border.rb", "lib/ziya/charts/support/chart_grid_h.rb", "lib/ziya/charts/support/chart_grid_v.rb", "lib/ziya/charts/support/chart_guide.rb", "lib/ziya/charts/support/chart_label.rb", "lib/ziya/charts/support/chart_note.rb", "lib/ziya/charts/support/chart_pref.rb", "lib/ziya/charts/support/chart_rect.rb", "lib/ziya/charts/support/chart_transition.rb", "lib/ziya/charts/support/circle.rb", "lib/ziya/charts/support/context_menu.rb", "lib/ziya/charts/support/draw.rb", "lib/ziya/charts/support/draw_base.rb", "lib/ziya/charts/support/filter.rb", "lib/ziya/charts/support/flash_to_javascript.rb", "lib/ziya/charts/support/glow.rb", "lib/ziya/charts/support/image.rb", "lib/ziya/charts/support/legend.rb", "lib/ziya/charts/support/line.rb", "lib/ziya/charts/support/link.rb", "lib/ziya/charts/support/link_data.rb", "lib/ziya/charts/support/rect.rb", "lib/ziya/charts/support/scroll.rb", "lib/ziya/charts/support/series.rb", "lib/ziya/charts/support/series_color.rb", "lib/ziya/charts/support/series_explode.rb", "lib/ziya/charts/support/shadow.rb", "lib/ziya/charts/support/text.rb", "lib/ziya/charts/support/tooltip.rb", "lib/ziya/charts/support/update.rb", "lib/ziya/core_ext/string.rb", "lib/ziya/gauges/base.rb", "lib/ziya/gauges/radial.rb", "lib/ziya/gauges/signal.rb", "lib/ziya/gauges/support/area.rb", "lib/ziya/gauges/support/base.rb", "lib/ziya/gauges/support/circle.rb", "lib/ziya/gauges/support/design.rb", "lib/ziya/gauges/support/image.rb", "lib/ziya/gauges/support/line.rb", "lib/ziya/gauges/support/link.rb", "lib/ziya/gauges/support/move.rb", "lib/ziya/gauges/support/point.rb", "lib/ziya/gauges/support/polygon.rb", "lib/ziya/gauges/support/radial_base.rb", "lib/ziya/gauges/support/radial_numbers.rb", "lib/ziya/gauges/support/radial_ticks.rb", "lib/ziya/gauges/support/rect.rb", "lib/ziya/gauges/support/rotate.rb", "lib/ziya/gauges/support/scale.rb", "lib/ziya/gauges/support/text.rb", "lib/ziya/gauges/support/update.rb", "lib/ziya/gauges/thermo.rb", "lib/ziya/html_helpers.rb", "lib/ziya/html_helpers/base.rb", "lib/ziya/html_helpers/charts.rb", "lib/ziya/html_helpers/gauges.rb", "lib/ziya/html_helpers/maps.rb", "lib/ziya/maps/australia.rb", "lib/ziya/maps/base.rb", "lib/ziya/maps/belgium.rb", "lib/ziya/maps/brazil.rb", "lib/ziya/maps/canada.rb", "lib/ziya/maps/europe.rb", "lib/ziya/maps/france.rb", "lib/ziya/maps/geocode.rb", "lib/ziya/maps/germany.rb", "lib/ziya/maps/italy.rb", "lib/ziya/maps/mexico.rb", "lib/ziya/maps/support/arc.rb", "lib/ziya/maps/support/arc_color.rb", "lib/ziya/maps/support/arc_range.rb", "lib/ziya/maps/support/background_color.rb", "lib/ziya/maps/support/base.rb", "lib/ziya/maps/support/default_color.rb", "lib/ziya/maps/support/default_point.rb", "lib/ziya/maps/support/first_zoom.rb", "lib/ziya/maps/support/heat_range.rb", "lib/ziya/maps/support/hover.rb", "lib/ziya/maps/support/line.rb", "lib/ziya/maps/support/line_color.rb", "lib/ziya/maps/support/line_range.rb", "lib/ziya/maps/support/outline_color.rb", "lib/ziya/maps/support/point.rb", "lib/ziya/maps/support/point_range.rb", "lib/ziya/maps/support/range.rb", "lib/ziya/maps/support/ranges.rb", "lib/ziya/maps/support/region.rb", "lib/ziya/maps/support/scale_points.rb", "lib/ziya/maps/support/show_name.rb", "lib/ziya/maps/support/state.rb", "lib/ziya/maps/support/state_info_icon.rb", "lib/ziya/maps/support/zoom_mode.rb", "lib/ziya/maps/support/zoom_out_button.rb", "lib/ziya/maps/support/zoom_out_scale.rb", "lib/ziya/maps/sweden.rb", "lib/ziya/maps/uk.rb", "lib/ziya/maps/us.rb", "lib/ziya/maps/world.rb", "lib/ziya/utils/logger.rb", "lib/ziya/version.rb", "lib/ziya/yaml_helpers.rb", "lib/ziya/yaml_helpers/base.rb", "lib/ziya/yaml_helpers/charts.rb", "lib/ziya/yaml_helpers/gauges.rb", "lib/ziya/yaml_helpers/maps.rb", "release_notes.txt", "resources/charts/AC_RunActiveContent.js", "resources/charts/charts.swf", "resources/charts/charts_library/ar3d.swf", "resources/charts/charts_library/arno.swf", "resources/charts/charts_library/ars3.swf", "resources/charts/charts_library/arst.swf", "resources/charts/charts_library/brfl.swf", "resources/charts/charts_library/brno.swf", "resources/charts/charts_library/brst.swf", "resources/charts/charts_library/buno.swf", "resources/charts/charts_library/cl3d.swf", "resources/charts/charts_library/clfl.swf", "resources/charts/charts_library/clim.swf", "resources/charts/charts_library/clno.swf", "resources/charts/charts_library/clp3.swf", "resources/charts/charts_library/cls3.swf", "resources/charts/charts_library/clst.swf", "resources/charts/charts_library/cnno.swf", "resources/charts/charts_library/dono.swf", "resources/charts/charts_library/lnno.swf", "resources/charts/charts_library/mxno.swf", "resources/charts/charts_library/pi3d.swf", "resources/charts/charts_library/piim.swf", "resources/charts/charts_library/pino.swf", "resources/charts/charts_library/pono.swf", "resources/charts/charts_library/scno.swf", "resources/charts/full_screen.swf", "resources/charts/scripts/output_jpg.php", "resources/charts/sliders/black.swf", "resources/charts/sliders/preview_handle_1.swf", "resources/charts/sliders/preview_handle_2.swf", "resources/charts/themes/readme.txt", "resources/gauges/designs/circle.yml", "resources/gauges/designs/signal.yml", "resources/gauges/designs/thermo.yml", "resources/gauges/designs/title.yml", "resources/gauges/gauge.swf", "resources/maps/js/Exception.js", "resources/maps/js/FlashProxy.js", "resources/maps/js/FlashSerializer.js", "resources/maps/js/FlashTag.js", "resources/maps/js/JavaScriptFlashGateway.js", "resources/maps/js/JavaScriptFlashGateway.swf", "resources/maps/map_library/australia.swf", "resources/maps/map_library/belgium.swf", "resources/maps/map_library/brazil.swf", "resources/maps/map_library/canada.swf", "resources/maps/map_library/europe.swf", "resources/maps/map_library/france.swf", "resources/maps/map_library/germany.swf", "resources/maps/map_library/italy.swf", "resources/maps/map_library/mexico.swf", "resources/maps/map_library/sweden.swf", "resources/maps/map_library/uk_ireland.swf", "resources/maps/map_library/us.swf", "resources/maps/map_library/us_canada.swf", "resources/maps/map_library/world.swf", "resources/maps/themes/readme.txt", "spec/charts/base_spec.rb", "spec/charts/chart_type_spec.rb", "spec/charts/support/area_spec.rb", "spec/charts/support/draw_spec.rb", "spec/charts/support/filter_spec.rb", "spec/charts/support/link_spec.rb", "spec/charts/support/series.rb", "spec/charts/support/series_color_spec.rb", "spec/charts/support/series_explode.rb", "spec/charts/support/series_explode_spec.rb", "spec/core_ext/string_spec.rb", "spec/designs/circle.yml", "spec/designs/crapping_out.yml", "spec/designs/gauge_1.yml", "spec/designs/gauge_2.yml", "spec/designs/gauge_no_name.yml", "spec/designs/gauge_raw.yml", "spec/designs/thermo.yml", "spec/gauges/base_spec.rb", "spec/gauges/signal_spec.rb", "spec/gauges/support/area_spec.rb", "spec/gauges/support/circle_spec.rb", "spec/gauges/support/image_spec.rb", "spec/gauges/support/line_spec.rb", "spec/gauges/support/link_spec.rb", "spec/gauges/support/move_spec.rb", "spec/gauges/support/polygon_spec.rb", "spec/gauges/support/radial_numbers_spec.rb", "spec/gauges/support/radial_ticks_spec.rb", "spec/gauges/support/rotate_spec.rb", "spec/gauges/support/scale_spec.rb", "spec/gauges/support/text_spec.rb", "spec/gauges/thermo_spec.rb", "spec/html_helpers/base_spec.rb", "spec/html_helpers/charts_spec.rb", "spec/html_helpers/gauges_spec.rb", "spec/html_helpers/maps_spec.rb", "spec/maps/base_spec.rb", "spec/maps/support/default_color_spec.rb", "spec/maps/support/heat_range_spec.rb", "spec/maps/us_spec.rb", "spec/maps/world_spec.rb", "spec/spec_helper.rb", "spec/test_helpers/gauge_2_helper.rb", "spec/themes/default/fred.yml", "spec/themes/default/line_chart.yml", "spec/themes/maps/base_map.yml", "spec/themes/maps/us_map.yml", "spec/themes/maps/world_map.yml", "spec/themes/maps/world_ov_map.yml", "spec/utils/logger_spec.rb", "spec/yaml_helpers/charts_spec.rb", "spec/yaml_helpers/gauges_spec.rb", "spec/ziya_helper_spec.rb", "spec/ziya_spec.rb", "tasks/ann.rake", "tasks/annotations.rake", "tasks/doc.rake", "tasks/gem.rake", "tasks/manifest.rake", "tasks/post_load.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/spec.rake", "tasks/svn.rake", "tasks/test.rake", "ziya.gemspec"]
|
17
|
-
s.has_rdoc = true
|
18
|
-
s.homepage = %q{http://github.com/derailed/ziya/tree/master}
|
19
|
-
s.rdoc_options = ["--main", "README.txt"]
|
20
|
-
s.require_paths = ["lib"]
|
21
|
-
s.rubyforge_project = %q{ziya}
|
22
|
-
s.rubygems_version = %q{1.3.1}
|
23
|
-
s.summary = %q{Easily add charting to your rails/merb applications}
|
24
|
-
|
25
|
-
if s.respond_to? :specification_version then
|
26
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
27
|
-
s.specification_version = 2
|
28
|
-
|
29
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
30
|
-
s.add_runtime_dependency(%q<logging>)
|
31
|
-
s.add_runtime_dependency(%q<color>, ["~> 1.4.0"])
|
32
|
-
else
|
33
|
-
s.add_dependency(%q<logging>)
|
34
|
-
s.add_dependency(%q<color>, ["~> 1.4.0"])
|
35
|
-
end
|
36
|
-
else
|
37
|
-
s.add_dependency(%q<logging>)
|
38
|
-
s.add_dependency(%q<color>, ["~> 1.4.0"])
|
39
|
-
end
|
40
|
-
end
|