sse-rails-engine 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +22 -0
- data/README.md +4 -2
- data/lib/sse_rails_engine/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e89362c96f53987a20f91605827f384482490dc9
|
4
|
+
data.tar.gz: 46bf59ee13355a865ae417e2b20a69723d1c2326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e59228b88f97f5c133cdd8425a1639de253c6cf10375b9e4030483fe0983546c57cb205926100a826beb2ff137c288bae464ac0372aa7cffcd749f1decaa54d8
|
7
|
+
data.tar.gz: 61d133ecd5650ad99c26403d024047a004805ae2ebdf3b56b8b664cc162dc7aae8c812b2aaf232545f497a578a8b6edf65b5744b4847b64b69d8161cf02d4c58
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Shane Hender
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
data/README.md
CHANGED
@@ -5,15 +5,17 @@
|
|
5
5
|
|
6
6
|
This engine is designed to allow Server-Sent Events to be broadcast to all listeners from anywhere
|
7
7
|
in your Rails app.
|
8
|
-
At the moment it only works with Thread based Rack servers like Puma
|
8
|
+
At the moment it only works with Thread based Rack servers like Puma.
|
9
9
|
|
10
10
|
Plans are to hook it up to Redis if you need to use process-based servers like Unicorn.
|
11
11
|
|
12
|
-
This has been mostly tested with Ruby v2.2.1 and Rails v4.2.1 + Puma.
|
12
|
+
This has been mostly tested with Ruby v2.2.1 and Rails v4.2.1 + [Puma][puma].
|
13
13
|
|
14
14
|
This uses the Rack socket hijacking functionality to avoid having to occupy a thread per connection. Now
|
15
15
|
only 1 extra thread in your app is required.
|
16
16
|
|
17
|
+
[puma]: https://github.com/puma/puma
|
18
|
+
|
17
19
|
# Installation
|
18
20
|
```
|
19
21
|
gem 'sse-rails-engine'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sse-rails-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Hender
|
@@ -87,6 +87,7 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- LICENSE
|
90
91
|
- README.md
|
91
92
|
- Rakefile
|
92
93
|
- app/controllers/sse_rails_engine/application_controller.rb
|
@@ -148,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
149
|
requirements:
|
149
150
|
- - ">="
|
150
151
|
- !ruby/object:Gem::Version
|
151
|
-
version: '0'
|
152
|
+
version: '2.0'
|
152
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
154
|
requirements:
|
154
155
|
- - ">="
|