iodine 0.1.6 → 0.1.7
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -6
- data/lib/iodine/client.rb +0 -5
- data/lib/iodine/core.rb +1 -0
- data/lib/iodine/http/websocket_client.rb +0 -1
- data/lib/iodine/protocol.rb +0 -3
- data/lib/iodine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5fa1a23166127d28f5115a2a26d9f1065a0ebbe6
|
|
4
|
+
data.tar.gz: a649b5fcb56decc43c8de19af7d6e8f60a594769
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fea7a37cad21a33383709ba16af7d871eb6478fec9809aa1a4a562e965bb4f0b2a7193b76548b6c4a5940ac2ef0d0a11561d0c64f0e0d5aa15241b4d81a9764e
|
|
7
|
+
data.tar.gz: dfd9f61e71a8b37d5e76feb234f544797585bd6b46cfecf2ecb253247ed34cb3bc9abc032a1e30e771d15a76e7180bd46a2c28ffa18f244438075df666f2084a
|
data/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Please notice that this change log contains changes for upcoming releases as well. Please refer to the current gem version to review the current release.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Changes:
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
***
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Change log v.0.1.7
|
|
12
|
+
|
|
13
|
+
Removed a deprecation notice for blocking API. Client API will remain blocking due to use-case requirements.
|
|
12
14
|
|
|
13
15
|
***
|
|
14
16
|
|
|
@@ -22,9 +24,7 @@ Change log v.0.1.6
|
|
|
22
24
|
|
|
23
25
|
**Deprecation notice**:
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
This will mean that WebsocketClient will no longer block when connecting directly using the `Iodine::Http::WebsocketClient.connect` method... make sure to use `Iodine::Http.ws_connect` and to define an `:on_open` callback.
|
|
27
|
+
(removed after reviewing use-cases).
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
data/lib/iodine/client.rb
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
Iodine.protocol = :client if require('iodine/http') && Iodine.protocol == Iodine::Http::Http1
|
|
2
2
|
|
|
3
3
|
module Iodine
|
|
4
|
-
# # Connect to a remote server or network socket
|
|
5
|
-
# # this method is defined under the `client` API.
|
|
6
|
-
# def connect url, protocol, ssl=false
|
|
7
|
-
|
|
8
|
-
# end
|
|
9
4
|
end
|
|
10
5
|
|
data/lib/iodine/core.rb
CHANGED
|
@@ -208,7 +208,6 @@ module Iodine
|
|
|
208
208
|
#
|
|
209
209
|
# @return [Iodine::Http::WebsocketClient] this method returns the connected {Iodine::Http::WebsocketClient} or raises an exception if something went wrong (such as a connection timeout).
|
|
210
210
|
def self.connect url, options={}, &block
|
|
211
|
-
@message ||= Iodine.warn("Deprecation Notice:\nIt is unlikely that Iodine 0.2.0 will support a blocking websocket client API.\nMake sure to use Iodine::Http.ws_connect and define an 'on_open' callback.") && true
|
|
212
211
|
socket = nil
|
|
213
212
|
options = options.dup
|
|
214
213
|
options[:on_message] ||= block
|
data/lib/iodine/protocol.rb
CHANGED
data/lib/iodine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iodine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Boaz Segev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|