capistrano-graphite 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/README.md +11 -4
- data/Rakefile +3 -0
- data/capistrano-graphite.gemspec +4 -3
- data/lib/capistrano/graphite/version.rb +1 -1
- data/spec/README.md +2 -0
- metadata +26 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18deacceaca3890caa99490258ed690811809046
|
4
|
+
data.tar.gz: e2fc734a73eb86aa383fb8aea34d67115d172077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c403ed3564b6cfee20be9ea3da31f1b2dd754c86af188f99cddf2664c30f33dc0c7ad350538cc785157dcdfc52675169a35859295420dbd576a171513d742bd2
|
7
|
+
data.tar.gz: b631cd59c8fc6cf95e1c2eb23f42212da10033256e4ae1176ed0ed05c5ad0a2ee1600a00fedce1951fcee69557dbe33a44eb451fb1fbf4a004534731148d6141
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# Capistrano::Graphite
|
2
|
-
[![
|
3
|
-
|
2
|
+
[![Gem Version](http://img.shields.io/gem/v/capistrano-graphite.svg)][gem]
|
3
|
+
[![Build Status](http://img.shields.io/travis/scottsuch/capistrano-graphite.svg)][travis]
|
4
|
+
[![Code Climate](http://img.shields.io/codeclimate/github/scottsuch/capistrano-graphite.svg)][codeclimate]
|
5
|
+
|
6
|
+
[gem]: https://rubygems.org/gems/capistrano-graphite
|
7
|
+
[travis]: http://travis-ci.org/scottsuch/capistrano-graphite
|
8
|
+
[codeclimate]: https://codeclimate.com/githubscottsuch/capistrano-graphite
|
9
|
+
This gem extends capistrano's deploy functionality by pushing events to graphite.
|
10
|
+
Currently events are only pushed after ```deploy:updated``` and ```deploy:reverted```.
|
4
11
|
Some information on events can be found in [this nice writeup](http://obfuscurity.com/2014/01/Graphite-Tip-A-Better-Way-to-Store-Events).
|
5
12
|
This gem works with capistrano v3.1.0 and above.
|
6
13
|
For a gem that works with older versions of capistrano go [here](https://github.com/hellvinz/graphite-notify).
|
@@ -21,11 +28,11 @@ Or install it yourself as:
|
|
21
28
|
|
22
29
|
## Usage
|
23
30
|
|
24
|
-
Require in ```Capfile``` to use the default
|
31
|
+
Require in ```Capfile``` to use the default tasks:
|
25
32
|
|
26
33
|
require "capistrano/graphite"
|
27
34
|
|
28
|
-
Configurable options
|
35
|
+
Configurable options
|
29
36
|
|
30
37
|
set :graphite_url, "http://example.com:8000/events/"
|
31
38
|
|
data/Rakefile
CHANGED
data/capistrano-graphite.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = %q{Send deploy events to graphite via capistrano}
|
12
12
|
spec.description = %q{This gem plugs into the deploy task in capistrano to
|
13
13
|
help provide visibility to when deployments were
|
14
|
-
|
14
|
+
deployed.}
|
15
15
|
spec.homepage = "https://github.com/scottsuch/capistrano-graphite"
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler", "~> 1.
|
24
|
-
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
24
|
+
spec.add_development_dependency "rake"
|
25
|
+
spec.add_development_dependency "rspec"
|
25
26
|
end
|
data/spec/README.md
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-graphite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- scottsuch
|
@@ -16,32 +16,46 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '0'
|
41
55
|
description: |-
|
42
56
|
This gem plugs into the deploy task in capistrano to
|
43
57
|
help provide visibility to when deployments were
|
44
|
-
|
58
|
+
deployed.
|
45
59
|
email:
|
46
60
|
- sgorsuch@gmail.com
|
47
61
|
executables: []
|
@@ -49,6 +63,7 @@ extensions: []
|
|
49
63
|
extra_rdoc_files: []
|
50
64
|
files:
|
51
65
|
- ".gitignore"
|
66
|
+
- ".travis.yml"
|
52
67
|
- Gemfile
|
53
68
|
- LICENSE.txt
|
54
69
|
- README.md
|
@@ -56,6 +71,7 @@ files:
|
|
56
71
|
- capistrano-graphite.gemspec
|
57
72
|
- lib/capistrano/graphite.rb
|
58
73
|
- lib/capistrano/graphite/version.rb
|
74
|
+
- spec/README.md
|
59
75
|
homepage: https://github.com/scottsuch/capistrano-graphite
|
60
76
|
licenses:
|
61
77
|
- MIT
|
@@ -80,5 +96,6 @@ rubygems_version: 2.2.2
|
|
80
96
|
signing_key:
|
81
97
|
specification_version: 4
|
82
98
|
summary: Send deploy events to graphite via capistrano
|
83
|
-
test_files:
|
99
|
+
test_files:
|
100
|
+
- spec/README.md
|
84
101
|
has_rdoc:
|