em-rocketio-client 0.1.0 → 0.1.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
- ---
2
- SHA1:
3
- metadata.gz: be3c3fd9b1d6aad850a146c222942eced15b0bd8
4
- data.tar.gz: f38e6bb9809160bb9fd8936dbe1ee906ec992385
5
- SHA512:
6
- metadata.gz: 3f6a42bbfffbd243929871741d4a02d01e3be031ac89b935952d4f409b3cad8e5d156e1ef179ffe12e82b460d927d08c255dae238a1298a26be94260a2e566d2
7
- data.tar.gz: ab4236ac8877dd8022f1dfe20e6870d7aef17849c1465accaa8ed454fcac0a5f5437cb9aa9e38ecf04a0b19c85adac433af5f30591b753f95a2fdd0c430112e2
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 73c3e96f63c492b52c174596344048f96502f8d4
4
+ data.tar.gz: 78e0270cd3237bed4b15ae2ba97e5672c92da047
5
+ SHA512:
6
+ metadata.gz: 65d4c4fd36d901dd438582f71cbbfb4dfcad06b0ecabe39dcc211d8bd8353d6ab200274e5a750d5d1fdefdc2b834a94ad02ecd022028abf876582dd26b00fc71
7
+ data.tar.gz: 4aab374035d2a010300d929a994f8ae7683b4d27996c9a3462a59734a097d28103e002bddb0855bf92085a035b63b3c61efcac6582931da8a25784ddd4009f42
@@ -1,3 +1,7 @@
1
+ === 0.1.1 2013-04-01
2
+
3
+ * bugfix for duplicative comet "connect" event
4
+
1
5
  === 0.1.0 2013-04-01
2
6
 
3
7
  * support Sinatra::RocketIO v0.2.0
@@ -15,6 +15,10 @@ module EventMachine
15
15
  @settings = nil
16
16
  @io = nil
17
17
  @ws_close_timer = nil
18
+ on :__connect do
19
+ io.push :__channel_id, channel
20
+ emit :connect
21
+ end
18
22
  get_settings
19
23
  self
20
24
  end
@@ -62,10 +66,6 @@ module EventMachine
62
66
  event_name = :__connect if event_name == :connect
63
67
  this.emit event_name, *args
64
68
  end
65
- this.on :__connect do
66
- this.io.push :__channel_id, this.channel
67
- this.emit :connect
68
- end
69
69
  if @type == :websocket
70
70
  @ws_close_timer = EM::add_timer 3 do
71
71
  close
@@ -1,7 +1,7 @@
1
1
  module EventMachine
2
2
  module RocketIO
3
3
  class Client
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,162 +1,111 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: em-rocketio-client
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-01 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2013-04-01 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :development
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
24
19
  - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
20
+ - !ruby/object:Gem::Version
21
+ version: "1.3"
34
22
  type: :development
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ name: rake
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - &id003
30
+ - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: "0"
48
33
  type: :development
34
+ version_requirements: *id002
35
+ - !ruby/object:Gem::Dependency
36
+ name: minitest
49
37
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: sinatra-rocketio
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
38
+ requirement: &id004 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - *id003
62
41
  type: :development
42
+ version_requirements: *id004
43
+ - !ruby/object:Gem::Dependency
44
+ name: sinatra-rocketio
63
45
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: thin
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
46
+ requirement: &id005 !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - *id003
76
49
  type: :development
50
+ version_requirements: *id005
51
+ - !ruby/object:Gem::Dependency
52
+ name: thin
77
53
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
54
+ requirement: &id006 !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - *id003
57
+ type: :development
58
+ version_requirements: *id006
59
+ - !ruby/object:Gem::Dependency
84
60
  name: em-cometio-client
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
61
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: em-websocketio-client
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '>='
102
- - !ruby/object:Gem::Version
103
- version: '0'
62
+ requirement: &id007 !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - *id003
104
65
  type: :runtime
66
+ version_requirements: *id007
67
+ - !ruby/object:Gem::Dependency
68
+ name: em-websocketio-client
105
69
  prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: em-http-request
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
70
+ requirement: &id008 !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - *id003
118
73
  type: :runtime
74
+ version_requirements: *id008
75
+ - !ruby/object:Gem::Dependency
76
+ name: em-http-request
119
77
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - '>='
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: eventmachine
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
78
+ requirement: &id009 !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - *id003
132
81
  type: :runtime
82
+ version_requirements: *id009
83
+ - !ruby/object:Gem::Dependency
84
+ name: eventmachine
133
85
  prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '>='
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: event_emitter
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - '>='
144
- - !ruby/object:Gem::Version
145
- version: '0'
86
+ requirement: &id010 !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - *id003
146
89
  type: :runtime
90
+ version_requirements: *id010
91
+ - !ruby/object:Gem::Dependency
92
+ name: event_emitter
147
93
  prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - '>='
151
- - !ruby/object:Gem::Version
152
- version: '0'
94
+ requirement: &id011 !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - *id003
97
+ type: :runtime
98
+ version_requirements: *id011
153
99
  description: Sinatra RocketIO client for eventmachine
154
- email:
100
+ email:
155
101
  - hashimoto@shokai.org
156
102
  executables: []
103
+
157
104
  extensions: []
105
+
158
106
  extra_rdoc_files: []
159
- files:
107
+
108
+ files:
160
109
  - .gitignore
161
110
  - Gemfile
162
111
  - History.txt
@@ -175,30 +124,29 @@ files:
175
124
  - test/test_em_rocketio_client.rb
176
125
  - test/test_helper.rb
177
126
  homepage: https://github.com/shokai/em-rocketio-client
178
- licenses:
127
+ licenses:
179
128
  - MIT
180
129
  metadata: {}
130
+
181
131
  post_install_message:
182
132
  rdoc_options: []
183
- require_paths:
133
+
134
+ require_paths:
184
135
  - lib
185
- required_ruby_version: !ruby/object:Gem::Requirement
186
- requirements:
187
- - - '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- required_rubygems_version: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - '>='
193
- - !ruby/object:Gem::Version
194
- version: '0'
136
+ required_ruby_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - *id003
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - *id003
195
142
  requirements: []
143
+
196
144
  rubyforge_project:
197
145
  rubygems_version: 2.0.3
198
146
  signing_key:
199
147
  specification_version: 4
200
148
  summary: Sinatra RocketIO client for eventmachine
201
- test_files:
149
+ test_files:
202
150
  - test/app.rb
203
151
  - test/app/config.ru
204
152
  - test/app/main.rb