xmpp4r-simple 0.8.7 → 0.8.8
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/CHANGELOG +15 -8
- data/README +1 -1
- data/lib/xmpp4r-simple.rb +4 -0
- metadata +60 -50
- data/Rakefile +0 -75
data/CHANGELOG
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
xmpp4r-simple (0.8.8)
|
2
|
+
|
3
|
+
[ Blaine Cook]
|
4
|
+
* Add xmpp4r-simple.gemspec, remove gem-related code from Rakefile
|
5
|
+
|
6
|
+
-- Blaine Cook <romeda@gmail.com> Wed, 30 Jul 2008 16:03:00 -0800
|
7
|
+
|
1
8
|
xmpp4r-simple (0.8.7)
|
2
9
|
|
3
10
|
[ Blaine Cook ]
|
@@ -6,14 +13,14 @@ xmpp4r-simple (0.8.7)
|
|
6
13
|
* Jabber::Simple will now recover gracefully from server-side disconnects.
|
7
14
|
* Updated Rakefile to pass tests on firebrigade (http://firebrigade.seattlerb.org)
|
8
15
|
|
9
|
-
-- Blaine Cook <
|
16
|
+
-- Blaine Cook <romeda@gmail.com> Wed, 31 Jan 2007 17:15:56 -0800
|
10
17
|
|
11
18
|
xmpp4r-simple (0.8.6)
|
12
19
|
|
13
20
|
[ Blaine Cook ]
|
14
21
|
* Catch a rare exception that's thrown when we are disconnecting.
|
15
22
|
|
16
|
-
-- Blaine Cook <
|
23
|
+
-- Blaine Cook <romeda@gmail.com> Fri, 26 Jan 2007 11:45:23 -0800
|
17
24
|
|
18
25
|
|
19
26
|
xmpp4r-simple (0.8.5)
|
@@ -21,7 +28,7 @@ xmpp4r-simple (0.8.5)
|
|
21
28
|
[ Blaine Cook ]
|
22
29
|
* Accept Jabber::Message messages as arguments to Jabber::Simple#deliver
|
23
30
|
|
24
|
-
-- Blaine Cook <
|
31
|
+
-- Blaine Cook <romeda@gmail.com> Mon, 22 Jan 2007 07:23:09 -0800
|
25
32
|
|
26
33
|
|
27
34
|
xmpp4r-simple (0.8.4)
|
@@ -29,7 +36,7 @@ xmpp4r-simple (0.8.4)
|
|
29
36
|
[ Blaine Cook ]
|
30
37
|
* Catch broken connections and attempt to reconnect 3 times.
|
31
38
|
|
32
|
-
-- Blaine Cook <
|
39
|
+
-- Blaine Cook <romeda@gmail.com> Fri, 23 Dec 2006 00:12:09 -0800
|
33
40
|
|
34
41
|
|
35
42
|
xmpp4r-simple (0.8.3)
|
@@ -39,7 +46,7 @@ xmpp4r-simple (0.8.3)
|
|
39
46
|
Changes methods, will break code that uses presence_updates if not updated
|
40
47
|
correspondingly, check the documenation for the new semantics.
|
41
48
|
|
42
|
-
-- Blaine Cook <
|
49
|
+
-- Blaine Cook <romeda@gmail.com> Thu, 07 Dec 2006 12:45:52 -0800
|
43
50
|
|
44
51
|
|
45
52
|
xmpp4r-simple (0.8.2)
|
@@ -47,7 +54,7 @@ xmpp4r-simple (0.8.2)
|
|
47
54
|
[ Blaine Cook ]
|
48
55
|
* Add presence_updates?, received_messages?, and new_subscriptions? methods.
|
49
56
|
|
50
|
-
-- Blaine Cook <
|
57
|
+
-- Blaine Cook <romeda@gmail.com> Wed, 06 Dec 2006 09:40:28 -0800
|
51
58
|
|
52
59
|
|
53
60
|
xmpp4r-simple (0.8.1)
|
@@ -55,7 +62,7 @@ xmpp4r-simple (0.8.1)
|
|
55
62
|
[ Blaine Cook ]
|
56
63
|
* Make the deferred_delivery method public
|
57
64
|
|
58
|
-
-- Blaine Cook <
|
65
|
+
-- Blaine Cook <romeda@gmail.com> Tue, 05 Dec 2006 17:39:14 -0800
|
59
66
|
|
60
67
|
|
61
68
|
xmpp4r-simple (0.8.0)
|
@@ -63,4 +70,4 @@ xmpp4r-simple (0.8.0)
|
|
63
70
|
[ Blaine Cook ]
|
64
71
|
* initial import
|
65
72
|
|
66
|
-
-- Blaine Cook <
|
73
|
+
-- Blaine Cook <romeda@gmail.com> Wed, 08 Nov 2006 20:42:42 -0800
|
data/README
CHANGED
@@ -42,7 +42,7 @@ that is familiar to users of traditional instant messenger clients.
|
|
42
42
|
= Copyright
|
43
43
|
|
44
44
|
Jabber::Simple - An extremely easy-to-use Jabber client library.
|
45
|
-
Copyright 2006 Blaine Cook <
|
45
|
+
Copyright 2006-2008 Blaine Cook <romeda@gmail.com>.
|
46
46
|
|
47
47
|
Jabber::Simple is free software; you can redistribute it and/or modify
|
48
48
|
it under the terms of the GNU General Public License as published by
|
data/lib/xmpp4r-simple.rb
CHANGED
@@ -381,6 +381,10 @@ module Jabber
|
|
381
381
|
raise ConnectionError, "Connections are disabled - use Jabber::Simple::force_connect() to reconnect." if @disconnected
|
382
382
|
# Pre-connect
|
383
383
|
@connect_mutex ||= Mutex.new
|
384
|
+
|
385
|
+
# don't try to connect if another thread is already connecting.
|
386
|
+
return if @connect_mutex.locked?
|
387
|
+
|
384
388
|
@connect_mutex.lock
|
385
389
|
disconnect!(false) if connected?
|
386
390
|
|
metadata
CHANGED
@@ -1,77 +1,87 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.11
|
3
|
-
specification_version: 1
|
4
2
|
name: xmpp4r-simple
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.8.
|
7
|
-
date: 2007-01-31 00:00:00 -08:00
|
8
|
-
summary: A simplified Jabber client library.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: romeda@gmail.com
|
12
|
-
homepage: http://xmpp4r-simple.rubyforge.org/
|
13
|
-
rubyforge_project: xmpp4r-simple
|
14
|
-
description: Jabber::Simple takes the strong foundation laid by xmpp4r and hides the relatively high complexity of maintaining a simple instant messenger bot in Ruby.
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.8.8
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
6
|
authors:
|
29
7
|
- Blaine Cook
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
- CHANGELOG
|
34
|
-
- COPYING
|
35
|
-
- Rakefile
|
36
|
-
- README
|
37
|
-
test_files:
|
38
|
-
- test/test_xmpp4r_simple.rb
|
39
|
-
rdoc_options: []
|
40
|
-
|
41
|
-
extra_rdoc_files:
|
42
|
-
- README
|
43
|
-
- COPYING
|
44
|
-
executables: []
|
45
|
-
|
46
|
-
extensions: []
|
47
|
-
|
48
|
-
requirements: []
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
49
11
|
|
12
|
+
date: 2008-07-30 00:00:00 -07:00
|
13
|
+
default_executable:
|
50
14
|
dependencies:
|
51
15
|
- !ruby/object:Gem::Dependency
|
52
16
|
name: xmpp4r
|
17
|
+
type: :runtime
|
53
18
|
version_requirement:
|
54
|
-
version_requirements: !ruby/object:Gem::
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
20
|
requirements:
|
56
21
|
- - ">="
|
57
22
|
- !ruby/object:Gem::Version
|
58
|
-
version: 0.3.
|
23
|
+
version: 0.3.2
|
59
24
|
version:
|
60
25
|
- !ruby/object:Gem::Dependency
|
61
26
|
name: rake
|
27
|
+
type: :development
|
62
28
|
version_requirement:
|
63
|
-
version_requirements: !ruby/object:Gem::
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
30
|
requirements:
|
65
|
-
- - "
|
31
|
+
- - ">="
|
66
32
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0
|
33
|
+
version: "0"
|
68
34
|
version:
|
69
35
|
- !ruby/object:Gem::Dependency
|
70
36
|
name: rcov
|
37
|
+
type: :development
|
71
38
|
version_requirement:
|
72
|
-
version_requirements: !ruby/object:Gem::
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
40
|
requirements:
|
74
|
-
- - "
|
41
|
+
- - ">="
|
75
42
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0
|
43
|
+
version: "0"
|
77
44
|
version:
|
45
|
+
description: Jabber::Simple takes the strong foundation laid by xmpp4r and hides the relatively high complexity of maintaining a simple instant messenger bot in Ruby.
|
46
|
+
email: romeda@gmail.com
|
47
|
+
executables: []
|
48
|
+
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
extra_rdoc_files:
|
52
|
+
- README
|
53
|
+
- COPYING
|
54
|
+
files:
|
55
|
+
- test/test_xmpp4r_simple.rb
|
56
|
+
- lib/xmpp4r-simple.rb
|
57
|
+
- README
|
58
|
+
- COPYING
|
59
|
+
- CHANGELOG
|
60
|
+
has_rdoc: true
|
61
|
+
homepage: http://xmpp4r-simple.rubyforge.org/
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options: []
|
64
|
+
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: "0"
|
72
|
+
version:
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: "0"
|
78
|
+
version:
|
79
|
+
requirements: []
|
80
|
+
|
81
|
+
rubyforge_project: xmpp4r-simple
|
82
|
+
rubygems_version: 1.2.0
|
83
|
+
signing_key:
|
84
|
+
specification_version: 2
|
85
|
+
summary: A simplified Jabber client library.
|
86
|
+
test_files:
|
87
|
+
- test/test_xmpp4r_simple.rb
|
data/Rakefile
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
# Jabber::Simple - Ruby Helper for Faking Web Requests
|
2
|
-
# Copyright 2006 Blaine Cook <romeda@gmail.com>.
|
3
|
-
#
|
4
|
-
# Jabber::Simple is free software; you can redistribute it and/or modify
|
5
|
-
# it under the terms of the GNU General Public License as published by
|
6
|
-
# the Free Software Foundation; either version 2 of the License, or
|
7
|
-
# (at your option) any later version.
|
8
|
-
#
|
9
|
-
# Jabber::Simple is distributed in the hope that it will be useful,
|
10
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
-
# GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License
|
15
|
-
# along with Jabber::Simple; if not, write to the Free Software
|
16
|
-
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
-
|
18
|
-
require 'rubygems'
|
19
|
-
Gem::manage_gems
|
20
|
-
require 'rake/gempackagetask'
|
21
|
-
require 'rake/testtask'
|
22
|
-
require 'rake/rdoctask'
|
23
|
-
require 'rcov/rcovtask'
|
24
|
-
|
25
|
-
spec = Gem::Specification.new do |s|
|
26
|
-
s.add_dependency('xmpp4r', '>= 0.3.0')
|
27
|
-
s.add_dependency('rake')
|
28
|
-
s.add_dependency('rcov')
|
29
|
-
s.name = "xmpp4r-simple"
|
30
|
-
s.version = "0.8.7"
|
31
|
-
s.author = "Blaine Cook"
|
32
|
-
s.email = "romeda@gmail.com"
|
33
|
-
s.homepage = "http://xmpp4r-simple.rubyforge.org/"
|
34
|
-
s.platform = Gem::Platform::RUBY
|
35
|
-
s.summary = "A simplified Jabber client library."
|
36
|
-
s.description = <<-EOF
|
37
|
-
Jabber::Simple takes the strong foundation laid by xmpp4r
|
38
|
-
and hides the relatively high complexity of maintaining a simple instant
|
39
|
-
messenger bot in Ruby.
|
40
|
-
EOF
|
41
|
-
s.files = FileList["{test,lib}/**/*", '[A-Z]*'].exclude("rdoc", ".svn").to_a
|
42
|
-
s.require_path = "lib"
|
43
|
-
s.test_files = Dir.glob("test/test_*.rb")
|
44
|
-
s.has_rdoc = true
|
45
|
-
s.extra_rdoc_files = ["README", "COPYING"]
|
46
|
-
s.rubyforge_project = "xmpp4r-simple"
|
47
|
-
end
|
48
|
-
|
49
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
50
|
-
pkg.gem_spec = spec
|
51
|
-
pkg.need_tar = true
|
52
|
-
pkg.need_zip = true
|
53
|
-
end
|
54
|
-
|
55
|
-
desc "Default Task"
|
56
|
-
task :default => [:tests]
|
57
|
-
|
58
|
-
desc "Run All Tests"
|
59
|
-
Rake::TestTask.new :tests do |test|
|
60
|
-
test.test_files = ["test/**/*.rb"]
|
61
|
-
test.verbose = true
|
62
|
-
end
|
63
|
-
|
64
|
-
desc "Generate Documentation"
|
65
|
-
Rake::RDocTask.new do |rdoc|
|
66
|
-
rdoc.main = "README"
|
67
|
-
rdoc.rdoc_dir = "doc"
|
68
|
-
rdoc.rdoc_files.include("README", "COPYING", "lib/*.rb")
|
69
|
-
rdoc.title = "Jabber::Simple"
|
70
|
-
end
|
71
|
-
|
72
|
-
Rcov::RcovTask.new do |t|
|
73
|
-
t.test_files = FileList['test/**/test*.rb']
|
74
|
-
t.rcov_opts << "--sort coverage"
|
75
|
-
end
|