sclemmer-robut 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/robut/room.rb +3 -1
- data/lib/robut/version.rb +1 -1
- data/sclemmer-robut.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e28ec51937cbd52677eecece7d703f42563d8c6
|
4
|
+
data.tar.gz: 162653bd99b466b458e31b1efb7dbdb3cf3b962a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eff29ef4c4a66fbad7da81796bfb78c2e577abf056560973c40b47ebfcd00f5b4029ff2916472f7c6297faff3a9a6b51fd91e6dc1d68ae81696c7cd33b714586
|
7
|
+
data.tar.gz: 61ad64286affc06d4165b68b16702eb43371bbe8098d5d22b88497a985e2f3d94525ab7a32a6265f0c8def79d9012c956a360c3b036f3c7eb360a5f725451d51
|
data/lib/robut/room.rb
CHANGED
@@ -25,6 +25,8 @@ class Robut::Room < Robut::Presence
|
|
25
25
|
|
26
26
|
# Send +message+ to the room we're currently connected to
|
27
27
|
def reply(message, to)
|
28
|
-
|
28
|
+
msg = Jabber::Message.new(muc.room)
|
29
|
+
msg.set_xhtml_body(message)
|
30
|
+
muc.send(msg)
|
29
31
|
end
|
30
32
|
end
|
data/lib/robut/version.rb
CHANGED
data/sclemmer-robut.gemspec
CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency "xmpp4r", "~> 0.5.
|
22
|
+
s.add_dependency "xmpp4r", "~> 0.5.6"
|
23
23
|
s.add_dependency "sinatra", "~> 1.3"
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sclemmer-robut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Weiss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xmpp4r
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.5.
|
19
|
+
version: 0.5.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.5.
|
26
|
+
version: 0.5.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project: robut
|
132
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.4.5
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: A simple plugin-enabled HipChat bot
|