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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7281ef91ca49872bf389712c641d09a18d4b9ef5
4
- data.tar.gz: ad67df5a0f82502974869c386e95f99b77e935d1
3
+ metadata.gz: fbf3d9ba70d682b6e0275772bab32bebea1b72e1
4
+ data.tar.gz: 293c43d87372e8ea2c47f9a4d5587e12966ef10d
5
5
  SHA512:
6
- metadata.gz: 0c8fc536eb801158032d5351a38e509eebb0f2a4c6cf50d222ad513479e0e159f412ef4a987b66082ad9c38b676dfb735e203607d533aec6a54efa1e096a5e4e
7
- data.tar.gz: 565e21233c9bac28bf32ef25d216b529cf019a21d1b44c057d47abd882c7d47f83873238b503cf8d88f5dae87ae2a24117b5e71a0a0e38de332e0560ede50ce7
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
- To BE DONE VERY SOON : )
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.
@@ -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 = "\"capistrano_sentinel\""
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 = "\"Handles capistrano deploy in parallel.\""
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
@@ -4,7 +4,7 @@ module CapistranoSentinel
4
4
  module_function
5
5
 
6
6
  def logger
7
- @logger ||= ::Logger.new('/home/raul/workspace/ecommerce/ecommerce-livechat/log/multi_cap.log')
7
+ @logger ||= ::Logger.new(ENV["LOG_FILE"] || '/dev/null')
8
8
  end
9
9
 
10
10
  def error_filtered?(error)
@@ -17,7 +17,7 @@ module CapistranoSentinel
17
17
  # minor release version
18
18
  MINOR = 0
19
19
  # tiny release version
20
- TINY = 3
20
+ TINY = 5
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
23
 
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.3
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: '"Handles capistrano deploy in parallel."'
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: '"capistrano_sentinel"'
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: