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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 051ad8bf4717e2359b76de74181695f939cf05c1
4
- data.tar.gz: b878676c92b8c07bfbec37bc544858f830722dd9
3
+ metadata.gz: 18deacceaca3890caa99490258ed690811809046
4
+ data.tar.gz: e2fc734a73eb86aa383fb8aea34d67115d172077
5
5
  SHA512:
6
- metadata.gz: 91c3e0463963a6d1c052416984aea80904cbfd6a86eafaf4e1a2b26264493bce3a314c7d9cd5dbe8846127e2335137ea27e0948b3d79f079c5cfa865a1206867
7
- data.tar.gz: e38bac35d67a2ec2c00561bcd77c3ca3d3024aefa8532413c59708701469144ebd5fe6dc7dc81e038030f98a740d7d5de437dee36b44d6cb393f80b5217fd977
6
+ metadata.gz: c403ed3564b6cfee20be9ea3da31f1b2dd754c86af188f99cddf2664c30f33dc0c7ad350538cc785157dcdfc52675169a35859295420dbd576a171513d742bd2
7
+ data.tar.gz: b631cd59c8fc6cf95e1c2eb23f42212da10033256e4ae1176ed0ed05c5ad0a2ee1600a00fedce1951fcee69557dbe33a44eb451fb1fbf4a004534731148d6141
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.0
data/README.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Capistrano::Graphite
2
- [![Code Climate](https://codeclimate.com/github/scottsuch/capistrano-graphite.png)](https://codeclimate.com/github/scottsuch/capistrano-graphite)
3
- This gem extends capistrano's deploy functionality by pushing events to graphite
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 task:
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
@@ -1,2 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
2
3
 
4
+ task :default => :spec
5
+ RSpec::Core::RakeTask.new
@@ -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
- deploy.}
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.6"
24
- spec.add_development_dependency "rake", "~> 10.3"
23
+ spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "rspec"
25
26
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Graphite
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
data/spec/README.md ADDED
@@ -0,0 +1,2 @@
1
+ TODO: Add test
2
+
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.1
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.6'
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.6'
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: '10.3'
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: '10.3'
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
- deploy.
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: