vcsdiff 0.1.1.alpha → 0.1.3.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/vcsdiff +2 -1
- metadata +2 -2
data/bin/vcsdiff
CHANGED
@@ -28,6 +28,7 @@
|
|
28
28
|
################################################################################
|
29
29
|
|
30
30
|
require 'optparse'
|
31
|
+
require 'fileutils'
|
31
32
|
|
32
33
|
options = {}
|
33
34
|
option_parser = OptionParser.new do |opts|
|
@@ -99,7 +100,7 @@ remote=""
|
|
99
100
|
options[:files].each do |f|
|
100
101
|
remote="/tmp/"+f
|
101
102
|
dir=File.dirname(remote)
|
102
|
-
|
103
|
+
FileUtils.mkdir_p(dir) unless File.exists?(dir)
|
103
104
|
%x[cp #{f} #{remote}]
|
104
105
|
%x[#{options[:sys]} diff #{ARGV.join(" ")} #{f} > #{patch}]
|
105
106
|
if !($?.success?)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcsdiff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3.alpha
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A ruby gem for inspecting diffs generated by git/svn/hg diff using vim
|
15
15
|
or Kompare
|