hoptoad-ribbit 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/hoptoad-ribbit.gemspec +2 -2
- data/lib/ribbit/notice.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/hoptoad-ribbit.gemspec
CHANGED
|
@@ -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.
|
|
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
|
|
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
|
|
data/lib/ribbit/notice.rb
CHANGED
|
@@ -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.
|
|
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
|
|
12
|
+
date: 2010-02-01 00:00:00 +00:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|