deploytracking 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -5
- data/Gemfile.lock +3 -3
- data/deploytracking.gemspec +3 -0
- data/lib/deploytracking/capistrano.rb +5 -1
- data/lib/deploytracking/version.rb +1 -1
- metadata +39 -8
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/deploytracking.gemspec
CHANGED
@@ -16,4 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
18
|
s.require_paths = ["lib"]
|
19
|
+
|
20
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.5.0"])
|
21
|
+
s.add_development_dependency(%q<fakeweb>, ["~> 1.3.0"])
|
19
22
|
end
|
@@ -6,6 +6,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
6
6
|
namespace :deploy do
|
7
7
|
desc "Send deployment to deploytracker.com"
|
8
8
|
task :track, :except => { :no_release => true } do
|
9
|
+
api_key = fetch :deploy_tracking_api_key do
|
10
|
+
puts "No DeployTracking API key present, get yours at #{DeployTracking::DEPLOY_TRACKING_HOST}"
|
11
|
+
end
|
12
|
+
|
9
13
|
data = {}
|
10
14
|
data['user_email'] = fetch(:email, `git config --get user.email`.chomp)
|
11
15
|
data['github_username'] = fetch(:github_username, `git config --get github.user`.chomp)
|
@@ -15,7 +19,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
15
19
|
data['source'] = fetch(:deploy_source, 'capistrano')
|
16
20
|
data['branch'] = fetch(:branch, 'master')
|
17
21
|
|
18
|
-
DeployTracking.notify(
|
22
|
+
DeployTracking.notify(api_key, data) if api_key
|
19
23
|
end
|
20
24
|
end
|
21
25
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deploytracking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Nesbitt
|
@@ -15,10 +15,41 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-03-14 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rspec
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 27
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 5
|
33
|
+
- 0
|
34
|
+
version: 2.5.0
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: fakeweb
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 27
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 3
|
49
|
+
- 0
|
50
|
+
version: 1.3.0
|
51
|
+
type: :development
|
52
|
+
version_requirements: *id002
|
22
53
|
description: Keep a record of all your deployments with interesting stats and history of all deployments with capistrano
|
23
54
|
email:
|
24
55
|
- andrewnez@gmail.com
|
@@ -72,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
103
|
requirements: []
|
73
104
|
|
74
105
|
rubyforge_project:
|
75
|
-
rubygems_version: 1.
|
106
|
+
rubygems_version: 1.6.2
|
76
107
|
signing_key:
|
77
108
|
specification_version: 3
|
78
109
|
summary: Track deployments to deploytracking.com
|