dev_tasks 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/lib/dev_tasks.rb CHANGED
@@ -155,8 +155,8 @@ class DevTasks < Hash
155
155
  def self.svn_export(dep_dir,uri)
156
156
  if(!File.exists?("#{Environment.dev_root}/dep/#{dep_dir}"))
157
157
  dest="#{Environment.dev_root}/dep/#{dep_dir}"
158
- Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
159
- Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@")
158
+ Environment.execute "svn export #{uri} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
159
+ Environment.execute "svn export #{uri} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@")
160
160
  end
161
161
  end
162
162
  end
data/lib/spec.json CHANGED
@@ -1 +1 @@
1
- {"name":"dev_tasks","version":"1.0.18"}
1
+ {"name":"dev_tasks","version":"1.0.19"}
data/lib/svnexports.rb CHANGED
@@ -1,11 +1,5 @@
1
1
  require_relative './environment.rb'
2
2
 
3
3
  class SvnExports < Hash
4
- def self.export(dep_dir,uri)
5
- if(!File.exists?("#{Environment.dev_root}/dep/#{dep_dir}"))
6
- dest="#{Environment.dev_root}/dep/#{dep_dir}"
7
- Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
8
- Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@")
9
- end
10
- end
4
+
11
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: