sinatra-websocketio 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/History.txt +5 -0
- data/README.md +1 -1
- data/lib/sinatra-websocketio/version.rb +1 -1
- data/lib/sinatra-websocketio/websocketio.rb +0 -1
- data/sample/views/index.haml +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7cd6090525d64134ea7cc0916eca32c2ee1b09
|
4
|
+
data.tar.gz: 4b1353875bd2bd6b846310dc59a402797f3f635f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45d427f25443db8f91ab022c2f04f9207d4e727b514dd679cc0fd05b3a2484318fa51738d3463593caf7c58fe4a81336cd5d29a1b85bf7a9a433bb1b666fe5eb
|
7
|
+
data.tar.gz: 55eaca6ca914f747b6b0b4ed5db672ea7f6c675f166d601cbe8442542103a9c2d3b8ac40fb99606905270d714c871b24a779fa3d7d86d99983e1eb6d8592fa22
|
data/.gitignore
CHANGED
data/History.txt
CHANGED
data/README.md
CHANGED
@@ -47,7 +47,7 @@ io.push :light, {:value => 150}, {:to => session_id} # to specific client
|
|
47
47
|
Client Side
|
48
48
|
|
49
49
|
```html
|
50
|
-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.
|
50
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
51
51
|
<script src="<%= websocketio_js %>"></script>
|
52
52
|
```
|
53
53
|
```javascript
|
data/sample/views/index.haml
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
%meta{'http-equiv' => 'Content-Type', :content => 'text/html', :charset => 'UTF-8'}
|
5
5
|
%title websocket chat
|
6
6
|
%link{:rel => 'stylesheet', :href => "/main.css", :type => 'text/css'}
|
7
|
-
%script{:type => 'text/javascript', :src => "//ajax.googleapis.com/ajax/libs/jquery/1.
|
7
|
+
%script{:type => 'text/javascript', :src => "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"}
|
8
8
|
%script{:type => 'text/javascript', :src => websocketio_js}
|
9
9
|
%script{:type => 'text/javascript', :src => "/js/index.js"}
|
10
10
|
|
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.3.
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
237
|
rubyforge_project:
|
238
|
-
rubygems_version: 2.0.
|
238
|
+
rubygems_version: 2.0.5
|
239
239
|
signing_key:
|
240
240
|
specification_version: 4
|
241
241
|
summary: WebSocket component for Sinatra RocketIO
|
@@ -245,4 +245,3 @@ test_files:
|
|
245
245
|
- test/app/main.rb
|
246
246
|
- test/test_helper.rb
|
247
247
|
- test/test_websocketio.rb
|
248
|
-
has_rdoc:
|