ziya 2.1.7 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +10 -0
- data/Gemfile.lock +29 -0
- data/History.txt +34 -4
- data/{README.txt → README.rdoc} +1 -36
- data/README.txt1 +310 -0
- data/Rakefile +17 -43
- data/examples/charts/public/charts/.DS_Store +0 -0
- data/lib/ziya.rb +129 -104
- data/lib/ziya/charts/base.rb +17 -9
- data/lib/ziya/gauges/base.rb +4 -2
- data/lib/ziya/gauges/signal.rb +4 -4
- data/lib/ziya/gauges/support/base.rb +3 -3
- data/lib/ziya/maps/base.rb +4 -2
- data/lib/ziya/maps/support/base.rb +1 -1
- data/lib/ziya/maps/support/range.rb +1 -1
- data/lib/ziya/yaml_helpers/charts.rb +1 -1
- data/resources/charts/.DS_Store +0 -0
- data/resources/charts/charts_library/.DS_Store +0 -0
- data/resources/charts/sliders/.DS_Store +0 -0
- data/resources/gauges/.DS_Store +0 -0
- data/resources/maps/.DS_Store +0 -0
- data/spec/charts/support/chart_pref_spec.rb +1 -1
- data/spec/gauges/signal_spec.rb +2 -2
- data/spec/gauges/support/area_spec.rb +5 -5
- data/spec/gauges/support/image_spec.rb +2 -2
- data/spec/gauges/support/line_spec.rb +2 -2
- data/spec/gauges/support/link_spec.rb +2 -2
- data/spec/gauges/support/move_spec.rb +2 -2
- data/spec/gauges/support/polygon_spec.rb +2 -2
- data/spec/gauges/support/radial_numbers_spec.rb +4 -5
- data/spec/gauges/support/radial_ticks_spec.rb +2 -2
- data/spec/gauges/support/rotate_spec.rb +2 -2
- data/spec/gauges/support/scale_spec.rb +2 -2
- data/spec/gauges/support/text_spec.rb +2 -2
- data/spec/maps/base_spec.rb +1 -1
- data/spec/maps/support/default_color_spec.rb +2 -2
- data/spec/maps/support/heat_range_spec.rb +3 -2
- data/spec/ziya_spec.rb +1 -5
- data/version.txt +1 -0
- data/{ziya.gemspec → ziya.gemspec1} +0 -0
- metadata +54 -41
- data/Manifest.txt +0 -343
- data/lib/ziya/version.rb +0 -14
- data/tasks/ann.rake +0 -76
- data/tasks/annotations.rake +0 -22
- data/tasks/doc.rake +0 -53
- data/tasks/gem.rake +0 -110
- data/tasks/manifest.rake +0 -49
- data/tasks/post_load.rake +0 -26
- data/tasks/rubyforge.rake +0 -57
- data/tasks/setup.rb +0 -227
- data/tasks/spec.rake +0 -61
- data/tasks/svn.rake +0 -44
- data/tasks/test.rake +0 -38
@@ -19,10 +19,10 @@ describe Ziya::Gauges::Support::Area do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
describe "#flatten" do
|
22
|
-
it "
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
it "flattens component correctly" do
|
23
|
+
buff = ""
|
24
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
25
|
+
@comp.flatten( xml )
|
26
26
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
27
27
|
buff.scan( /#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :background_color
|
28
28
|
end
|
@@ -30,7 +30,7 @@ describe Ziya::Gauges::Support::Area do
|
|
30
30
|
end
|
31
31
|
|
32
32
|
describe "YAML load" do
|
33
|
-
it "
|
33
|
+
it "loads from yaml correctly" do
|
34
34
|
comp = YAML.load( @comp.to_yaml )
|
35
35
|
@comp.options.each_pair do |k,v|
|
36
36
|
comp.send( k ).to_s.should == v.to_s
|
@@ -15,9 +15,9 @@ describe Ziya::Gauges::Support::Image do
|
|
15
15
|
|
16
16
|
describe "#flatten" do
|
17
17
|
it "should flatten component correctly" do
|
18
|
-
|
18
|
+
buff = ""
|
19
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
19
20
|
@comp.flatten( xml )
|
20
|
-
buff = xml.to_s
|
21
21
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
22
22
|
buff.scan( /#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :retry
|
23
23
|
end
|
@@ -14,9 +14,9 @@ describe Ziya::Gauges::Support::Line do
|
|
14
14
|
|
15
15
|
describe "#flatten" do
|
16
16
|
it "should flatten component correctly" do
|
17
|
-
|
17
|
+
buff = ''
|
18
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
18
19
|
@comp.flatten( xml )
|
19
|
-
buff = xml.to_s
|
20
20
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
21
21
|
buff.scan( /#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :retry
|
22
22
|
end
|
@@ -13,9 +13,9 @@ describe Ziya::Gauges::Support::Link do
|
|
13
13
|
|
14
14
|
describe "#flatten" do
|
15
15
|
it "should flatten component correctly" do
|
16
|
-
|
16
|
+
buff = ''
|
17
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
17
18
|
@comp.flatten( xml )
|
18
|
-
buff = xml.to_s
|
19
19
|
buff.scan( /<area/ ).size.should == 2
|
20
20
|
buff.scan( /x=\"(.*?\d+)\"/ ).should == [ ["10"], ["20"] ]
|
21
21
|
buff.scan( /y=\"(.*?\d+)\"/ ).should == [ ["20"], ["30"] ]
|
@@ -22,9 +22,9 @@ describe Ziya::Gauges::Support::Move do
|
|
22
22
|
|
23
23
|
describe "#flatten" do
|
24
24
|
it "should flatten component correctly" do
|
25
|
-
|
25
|
+
buff = ''
|
26
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
26
27
|
@comp.flatten( xml )
|
27
|
-
buff = xml.to_s
|
28
28
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
29
29
|
buff.scan( /#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :components
|
30
30
|
end
|
@@ -16,9 +16,9 @@ describe Ziya::Gauges::Support::Polygon do
|
|
16
16
|
|
17
17
|
describe "#flatten" do
|
18
18
|
it "should flatten component correctly" do
|
19
|
-
|
19
|
+
buff = ''
|
20
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
20
21
|
@comp.flatten( xml )
|
21
|
-
buff = xml.to_s
|
22
22
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
23
23
|
buff.scan( /#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :components
|
24
24
|
end
|
@@ -21,15 +21,14 @@ describe Ziya::Gauges::Support::RadialNumbers do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
describe "#flatten" do
|
24
|
-
it "
|
25
|
-
|
24
|
+
it "flattens component correctly" do
|
25
|
+
buff = ''
|
26
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
26
27
|
@comp.flatten( xml )
|
27
|
-
buff = xml.to_s
|
28
28
|
buff.scan( /<text/ ).size.should == 10
|
29
29
|
buff.scan( /x=\"(.*?\d+)\"/ ).should == [ ["10"], ["78"], ["138"], ["183"], ["206"], ["206"], ["183"], ["138"], ["78"], ["10"] ]
|
30
30
|
buff.scan( /y=\"(.*?\d+)\"/ ).should == [ ["-190"], ["-177"], ["-143"], ["-90"], ["-24"], ["44"], ["109"], ["163"], ["197"], ["210"] ]
|
31
31
|
buff.scan( />(\d+)<\/text>/ ).should == [ ["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"] ]
|
32
|
-
end
|
33
|
-
|
32
|
+
end
|
34
33
|
end
|
35
34
|
end
|
@@ -16,9 +16,9 @@ describe Ziya::Gauges::Support::RadialTicks do
|
|
16
16
|
|
17
17
|
describe "#flatten" do
|
18
18
|
it "should flatten component correctly" do
|
19
|
-
|
19
|
+
buff = ''
|
20
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
20
21
|
@comp.flatten( xml )
|
21
|
-
buff = xml.to_s
|
22
22
|
buff.scan( /<line/ ).size.should == 10
|
23
23
|
buff.scan( /x1=\"(.*?\d+)\"/ ).should == [ ["1"], ["18"], ["35"], ["50"], ["65"], ["77"], ["87"], ["94"], ["99"], ["101"] ]
|
24
24
|
buff.scan( /y1=\"(.*?\d+)\"/ ).should == [ ["-98"], ["-96"], ["-91"], ["-84"], ["-74"], ["-62"], ["-48"], ["-32"], ["-15"], ["1"] ]
|
@@ -22,9 +22,9 @@ describe Ziya::Gauges::Support::Rotate do
|
|
22
22
|
|
23
23
|
describe "#flatten" do
|
24
24
|
it "should flatten component correctly" do
|
25
|
-
|
25
|
+
buff = ''
|
26
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
26
27
|
@comp.flatten( xml )
|
27
|
-
buff = xml.to_s
|
28
28
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
29
29
|
buff.scan( /\s#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :components
|
30
30
|
end
|
@@ -23,9 +23,9 @@ describe Ziya::Gauges::Support::Scale do
|
|
23
23
|
|
24
24
|
describe "#flatten" do
|
25
25
|
it "should flatten component correctly" do
|
26
|
-
|
26
|
+
buff = ''
|
27
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
27
28
|
@comp.flatten( xml )
|
28
|
-
buff = xml.to_s
|
29
29
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
30
30
|
buff.scan( /\s#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :components
|
31
31
|
end
|
@@ -19,9 +19,9 @@ describe Ziya::Gauges::Support::Text do
|
|
19
19
|
|
20
20
|
describe "#flatten" do
|
21
21
|
it "should flatten component correctly" do
|
22
|
-
|
22
|
+
buff = ''
|
23
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
23
24
|
@comp.flatten( xml )
|
24
|
-
buff = xml.to_s
|
25
25
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
26
26
|
buff.scan( /#{attr}=\"(\w+)\"/ ).should == [ [@comp.send( attr ).to_s] ] unless attr == :text
|
27
27
|
end
|
data/spec/maps/base_spec.rb
CHANGED
@@ -32,7 +32,7 @@ describe Ziya::Maps::Base do
|
|
32
32
|
'2 - 10' => '0000ff'
|
33
33
|
}
|
34
34
|
chart.add :theme, "maps"
|
35
|
-
chart.to_xml.should == "<?xml version=\"1.0\" encoding=\"UTF-8\"?><us_states><state id=\"arc_color\"><color>0000ff</color></state><state id=\"background_color\"><opacity>0</opacity></state><state id=\"default_color\"><color>bbbbbb</color></state><state id=\"default_point\"><color>ff0000</color><opacity>70</opacity><size>20</size><src>fred.gif</src></state><state id=\"first_zoom\"><data>TX</data></state><state id=\"hover\"><background_color>0</background_color><font_color>ffffff</font_color><font_size>14</font_size></state><state id=\"line_color\"><color>00ff00</color></state><state id=\"outline_color\"><color>0</color></state><state id=\"range\"><color>cc0033</color><data>1</data></state><state id=\"range\"><color>bb0033</color><data>1 - 10</data></state><state id=\"scale_points\"><data>50</data></state><state id=\"show_name\"><data>region</data></state><state id=\"zoom_mode\"><data>no_zoom</data></state><state id=\"zoom_out_button\"><background_color>0000ff</background_color><data>S</data><font_color>00ff00</font_color><font_size>14</font_size><name>Zoum out</name></state><state id=\"zoom_out_scale\"><data>200</data></state><state id=\"CA\"><data>1</data><hover>Duh</hover><name>California</name><target>_blank</target><url>google.com</url></state><state id=\"CO\"><data>2</data><hover>Blah</hover><name>Colorado</name><target>_blank</target><url>cnn.com</url></state><state id=\"range\"><data>
|
35
|
+
chart.to_xml.should == "<?xml version=\"1.0\" encoding=\"UTF-8\"?><us_states><state id=\"arc_color\"><color>0000ff</color></state><state id=\"background_color\"><opacity>0</opacity></state><state id=\"default_color\"><color>bbbbbb</color></state><state id=\"default_point\"><color>ff0000</color><opacity>70</opacity><size>20</size><src>fred.gif</src></state><state id=\"first_zoom\"><data>TX</data></state><state id=\"hover\"><background_color>0</background_color><font_color>ffffff</font_color><font_size>14</font_size></state><state id=\"line_color\"><color>00ff00</color></state><state id=\"outline_color\"><color>0</color></state><state id=\"range\"><color>cc0033</color><data>1</data></state><state id=\"range\"><color>bb0033</color><data>1 - 10</data></state><state id=\"scale_points\"><data>50</data></state><state id=\"show_name\"><data>region</data></state><state id=\"zoom_mode\"><data>no_zoom</data></state><state id=\"zoom_out_button\"><background_color>0000ff</background_color><data>S</data><font_color>00ff00</font_color><font_size>14</font_size><name>Zoum out</name></state><state id=\"zoom_out_scale\"><data>200</data></state><state id=\"CA\"><data>1</data><hover>Duh</hover><name>California</name><target>_blank</target><url>google.com</url></state><state id=\"CO\"><data>2</data><hover>Blah</hover><name>Colorado</name><target>_blank</target><url>cnn.com</url></state><state id=\"range\"><data>1</data><color>ff0000</color></state><state id=\"range\"><data>2</data><color>00ff00</color></state><state id=\"range\"><data>2 - 10</data><color>0000ff</color></state></us_states>"
|
36
36
|
end
|
37
37
|
|
38
38
|
describe 'it should add points correctly' do
|
@@ -9,9 +9,9 @@ describe Ziya::Maps::Support::DefaultColor do
|
|
9
9
|
|
10
10
|
describe "#flatten" do
|
11
11
|
it "should flatten component correctly" do
|
12
|
-
|
12
|
+
buff = ''
|
13
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
13
14
|
@comp.flatten( xml )
|
14
|
-
buff = xml.to_s
|
15
15
|
@comp.class.attributes[@comp.class.name].each do |attr|
|
16
16
|
buff.scan( /<#{attr}>(\w+)<\/#{attr}>/ ).should == [ [@comp.send( attr ).to_s] ]
|
17
17
|
end
|
@@ -12,9 +12,10 @@ describe Ziya::Maps::Support::HeatRange do
|
|
12
12
|
|
13
13
|
describe "#flatten" do
|
14
14
|
it "should flatten component correctly" do
|
15
|
-
|
15
|
+
buff = ''
|
16
|
+
xml = Builder::XmlMarkup.new( :target => buff )
|
16
17
|
@comp.flatten( xml )
|
17
|
-
|
18
|
+
buff.should == "<state id=\"range\"><data>0 - 9</data><color>ff00ff</color></state><state id=\"range\"><data>10 - 19</data><color>e600e6</color></state><state id=\"range\"><data>20 - 29</data><color>cf00cf</color></state><state id=\"range\"><data>30 - 39</data><color>ba00ba</color></state><state id=\"range\"><data>40 - 49</data><color>a700a7</color></state><state id=\"range\"><data>50 - 59</data><color>970097</color></state><state id=\"range\"><data>60 - 69</data><color>880088</color></state><state id=\"range\"><data>70 - 79</data><color>7a007a</color></state><state id=\"range\"><data>80 - 89</data><color>6e006e</color></state><state id=\"range\"><data>90 - 99</data><color>630063</color></state>"
|
18
19
|
end
|
19
20
|
end
|
20
21
|
|
data/spec/ziya_spec.rb
CHANGED
@@ -4,11 +4,7 @@ describe Ziya do
|
|
4
4
|
before( :all ) do
|
5
5
|
@root = ::File.expand_path( ::File.join(::File.dirname(__FILE__), ".." ) )
|
6
6
|
end
|
7
|
-
|
8
|
-
it "is versioned" do
|
9
|
-
::Ziya::Version.version.should =~ /\d+\.\d+\.\d+/
|
10
|
-
end
|
11
|
-
|
7
|
+
|
12
8
|
it "generates a correct path relative to root" do
|
13
9
|
::Ziya.path( "ziya.rb" ).should == ::File.join( @root, "ziya.rb" )
|
14
10
|
end
|
data/version.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.1.8
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ziya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 1
|
8
|
+
- 8
|
9
|
+
version: 2.1.8
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Fernand Galiana
|
@@ -9,30 +14,36 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-07-29 00:00:00 -06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
|
18
|
-
|
19
|
-
|
21
|
+
name: bones
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
28
|
+
segments:
|
29
|
+
- 3
|
30
|
+
- 4
|
31
|
+
- 7
|
32
|
+
version: 3.4.7
|
33
|
+
type: :development
|
34
|
+
version_requirements: *id001
|
35
|
+
description: |-
|
36
|
+
ZiYa allows you to easily create interactive charts, gauges and maps for your web applications. ZiYa leverages
|
37
|
+
flash which offload heavy server side processing to the client. At the root ZiYa allows you to easily generate an
|
38
|
+
XML files that will be downloaded to the client for rendering. Using this gem, you will be able to easily create great
|
39
|
+
looking charts for your application. You will also be able to use the charts, gauges and maps has a navigation scheme
|
40
|
+
by embedding various link in the graphical components thus bringing to the table an ideal scheme for reporting and dashboard
|
41
|
+
like applications. Your manager will love you for it !!
|
42
|
+
|
43
|
+
Sample site : http://ziya.liquidrail.com
|
44
|
+
Documentation : http://ziya.liquidrail.com/docs
|
45
|
+
Forum : http://groups.google.com/group/ziya-plugin
|
46
|
+
Repositories : git://github.com/derailed/ziya.git
|
36
47
|
email: fernand@liquidrail.com
|
37
48
|
executables:
|
38
49
|
- ziyafy
|
@@ -40,20 +51,24 @@ extensions: []
|
|
40
51
|
|
41
52
|
extra_rdoc_files:
|
42
53
|
- History.txt
|
43
|
-
- README.
|
54
|
+
- README.rdoc
|
44
55
|
- bin/ziyafy
|
45
56
|
- examples/charts/public/charts/themes/readme.txt
|
46
57
|
- examples/maps/public/maps/themes/readme.txt
|
47
58
|
- release_notes.txt
|
48
59
|
- resources/charts/themes/readme.txt
|
49
60
|
- resources/maps/themes/readme.txt
|
61
|
+
- version.txt
|
50
62
|
files:
|
63
|
+
- Gemfile
|
64
|
+
- Gemfile.lock
|
51
65
|
- History.txt
|
52
|
-
-
|
53
|
-
- README.
|
66
|
+
- README.rdoc
|
67
|
+
- README.txt1
|
54
68
|
- Rakefile
|
55
69
|
- bin/ziyafy
|
56
70
|
- examples/charts/basic_chart.rb
|
71
|
+
- examples/charts/public/charts/.DS_Store
|
57
72
|
- examples/charts/public/charts/AC_RunActiveContent.js
|
58
73
|
- examples/charts/public/charts/charts.swf
|
59
74
|
- examples/charts/public/charts/charts_library/ar3d.swf
|
@@ -257,15 +272,16 @@ files:
|
|
257
272
|
- lib/ziya/maps/us.rb
|
258
273
|
- lib/ziya/maps/world.rb
|
259
274
|
- lib/ziya/utils/logger.rb
|
260
|
-
- lib/ziya/version.rb
|
261
275
|
- lib/ziya/yaml_helpers.rb
|
262
276
|
- lib/ziya/yaml_helpers/base.rb
|
263
277
|
- lib/ziya/yaml_helpers/charts.rb
|
264
278
|
- lib/ziya/yaml_helpers/gauges.rb
|
265
279
|
- lib/ziya/yaml_helpers/maps.rb
|
266
280
|
- release_notes.txt
|
281
|
+
- resources/charts/.DS_Store
|
267
282
|
- resources/charts/AC_RunActiveContent.js
|
268
283
|
- resources/charts/charts.swf
|
284
|
+
- resources/charts/charts_library/.DS_Store
|
269
285
|
- resources/charts/charts_library/ar3d.swf
|
270
286
|
- resources/charts/charts_library/arno.swf
|
271
287
|
- resources/charts/charts_library/ars3.swf
|
@@ -293,15 +309,18 @@ files:
|
|
293
309
|
- resources/charts/full_screen.fla
|
294
310
|
- resources/charts/full_screen.swf
|
295
311
|
- resources/charts/scripts/output_jpg.php
|
312
|
+
- resources/charts/sliders/.DS_Store
|
296
313
|
- resources/charts/sliders/black.swf
|
297
314
|
- resources/charts/sliders/preview_handle_1.swf
|
298
315
|
- resources/charts/sliders/preview_handle_2.swf
|
299
316
|
- resources/charts/themes/readme.txt
|
317
|
+
- resources/gauges/.DS_Store
|
300
318
|
- resources/gauges/designs/circle.yml
|
301
319
|
- resources/gauges/designs/signal.yml
|
302
320
|
- resources/gauges/designs/thermo.yml
|
303
321
|
- resources/gauges/designs/title.yml
|
304
322
|
- resources/gauges/gauge.swf
|
323
|
+
- resources/maps/.DS_Store
|
305
324
|
- resources/maps/js/Exception.js
|
306
325
|
- resources/maps/js/FlashProxy.js
|
307
326
|
- resources/maps/js/FlashSerializer.js
|
@@ -379,46 +398,40 @@ files:
|
|
379
398
|
- spec/yaml_helpers/gauges_spec.rb
|
380
399
|
- spec/ziya_helper_spec.rb
|
381
400
|
- spec/ziya_spec.rb
|
382
|
-
-
|
383
|
-
-
|
384
|
-
- tasks/doc.rake
|
385
|
-
- tasks/gem.rake
|
386
|
-
- tasks/manifest.rake
|
387
|
-
- tasks/post_load.rake
|
388
|
-
- tasks/rubyforge.rake
|
389
|
-
- tasks/setup.rb
|
390
|
-
- tasks/spec.rake
|
391
|
-
- tasks/svn.rake
|
392
|
-
- tasks/test.rake
|
393
|
-
- ziya.gemspec
|
401
|
+
- version.txt
|
402
|
+
- ziya.gemspec1
|
394
403
|
has_rdoc: true
|
395
|
-
homepage: http://ziya.
|
404
|
+
homepage: http://ziya.liquidrail.com/
|
396
405
|
licenses: []
|
397
406
|
|
398
407
|
post_install_message:
|
399
408
|
rdoc_options:
|
400
409
|
- --main
|
401
|
-
- README.
|
410
|
+
- README.rdoc
|
402
411
|
require_paths:
|
403
412
|
- lib
|
404
413
|
required_ruby_version: !ruby/object:Gem::Requirement
|
414
|
+
none: false
|
405
415
|
requirements:
|
406
416
|
- - ">="
|
407
417
|
- !ruby/object:Gem::Version
|
418
|
+
segments:
|
419
|
+
- 0
|
408
420
|
version: "0"
|
409
|
-
version:
|
410
421
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
422
|
+
none: false
|
411
423
|
requirements:
|
412
424
|
- - ">="
|
413
425
|
- !ruby/object:Gem::Version
|
426
|
+
segments:
|
427
|
+
- 0
|
414
428
|
version: "0"
|
415
|
-
version:
|
416
429
|
requirements: []
|
417
430
|
|
418
431
|
rubyforge_project: ziya
|
419
|
-
rubygems_version: 1.3.
|
432
|
+
rubygems_version: 1.3.7
|
420
433
|
signing_key:
|
421
434
|
specification_version: 3
|
422
|
-
summary:
|
435
|
+
summary: ZiYa allows you to easily create interactive charts, gauges and maps for your web applications
|
423
436
|
test_files: []
|
424
437
|
|
data/Manifest.txt
DELETED
@@ -1,343 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
Manifest.txt
|
3
|
-
README.txt
|
4
|
-
Rakefile
|
5
|
-
bin/ziyafy
|
6
|
-
examples/charts/basic_chart.rb
|
7
|
-
examples/charts/public/charts/AC_RunActiveContent.js
|
8
|
-
examples/charts/public/charts/charts.swf
|
9
|
-
examples/charts/public/charts/charts_library/ar3d.swf
|
10
|
-
examples/charts/public/charts/charts_library/arno.swf
|
11
|
-
examples/charts/public/charts/charts_library/ars3.swf
|
12
|
-
examples/charts/public/charts/charts_library/arst.swf
|
13
|
-
examples/charts/public/charts/charts_library/brfl.swf
|
14
|
-
examples/charts/public/charts/charts_library/brno.swf
|
15
|
-
examples/charts/public/charts/charts_library/brst.swf
|
16
|
-
examples/charts/public/charts/charts_library/buno.swf
|
17
|
-
examples/charts/public/charts/charts_library/cl3d.swf
|
18
|
-
examples/charts/public/charts/charts_library/clfl.swf
|
19
|
-
examples/charts/public/charts/charts_library/clim.swf
|
20
|
-
examples/charts/public/charts/charts_library/clno.swf
|
21
|
-
examples/charts/public/charts/charts_library/clp3.swf
|
22
|
-
examples/charts/public/charts/charts_library/cls3.swf
|
23
|
-
examples/charts/public/charts/charts_library/clst.swf
|
24
|
-
examples/charts/public/charts/charts_library/cnno.swf
|
25
|
-
examples/charts/public/charts/charts_library/dono.swf
|
26
|
-
examples/charts/public/charts/charts_library/lnno.swf
|
27
|
-
examples/charts/public/charts/charts_library/mxno.swf
|
28
|
-
examples/charts/public/charts/charts_library/pi3d.swf
|
29
|
-
examples/charts/public/charts/charts_library/piim.swf
|
30
|
-
examples/charts/public/charts/charts_library/pino.swf
|
31
|
-
examples/charts/public/charts/charts_library/pono.swf
|
32
|
-
examples/charts/public/charts/charts_library/scno.swf
|
33
|
-
examples/charts/public/charts/full_screen.fla
|
34
|
-
examples/charts/public/charts/full_screen.swf
|
35
|
-
examples/charts/public/charts/scripts/output_jpg.php
|
36
|
-
examples/charts/public/charts/sliders/black.swf
|
37
|
-
examples/charts/public/charts/sliders/preview_handle_1.swf
|
38
|
-
examples/charts/public/charts/sliders/preview_handle_2.swf
|
39
|
-
examples/charts/public/charts/themes/cool_theme/column_chart.yml
|
40
|
-
examples/charts/public/charts/themes/readme.txt
|
41
|
-
examples/charts/views/index.erb
|
42
|
-
examples/maps/basic_map.rb
|
43
|
-
examples/maps/helpers/map_helper.rb
|
44
|
-
examples/maps/models/confidential_herpes_report.rb
|
45
|
-
examples/maps/public/javascripts/jquery-1.3.2.js
|
46
|
-
examples/maps/public/map.xml
|
47
|
-
examples/maps/public/maps/js/Exception.js
|
48
|
-
examples/maps/public/maps/js/FlashProxy.js
|
49
|
-
examples/maps/public/maps/js/FlashSerializer.js
|
50
|
-
examples/maps/public/maps/js/FlashTag.js
|
51
|
-
examples/maps/public/maps/js/JavaScriptFlashGateway.js
|
52
|
-
examples/maps/public/maps/js/JavaScriptFlashGateway.swf
|
53
|
-
examples/maps/public/maps/map_library/australia.swf
|
54
|
-
examples/maps/public/maps/map_library/belgium.swf
|
55
|
-
examples/maps/public/maps/map_library/brazil.swf
|
56
|
-
examples/maps/public/maps/map_library/canada.swf
|
57
|
-
examples/maps/public/maps/map_library/europe.swf
|
58
|
-
examples/maps/public/maps/map_library/france.swf
|
59
|
-
examples/maps/public/maps/map_library/germany.swf
|
60
|
-
examples/maps/public/maps/map_library/italy.swf
|
61
|
-
examples/maps/public/maps/map_library/mexico.swf
|
62
|
-
examples/maps/public/maps/map_library/sweden.swf
|
63
|
-
examples/maps/public/maps/map_library/uk_ireland.swf
|
64
|
-
examples/maps/public/maps/map_library/us.swf
|
65
|
-
examples/maps/public/maps/map_library/us_canada.swf
|
66
|
-
examples/maps/public/maps/map_library/world.swf
|
67
|
-
examples/maps/public/maps/themes/default/base_map.yml
|
68
|
-
examples/maps/public/maps/themes/default/us_map.yml
|
69
|
-
examples/maps/public/maps/themes/default/us_map_2.yml
|
70
|
-
examples/maps/public/maps/themes/readme.txt
|
71
|
-
examples/maps/public/stylesheets/map.css
|
72
|
-
examples/maps/views/index.erb
|
73
|
-
examples/maps/views/layout.erb
|
74
|
-
gem_script.rb
|
75
|
-
lib/ziya.rb
|
76
|
-
lib/ziya/charts/area.rb
|
77
|
-
lib/ziya/charts/area_threed.rb
|
78
|
-
lib/ziya/charts/bar.rb
|
79
|
-
lib/ziya/charts/base.rb
|
80
|
-
lib/ziya/charts/bubble.rb
|
81
|
-
lib/ziya/charts/candle_stick.rb
|
82
|
-
lib/ziya/charts/column.rb
|
83
|
-
lib/ziya/charts/column_threed.rb
|
84
|
-
lib/ziya/charts/custom.rb
|
85
|
-
lib/ziya/charts/donut.rb
|
86
|
-
lib/ziya/charts/floating_bar.rb
|
87
|
-
lib/ziya/charts/floating_column.rb
|
88
|
-
lib/ziya/charts/image_column.rb
|
89
|
-
lib/ziya/charts/image_pie.rb
|
90
|
-
lib/ziya/charts/line.rb
|
91
|
-
lib/ziya/charts/mixed.rb
|
92
|
-
lib/ziya/charts/parallel_threed_column.rb
|
93
|
-
lib/ziya/charts/pie.rb
|
94
|
-
lib/ziya/charts/pie_threed.rb
|
95
|
-
lib/ziya/charts/polar.rb
|
96
|
-
lib/ziya/charts/scatter.rb
|
97
|
-
lib/ziya/charts/stacked_area.rb
|
98
|
-
lib/ziya/charts/stacked_bar.rb
|
99
|
-
lib/ziya/charts/stacked_column.rb
|
100
|
-
lib/ziya/charts/stacked_threed_area.rb
|
101
|
-
lib/ziya/charts/stacked_threed_column.rb
|
102
|
-
lib/ziya/charts/support/area.rb
|
103
|
-
lib/ziya/charts/support/axis_category.rb
|
104
|
-
lib/ziya/charts/support/axis_ticks.rb
|
105
|
-
lib/ziya/charts/support/axis_value.rb
|
106
|
-
lib/ziya/charts/support/base.rb
|
107
|
-
lib/ziya/charts/support/bevel.rb
|
108
|
-
lib/ziya/charts/support/blur.rb
|
109
|
-
lib/ziya/charts/support/button.rb
|
110
|
-
lib/ziya/charts/support/chart_border.rb
|
111
|
-
lib/ziya/charts/support/chart_grid_h.rb
|
112
|
-
lib/ziya/charts/support/chart_grid_v.rb
|
113
|
-
lib/ziya/charts/support/chart_guide.rb
|
114
|
-
lib/ziya/charts/support/chart_label.rb
|
115
|
-
lib/ziya/charts/support/chart_note.rb
|
116
|
-
lib/ziya/charts/support/chart_pref.rb
|
117
|
-
lib/ziya/charts/support/chart_rect.rb
|
118
|
-
lib/ziya/charts/support/chart_transition.rb
|
119
|
-
lib/ziya/charts/support/circle.rb
|
120
|
-
lib/ziya/charts/support/context_menu.rb
|
121
|
-
lib/ziya/charts/support/draw.rb
|
122
|
-
lib/ziya/charts/support/draw_base.rb
|
123
|
-
lib/ziya/charts/support/filter.rb
|
124
|
-
lib/ziya/charts/support/flash_to_javascript.rb
|
125
|
-
lib/ziya/charts/support/glow.rb
|
126
|
-
lib/ziya/charts/support/image.rb
|
127
|
-
lib/ziya/charts/support/legend.rb
|
128
|
-
lib/ziya/charts/support/line.rb
|
129
|
-
lib/ziya/charts/support/link.rb
|
130
|
-
lib/ziya/charts/support/link_data.rb
|
131
|
-
lib/ziya/charts/support/rect.rb
|
132
|
-
lib/ziya/charts/support/scroll.rb
|
133
|
-
lib/ziya/charts/support/series.rb
|
134
|
-
lib/ziya/charts/support/series_color.rb
|
135
|
-
lib/ziya/charts/support/series_explode.rb
|
136
|
-
lib/ziya/charts/support/shadow.rb
|
137
|
-
lib/ziya/charts/support/text.rb
|
138
|
-
lib/ziya/charts/support/tooltip.rb
|
139
|
-
lib/ziya/charts/support/update.rb
|
140
|
-
lib/ziya/core_ext/string.rb
|
141
|
-
lib/ziya/gauges/base.rb
|
142
|
-
lib/ziya/gauges/radial.rb
|
143
|
-
lib/ziya/gauges/signal.rb
|
144
|
-
lib/ziya/gauges/support/area.rb
|
145
|
-
lib/ziya/gauges/support/base.rb
|
146
|
-
lib/ziya/gauges/support/circle.rb
|
147
|
-
lib/ziya/gauges/support/design.rb
|
148
|
-
lib/ziya/gauges/support/image.rb
|
149
|
-
lib/ziya/gauges/support/line.rb
|
150
|
-
lib/ziya/gauges/support/link.rb
|
151
|
-
lib/ziya/gauges/support/move.rb
|
152
|
-
lib/ziya/gauges/support/point.rb
|
153
|
-
lib/ziya/gauges/support/polygon.rb
|
154
|
-
lib/ziya/gauges/support/radial_base.rb
|
155
|
-
lib/ziya/gauges/support/radial_numbers.rb
|
156
|
-
lib/ziya/gauges/support/radial_ticks.rb
|
157
|
-
lib/ziya/gauges/support/rect.rb
|
158
|
-
lib/ziya/gauges/support/rotate.rb
|
159
|
-
lib/ziya/gauges/support/scale.rb
|
160
|
-
lib/ziya/gauges/support/text.rb
|
161
|
-
lib/ziya/gauges/support/update.rb
|
162
|
-
lib/ziya/gauges/thermo.rb
|
163
|
-
lib/ziya/html_helpers.rb
|
164
|
-
lib/ziya/html_helpers/base.rb
|
165
|
-
lib/ziya/html_helpers/charts.rb
|
166
|
-
lib/ziya/html_helpers/gauges.rb
|
167
|
-
lib/ziya/html_helpers/maps.rb
|
168
|
-
lib/ziya/maps/australia.rb
|
169
|
-
lib/ziya/maps/base.rb
|
170
|
-
lib/ziya/maps/belgium.rb
|
171
|
-
lib/ziya/maps/brazil.rb
|
172
|
-
lib/ziya/maps/canada.rb
|
173
|
-
lib/ziya/maps/europe.rb
|
174
|
-
lib/ziya/maps/france.rb
|
175
|
-
lib/ziya/maps/geocode.rb
|
176
|
-
lib/ziya/maps/germany.rb
|
177
|
-
lib/ziya/maps/italy.rb
|
178
|
-
lib/ziya/maps/mexico.rb
|
179
|
-
lib/ziya/maps/support/arc.rb
|
180
|
-
lib/ziya/maps/support/arc_color.rb
|
181
|
-
lib/ziya/maps/support/arc_range.rb
|
182
|
-
lib/ziya/maps/support/background_color.rb
|
183
|
-
lib/ziya/maps/support/base.rb
|
184
|
-
lib/ziya/maps/support/default_color.rb
|
185
|
-
lib/ziya/maps/support/default_point.rb
|
186
|
-
lib/ziya/maps/support/first_zoom.rb
|
187
|
-
lib/ziya/maps/support/heat_range.rb
|
188
|
-
lib/ziya/maps/support/hover.rb
|
189
|
-
lib/ziya/maps/support/line.rb
|
190
|
-
lib/ziya/maps/support/line_color.rb
|
191
|
-
lib/ziya/maps/support/line_range.rb
|
192
|
-
lib/ziya/maps/support/outline_color.rb
|
193
|
-
lib/ziya/maps/support/point.rb
|
194
|
-
lib/ziya/maps/support/point_range.rb
|
195
|
-
lib/ziya/maps/support/range.rb
|
196
|
-
lib/ziya/maps/support/ranges.rb
|
197
|
-
lib/ziya/maps/support/region.rb
|
198
|
-
lib/ziya/maps/support/scale_points.rb
|
199
|
-
lib/ziya/maps/support/show_name.rb
|
200
|
-
lib/ziya/maps/support/state.rb
|
201
|
-
lib/ziya/maps/support/state_info_icon.rb
|
202
|
-
lib/ziya/maps/support/zoom_mode.rb
|
203
|
-
lib/ziya/maps/support/zoom_out_button.rb
|
204
|
-
lib/ziya/maps/support/zoom_out_scale.rb
|
205
|
-
lib/ziya/maps/sweden.rb
|
206
|
-
lib/ziya/maps/uk.rb
|
207
|
-
lib/ziya/maps/us.rb
|
208
|
-
lib/ziya/maps/world.rb
|
209
|
-
lib/ziya/utils/logger.rb
|
210
|
-
lib/ziya/version.rb
|
211
|
-
lib/ziya/yaml_helpers.rb
|
212
|
-
lib/ziya/yaml_helpers/base.rb
|
213
|
-
lib/ziya/yaml_helpers/charts.rb
|
214
|
-
lib/ziya/yaml_helpers/gauges.rb
|
215
|
-
lib/ziya/yaml_helpers/maps.rb
|
216
|
-
release_notes.txt
|
217
|
-
resources/charts/AC_RunActiveContent.js
|
218
|
-
resources/charts/charts.swf
|
219
|
-
resources/charts/charts_library/ar3d.swf
|
220
|
-
resources/charts/charts_library/arno.swf
|
221
|
-
resources/charts/charts_library/ars3.swf
|
222
|
-
resources/charts/charts_library/arst.swf
|
223
|
-
resources/charts/charts_library/brfl.swf
|
224
|
-
resources/charts/charts_library/brno.swf
|
225
|
-
resources/charts/charts_library/brst.swf
|
226
|
-
resources/charts/charts_library/buno.swf
|
227
|
-
resources/charts/charts_library/cl3d.swf
|
228
|
-
resources/charts/charts_library/clfl.swf
|
229
|
-
resources/charts/charts_library/clim.swf
|
230
|
-
resources/charts/charts_library/clno.swf
|
231
|
-
resources/charts/charts_library/clp3.swf
|
232
|
-
resources/charts/charts_library/cls3.swf
|
233
|
-
resources/charts/charts_library/clst.swf
|
234
|
-
resources/charts/charts_library/cnno.swf
|
235
|
-
resources/charts/charts_library/dono.swf
|
236
|
-
resources/charts/charts_library/lnno.swf
|
237
|
-
resources/charts/charts_library/mxno.swf
|
238
|
-
resources/charts/charts_library/pi3d.swf
|
239
|
-
resources/charts/charts_library/piim.swf
|
240
|
-
resources/charts/charts_library/pino.swf
|
241
|
-
resources/charts/charts_library/pono.swf
|
242
|
-
resources/charts/charts_library/scno.swf
|
243
|
-
resources/charts/full_screen.fla
|
244
|
-
resources/charts/full_screen.swf
|
245
|
-
resources/charts/scripts/output_jpg.php
|
246
|
-
resources/charts/sliders/black.swf
|
247
|
-
resources/charts/sliders/preview_handle_1.swf
|
248
|
-
resources/charts/sliders/preview_handle_2.swf
|
249
|
-
resources/charts/themes/readme.txt
|
250
|
-
resources/gauges/designs/circle.yml
|
251
|
-
resources/gauges/designs/signal.yml
|
252
|
-
resources/gauges/designs/thermo.yml
|
253
|
-
resources/gauges/designs/title.yml
|
254
|
-
resources/gauges/gauge.swf
|
255
|
-
resources/maps/js/Exception.js
|
256
|
-
resources/maps/js/FlashProxy.js
|
257
|
-
resources/maps/js/FlashSerializer.js
|
258
|
-
resources/maps/js/FlashTag.js
|
259
|
-
resources/maps/js/JavaScriptFlashGateway.js
|
260
|
-
resources/maps/js/JavaScriptFlashGateway.swf
|
261
|
-
resources/maps/map_library/australia.swf
|
262
|
-
resources/maps/map_library/belgium.swf
|
263
|
-
resources/maps/map_library/brazil.swf
|
264
|
-
resources/maps/map_library/canada.swf
|
265
|
-
resources/maps/map_library/europe.swf
|
266
|
-
resources/maps/map_library/france.swf
|
267
|
-
resources/maps/map_library/germany.swf
|
268
|
-
resources/maps/map_library/italy.swf
|
269
|
-
resources/maps/map_library/mexico.swf
|
270
|
-
resources/maps/map_library/sweden.swf
|
271
|
-
resources/maps/map_library/uk_ireland.swf
|
272
|
-
resources/maps/map_library/us.swf
|
273
|
-
resources/maps/map_library/us_canada.swf
|
274
|
-
resources/maps/map_library/world.swf
|
275
|
-
resources/maps/themes/readme.txt
|
276
|
-
spec/charts/base_spec.rb
|
277
|
-
spec/charts/chart_type_spec.rb
|
278
|
-
spec/charts/support/area_spec.rb
|
279
|
-
spec/charts/support/chart_pref_spec.rb
|
280
|
-
spec/charts/support/draw_spec.rb
|
281
|
-
spec/charts/support/filter_spec.rb
|
282
|
-
spec/charts/support/link_spec.rb
|
283
|
-
spec/charts/support/series.rb
|
284
|
-
spec/charts/support/series_color_spec.rb
|
285
|
-
spec/charts/support/series_explode.rb
|
286
|
-
spec/charts/support/series_explode_spec.rb
|
287
|
-
spec/core_ext/string_spec.rb
|
288
|
-
spec/designs/circle.yml
|
289
|
-
spec/designs/crapping_out.yml
|
290
|
-
spec/designs/gauge_1.yml
|
291
|
-
spec/designs/gauge_2.yml
|
292
|
-
spec/designs/gauge_no_name.yml
|
293
|
-
spec/designs/gauge_raw.yml
|
294
|
-
spec/designs/thermo.yml
|
295
|
-
spec/gauges/base_spec.rb
|
296
|
-
spec/gauges/signal_spec.rb
|
297
|
-
spec/gauges/support/area_spec.rb
|
298
|
-
spec/gauges/support/circle_spec.rb
|
299
|
-
spec/gauges/support/image_spec.rb
|
300
|
-
spec/gauges/support/line_spec.rb
|
301
|
-
spec/gauges/support/link_spec.rb
|
302
|
-
spec/gauges/support/move_spec.rb
|
303
|
-
spec/gauges/support/polygon_spec.rb
|
304
|
-
spec/gauges/support/radial_numbers_spec.rb
|
305
|
-
spec/gauges/support/radial_ticks_spec.rb
|
306
|
-
spec/gauges/support/rotate_spec.rb
|
307
|
-
spec/gauges/support/scale_spec.rb
|
308
|
-
spec/gauges/support/text_spec.rb
|
309
|
-
spec/gauges/thermo_spec.rb
|
310
|
-
spec/html_helpers/base_spec.rb
|
311
|
-
spec/html_helpers/charts_spec.rb
|
312
|
-
spec/html_helpers/gauges_spec.rb
|
313
|
-
spec/html_helpers/maps_spec.rb
|
314
|
-
spec/maps/base_spec.rb
|
315
|
-
spec/maps/support/default_color_spec.rb
|
316
|
-
spec/maps/support/heat_range_spec.rb
|
317
|
-
spec/maps/us_spec.rb
|
318
|
-
spec/maps/world_spec.rb
|
319
|
-
spec/spec_helper.rb
|
320
|
-
spec/test_helpers/gauge_2_helper.rb
|
321
|
-
spec/themes/default/fred.yml
|
322
|
-
spec/themes/default/line_chart.yml
|
323
|
-
spec/themes/maps/base_map.yml
|
324
|
-
spec/themes/maps/us_map.yml
|
325
|
-
spec/themes/maps/world_map.yml
|
326
|
-
spec/themes/maps/world_ov_map.yml
|
327
|
-
spec/utils/logger_spec.rb
|
328
|
-
spec/yaml_helpers/charts_spec.rb
|
329
|
-
spec/yaml_helpers/gauges_spec.rb
|
330
|
-
spec/ziya_helper_spec.rb
|
331
|
-
spec/ziya_spec.rb
|
332
|
-
tasks/ann.rake
|
333
|
-
tasks/annotations.rake
|
334
|
-
tasks/doc.rake
|
335
|
-
tasks/gem.rake
|
336
|
-
tasks/manifest.rake
|
337
|
-
tasks/post_load.rake
|
338
|
-
tasks/rubyforge.rake
|
339
|
-
tasks/setup.rb
|
340
|
-
tasks/spec.rake
|
341
|
-
tasks/svn.rake
|
342
|
-
tasks/test.rake
|
343
|
-
ziya.gemspec
|