socket.io-client-simple 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/Gemfile.lock +5 -5
- data/History.txt +5 -1
- data/README.md +3 -3
- data/lib/socket.io-client-simple/version.rb +1 -1
- data/package.json +2 -2
- data/samples/sample.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: 97c578c13a31022b7dbe7bc656a1b992a561ed18
|
4
|
+
data.tar.gz: 04f8ea6b3d2d5b62f745b42b7912b1b9f62a6ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347b45e33ae292e75ec83a38a43d5048b3f20cd1972c770f9b119bfc24ddd465ab49d58432d4130d5ffe2640ea52679d5e2d8b98486dbbc8db70d765d9340741
|
7
|
+
data.tar.gz: 638e57f589105f2f930c8bf2a27c0b0bc0ccae3435e4c4f4f9448f56533d6d8d841fd3cd7a1a00c092a06e4cc27fa1aaed72b21254a7a1daca126b7745937c05
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -11,15 +11,15 @@ GEM
|
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
event_emitter (0.2.5)
|
14
|
-
httparty (0.13.
|
14
|
+
httparty (0.13.3)
|
15
15
|
json (~> 1.8)
|
16
16
|
multi_xml (>= 0.5.2)
|
17
|
-
json (1.8.
|
18
|
-
minitest (5.
|
17
|
+
json (1.8.2)
|
18
|
+
minitest (5.5.1)
|
19
19
|
multi_xml (0.5.5)
|
20
|
-
rake (10.
|
20
|
+
rake (10.4.2)
|
21
21
|
websocket (1.2.1)
|
22
|
-
websocket-client-simple (0.2.
|
22
|
+
websocket-client-simple (0.2.2)
|
23
23
|
event_emitter
|
24
24
|
websocket
|
25
25
|
|
data/History.txt
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# SocketIO::Client::Simple
|
2
|
-
A simple ruby client for Node.js's Socket.IO v1.
|
2
|
+
A simple ruby client for Node.js's Socket.IO v1.3.x, Supports only WebSocket.
|
3
3
|
|
4
4
|
- https://github.com/shokai/ruby-socket.io-client-simple
|
5
5
|
- https://rubygems.org/gems/socket.io-client-simple
|
@@ -10,13 +10,13 @@ A simple ruby client for Node.js's Socket.IO v1.0.x, Supports only WebSocket.
|
|
10
10
|
|
11
11
|
gem install
|
12
12
|
|
13
|
-
% gem install socket.io-client-simple # latest version, supports Socket.IO v1.
|
13
|
+
% gem install socket.io-client-simple # latest version, supports Socket.IO v1.3.x
|
14
14
|
|
15
15
|
|
16
16
|
or use `Gemfile` with Bundler
|
17
17
|
|
18
18
|
gem 'socket.io-client-simple', '< 1.0' # for Socket.IO v0.9.x
|
19
|
-
gem 'socket.io-client-simple' # for Socket.IO v1.
|
19
|
+
gem 'socket.io-client-simple' # for Socket.IO v1.3.x
|
20
20
|
|
21
21
|
|
22
22
|
## Usage
|
data/package.json
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
"license": "MIT",
|
7
7
|
"homepage": "https://github.com/shokai/ruby-socket.io-client-simple",
|
8
8
|
"dependencies": {
|
9
|
-
"socket.io": "^1.
|
10
|
-
"socket.io-client": "^1.
|
9
|
+
"socket.io": "^1.3",
|
10
|
+
"socket.io-client": "^1.3",
|
11
11
|
"coffee-script": "*"
|
12
12
|
},
|
13
13
|
"devDependencies": {},
|
data/samples/sample.rb
CHANGED
@@ -2,7 +2,7 @@ $:.unshift File.expand_path '../lib', File.dirname(__FILE__)
|
|
2
2
|
require 'rubygems'
|
3
3
|
require 'socket.io-client-simple'
|
4
4
|
|
5
|
-
url = ARGV.shift
|
5
|
+
url = ARGV.shift || 'http://localhost:3000'
|
6
6
|
socket = SocketIO::Client::Simple.connect url
|
7
7
|
|
8
8
|
# socket.auto_reconnection = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socket.io-client-simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|