deploy_tracker 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Andrew Nesbitt
1
+ Copyright (c) 2011 Andrew Nesbitt
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.markdown CHANGED
@@ -1,6 +1,50 @@
1
1
  Deploy Tracker
2
2
  ==============
3
3
 
4
+ Capistrano plugin for <http://deploytracking.com>
5
+
6
+ Rails 3 Install
7
+ ---------------
8
+
9
+ In your Gemfile add:
10
+
11
+ gem 'deploy_tracker'
12
+
4
13
  Place the following line at the bottom config/deploy.rb:
5
14
 
6
- require 'deploy_tracker/capistrano'
15
+ set :deploy_tracking_api_key, 'YOURAPIKEY'
16
+ require 'config/boot'
17
+ require 'deploy_tracker/capistrano'
18
+
19
+ Then run:
20
+
21
+ bundle install
22
+
23
+ Sinatra/Rails 2 Install
24
+ -----------------------
25
+
26
+ Install the gem:
27
+
28
+ gem install deploy_tracker
29
+
30
+ Place the following line at the bottom config/deploy.rb:
31
+
32
+ set :deploy_tracking_api_key, 'YOURAPIKEY'
33
+ require 'deploy_tracker/capistrano'
34
+
35
+ Note on Patches/Pull Requests
36
+ -----------------------------
37
+
38
+ * Fork the project.
39
+ * Make your feature addition or bug fix.
40
+ * Add tests for it. This is important so I don't break it in a
41
+ future version unintentionally.
42
+ * Commit, do not mess with rakefile, version, or history.
43
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
44
+ * Send me a pull request. Bonus points for topic branches.
45
+
46
+ Copyright
47
+ ---------
48
+
49
+
50
+ Copyright (c) 2011 Andrew Nesbitt. See LICENSE for details.
@@ -26,7 +26,7 @@ Capistrano::Configuration.instance(:must_exist).load do
26
26
  github_username = `git config --get github.user`.chomp
27
27
  throw "[DeployTracker] Please set your github username with...\n\t`git config --global github.user YOUR_GITHUB_USERNAME`." if github_username.size==0
28
28
 
29
- data = "deploy[github_username]=#{github_username}&deploy[environment]=#{rails_env}&deploy[revision]=#{current_revision}&deploy[repository]=#{repository}&api_key=#{deploy_tracking_api_key}&source=capistrano&branch=#{branch}&user_email=#{email}"
29
+ data = "deploy[github_username]=#{github_username}&deploy[environment]=#{rails_env}&deploy[revision]=#{current_revision}&deploy[repository]=#{repository}&api_key=#{deploy_tracking_api_key}&deploy[source]=capistrano&deploy[branch]=#{branch}&deploy[user_email]=#{email}"
30
30
 
31
31
  http = Net::HTTP.new('deploytracking.heroku.com', 443)
32
32
  http.use_ssl = true
@@ -1,3 +1,3 @@
1
1
  module DeployTracker
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_tracker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Nesbitt
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-12 00:00:00 +00:00
18
+ date: 2011-02-16 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21