blade 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/blade.gemspec +1 -1
- data/lib/blade.rb +1 -1
- data/lib/blade/server.rb +5 -1
- data/lib/blade/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50cf45a71ac15735b54705ec206e64233538818d
|
4
|
+
data.tar.gz: b853e26227a25f3db50e65ad9b2caa3ba32f9711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 593af976b0e61959719830ea2a2336bed9dad74abeb9963417f0d2ca3e2b0651fa9e7bd04a0747fa9ffdda8a9833d6d4dfcf978a3d4dbd1b2290556f70b6aed8
|
7
|
+
data.tar.gz: f03f04311a51a251a4b40703a93f58009e8887c1c82b2443f028534c62fbd86a90134e53657402a01342bbfe709e7de535d4ba8ff9b9f78642cd2fa0e399f410
|
data/blade.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "faye"
|
32
32
|
spec.add_dependency "sprockets", ">= 3.0"
|
33
33
|
spec.add_dependency "sprockets-export", "~> 0.9.1"
|
34
|
-
spec.add_dependency "thin", "
|
34
|
+
spec.add_dependency "thin", ">= 1.6.0"
|
35
35
|
spec.add_dependency "useragent", "~> 0.16.7"
|
36
36
|
spec.add_dependency "thor", "~> 0.19.1"
|
37
37
|
end
|
data/lib/blade.rb
CHANGED
data/lib/blade/server.rb
CHANGED
@@ -10,7 +10,11 @@ module Blade::Server
|
|
10
10
|
def start
|
11
11
|
Faye::WebSocket.load_adapter("thin")
|
12
12
|
Thin::Logging.silent = true
|
13
|
-
Thin::Server.start(
|
13
|
+
Thin::Server.start(host, Blade.config.port, app, signals: false)
|
14
|
+
end
|
15
|
+
|
16
|
+
def host
|
17
|
+
Thin::Server::DEFAULT_HOST
|
14
18
|
end
|
15
19
|
|
16
20
|
def websocket_url(path = "")
|
data/lib/blade/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javan Makhmali
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -168,14 +168,14 @@ dependencies:
|
|
168
168
|
name: thin
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: 1.6.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.6.0
|
181
181
|
- !ruby/object:Gem::Dependency
|