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 CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
@@ -3,7 +3,8 @@ Capistrano::Configuration.instance.load do
3
3
 
4
4
  # Most people use origin here
5
5
  unless exists?(:remote)
6
- set :remote, 'origin'
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.1
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-02 00:00:00 +02:00
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
- - test/test_capistrano-gity.rb
65
- - test/helper.rb
60
+ test_files: []
61
+
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/test/helper.rb DELETED
@@ -1,10 +0,0 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'shoulda'
4
-
5
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
- $LOAD_PATH.unshift(File.dirname(__FILE__))
7
- require 'capistrano-gity'
8
-
9
- class Test::Unit::TestCase
10
- end
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestCapistranoGity < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end