Roman2K-capistrano-fixes 0.1.2 → 0.1.3
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/Rakefile +1 -1
- data/capistrano-fixes.gemspec +2 -2
- data/lib/capistrano_fixes.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/capistrano-fixes.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{capistrano-fixes}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Roman Le N\303\251grate"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-04-04}
|
10
10
|
s.description = %q{Fixes for Capistrano default recipes}
|
11
11
|
s.email = %q{roman.lenegrate@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["lib/capistrano_fixes/tasks.rb", "lib/capistrano_fixes.rb", "LICENSE", "README.mdown"]
|
data/lib/capistrano_fixes.rb
CHANGED
@@ -117,7 +117,7 @@ module Capistrano::Fixes
|
|
117
117
|
# Works for at least French and English versions of Windows.
|
118
118
|
def self.add_ssh_keys_for_windows!(ssh_options)
|
119
119
|
if profile_dir = ENV["USERPROFILE"] and (ssh_options[:keys] ||= []).empty?
|
120
|
-
glob = "#{profile_dir}
|
120
|
+
glob = "#{profile_dir}/{* ,}Documents/{*,**}/*.priv{,.txt}".tr('\\', '/')
|
121
121
|
if first = Dir.glob(glob) { |f| break f }
|
122
122
|
ssh_options[:keys] << first
|
123
123
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Roman2K-capistrano-fixes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Roman Le N\xC3\xA9grate"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-04 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|