myreplicator 1.1.21 → 1.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -151,8 +151,8 @@ module Myreplicator
151
151
  #Kernel.p "===== transport_complete? log ====="
152
152
  #Kernel.p log
153
153
  if log.nil?
154
- #return false
155
- return true
154
+ return false
155
+ #return true
156
156
  else
157
157
  return true if log.state == "completed"
158
158
  end
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "1.1.21"
2
+ VERSION = "1.1.22"
3
3
  end
@@ -54,6 +54,8 @@ module Myreplicator
54
54
  def self.download export
55
55
  #Kernel.p "===== 1 ====="
56
56
  #parallel_download(completed_files(export))
57
+ tmp_dir ||= File.join(Myreplicator.app_root,"tmp", "myreplicator")
58
+ Dir.mkdir(tmp_dir) unless File.directory?(tmp_dir)
57
59
  files = completed_files(export)
58
60
  files.each do |f|
59
61
  export = f[:export]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myreplicator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.21
4
+ version: 1.1.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -357,7 +357,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
357
357
  version: '0'
358
358
  segments:
359
359
  - 0
360
- hash: -1843574403921129739
360
+ hash: 196719600897511763
361
361
  required_rubygems_version: !ruby/object:Gem::Requirement
362
362
  none: false
363
363
  requirements:
@@ -366,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
366
366
  version: '0'
367
367
  segments:
368
368
  - 0
369
- hash: -1843574403921129739
369
+ hash: 196719600897511763
370
370
  requirements: []
371
371
  rubyforge_project:
372
372
  rubygems_version: 1.8.24