message_bus 2.2.0.pre.1 → 2.2.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of message_bus might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.rubocop.yml +1 -25
- data/CHANGELOG +9 -0
- data/Gemfile +5 -0
- data/README.md +90 -4
- data/Rakefile +50 -19
- data/assets/application.jsx +121 -0
- data/assets/babel.min.js +25 -0
- data/assets/react-dom.js +19851 -0
- data/assets/react.js +3029 -0
- data/docker-compose.yml +13 -0
- data/examples/diagnostics/Gemfile +5 -0
- data/examples/diagnostics/config.ru +21 -0
- data/lib/message_bus/http_client.rb +337 -0
- data/lib/message_bus/http_client/channel.rb +13 -0
- data/lib/message_bus/http_client/version.rb +7 -0
- data/lib/message_bus/rack/diagnostics.rb +10 -23
- data/lib/message_bus/version.rb +1 -1
- data/spec/fixtures/test/Gemfile +3 -0
- data/spec/fixtures/test/config.ru +17 -0
- data/spec/helpers.rb +19 -0
- data/spec/integration/http_client_spec.rb +197 -0
- data/spec/lib/message_bus/connection_manager_spec.rb +12 -4
- data/spec/lib/message_bus/rack/middleware_spec.rb +11 -3
- data/spec/performance/publish.rb +102 -0
- data/spec/spec_helper.rb +3 -18
- metadata +21 -8
- data/.rubocop_todo.yml +0 -659
- data/assets/application.handlebars +0 -7
- data/assets/application.js +0 -79
- data/assets/ember.js +0 -26839
- data/assets/handlebars.js +0 -2201
- data/assets/index.handlebars +0 -25
data/assets/index.handlebars
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
<button {{action discover}} {{bindAttr disabled="disabled"}}>Discover Processes</button>
|
2
|
-
|
3
|
-
<table>
|
4
|
-
<thead>
|
5
|
-
<tr>
|
6
|
-
<td>pid</td>
|
7
|
-
<td>full_path</td>
|
8
|
-
<td>hostname</td>
|
9
|
-
<td>uptime</td>
|
10
|
-
<td></td>
|
11
|
-
</tr>
|
12
|
-
</thead>
|
13
|
-
|
14
|
-
<tbody>
|
15
|
-
{{#each processes}}
|
16
|
-
<tr>
|
17
|
-
<td>{{pid}}</td>
|
18
|
-
<td>{{full_path}}</td>
|
19
|
-
<td>{{hostname}}</td>
|
20
|
-
<td>{{uptime}} secs</td>
|
21
|
-
<td><button {{action hup this}}>HUP</button></td>
|
22
|
-
</tr>
|
23
|
-
{{/each}}
|
24
|
-
</tbody>
|
25
|
-
</table>
|