heroku-deploy 0.0.1 → 0.0.2
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/heroku-deploy.gemspec +0 -1
- data/lib/heroku-deploy/version.rb +1 -1
- data/lib/tasks/deploy.rake +1 -1
- metadata +2 -18
data/heroku-deploy.gemspec
CHANGED
data/lib/tasks/deploy.rake
CHANGED
|
@@ -34,7 +34,7 @@ namespace :heroku do
|
|
|
34
34
|
task :production do
|
|
35
35
|
APP = ENV["PRODUCTION_APP"]
|
|
36
36
|
|
|
37
|
-
current_branch =
|
|
37
|
+
current_branch = `git rev-parse --abbrev-ref HEAD`
|
|
38
38
|
if current_branch != "production"
|
|
39
39
|
puts "-----> You can't do a deploy from '#{current_branch}'. Please use 'production' branch.".red
|
|
40
40
|
exit
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heroku-deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-12-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: colored
|
|
@@ -27,22 +27,6 @@ dependencies:
|
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: '1.2'
|
|
30
|
-
- !ruby/object:Gem::Dependency
|
|
31
|
-
name: git
|
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
|
-
requirements:
|
|
35
|
-
- - '='
|
|
36
|
-
- !ruby/object:Gem::Version
|
|
37
|
-
version: 1.2.5
|
|
38
|
-
type: :runtime
|
|
39
|
-
prerelease: false
|
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
|
-
requirements:
|
|
43
|
-
- - '='
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: 1.2.5
|
|
46
30
|
description: A collection of rake tasks that help to deploy an application following
|
|
47
31
|
a common way to every app.
|
|
48
32
|
email:
|