chameleon 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/widgets/funnel.xml.erb +15 -0
- data/config/routes.rb +1 -1
- data/lib/chameleon.rb +0 -1
- metadata +4 -3
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<root>
|
3
|
+
<% if @data.has_key?(:reverse) %>
|
4
|
+
<type>reverse</type>
|
5
|
+
<% end %>
|
6
|
+
<% if @data.has_key?(:hide_percentage) %>
|
7
|
+
<percentage>hide</percentage>
|
8
|
+
<% end %>
|
9
|
+
<% @data[:items].each do |item| %>
|
10
|
+
<item>
|
11
|
+
<value><%= item[:value] %></value>
|
12
|
+
<label><![CDATA[<%= item[:label] %>]]></label>
|
13
|
+
</item>
|
14
|
+
<% end %>
|
15
|
+
</root>
|
data/config/routes.rb
CHANGED
data/lib/chameleon.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: chameleon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Elliott Draper
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-04-16 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -37,6 +37,7 @@ files:
|
|
37
37
|
- README.rdoc
|
38
38
|
- app/controllers/widgets_controller.rb
|
39
39
|
- app/models/widget.rb
|
40
|
+
- app/views/widgets/funnel.xml.erb
|
40
41
|
- app/views/widgets/geckometer.xml.erb
|
41
42
|
- app/views/widgets/line.xml.erb
|
42
43
|
- app/views/widgets/number_and_secondary.xml.erb
|
@@ -61,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
62
|
requirements:
|
62
63
|
- - ">="
|
63
64
|
- !ruby/object:Gem::Version
|
64
|
-
hash:
|
65
|
+
hash: 3000272352424219481
|
65
66
|
segments:
|
66
67
|
- 0
|
67
68
|
version: "0"
|