hoptoad-ribbit 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hoptoad-ribbit}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Glen Mailer"]
12
- s.date = %q{2010-01-14}
12
+ s.date = %q{2010-02-01}
13
13
  s.description = %q{
14
14
  Provides a Module to handle sending notifications to hoptoad.
15
15
 
@@ -270,7 +270,7 @@ module Ribbit
270
270
 
271
271
  def xml_vars_for(builder, hash)
272
272
  hash.each do |key, value|
273
- if value.respond_to?(:to_hash)
273
+ if value.respond_to?(:each_pair) # [].to_hash is defined in merb's environment
274
274
  builder.var(:key => key){|b| xml_vars_for(b, value.to_hash) }
275
275
  elsif value.respond_to?(:to_ary)
276
276
  builder.var("[" << (value.map { |v| v.to_s } * ", ") << "]", :key => key)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoptoad-ribbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glen Mailer
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-14 00:00:00 +00:00
12
+ date: 2010-02-01 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency