websocket-client-simple 0.0.6 → 0.0.7

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: b4789ec64c4f480816ba678aa9d7942c029ee1df
4
- data.tar.gz: 15af1f2a53685689959552b6681a75e1a22f57de
3
+ metadata.gz: 359a22d4a270d76dc346dd47f2031f23758a7fb2
4
+ data.tar.gz: bc6f7a17f47868e1e347435bb2f6303988f64334
5
5
  SHA512:
6
- metadata.gz: 224574a20915e06be6eb9d12a53b94776f622b2a3b4fdb299277eb6261ab8c8fef4d22c601015c911cc6c377c889f56e515b4c7c68499914db653a40d134f3eb
7
- data.tar.gz: 091c23205e6d9645ec11187e204fd18e4de67cdf688f9d15782dc8a4d6ce1b3a469c8eef157dcad0a41888ac8093700bb902c8b0cd120d51ec51eb65229f0d32
6
+ metadata.gz: 6e6e158208f03bb8b394d72488d5b736195f4a44f0d96476208ea97f7d2d6d6c6ff1bb162d0f76e7d88e381892f20b9e2a2e07201992b346809042244f9afbe8
7
+ data.tar.gz: 02df851c55bcce13d798e3deb99a05b818a62e5452016af6971497f8810d5285f91e7b0da891d084fcd39f27cd2868bd307c5766512d62bdc3a3c4e3bb41545c
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - jruby-head
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.0.7 2014-01-29
2
+
3
+ * send CLOSE frame in Client#close #4
4
+
1
5
  === 0.0.6 2014-01-17
2
6
 
3
7
  * add function Client#open?
data/README.md CHANGED
@@ -2,6 +2,11 @@ websocket-client-simple
2
2
  =======================
3
3
  Simple WebSocket Client for Ruby
4
4
 
5
+ - https://github.com/shokai/websocket-client-simple
6
+ - https://rubygems.org/gems/websocket-client-simple
7
+
8
+ [![Build Status](https://travis-ci.org/shokai/websocket-client-simple.png)](https://travis-ci.org/shokai/websocket-client-simple)
9
+
5
10
 
6
11
  Installation
7
12
  ------------
@@ -62,6 +62,7 @@ module WebSocket
62
62
  def close
63
63
  return if @closed
64
64
  @closed = true
65
+ send nil, :type => :close
65
66
  @socket.close if @socket
66
67
  Thread.kill @thread if @thread
67
68
  @socket = nil
@@ -1,7 +1,7 @@
1
1
  module WebSocket
2
2
  module Client
3
3
  module Simple
4
- VERSION = "0.0.6"
4
+ VERSION = "0.0.7"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket-client-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-17 00:00:00.000000000 Z
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: em-websocket
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: eventmachine
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: websocket
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: event_emitter
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Simple WebSocket Client for Ruby
@@ -115,7 +115,8 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - .gitignore
118
+ - ".gitignore"
119
+ - ".travis.yml"
119
120
  - Gemfile
120
121
  - History.txt
121
122
  - LICENSE.txt
@@ -141,12 +142,12 @@ require_paths:
141
142
  - lib
142
143
  required_ruby_version: !ruby/object:Gem::Requirement
143
144
  requirements:
144
- - - '>='
145
+ - - ">="
145
146
  - !ruby/object:Gem::Version
146
147
  version: '0'
147
148
  required_rubygems_version: !ruby/object:Gem::Requirement
148
149
  requirements:
149
- - - '>='
150
+ - - ">="
150
151
  - !ruby/object:Gem::Version
151
152
  version: '0'
152
153
  requirements: []