ruhl 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/ruhl/engine.rb +3 -3
  3. data/ruhl.gemspec +2 -2
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.6
1
+ 0.9.7
data/lib/ruhl/engine.rb CHANGED
@@ -112,7 +112,7 @@ module Ruhl
112
112
  value.strip!
113
113
 
114
114
  unless attribute =~ /^_/
115
- tag[attribute] = execute_ruby(tag, value)
115
+ tag[attribute] = execute_ruby(tag, value).to_s
116
116
  else
117
117
  case attribute
118
118
  when "_use"
@@ -158,9 +158,9 @@ module Ruhl
158
158
  if results.is_a?(Hash)
159
159
  results.each do |key, value|
160
160
  if key == :inner_html
161
- tag.inner_html = value
161
+ tag.inner_html = value.to_s
162
162
  else
163
- tag[key.to_s] = value
163
+ tag[key.to_s] = value.to_s
164
164
  end
165
165
  end
166
166
  else
data/ruhl.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruhl}
8
- s.version = "0.9.6"
8
+ s.version = "0.9.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Stone"]
12
- s.date = %q{2009-10-17}
12
+ s.date = %q{2009-10-18}
13
13
  s.description = %q{Make your HTML dynamic with the addition of a data-ruhl attribute.}
14
14
  s.email = %q{andy@stonean.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruhl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-17 00:00:00 -04:00
12
+ date: 2009-10-18 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency