capistrano-git-copy 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/capistrano/git_copy/utility.rb +2 -1
- data/lib/capistrano/git_copy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9afd2d0018849fd7b3a619058fe5cf603b4d6289
|
4
|
+
data.tar.gz: d46c4b40eb59565298217ee8f53f0a89dc042b68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b5907b676c0a39405caccc1967e0c86f24e9aaa20883866f943f8a65c8a8bcaba32aeec53a934d5c1b4e629e67b3e78b8ad5f70b15543d6ae563fd887b9e443
|
7
|
+
data.tar.gz: 5339034c55bd577ee7ae64e8635ea887247481f754a62651c66d4bb86e1fe7fcda1fa41e9246ad6095db8c4e9f33323895940aa4c1ad74e0ce0050fd136dafdb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.810 (2015-04-11)
|
4
|
+
### Fixed
|
5
|
+
- strip branch name only if it is a string
|
6
|
+
|
3
7
|
## 0.8.0 (2015-04-07)
|
4
8
|
### Changes
|
5
9
|
- changed namespace from Capistrano::Git::Copy to Capistrano::GitCopy to avoid problems when using it in conjunction with build-in git support from capistrano
|
@@ -152,7 +152,8 @@ module Capistrano
|
|
152
152
|
def commit_hash
|
153
153
|
return @_commit_hash if @_commit_hash
|
154
154
|
|
155
|
-
branch = fetch(:branch, 'master')
|
155
|
+
branch = fetch(:branch, 'master')
|
156
|
+
branch.strip! if branch.is_a?(String)
|
156
157
|
|
157
158
|
if test! :git, 'rev-parse', "origin/#{branch}", '>/dev/null 2>/dev/null'
|
158
159
|
@_commit_hash = capture(:git, 'rev-parse', "origin/#{branch}").strip
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-git-copy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Schwab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|