dev_svn 0.0.4 → 0.0.5

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.
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: