chameleon 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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>
@@ -1,3 +1,3 @@
1
- Rails::Application.routes.draw do
1
+ Rails.application.routes.draw do
2
2
  match "widgets/:id", :to => "widgets#show"
3
3
  end
@@ -1,6 +1,5 @@
1
1
  module Chameleon
2
2
  class Engine < Rails::Engine
3
- engine_name :chameleon
4
3
  initializer "chameleon.initialization" do
5
4
  Dir.glob(File.join("app", "widgets", "*.rb")).each { |f| require File.expand_path(f) }
6
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chameleon
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
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-03-24 00:00:00 +00:00
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: -4130507598224075309
65
+ hash: 3000272352424219481
65
66
  segments:
66
67
  - 0
67
68
  version: "0"