blather 0.5.11 → 0.5.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v0.5.12
2
+ Bugfix(benlangfeld): Allow specifying the connection timeout in DSL setup
3
+
1
4
  v0.5.11
2
5
  Feature(benlangfeld): Allow specifying a connection timeout
3
6
  * Raise Blather::Stream::ConnectionTimeout if timeout is exceeded
@@ -123,8 +123,9 @@ module Blather
123
123
  # @param [String] host (optional) the host to connect to (can be an IP). If
124
124
  # this is `nil` the domain on the JID will be used
125
125
  # @param [Fixnum, String] (optional) port the port to connect on
126
- def setup(jid, password, host = nil, port = nil, certs = nil)
127
- client.setup(jid, password, host, port, certs)
126
+ # @param [Fixnum] (optional) connection_timeout the time to wait for connection to succeed before timing out
127
+ def setup(jid, password, host = nil, port = nil, certs = nil, connection_timeout = nil)
128
+ client.setup(jid, password, host, port, certs, connection_timeout)
128
129
  end
129
130
 
130
131
  # Shutdown the connection.
@@ -1,4 +1,4 @@
1
1
  module Blather
2
2
  # Blather version number
3
- VERSION = '0.5.11'
3
+ VERSION = '0.5.12'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: &2156508820 !ruby/object:Gem::Requirement
16
+ requirement: &2164563300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.12.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156508820
24
+ version_requirements: *2164563300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &2156506260 !ruby/object:Gem::Requirement
27
+ requirement: &2164562780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.4.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2156506260
35
+ version_requirements: *2164562780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: niceogiri
38
- requirement: &2156518800 !ruby/object:Gem::Requirement
38
+ requirement: &2164562300 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.1.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2156518800
46
+ version_requirements: *2164562300
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: activesupport
49
- requirement: &2156517580 !ruby/object:Gem::Requirement
49
+ requirement: &2164561820 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 3.0.7
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2156517580
57
+ version_requirements: *2164561820
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: minitest
60
- requirement: &2156515520 !ruby/object:Gem::Requirement
60
+ requirement: &2164561340 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.7.1
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2156515520
68
+ version_requirements: *2164561340
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mocha
71
- requirement: &2156514000 !ruby/object:Gem::Requirement
71
+ requirement: &2164560860 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.9.12
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2156514000
79
+ version_requirements: *2164560860
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: bundler
82
- requirement: &2156526940 !ruby/object:Gem::Requirement
82
+ requirement: &2164560380 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.0.0
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2156526940
90
+ version_requirements: *2164560380
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rcov
93
- requirement: &2156526080 !ruby/object:Gem::Requirement
93
+ requirement: &2164559860 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 0.9.9
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2156526080
101
+ version_requirements: *2164559860
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: yard
104
- requirement: &2156524880 !ruby/object:Gem::Requirement
104
+ requirement: &2164559380 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.6.1
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *2156524880
112
+ version_requirements: *2164559380
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rake
115
- requirement: &2156524380 !ruby/object:Gem::Requirement
115
+ requirement: &2164558980 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *2156524380
123
+ version_requirements: *2164558980
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: guard-minitest
126
- requirement: &2156523580 !ruby/object:Gem::Requirement
126
+ requirement: &2164558520 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *2156523580
134
+ version_requirements: *2164558520
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: bluecloth
137
- requirement: &2156519740 !ruby/object:Gem::Requirement
137
+ requirement: &2164558020 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *2156519740
145
+ version_requirements: *2164558020
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: growl_notify
148
- requirement: &2156535160 !ruby/object:Gem::Requirement
148
+ requirement: &2164557480 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *2156535160
156
+ version_requirements: *2164557480
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: rb-fsevent
159
- requirement: &2156531800 !ruby/object:Gem::Requirement
159
+ requirement: &2164556920 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,7 +164,7 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *2156531800
167
+ version_requirements: *2164556920
168
168
  description: An XMPP DSL for Ruby written on top of EventMachine and Nokogiri
169
169
  email: sprsquish@gmail.com
170
170
  executables: []