sinatra-websocketio 0.2.3 → 0.2.4

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: ee6ddfbffa6327ba14699fc57c17e3bf15593e18
4
- data.tar.gz: 11270d8edb675ac6e22bfee177cf1fd59baf5847
3
+ metadata.gz: 505f90a5cca2f2e65cde2008bdf79105d5f0f060
4
+ data.tar.gz: 772945906fb5529c2ed7cd60a0e1090e70d714c6
5
5
  SHA512:
6
- metadata.gz: 404698de6952e3f6dd7cb3deb875c4234d5954d1345e02c1d0bcb008602920997466944e48f1ab4ada8fb575a48ec37f3a6d3d466d44f5dad9027a777cd4cc37
7
- data.tar.gz: a5ffded526eaac321b559959ea16fd4c87edf8be2b53c4c5ad226e8dc2b38c6a23e5d8c458609e42a1d67879efd180cf22f057401cd1d37184e441f3e0697ca2
6
+ metadata.gz: 41c438bdb865cb7bd39dd97a839a7207ec9fb98584f7a663e3794fb75417387f935ba67a8763e3764cae13c898d31b488d8a24ef9598a03d92380cc10f4c0095
7
+ data.tar.gz: 5675c4f5189f8f9b36a5558bf0eac9f6eb5ba45a9ed5a98860d88c12a5a9877d83c6976b7dc92a7cd7f820ca5cc7e69922ad6b6360f41763ea1c5554ad94f061
@@ -1,3 +1,7 @@
1
+ === 0.2.4 2013-04-02
2
+
3
+ * bugfix WebSocket check on iOS
4
+
1
5
  === 0.2.3 2013-04-01
2
6
 
3
7
  * bugfix js
@@ -14,7 +14,7 @@ var WebSocketIO = function(){
14
14
  });
15
15
 
16
16
  this.connect = function(){
17
- if(typeof WebSocket !== "function"){
17
+ if(typeof WebSocket === "undefined"){
18
18
  self.emit("error", "websocket not exists in this browser");
19
19
  return null;
20
20
  }
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module WebSocketIO
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-websocketio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
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
11
+ date: 2013-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest