immosquare-cleaner 0.1.107 → 0.1.108
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.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/processors/base.rb +8 -3
- data/lib/immosquare-cleaner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a413bdb4ca65fd168c69d440ecc430e69fb4906557bb608b78de5012c15b163
|
|
4
|
+
data.tar.gz: d51d4e83187b0822638b8b682ce7153d853adffe955e805f7374f3d5b6fb9772
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1603c7f8f815bbdc32a518dbf6b6edb6dfe69d93e4540091bba8391591530aa6ac0849fef18d83d842c2b784740bc53833b3d69a9d295c2a078b6f179eb2a38d
|
|
7
|
+
data.tar.gz: 383fc4bf784457aaae1530a9aeb63654bc35218ad121f48feff13560ce8720e286a135b30ce5bdda36e86e71c7430452c07e9cbc5a89e2b7f906e9722c670546
|
|
@@ -18,9 +18,14 @@ module ImmosquareCleaner
|
|
|
18
18
|
private
|
|
19
19
|
|
|
20
20
|
def launch_cmds(cmds)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
##============================================================##
|
|
22
|
+
## Use Process.spawn's :chdir option instead of Dir.chdir to
|
|
23
|
+
## set the child process's working directory. Dir.chdir is
|
|
24
|
+
## process-global and not thread-safe — running multiple
|
|
25
|
+
## chdir blocks concurrently raises "conflicting chdir during
|
|
26
|
+
## another chdir block", which breaks the parallel rake task.
|
|
27
|
+
##============================================================##
|
|
28
|
+
cmds.each {|cmd| system(cmd, :chdir => ImmosquareCleaner.gem_root) }
|
|
24
29
|
end
|
|
25
30
|
|
|
26
31
|
def normalize_last_line(path = file_path)
|