dev_svn 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/svn.rb +6 -0
  2. metadata +1 -1
data/lib/svn.rb CHANGED
@@ -11,6 +11,12 @@ class Svn
11
11
  "0"
12
12
  end
13
13
 
14
+ def self.export url, destination
15
+ if(!File.exists?(destination))
16
+ `svn export #{url} #{destination}`
17
+ end
18
+ end
19
+
14
20
  # publish a directory to a new subversion path
15
21
  # source_dir is the directory with the files to be published
16
22
  # destination is the new subversion path URL
metadata CHANGED
@@ -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.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: