capistrano-utils 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano-utils.gemspec +1 -1
- data/lib/capistrano/ext/git.rb +1 -1
- metadata +2 -2
data/capistrano-utils.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = 'capistrano-utils'
|
15
15
|
gem.require_paths = ['lib']
|
16
|
-
gem.version = '0.0.
|
16
|
+
gem.version = '0.0.4'
|
17
17
|
|
18
18
|
gem.add_dependency 'rake'
|
19
19
|
gem.add_dependency 'capistrano'
|
data/lib/capistrano/ext/git.rb
CHANGED
@@ -6,5 +6,5 @@ end
|
|
6
6
|
|
7
7
|
Capistrano::Configuration.instance(:must_exist).load do
|
8
8
|
set :repository,
|
9
|
-
fetch(:project_repository, `git remote show -n origin | awk '
|
9
|
+
fetch(:project_repository, `git remote show -n origin | grep 'URL' | awk '{print $3}' | head -n 1`.strip)
|
10
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
segments:
|
80
80
|
- 0
|
81
|
-
hash: -
|
81
|
+
hash: -2247547276093644561
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
84
|
rubygems_version: 1.8.23
|