capistrano_sentinel 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +48 -3
- data/capistrano_sentinel.gemspec +2 -2
- data/lib/capistrano_sentinel/helpers/logging.rb +1 -1
- data/lib/capistrano_sentinel/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbf3d9ba70d682b6e0275772bab32bebea1b72e1
|
4
|
+
data.tar.gz: 293c43d87372e8ea2c47f9a4d5587e12966ef10d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bb6dd4379df9661399068cfdff4c2add3f94f780c393e3e5c6595b5b7337361d803cd7aa4cfb611ad07c45db1e57137445390a5449f8a8831335c97f0c66321
|
7
|
+
data.tar.gz: 54eead5c4ab4d8d0e62bcc808bfead80138280303ae3633735832a7158c45dbf30af8df5725fba2910184026ee573443b473aff388e87d6fb6acceb1cfe046b6
|
data/README.md
CHANGED
@@ -1,10 +1,55 @@
|
|
1
1
|
capistrano_sentinel
|
2
|
-
|
2
|
+
===================
|
3
3
|
|
4
4
|
Overview
|
5
5
|
--------
|
6
6
|
|
7
|
-
|
7
|
+
CapistranoSentinel is a simple ruby implementation that allows you to emit websocket events before a task is invoked by Capistrano.
|
8
|
+
|
9
|
+
This gem only has the websocket client that emit events to a host (default 0.0.0.0 port 1234 and path /ws)
|
10
|
+
|
11
|
+
Currently there is no posibility to change the default configuration becasue this was just released few days ago, but this will be added soon
|
12
|
+
|
13
|
+
Requirements
|
14
|
+
------------
|
15
|
+
|
16
|
+
1. [websocket >= 1.2](https://github.com/imanel/websocket-ruby)
|
17
|
+
|
18
|
+
Compatibility
|
19
|
+
-------------
|
20
|
+
|
21
|
+
[MRI 2.x](http://www.ruby-lang.org)
|
22
|
+
|
23
|
+
Ruby 1.8 , 1.9 is not officially supported. We will accept further compatibilty pull-requests but no upcoming versions will be tested against it.
|
24
|
+
|
25
|
+
Rubinius and Jruby support is dropped.
|
26
|
+
|
27
|
+
Installation Instructions
|
28
|
+
-------------------------
|
29
|
+
|
30
|
+
Add the following to your Gemfile:
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
gem "capistrano_sentinel"
|
34
|
+
```
|
35
|
+
|
36
|
+
Add the following to your Capfile
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
require 'capistrano_sentinel'
|
40
|
+
```
|
41
|
+
|
42
|
+
Usage Instructions
|
43
|
+
==================
|
44
|
+
|
45
|
+
Just run capistrano task like you normally do and you will get websocket notifications to that host and port configured.
|
46
|
+
|
47
|
+
```shell
|
48
|
+
#<development_stage> - the name of one of the stages you have in your application
|
49
|
+
#<task_name> - the capistrano task that you want to execute ( example: 'deploy' )
|
50
|
+
|
51
|
+
bundle exec cap <development_stage> <task_name>
|
52
|
+
```
|
8
53
|
|
9
54
|
Testing
|
10
55
|
-------
|
@@ -22,7 +67,7 @@ Contributions
|
|
22
67
|
Please log all feedback/issues via [Github Issues](http://github.com/bogdanRada/capistrano_sentinel/issues). Thanks.
|
23
68
|
|
24
69
|
Contributing to capistrano_sentinel
|
25
|
-
|
70
|
+
-----------------------------------
|
26
71
|
|
27
72
|
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
28
73
|
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
data/capistrano_sentinel.gemspec
CHANGED
@@ -4,10 +4,10 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = "capistrano_sentinel"
|
5
5
|
s.version = CapistranoSentinel.gem_version
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
|
-
s.summary = "
|
7
|
+
s.summary = "CapistranoSentinel is a simple ruby implementation that allows you to emit websocket events before a task is invoked by Capistrano."
|
8
8
|
s.email = "raoul_ice@yahoo.com"
|
9
9
|
s.homepage = "http://github.com/bogdanRada/capistrano_sentinel"
|
10
|
-
s.description = "
|
10
|
+
s.description = "CapistranoSentinel is a simple ruby implementation that allows you to emit websocket events before a task is invoked by Capistrano."
|
11
11
|
s.authors = ["bogdanRada"]
|
12
12
|
|
13
13
|
s.date = Date.today
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_sentinel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bogdanRada
|
@@ -24,7 +24,8 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
description:
|
27
|
+
description: CapistranoSentinel is a simple ruby implementation that allows you to
|
28
|
+
emit websocket events before a task is invoked by Capistrano.
|
28
29
|
email: raoul_ice@yahoo.com
|
29
30
|
executables: []
|
30
31
|
extensions: []
|
@@ -76,7 +77,8 @@ rubyforge_project:
|
|
76
77
|
rubygems_version: 2.6.4
|
77
78
|
signing_key:
|
78
79
|
specification_version: 4
|
79
|
-
summary:
|
80
|
+
summary: CapistranoSentinel is a simple ruby implementation that allows you to emit
|
81
|
+
websocket events before a task is invoked by Capistrano.
|
80
82
|
test_files:
|
81
83
|
- spec/spec_helper.rb
|
82
84
|
has_rdoc:
|