capistrano-gity 0.0.1 → 0.1.0
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/VERSION +1 -1
- data/lib/capistrano-gity.rb +2 -1
- metadata +4 -8
- data/.document +0 -5
- data/test/helper.rb +0 -10
- data/test/test_capistrano-gity.rb +0 -7
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0
|
|
1
|
+
0.1.0
|
data/lib/capistrano-gity.rb
CHANGED
|
@@ -3,7 +3,8 @@ Capistrano::Configuration.instance.load do
|
|
|
3
3
|
|
|
4
4
|
# Most people use origin here
|
|
5
5
|
unless exists?(:remote)
|
|
6
|
-
|
|
6
|
+
git_remote = `git config deploy.remote`.strip
|
|
7
|
+
set :remote, git_remote.empty? ? 'origin' : git_remote
|
|
7
8
|
end
|
|
8
9
|
|
|
9
10
|
desc "Mark current commit (HEAD) and push it the central repo"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-gity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Skroutz.gr Team
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-03-
|
|
12
|
+
date: 2010-03-03 00:00:00 +02:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -23,15 +23,12 @@ extra_rdoc_files:
|
|
|
23
23
|
- LICENSE
|
|
24
24
|
- README.rdoc
|
|
25
25
|
files:
|
|
26
|
-
- .document
|
|
27
26
|
- .gitignore
|
|
28
27
|
- LICENSE
|
|
29
28
|
- README.rdoc
|
|
30
29
|
- Rakefile
|
|
31
30
|
- VERSION
|
|
32
31
|
- lib/capistrano-gity.rb
|
|
33
|
-
- test/helper.rb
|
|
34
|
-
- test/test_capistrano-gity.rb
|
|
35
32
|
has_rdoc: true
|
|
36
33
|
homepage: http://github.com/ctrochalakis/capistrano-gity
|
|
37
34
|
licenses: []
|
|
@@ -60,6 +57,5 @@ rubygems_version: 1.3.5
|
|
|
60
57
|
signing_key:
|
|
61
58
|
specification_version: 3
|
|
62
59
|
summary: Git helpers for capistrano deployments
|
|
63
|
-
test_files:
|
|
64
|
-
|
|
65
|
-
- test/helper.rb
|
|
60
|
+
test_files: []
|
|
61
|
+
|
data/.document
DELETED
data/test/helper.rb
DELETED