tax_generator 0.5.0 → 0.5.1
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/tax_generator/classes/processor.rb +5 -5
- data/lib/tax_generator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 317ad3db4dcd7234da44f8b4640c0d6692438ec8
|
|
4
|
+
data.tar.gz: 14f96024f09d3254c34ffa947cdcb2570edda110
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef9751ef774b8f9be7d353299d202850f7b16b1d7e958f3b52483f1d350d27ff91375619fb31bd68f04ed39002f50713f5f5b9cbeef4f5c002d09b47e2fadd7b
|
|
7
|
+
data.tar.gz: 32fe13515c63955a79f120148c69d64cfdf63fe1d4ac6bbea35b8459599e4fda746f1743f1dbcb04a09900237ee98281546fa1359075452655fda94d77184571
|
|
@@ -180,14 +180,14 @@ module TaxGenerator
|
|
|
180
180
|
def fetch_file_jobs
|
|
181
181
|
jobs = []
|
|
182
182
|
count = 0
|
|
183
|
-
@taxonomy.document.xpath('.//taxonomy').pmap do |
|
|
183
|
+
@taxonomy.document.xpath('.//taxonomy').pmap do |_taxonomy_node|
|
|
184
184
|
count += 1
|
|
185
185
|
jobs << { atlas_id: count, taxonomy: @taxonomy, destination: nil, output_folder: output_folder }
|
|
186
186
|
end
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
nokogiri_xml(destinations_file_path).xpath('//destination').pmap do |destination|
|
|
188
|
+
atlas_id = destination.attributes['atlas_id']
|
|
189
|
+
jobs << { atlas_id: atlas_id.value, taxonomy: @taxonomy, destination: destination, output_folder: output_folder }
|
|
190
|
+
end
|
|
191
191
|
jobs
|
|
192
192
|
end
|
|
193
193
|
|