chameleon 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/views/widgets/text.xml.erb +4 -0
  2. metadata +35 -38
@@ -2,7 +2,11 @@
2
2
  <root>
3
3
  <% @data.each do |panel| %>
4
4
  <item>
5
+ <% if !panel[:html].nil? %>
6
+ <text><![CDATA[<%=raw panel[:html] %>]]></text>
7
+ <% else %>
5
8
  <text><![CDATA[<%= panel[:text] %>]]></text>
9
+ <% end %>
6
10
  <type><%=
7
11
  case panel[:type]
8
12
  when :alert then 1
metadata CHANGED
@@ -1,38 +1,39 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: chameleon
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
4
5
  prerelease:
5
- version: 0.2.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Elliott Draper
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-04-16 00:00:00 +01:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-07-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: rails
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: 3.0.3
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.6
24
22
  type: :development
25
23
  prerelease: false
26
- version_requirements: *id001
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.6
27
30
  description:
28
31
  email: el@ejdraper.com
29
32
  executables: []
30
-
31
33
  extensions: []
32
-
33
- extra_rdoc_files:
34
+ extra_rdoc_files:
34
35
  - README.rdoc
35
- files:
36
+ files:
36
37
  - MIT-LICENSE
37
38
  - README.rdoc
38
39
  - app/controllers/widgets_controller.rb
@@ -47,37 +48,33 @@ files:
47
48
  - config/routes.rb
48
49
  - lib/chameleon.rb
49
50
  - lib/generators/chameleon/widget_generator.rb
50
- has_rdoc: true
51
51
  homepage: http://github.com/ejdraper/chameleon
52
52
  licenses: []
53
-
54
53
  post_install_message:
55
- rdoc_options:
54
+ rdoc_options:
56
55
  - --main
57
56
  - README.rdoc
58
- require_paths:
57
+ require_paths:
59
58
  - lib
60
- required_ruby_version: !ruby/object:Gem::Requirement
59
+ required_ruby_version: !ruby/object:Gem::Requirement
61
60
  none: false
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- hash: 3000272352424219481
66
- segments:
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ segments:
67
66
  - 0
68
- version: "0"
69
- required_rubygems_version: !ruby/object:Gem::Requirement
67
+ hash: 522234829210247769
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
69
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: "0"
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
75
74
  requirements: []
76
-
77
75
  rubyforge_project:
78
- rubygems_version: 1.5.3
76
+ rubygems_version: 1.8.24
79
77
  signing_key:
80
78
  specification_version: 3
81
79
  summary: Rails engine to let you easily build Geckoboard widgets
82
80
  test_files: []
83
-