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 CHANGED
@@ -1,7 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in deploytracking.gemspec
4
- gemspec
5
-
6
- gem 'rspec'
7
- gem 'fakeweb'
3
+ gemspec
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deploytracking (0.0.8)
4
+ deploytracking (0.0.9)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -22,5 +22,5 @@ PLATFORMS
22
22
 
23
23
  DEPENDENCIES
24
24
  deploytracking!
25
- fakeweb
26
- rspec
25
+ fakeweb (~> 1.3.0)
26
+ rspec (~> 2.5.0)
@@ -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(fetch(:deploy_tracking_api_key), data)
22
+ DeployTracking.notify(api_key, data) if api_key
19
23
  end
20
24
  end
21
25
  end
@@ -1,3 +1,3 @@
1
1
  module DeployTracking
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  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: 15
5
- prerelease: false
4
+ hash: 13
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
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-02-24 00:00:00 +00:00
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.3.7
106
+ rubygems_version: 1.6.2
76
107
  signing_key:
77
108
  specification_version: 3
78
109
  summary: Track deployments to deploytracking.com