RubyGems
npm
Organizations
Log in
Sign up
RubyGems
dev_svn
Versions diffs
0.0.5 → 0.0.6
dev_svn 0.0.5 → 0.0.6
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/svn.rb
+5
-1
metadata
+1
-1
data/lib/svn.rb
CHANGED
Viewed
@@ -12,7 +12,11 @@ class Svn
12
12
end
13
13
14
14
def self.export url, destination
15
-
if(!File.exists?(
destination
))
15
+
dir=
destination
16
+
dir.chomp('@')
17
+
18
+
end
19
+
if(!File.exists?(dir))
16
20
`svn export #{url} #{destination}`
17
21
end
18
22
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: dev_svn
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
5
4
+
version: 0.0.
6
5
5
prerelease:
6
6
platform: ruby
7
7
authors: