socket.io-client-simple 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e6d673e30e37562235d4edb27d7791ae7b6778c
4
- data.tar.gz: 382a19c571e2f9e94c824541bfff09003575916b
3
+ metadata.gz: 54defc65f7282405fa78c89c4ce6bc20a19374f1
4
+ data.tar.gz: 81330efb81c073a8167c0dc0494a43ee13416ddb
5
5
  SHA512:
6
- metadata.gz: 075786363f386f74e492bfe9b148ec90a70a1ad810c5acb12714d11ae26d187454b61aa75bb9b4f8f81aa5f5de8162e640095011613c919435ba0d851c58c35d
7
- data.tar.gz: 69033e6a0c40d6598d1c634f964bef246528d035df134805cec14ccbbbe5be751b5ce3de97abde4ed56a83731a339518edbfbbd1dd72bc5068c64cabcab0c176
6
+ metadata.gz: 749199c3795ff4dc6aa1ee1e7c9503c5b74bf97ac53c7ccf8a515d10c0022abd411d413df131921029b90e80e16f3c6d44f7a39c14b72d38b69cbad50cd0e4db
7
+ data.tar.gz: 6c36ff93df7ee5546b66b2f25f8584624e6779498721c348bb42c8ea9838a239af371aaafd72ab70f070d0529d88d38d681180461943721be3696ac903027f13
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- socket.io-client-simple (1.2.0)
4
+ socket.io-client-simple (1.2.1)
5
5
  event_emitter
6
6
  httparty
7
7
  json
8
- websocket-client-simple (>= 0.2.5)
8
+ websocket-client-simple (~> 0.3.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
@@ -19,7 +19,7 @@ GEM
19
19
  multi_xml (0.5.5)
20
20
  rake (10.5.0)
21
21
  websocket (1.2.2)
22
- websocket-client-simple (0.2.5)
22
+ websocket-client-simple (0.3.0)
23
23
  event_emitter
24
24
  websocket
25
25
 
@@ -1,3 +1,8 @@
1
+ === 1.2.1 2016-02-21
2
+
3
+ * update websocket-client-simple v0.3.x
4
+ * update socket.io 1.4.x
5
+
1
6
  === 1.2.0 2016-02-19
2
7
 
3
8
  * add "disconnect" method #16
data/README.md CHANGED
@@ -1,22 +1,23 @@
1
1
  # SocketIO::Client::Simple
2
- A simple ruby client for Node.js's Socket.IO v1.3.x, Supports only WebSocket.
2
+ A simple ruby client for Node.js's Socket.IO v1.4.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
6
6
 
7
- [![Travis-CI Build Status](https://travis-ci.org/shokai/ruby-socket.io-client-simple.png?branch=master)](https://travis-ci.org/shokai/ruby-socket.io-client-simple)
7
+ [![Circle CI](https://circleci.com/gh/shokai/ruby-socket.io-client-simple.svg?style=svg)](https://circleci.com/gh/shokai/ruby-socket.io-client-simple)
8
+
8
9
 
9
10
  ## Install
10
11
 
11
12
  gem install
12
13
 
13
- % gem install socket.io-client-simple # latest version, supports Socket.IO v1.3.x
14
+ % gem install socket.io-client-simple # latest version, supports Socket.IO v1.4.x
14
15
 
15
16
 
16
17
  or use `Gemfile` with Bundler
17
18
 
18
19
  gem 'socket.io-client-simple', '< 1.0' # for Socket.IO v0.9.x
19
- gem 'socket.io-client-simple' # for Socket.IO v1.3.x
20
+ gem 'socket.io-client-simple' # for Socket.IO v1.4.x
20
21
 
21
22
 
22
23
  ## Usage
@@ -0,0 +1,12 @@
1
+ machine:
2
+ node:
3
+ version: 5.4
4
+ ruby:
5
+ version: "2.2.2"
6
+ dependencies:
7
+ override:
8
+ - bundle install
9
+ - npm install
10
+ test:
11
+ override:
12
+ - bundle exec rake test
@@ -1,7 +1,7 @@
1
1
  module SocketIO
2
2
  module Client
3
3
  module Simple
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
6
6
  end
7
7
  end
@@ -6,9 +6,9 @@
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/shokai/ruby-socket.io-client-simple",
8
8
  "dependencies": {
9
- "socket.io": "^1.3",
10
- "socket.io-client": "^1.3",
11
- "coffee-script": "*"
9
+ "socket.io": "^1.4",
10
+ "socket.io-client": "^1.4",
11
+ "coffee-script": "^1.10"
12
12
  },
13
13
  "devDependencies": {},
14
14
  "scripts": {
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "minitest"
24
24
 
25
25
  spec.add_dependency "json"
26
- spec.add_dependency "websocket-client-simple", '>= 0.2.5'
26
+ spec.add_dependency "websocket-client-simple", '~> 0.3.0'
27
27
  spec.add_dependency "httparty"
28
28
  spec.add_dependency "event_emitter"
29
29
  end
@@ -4,6 +4,8 @@ class TestSocketIOClientSimple < MiniTest::Test
4
4
 
5
5
  TestServer.start
6
6
 
7
+ sleep 1
8
+
7
9
  def test_connect
8
10
  socket = SocketIO::Client::Simple.connect TestServer.url
9
11
  result = 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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-18 00:00:00.000000000 Z
11
+ date: 2016-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: websocket-client-simple
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.5
75
+ version: 0.3.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.5
82
+ version: 0.3.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: httparty
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -116,13 +116,13 @@ extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
118
  - ".gitignore"
119
- - ".travis.yml"
120
119
  - Gemfile
121
120
  - Gemfile.lock
122
121
  - History.txt
123
122
  - LICENSE.txt
124
123
  - README.md
125
124
  - Rakefile
125
+ - circle.yml
126
126
  - lib/socket.io-client-simple.rb
127
127
  - lib/socket.io-client-simple/client.rb
128
128
  - lib/socket.io-client-simple/error.rb
@@ -1,11 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- node_js:
4
- - '5.4.1'
5
- rvm:
6
- - '2.2.2'
7
- before_script:
8
- - npm install
9
- notifications:
10
- slack:
11
- secure: VDGagENM7+Hie8WSRvlvN+tjIxTf7AN2LSXb25Y8XVdY5UAL1ScQzLhObOHZ91W+MzLAOlVk19lPxdXUrH/n1a9R/mjPeikdZCfwQqMeI6db6BltMP3QhJyJyubuBQP0TrD1TfKyQuSHO+8+UcsHPzwaGy4VmOV3S6ctZ3dRyo8=