myreplicator 1.1.71 → 1.1.73

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjUxOWJhZjQ4MjFmZjdlMWM5OTAxNTMzNzBiNDI0ZGZiNjJiY2M2NA==
4
+ Zjc5ZDBhZTBjNzQ4NzMwMDI0MDMwMGI0N2ViMTdlNmYzMGJkMDYwOQ==
5
5
  data.tar.gz: !binary |-
6
- NjM4ZjE1NmExZmEwMTFlNjAzYzIxMjBjYjZmMjBkNTVlNzZjY2IxOA==
6
+ ZTIyN2VmNGVjMWIyNjQxNDBlOTk3NWU1ODc5NTNmZTIzMTNmMzZjOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjFjODM3MmQxODMxNzU3MjNmZTlhMDA3MDZlYTMxNzZlNGIzNjY1NzA0ZWUy
10
- ODhiNWUxYTVkZGE4ZjUzZWI0YzJjNTJhZTlhYzI4MjAxZWZhM2ViM2RjNjM1
11
- NTFlZjNiMGU2MzRkZGExNmM2M2UzZWQ3YWI4ZGU1ZTcxNDg4NWI=
9
+ YzY4Njg1OTJjNDI4ZjI3MWQxYjEwNGI4NDZkZDI0ZjJiNGMzOTYyZmY2YzFj
10
+ ZjYzNGZiMjMyOGViOWFhMmRjMjU4ZWQxZThlYzQxMzE4MmI4MGI5MGIxMjk5
11
+ OTEzN2VmZTYxMDNkNmMwODZlNmJjMWY0ZGI5MGQ1NWJlYTA4Yzk=
12
12
  data.tar.gz: !binary |-
13
- ODY3MGRkZTI0MjcxODNlZjM0NmQwMGJjOTliYjQ3MjhlZWNiMWVjMzc1ZGI0
14
- MDJlMTc3YmU4MTdkMzE0ZTM0MjYzZmZlNGVjMGRmYTU4NTc0NGFjYzBiMTcx
15
- NWFkNzlmZTVkMTYxZDI0NzY0MTkwYWRlZmM3NmVmMjZlN2E2NjA=
13
+ OTI4MjI3NTVkOTQxZmE2MDY1ZjZiOGQ5MGY0NTE3ZTBhNGFhODRlZGZiNTli
14
+ ZDhjNWJmNTc5NDVkOTlkNWNlMjMwNWYyMDdjNDI1ZTYyYmZhYTljNmRjYWEz
15
+ YTcxMmU2MjM1Njc3OTBlYjY0YWJkNzFlZmIyY2NiNjc4MjMwOTM=
@@ -1,8 +1,7 @@
1
1
  module Myreplicator
2
2
  class Sweeper
3
-
3
+
4
4
  @queue = :myreplicator_sweeper # Provided for Resque
5
-
6
5
  ##
7
6
  # Main method provided for resque
8
7
  # Reconnection provided for resque workers
@@ -14,12 +13,13 @@ module Myreplicator
14
13
  ActiveRecord::Base.configurations.keys.each do |db|
15
14
  Myreplicator::VerticaLoader.clean_up_temp_tables(db)
16
15
  end
17
-
16
+
18
17
  #removing files that are left in the storage for more than 12 hours
19
18
  folders = [
20
- "/home/share/datareplicator",
21
- "/home/share/okl/bi_apps/datareplicator/mysqldumps"]
22
-
19
+ "#{Myreplicator.tmp_path}",
20
+ "#{Myreplicator.configs[Myreplicator.configs.keys[1]]["ssh_tmp_dir"]}"
21
+ ]
22
+
23
23
  folders.each do |folder|
24
24
  cmd = "find #{folder} -mmin +720"
25
25
  l = `#{cmd}`
@@ -36,6 +36,6 @@ module Myreplicator
36
36
  end
37
37
 
38
38
  end
39
-
39
+
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "1.1.71"
2
+ VERSION = "1.1.73"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myreplicator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.71
4
+ version: 1.1.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sasan Padidar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-29 00:00:00.000000000 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails