onoma 0.5.1 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.md +609 -0
  3. data/config/locales/arb.yml +2 -1
  4. data/config/locales/cmn.yml +3 -1
  5. data/config/locales/deu.yml +2 -1
  6. data/config/locales/eng.yml +91 -1
  7. data/config/locales/fra.yml +99 -6
  8. data/config/locales/ita.yml +2 -1
  9. data/config/locales/jpn.yml +4 -1
  10. data/config/locales/por.yml +2 -1
  11. data/config/locales/spa.yml +2 -1
  12. data/db/reference.xml +114 -7
  13. data/lib/onoma.rb +2 -0
  14. data/lib/onoma/item.rb +32 -19
  15. data/lib/onoma/migration/actions/item_change.rb +5 -5
  16. data/lib/onoma/migration/actions/item_creation.rb +4 -5
  17. data/lib/onoma/migration/actions/nomenclature_change.rb +1 -0
  18. data/lib/onoma/migration/actions/nomenclature_creation.rb +8 -1
  19. data/lib/onoma/migration/actions/property_creation.rb +2 -1
  20. data/lib/onoma/migration/base.rb +1 -0
  21. data/lib/onoma/migrator/translation.rb +2 -1
  22. data/lib/onoma/models/production_support_nature.rb +4 -0
  23. data/lib/onoma/nomenclature.rb +57 -24
  24. data/lib/onoma/nomenclature_set.rb +5 -5
  25. data/lib/onoma/property_nature.rb +1 -0
  26. data/lib/onoma/record/base.rb +4 -2
  27. data/lib/onoma/version.rb +1 -1
  28. data/onoma.gemspec +14 -12
  29. metadata +60 -301
  30. data/.gitignore +0 -13
  31. data/.gitlab-ci.yml +0 -14
  32. data/.travis.yml +0 -4
  33. data/CODE_OF_CONDUCT.md +0 -13
  34. data/Gemfile +0 -6
  35. data/LICENSE.txt +0 -21
  36. data/README.md +0 -53
  37. data/Rakefile +0 -92
  38. data/db/migrate/20150813022423_add_data.xml +0 -5740
  39. data/db/migrate/20150813224145_fix_zea.xml +0 -14
  40. data/db/migrate/20150813224155_fix_hordeum.xml +0 -175
  41. data/db/migrate/20150814104907_rename_charts_of_accounts.xml +0 -4
  42. data/db/migrate/20150817202608_rename_abaci.xml +0 -19
  43. data/db/migrate/20150818132801_add_vinifera_product_exchangers.xml +0 -4
  44. data/db/migrate/20150818152001_add_wine_bottles.xml +0 -13
  45. data/db/migrate/20150818232501_add_vinifera_sale_exchangers.xml +0 -4
  46. data/db/migrate/20150820212931_remove_abaci.xml +0 -19
  47. data/db/migrate/20150821082601_add_grain_variants.xml +0 -4
  48. data/db/migrate/20150821230800_rename_invalid_document_natures.xml +0 -12
  49. data/db/migrate/20150825180658_add_production_usages.xml +0 -5
  50. data/db/migrate/20150826091319_add_leguminous_crop.xml +0 -11
  51. data/db/migrate/20150826092813_add_cannabis_varieties.xml +0 -51
  52. data/db/migrate/20150826100013_add_thicket_varieties.xml +0 -9
  53. data/db/migrate/20150826103353_add_eis_plant.xml +0 -31
  54. data/db/migrate/20150902081701_add_garden_varieties.xml +0 -7
  55. data/db/migrate/20150905094701_add_milklic_individual_production_exchangers.xml +0 -4
  56. data/db/migrate/20150914095928_add_meteorological_analysis_nature.xml +0 -46
  57. data/db/migrate/20150916110501_add_grain_analysis.xml +0 -5
  58. data/db/migrate/20150916151652_fix_product_nature_variant_units.xml +0 -515
  59. data/db/migrate/20150919123840_fix_plant_varieties.xml +0 -36
  60. data/db/migrate/20150919223801_change_walnut_nature.xml +0 -6
  61. data/db/migrate/20150920212201_add_fruit_harvest.xml +0 -4
  62. data/db/migrate/20150921104001_add_fuel_consumption_indicator.xml +0 -7
  63. data/db/migrate/20150921110601_add_crumbs_exchangers.xml +0 -4
  64. data/db/migrate/20150921175601_add_units_liter_per_hour.xml +0 -4
  65. data/db/migrate/20151001154701_add_missing_variants.xml +0 -9
  66. data/db/migrate/20151019090110_add_json_exchange_natures.xml +0 -11
  67. data/db/migrate/20151021172901_add_missing_indicator_on_animals.xml +0 -12
  68. data/db/migrate/20151027095601_add_missing_issue_natures.xml +0 -6
  69. data/db/migrate/20151102110723_add_daily_nitrogen_production_indicator.xml +0 -4
  70. data/db/migrate/20151107122501_add_cap_statements_exchangers.xml +0 -4
  71. data/db/migrate/20151111212501_add_missing_cap_productions.xml +0 -15
  72. data/db/migrate/20151117192943_change_procedure_nomenclatures.xml +0 -159
  73. data/db/migrate/20151122101101_add_missing_tropical_cap_varieties.xml +0 -33
  74. data/db/migrate/20151125163801_add_missing_varieties.xml +0 -7
  75. data/db/migrate/20151209000401_add_missing_crop_sets.xml +0 -12
  76. data/db/migrate/20151209011801_add_missing_varieties.xml +0 -45
  77. data/db/migrate/20151209094701_add_oleaginous_missing_varieties.xml +0 -11
  78. data/db/migrate/20151209103601_add_proteaginous_missing_varieties.xml +0 -6
  79. data/db/migrate/20151210150144_add_daucus_carota_varieties.xml +0 -38
  80. data/db/migrate/20151210163440_add_phaseolus_varieties.xml +0 -11
  81. data/db/migrate/20151210164511_add_allium_porrum_varieties.xml +0 -13
  82. data/db/migrate/20151210170103_add_allium_cepa_varieties.xml +0 -6
  83. data/db/migrate/20151211114316_add_beta_varieties.xml +0 -4
  84. data/db/migrate/20151211115500_add_brassica_varieties.xml +0 -50
  85. data/db/migrate/20151211124757_add_allium_schoenoprasum_varieties.xml +0 -4
  86. data/db/migrate/20151211132045_add_cucurbita_varieties.xml +0 -13
  87. data/db/migrate/20151211143806_add_spinacia_oleracea_varieties.xml +0 -5
  88. data/db/migrate/20151211151402_add_lactuca_varieties.xml +0 -6
  89. data/db/migrate/20151211153218_add_zea_mays_varieties.xml +0 -46
  90. data/db/migrate/20151214084817_add_hordeum_varieties.xml +0 -5
  91. data/db/migrate/20151214085342_add_pastinaca_sativa_varieties.xml +0 -4
  92. data/db/migrate/20151214085721_add_pisum_sativum_varieties.xml +0 -8
  93. data/db/migrate/20151214090420_add_solanum_tuberosum_varieties.xml +0 -4
  94. data/db/migrate/20151214091020_add_raphanus_varieties.xml +0 -8
  95. data/db/migrate/20151214092727_add_glycine_max_varieties.xml +0 -4
  96. data/db/migrate/20151215132825_add_abilities.xml +0 -7
  97. data/db/migrate/20151215133320_add_equipment_variants.xml +0 -43
  98. data/db/migrate/20151215214901_add_openwheatermap_identifiers.xml +0 -5
  99. data/db/migrate/20151216095351_add_ridger_equipment_variants.xml +0 -4
  100. data/db/migrate/20151216100708_add_lifter_equipment_variants.xml +0 -4
  101. data/db/migrate/20151216160914_add_raphanus_sativus_varieties.xml +0 -4
  102. data/db/migrate/20151216182551_add_more_units.xml +0 -7
  103. data/db/migrate/20151218081701_add_crops_issue_natures.xml +0 -11
  104. data/db/migrate/20151222162657_add_varieties.xml +0 -18
  105. data/db/migrate/20151222180021_remove_population.xml +0 -402
  106. data/db/migrate/20151223164501_update_organic_fertilizer.xml +0 -4
  107. data/db/migrate/20151223171801_update_indicators.xml +0 -4
  108. data/db/migrate/20160104145418_add_matters.xml +0 -14
  109. data/db/migrate/20160104160843_change_product_nature_variants_drain.xml +0 -4
  110. data/db/migrate/20160105095120_add_plugin_cap_varieties.xml +0 -261
  111. data/db/migrate/20160106095232_add_orchard_plugin_cap_varieties.xml +0 -405
  112. data/db/migrate/20160108142009_add_product_nature_variants_nematicide.xml +0 -6
  113. data/db/migrate/20160113144856_update_prunus_avium_parent.xml +0 -32
  114. data/db/migrate/20160115090243_change_plant_varieties.xml +0 -7
  115. data/db/migrate/20160119115401_add_shipping_note_document.xml +0 -4
  116. data/db/migrate/20160128093149_fixes_invalid_parent.xml +0 -102
  117. data/db/migrate/20160128154202_add_product_natures_protective_canvas.xml +0 -6
  118. data/db/migrate/20160204115942_change_protective_net_nature.xml +0 -4
  119. data/db/migrate/20160204122030_change_cover_implanter_abilities.xml +0 -6
  120. data/db/migrate/20160206163031_simplifies_activity_families.xml +0 -135
  121. data/db/migrate/20160207142352_fix_spelling_mistakes_on_associate_accounts.xml +0 -7
  122. data/db/migrate/20160210124624_fix_invalid_abilities_on_product_natures.xml +0 -5
  123. data/db/migrate/20160224234901_add_seedling_sorting.xml +0 -4
  124. data/db/migrate/20160310145038_add_rhodes_grass.xml +0 -5
  125. data/db/migrate/20160315152217_remove_exchange_natures.xml +0 -4
  126. data/db/migrate/20160402125244_add_some_heavy_equipment.xml +0 -14
  127. data/db/migrate/20160408223901_change_zea_variety.xml +0 -14
  128. data/db/migrate/20160410082230_add_chemical_classifications.xml +0 -486
  129. data/db/migrate/20160425100840_add_product_nature_corn_topper.xml +0 -6
  130. data/db/migrate/20160427115742_add_production_systems.xml +0 -9
  131. data/db/migrate/20160428085808_add_rows_count_indicator.xml +0 -4
  132. data/db/migrate/20160503131928_add_equipment_indicators.xml +0 -34
  133. data/db/migrate/20160503155351_fix_taxes.xml +0 -15
  134. data/db/migrate/20160504143733_add_units.xml +0 -6
  135. data/db/migrate/20160509100749_change_item_corn_topper.xml +0 -4
  136. data/db/migrate/20160516075201_add_plant_analysis.xml +0 -4
  137. data/db/migrate/20160520144901_update_plant_analysis.xml +0 -5
  138. data/db/migrate/20160525073342_update_spreader_trailer_product_nature.xml +0 -4
  139. data/db/migrate/20160526075245_update_spreader_trailer_abilities.xml +0 -4
  140. data/db/migrate/20160526092246_update_product_natures_and_variants_for_vegetables.xml +0 -37
  141. data/db/migrate/20160527090330_update_product_natures_seed.xml +0 -5
  142. data/db/migrate/20160531071525_add_procedure_actions.xml +0 -6
  143. data/db/migrate/20160531094927_add_items_for_pollination_pocedure.xml +0 -9
  144. data/db/migrate/20160605122001_add_worker_register.xml +0 -4
  145. data/db/migrate/20160608075549_update_spatial_reference_systems.xml +0 -5437
  146. data/db/migrate/20160608202134_add_missing_procedure_actions.xml +0 -6
  147. data/db/migrate/20160613154204_add_product_nature_variants_hoe_weeder.xml +0 -6
  148. data/db/migrate/20160615121350_add_pivots_in_nomenclature.xml +0 -11
  149. data/db/migrate/20160615122805_add_daily_average_working_time_indicator_and_lifespan_indicators.xml +0 -6
  150. data/db/migrate/20160617142409_add_items_for_hay_bales.xml +0 -8
  151. data/db/migrate/20160622121241_add_procedure_action_conservation_plowing.xml +0 -4
  152. data/db/migrate/20160624073237_add_musca_varieties.xml +0 -5
  153. data/db/migrate/20160627095008_add_weeding_kit.xml +0 -5
  154. data/db/migrate/20160630075849_update_product_nature_additive.xml +0 -4
  155. data/db/migrate/20160630124401_fix_coop_variants.xml +0 -9
  156. data/db/migrate/20160719094049_add_new_procedure_actions.xml +0 -6
  157. data/db/migrate/20160719100836_add_issue_nature.xml +0 -4
  158. data/db/migrate/20160720144130_update_equipment_varieties.xml +0 -33
  159. data/db/migrate/20160721124220_update_product_natures_varieties.xml +0 -58
  160. data/db/migrate/20160725182008_fix_abilities_on_old_equipment.xml +0 -4
  161. data/db/migrate/20160726173309_rename_equipments_to_equipment.xml +0 -6
  162. data/db/migrate/20160727092830_update_malus_pumila_variety_name.xml +0 -4
  163. data/db/migrate/20160802123639_update_unit_name_for_equipment_product_nature_variants.xml +0 -39
  164. data/db/migrate/20160816083232_add_issue_natures.xml +0 -6
  165. data/db/migrate/20160819082951_Add_plant_varieties.xml +0 -10
  166. data/db/migrate/20160829072846_add_procedure_action.xml +0 -4
  167. data/db/migrate/20160830153251_add_new_varieties.xml +0 -6
  168. data/db/migrate/20160909225801_add_missing_stock_variation_accounts.xml +0 -17
  169. data/db/migrate/20160911091901_update_product_nature_categories.xml +0 -53
  170. data/db/migrate/20160912182501_fix_product_nature_categories.xml +0 -5
  171. data/db/migrate/20160914114043_add_tool_maintaining_support.xml +0 -7
  172. data/db/migrate/20160915143142_add_pest_related_indicators.xml +0 -5
  173. data/db/migrate/20160919210501_add_transportation_actions.xml +0 -4
  174. data/db/migrate/20160928113101_add_missing_general_accounts.xml +0 -108
  175. data/db/migrate/20160930091201_add_missing_tax_natures.xml +0 -17
  176. data/db/migrate/20161017090516_fix_product_nature_categories_stock_movement_account.xml +0 -5
  177. data/db/migrate/20161019133613_add_ednotif_eu_country_code.xml +0 -33
  178. data/db/migrate/20161019145441_add_ednotif_animal_indicators.xml +0 -22
  179. data/db/migrate/20161022103401_add_portuguese_chart_of_account.xml +0 -34
  180. data/db/migrate/20161024115013_add_ednotif_indicators_to_cow_product_natures.xml +0 -7
  181. data/db/migrate/20161030174001_add_missing_cap_2016_varieties.xml +0 -13
  182. data/db/migrate/20161103111303_add_plants_sorting_action.xml +0 -4
  183. data/db/migrate/20161202083820_add_new_plant_varieties.xml +0 -13
  184. data/db/migrate/20161212181852_add_procedure_categories.xml +0 -5
  185. data/db/migrate/20161214093347_add_procedure_actions.xml +0 -10
  186. data/db/migrate/20161219171601_add_missing_vat_accounts.xml +0 -4
  187. data/db/migrate/20161219231801_add_outgoing_payment_report.xml +0 -4
  188. data/db/migrate/20170104161824_add_indicators_for_plant_analysis.xml +0 -6
  189. data/db/migrate/20170201180806_set_animal_group_population_counting_to_unitary.xml +0 -23
  190. data/db/migrate/20170203132125_update_momenclature_for_animal_housing_mulching_procedure.xml +0 -7
  191. data/db/migrate/20170206125311_update_nomenclature_for_animal_housing_disinfection_procedure.xml +0 -5
  192. data/db/migrate/20170206163322_update_disinfectant_product_variant.xml +0 -4
  193. data/db/migrate/20170214125925_clean_cow_indicators.xml +0 -8
  194. data/db/migrate/20170216100144_add_algerian_vat.xml +0 -10
  195. data/db/migrate/20170219210901_add_fixed_asset_registry.xml +0 -4
  196. data/db/migrate/20170220211447_add_procedure_category.xml +0 -4
  197. data/db/migrate/20170220222412_add_procedure_action.xml +0 -4
  198. data/db/migrate/20170221102405_add_milking_robot_in_nomenclature.xml +0 -6
  199. data/db/migrate/20170222113119_add_animal_varieties.xml +0 -29
  200. data/db/migrate/20170306154901_add_missing_outstanding_account.xml +0 -4
  201. data/db/migrate/20170308232701_add_fr_pcga_profit_and_loss.xml +0 -4
  202. data/db/migrate/20170312112401_add_fr_pcga_balance_sheet.xml +0 -4
  203. data/db/migrate/20170312172301_add_fr_pcg82_balance_sheet.xml +0 -5
  204. data/db/migrate/20170320073301_add_journal_entry_sheet.xml +0 -8
  205. data/db/migrate/20170320144338_add_sundry_debtors_and_creditors_usage.xml +0 -4
  206. data/db/migrate/20170322223101_add_loan_registry.xml +0 -4
  207. data/db/migrate/20170324084701_add_fixed_asset_sheet.xml +0 -4
  208. data/db/migrate/20170328144501_add_pnt_loan_accounts.xml +0 -5
  209. data/db/migrate/20170328165900_update_foliar_spray_product_nature.xml +0 -4
  210. data/db/migrate/20170328170000_add_indicator.xml +0 -4
  211. data/db/migrate/20170328170100_update_product_nature_seedling.xml +0 -6
  212. data/db/migrate/20170328170200_add_indicators.xml +0 -4
  213. data/db/migrate/20170328170300_add_indicators2.xml +0 -4
  214. data/db/migrate/20170328170400_update_seedling_product_natures.xml +0 -4
  215. data/db/migrate/20170405135101_add_account_journal_entry_sheet.xml +0 -4
  216. data/db/migrate/20170407214236_add_portuguese_account_config.xml +0 -4
  217. data/db/migrate/20170524094443_add_urtica_variety.xml +0 -5
  218. data/db/migrate/20170614130921_add_varieties.xml +0 -117
  219. data/db/migrate/20170627075545_add_varieties2.xml +0 -37
  220. data/db/migrate/20170627081533_add_pending_deposit_payments_account_number_for_pt_accounting_system.xml +0 -4
  221. data/db/migrate/20170718131724_add_issue_natures.xml +0 -54
  222. data/db/migrate/20170803164344_add_procedure_nature_and_category.xml +0 -5
  223. data/db/migrate/20170904223101_add_cultivable_zone_registry.xml +0 -4
  224. data/db/migrate/20170914083358_add_new_product_nature_variants.xml +0 -14
  225. data/db/migrate/20170927144852_add_kiwi_varieties.xml +0 -7
  226. data/db/migrate/20171106085357_update_account_numbers.xml +0 -431
  227. data/db/migrate/20171212081801_add_fiscal_positions.xml +0 -12
  228. data/db/migrate/20180408190101_add_new_plant_variants.xml +0 -7
  229. data/db/migrate/20180409130101_add_common_crop.xml +0 -4
  230. data/db/migrate/20180418085027_add-hour-counter-indicator.xml +0 -9
  231. data/db/migrate/20180709134310_add_centralizing_field_to_accounts.xml +0 -22
  232. data/db/migrate/20180711093131_review_all_accounts_number_and_fallbacks.xml +0 -431
  233. data/db/migrate/20180806080646_edit_centralizing_field_accounts.xml +0 -17
  234. data/db/migrate/20180814184001_add_missing_categories.xml +0 -12
  235. data/db/migrate/20180907160001_edit_accounts_to_unlock_first_run.xml +0 -21
  236. data/db/migrate/20181004220301_add_journal_ledger.xml +0 -4
  237. data/db/migrate/20181205162401_add_intra_vat.xml +0 -6
  238. data/db/migrate/20181213153405_fix_accounting_systems.xml +0 -7
  239. data/db/migrate/20181217155149_fiscal_position_refers_to_accounting_system.xml +0 -10
  240. data/db/migrate/20181217173101_fiscal_position_reference_typo.xml +0 -4
  241. data/db/migrate/20190315154040_add_suspense_account.xml +0 -4
  242. data/db/migrate/20190326110849_add_asset_fixable_to_product_nature_categories.xml +0 -25
  243. data/db/migrate/20190326135443_change_product_nature_category_cultivable_zone_into_land.xml +0 -21
  244. data/db/migrate/20190329133808_change_land_fixed_assets_account_usage.xml +0 -7
  245. data/db/migrate/20190405120711_delete_land_sales_account_and_assign_land_parcels_sell_revenues_to_land.xml +0 -5
  246. data/db/migrate/20190412071057_add_new_fixed_assets_andn_depreciable_accounts.xml +0 -22
  247. data/db/migrate/20190509092804_add_account_exceptional_depreciations_imputations_expenses_for_fixed_assets.xml +0 -4
  248. data/db/migrate/20190514084753_add_approved_input_volume.xml +0 -9
  249. data/db/migrate/20190520072403_add_new_accounts.xml +0 -58
  250. data/db/migrate/20190521170601_add_missing_taxes.xml +0 -7
  251. data/db/migrate/20190611101014_change_deductible_vat_account.xml +0 -5
  252. data/db/migrate/20190620092151_fix_conflicts_in_new_accounts.xml +0 -6
  253. data/db/migrate/20190625152636_change_mixture_seed_product_nature_variant.xml +0 -4
  254. data/db/migrate/20190718130243_remove_services_expenses.xml +0 -5
  255. data/db/migrate/20190801142431_remove_accounts_from_pcg82.xml +0 -5
  256. data/db/migrate/20190807125202_add_nature_to_product_natures.xml +0 -326
  257. data/db/migrate/20190823091727_fix-cubic-meter-per-hectare-symbol.xml +0 -5
  258. data/db/migrate/20190909150402_add_staff_supply_stock_account.xml +0 -4
  259. data/db/migrate/20190913102036_add_caliber_indicator.xml +0 -4
  260. data/db/migrate/20190917161215_add_missing_mass_area_density_units.xml +0 -21
  261. data/db/migrate/20190917161216_update_quintal_symbol.xml +0 -4
  262. data/db/migrate/20190917161217_adds_more_info_to_units.xml +0 -133
  263. data/db/migrate/20190918074757_add_new_accounts.xml +0 -8
  264. data/db/migrate/20191001122750_add_accounts_fixed_assets_related.xml +0 -10
  265. data/db/migrate/20191016152118_add_missing_document_templates.xml +0 -6
  266. data/db/migrate/20191028175001_add_short_balance_sheet.xml +0 -4
  267. data/db/migrate/20191029131921_add_vine_equipments.xml +0 -117
  268. data/db/migrate/20191112132413_remove_roller_from_product_natures.xml +0 -5
  269. data/db/migrate/20191113134626_add_nature_to_new_product_natures.xml +0 -11
  270. data/db/migrate/20191125133327_add_missing_units_and_indicators.xml +0 -5
  271. data/db/migrate/20200107095554_add_signed_field_to_document_nature.xml +0 -9
  272. data/db/migrate/20200305160358_add_varieties_for_phytosanitary.xml +0 -11
  273. data/db/migrate/20200421123503_add_type_to_categories_and_variants.xml +0 -1136
  274. data/db/migrate/20200514092205_add_liter_per_hectoliter_unit.xml +0 -4
  275. data/db/migrate/20200722091859_triticale_derivative_of.xml +0 -5
  276. data/db/migrate/20200826000010_add_area_units.xml +0 -4
  277. data/db/migrate/20200826000020_change_trailer_indicators.xml +0 -5
  278. data/db/migrate/20200826000030_add_new_production_systems.xml +0 -6
  279. data/db/migrate/20200826000040_add_viti_abilities.xml +0 -6
  280. data/db/migrate/20200826000060_create_vine_farming_activity_famillies.xml +0 -4
  281. data/db/migrate/20200826000070_remove_certifications_and_vitis_varieties.xml +0 -55
  282. data/db/migrate/20200826000080_add_new_indicators.xml +0 -14
  283. data/db/migrate/20200826000100_add_viti_procedure_actions.xml +0 -19
  284. data/db/migrate/20200826000110_add_vine_puning_systems.xml +0 -9
  285. data/db/migrate/20200826000120_add_vine_procedure_categories.xml +0 -10
  286. data/db/migrate/20200826000130_update_viti_product_nauture_variant.xml +0 -10
  287. data/db/migrate/20200925153320_fix_outgoing_payment_list_document_nature.xml +0 -7
@@ -9,12 +9,9 @@ module Onoma
9
9
  end
10
10
 
11
11
  def load_data_from_xml(nomenclature_name)
12
- Rails.logger.info "Loading #{nomenclature_name}..."
13
- start = Time.now
14
12
  element = Onoma.reference_document.xpath("/xmlns:nomenclatures/xmlns:nomenclature[@name='#{nomenclature_name}']")
15
- nomenclature = harvest_nomenclature(element)
16
- Rails.logger.info "Loaded #{nomenclature_name} in #{(Time.now - start).round(2)} seconds..."
17
- nomenclature
13
+
14
+ harvest_nomenclature(element)
18
15
  end
19
16
 
20
17
  def self.load_file(file)
@@ -62,6 +59,7 @@ module Onoma
62
59
  unless nomenclature = @nomenclatures[name]
63
60
  raise "Nomenclature #{name} does not exist"
64
61
  end
62
+
65
63
  nomenclature
66
64
  end
67
65
 
@@ -119,6 +117,7 @@ module Onoma
119
117
 
120
118
  def add_nomenclature(name, options = {})
121
119
  raise "Nomenclature #{name} already exists" if @nomenclatures[name]
120
+
122
121
  options[:set] = self
123
122
  @nomenclatures[name] = Nomenclature.new(name, options)
124
123
  end
@@ -128,6 +127,7 @@ module Onoma
128
127
  raise "Nomenclature #{old_name} does not exist"
129
128
  end
130
129
  raise "Nomenclature #{new_name} already exists" if @nomenclatures[new_name]
130
+
131
131
  @nomenclatures[new_name] = @nomenclatures.delete(old_name)
132
132
  @nomenclatures[new_name]
133
133
  end
@@ -8,6 +8,7 @@ module Onoma
8
8
  @name = name.to_sym
9
9
  @type = type
10
10
  raise "Invalid type: #{@type.inspect}" unless Onoma::PROPERTY_TYPES.include?(@type)
11
+
11
12
  @fallbacks = options[:fallbacks] if options[:fallbacks]
12
13
  @default = options[:default] if options[:default]
13
14
  @required = !!options[:required]
@@ -1,15 +1,17 @@
1
+ # rubocop:disable Style/MissingRespondToMissing
1
2
  module Onoma
2
3
  module Record
3
4
  class Base
4
5
  class << self
5
6
  def method_missing(*args, &block)
6
- Onoma.find_or_initialize(name.tableize.sub(/\Aonoma\//, '')).send(*args, &block)
7
+ Onoma.find_or_initialize(name.tableize.sub(%r{\Aonoma/}, '')).send(*args, &block)
7
8
  end
8
9
 
9
10
  def respond_to?(method_name)
10
- Onoma.find_or_initialize(name.tableize.sub(/\Aonoma\//, '')).respond_to?(method_name) || super
11
+ Onoma.find_or_initialize(name.tableize.sub(%r{\Aonoma/}, '')).respond_to?(method_name) || super
11
12
  end
12
13
  end
13
14
  end
14
15
  end
15
16
  end
17
+ # rubocop:enable Style/MissingRespondToMissing
data/lib/onoma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onoma
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.6'
5
5
  end
data/onoma.gemspec CHANGED
@@ -1,28 +1,30 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'lib/onoma/version'
2
4
 
3
5
  Gem::Specification.new do |spec|
4
6
  spec.name = 'onoma'
5
7
  spec.version = Onoma::VERSION
6
8
  spec.required_ruby_version = '>= 2.4.4'
7
- spec.authors = ['Brice TEXIER']
8
- spec.email = ['brice@ekylibre.com']
9
+ spec.authors = ['Ekylibre developers']
10
+ spec.email = ['dev@ekylibre.com']
9
11
 
10
12
  spec.summary = 'Provides open nomenclature data in a gem'
11
13
  spec.description = 'Actual support Open-Nomenclature data and gem for use'
12
14
  spec.homepage = 'https://gitlab.com/ekylibre/onoma'
13
- spec.license = 'MIT'
15
+ spec.license = 'AGPL-3.0-only'
14
16
 
15
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
- spec.bindir = 'exe'
17
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
- spec.require_paths = ['lib']
17
+ spec.files = Dir.glob(%w[{bin,config,lib}/**/* db/reference.xml *.gemspec LICENSE.md])
19
18
 
20
- spec.add_development_dependency 'bundler', '> 1.15'
21
- spec.add_development_dependency 'rake', '> 12.0'
22
- spec.add_development_dependency 'minitest'
23
- spec.add_development_dependency 'i18n-tasks'
19
+ spec.require_paths = ['lib']
24
20
 
25
21
  spec.add_dependency 'activesupport', '>= 4.2'
26
- spec.add_dependency 'zeitwerk', '~> 2.4.0'
27
22
  spec.add_dependency 'nokogiri', '>= 1.10.4'
23
+ spec.add_dependency 'zeitwerk', '~> 2.4.0'
24
+
25
+ spec.add_development_dependency 'bundler', '> 1.15'
26
+ spec.add_development_dependency 'i18n-tasks'
27
+ spec.add_development_dependency 'minitest'
28
+ spec.add_development_dependency 'rake', '> 12.0'
29
+ spec.add_development_dependency 'rubocop', '1.3.1'
28
30
  end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onoma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
- - Brice TEXIER
8
- autorequire:
9
- bindir: exe
7
+ - Ekylibre developers
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.15'
20
- type: :development
19
+ version: '4.2'
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.15'
26
+ version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '12.0'
34
- type: :development
33
+ version: 1.10.4
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '12.0'
40
+ version: 1.10.4
41
41
  - !ruby/object:Gem::Dependency
42
- name: minitest
42
+ name: zeitwerk
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 2.4.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.4.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.15'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ">="
66
+ - - ">"
53
67
  - !ruby/object:Gem::Version
54
- version: '0'
68
+ version: '1.15'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: i18n-tasks
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -67,62 +81,55 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
- name: activesupport
84
+ name: minitest
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: '4.2'
76
- type: :runtime
89
+ version: '0'
90
+ type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: '4.2'
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
- name: zeitwerk
98
+ name: rake
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - "~>"
101
+ - - ">"
88
102
  - !ruby/object:Gem::Version
89
- version: 2.4.0
90
- type: :runtime
103
+ version: '12.0'
104
+ type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - "~>"
108
+ - - ">"
95
109
  - !ruby/object:Gem::Version
96
- version: 2.4.0
110
+ version: '12.0'
97
111
  - !ruby/object:Gem::Dependency
98
- name: nokogiri
112
+ name: rubocop
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - ">="
115
+ - - '='
102
116
  - !ruby/object:Gem::Version
103
- version: 1.10.4
104
- type: :runtime
117
+ version: 1.3.1
118
+ type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - ">="
122
+ - - '='
109
123
  - !ruby/object:Gem::Version
110
- version: 1.10.4
124
+ version: 1.3.1
111
125
  description: Actual support Open-Nomenclature data and gem for use
112
126
  email:
113
- - brice@ekylibre.com
127
+ - dev@ekylibre.com
114
128
  executables: []
115
129
  extensions: []
116
130
  extra_rdoc_files: []
117
131
  files:
118
- - ".gitignore"
119
- - ".gitlab-ci.yml"
120
- - ".travis.yml"
121
- - CODE_OF_CONDUCT.md
122
- - Gemfile
123
- - LICENSE.txt
124
- - README.md
125
- - Rakefile
132
+ - LICENSE.md
126
133
  - bin/console
127
134
  - bin/rake
128
135
  - bin/setup
@@ -135,256 +142,6 @@ files:
135
142
  - config/locales/jpn.yml
136
143
  - config/locales/por.yml
137
144
  - config/locales/spa.yml
138
- - db/migrate/20150813022423_add_data.xml
139
- - db/migrate/20150813224145_fix_zea.xml
140
- - db/migrate/20150813224155_fix_hordeum.xml
141
- - db/migrate/20150814104907_rename_charts_of_accounts.xml
142
- - db/migrate/20150817202608_rename_abaci.xml
143
- - db/migrate/20150818132801_add_vinifera_product_exchangers.xml
144
- - db/migrate/20150818152001_add_wine_bottles.xml
145
- - db/migrate/20150818232501_add_vinifera_sale_exchangers.xml
146
- - db/migrate/20150820212931_remove_abaci.xml
147
- - db/migrate/20150821082601_add_grain_variants.xml
148
- - db/migrate/20150821230800_rename_invalid_document_natures.xml
149
- - db/migrate/20150825180658_add_production_usages.xml
150
- - db/migrate/20150826091319_add_leguminous_crop.xml
151
- - db/migrate/20150826092813_add_cannabis_varieties.xml
152
- - db/migrate/20150826100013_add_thicket_varieties.xml
153
- - db/migrate/20150826103353_add_eis_plant.xml
154
- - db/migrate/20150902081701_add_garden_varieties.xml
155
- - db/migrate/20150905094701_add_milklic_individual_production_exchangers.xml
156
- - db/migrate/20150914095928_add_meteorological_analysis_nature.xml
157
- - db/migrate/20150916110501_add_grain_analysis.xml
158
- - db/migrate/20150916151652_fix_product_nature_variant_units.xml
159
- - db/migrate/20150919123840_fix_plant_varieties.xml
160
- - db/migrate/20150919223801_change_walnut_nature.xml
161
- - db/migrate/20150920212201_add_fruit_harvest.xml
162
- - db/migrate/20150921104001_add_fuel_consumption_indicator.xml
163
- - db/migrate/20150921110601_add_crumbs_exchangers.xml
164
- - db/migrate/20150921175601_add_units_liter_per_hour.xml
165
- - db/migrate/20151001154701_add_missing_variants.xml
166
- - db/migrate/20151019090110_add_json_exchange_natures.xml
167
- - db/migrate/20151021172901_add_missing_indicator_on_animals.xml
168
- - db/migrate/20151027095601_add_missing_issue_natures.xml
169
- - db/migrate/20151102110723_add_daily_nitrogen_production_indicator.xml
170
- - db/migrate/20151107122501_add_cap_statements_exchangers.xml
171
- - db/migrate/20151111212501_add_missing_cap_productions.xml
172
- - db/migrate/20151117192943_change_procedure_nomenclatures.xml
173
- - db/migrate/20151122101101_add_missing_tropical_cap_varieties.xml
174
- - db/migrate/20151125163801_add_missing_varieties.xml
175
- - db/migrate/20151209000401_add_missing_crop_sets.xml
176
- - db/migrate/20151209011801_add_missing_varieties.xml
177
- - db/migrate/20151209094701_add_oleaginous_missing_varieties.xml
178
- - db/migrate/20151209103601_add_proteaginous_missing_varieties.xml
179
- - db/migrate/20151210150144_add_daucus_carota_varieties.xml
180
- - db/migrate/20151210163440_add_phaseolus_varieties.xml
181
- - db/migrate/20151210164511_add_allium_porrum_varieties.xml
182
- - db/migrate/20151210170103_add_allium_cepa_varieties.xml
183
- - db/migrate/20151211114316_add_beta_varieties.xml
184
- - db/migrate/20151211115500_add_brassica_varieties.xml
185
- - db/migrate/20151211124757_add_allium_schoenoprasum_varieties.xml
186
- - db/migrate/20151211132045_add_cucurbita_varieties.xml
187
- - db/migrate/20151211143806_add_spinacia_oleracea_varieties.xml
188
- - db/migrate/20151211151402_add_lactuca_varieties.xml
189
- - db/migrate/20151211153218_add_zea_mays_varieties.xml
190
- - db/migrate/20151214084817_add_hordeum_varieties.xml
191
- - db/migrate/20151214085342_add_pastinaca_sativa_varieties.xml
192
- - db/migrate/20151214085721_add_pisum_sativum_varieties.xml
193
- - db/migrate/20151214090420_add_solanum_tuberosum_varieties.xml
194
- - db/migrate/20151214091020_add_raphanus_varieties.xml
195
- - db/migrate/20151214092727_add_glycine_max_varieties.xml
196
- - db/migrate/20151215132825_add_abilities.xml
197
- - db/migrate/20151215133320_add_equipment_variants.xml
198
- - db/migrate/20151215214901_add_openwheatermap_identifiers.xml
199
- - db/migrate/20151216095351_add_ridger_equipment_variants.xml
200
- - db/migrate/20151216100708_add_lifter_equipment_variants.xml
201
- - db/migrate/20151216160914_add_raphanus_sativus_varieties.xml
202
- - db/migrate/20151216182551_add_more_units.xml
203
- - db/migrate/20151218081701_add_crops_issue_natures.xml
204
- - db/migrate/20151222162657_add_varieties.xml
205
- - db/migrate/20151222180021_remove_population.xml
206
- - db/migrate/20151223164501_update_organic_fertilizer.xml
207
- - db/migrate/20151223171801_update_indicators.xml
208
- - db/migrate/20160104145418_add_matters.xml
209
- - db/migrate/20160104160843_change_product_nature_variants_drain.xml
210
- - db/migrate/20160105095120_add_plugin_cap_varieties.xml
211
- - db/migrate/20160106095232_add_orchard_plugin_cap_varieties.xml
212
- - db/migrate/20160108142009_add_product_nature_variants_nematicide.xml
213
- - db/migrate/20160113144856_update_prunus_avium_parent.xml
214
- - db/migrate/20160115090243_change_plant_varieties.xml
215
- - db/migrate/20160119115401_add_shipping_note_document.xml
216
- - db/migrate/20160128093149_fixes_invalid_parent.xml
217
- - db/migrate/20160128154202_add_product_natures_protective_canvas.xml
218
- - db/migrate/20160204115942_change_protective_net_nature.xml
219
- - db/migrate/20160204122030_change_cover_implanter_abilities.xml
220
- - db/migrate/20160206163031_simplifies_activity_families.xml
221
- - db/migrate/20160207142352_fix_spelling_mistakes_on_associate_accounts.xml
222
- - db/migrate/20160210124624_fix_invalid_abilities_on_product_natures.xml
223
- - db/migrate/20160224234901_add_seedling_sorting.xml
224
- - db/migrate/20160310145038_add_rhodes_grass.xml
225
- - db/migrate/20160315152217_remove_exchange_natures.xml
226
- - db/migrate/20160402125244_add_some_heavy_equipment.xml
227
- - db/migrate/20160408223901_change_zea_variety.xml
228
- - db/migrate/20160410082230_add_chemical_classifications.xml
229
- - db/migrate/20160425100840_add_product_nature_corn_topper.xml
230
- - db/migrate/20160427115742_add_production_systems.xml
231
- - db/migrate/20160428085808_add_rows_count_indicator.xml
232
- - db/migrate/20160503131928_add_equipment_indicators.xml
233
- - db/migrate/20160503155351_fix_taxes.xml
234
- - db/migrate/20160504143733_add_units.xml
235
- - db/migrate/20160509100749_change_item_corn_topper.xml
236
- - db/migrate/20160516075201_add_plant_analysis.xml
237
- - db/migrate/20160520144901_update_plant_analysis.xml
238
- - db/migrate/20160525073342_update_spreader_trailer_product_nature.xml
239
- - db/migrate/20160526075245_update_spreader_trailer_abilities.xml
240
- - db/migrate/20160526092246_update_product_natures_and_variants_for_vegetables.xml
241
- - db/migrate/20160527090330_update_product_natures_seed.xml
242
- - db/migrate/20160531071525_add_procedure_actions.xml
243
- - db/migrate/20160531094927_add_items_for_pollination_pocedure.xml
244
- - db/migrate/20160605122001_add_worker_register.xml
245
- - db/migrate/20160608075549_update_spatial_reference_systems.xml
246
- - db/migrate/20160608202134_add_missing_procedure_actions.xml
247
- - db/migrate/20160613154204_add_product_nature_variants_hoe_weeder.xml
248
- - db/migrate/20160615121350_add_pivots_in_nomenclature.xml
249
- - db/migrate/20160615122805_add_daily_average_working_time_indicator_and_lifespan_indicators.xml
250
- - db/migrate/20160617142409_add_items_for_hay_bales.xml
251
- - db/migrate/20160622121241_add_procedure_action_conservation_plowing.xml
252
- - db/migrate/20160624073237_add_musca_varieties.xml
253
- - db/migrate/20160627095008_add_weeding_kit.xml
254
- - db/migrate/20160630075849_update_product_nature_additive.xml
255
- - db/migrate/20160630124401_fix_coop_variants.xml
256
- - db/migrate/20160719094049_add_new_procedure_actions.xml
257
- - db/migrate/20160719100836_add_issue_nature.xml
258
- - db/migrate/20160720144130_update_equipment_varieties.xml
259
- - db/migrate/20160721124220_update_product_natures_varieties.xml
260
- - db/migrate/20160725182008_fix_abilities_on_old_equipment.xml
261
- - db/migrate/20160726173309_rename_equipments_to_equipment.xml
262
- - db/migrate/20160727092830_update_malus_pumila_variety_name.xml
263
- - db/migrate/20160802123639_update_unit_name_for_equipment_product_nature_variants.xml
264
- - db/migrate/20160816083232_add_issue_natures.xml
265
- - db/migrate/20160819082951_Add_plant_varieties.xml
266
- - db/migrate/20160829072846_add_procedure_action.xml
267
- - db/migrate/20160830153251_add_new_varieties.xml
268
- - db/migrate/20160909225801_add_missing_stock_variation_accounts.xml
269
- - db/migrate/20160911091901_update_product_nature_categories.xml
270
- - db/migrate/20160912182501_fix_product_nature_categories.xml
271
- - db/migrate/20160914114043_add_tool_maintaining_support.xml
272
- - db/migrate/20160915143142_add_pest_related_indicators.xml
273
- - db/migrate/20160919210501_add_transportation_actions.xml
274
- - db/migrate/20160928113101_add_missing_general_accounts.xml
275
- - db/migrate/20160930091201_add_missing_tax_natures.xml
276
- - db/migrate/20161017090516_fix_product_nature_categories_stock_movement_account.xml
277
- - db/migrate/20161019133613_add_ednotif_eu_country_code.xml
278
- - db/migrate/20161019145441_add_ednotif_animal_indicators.xml
279
- - db/migrate/20161022103401_add_portuguese_chart_of_account.xml
280
- - db/migrate/20161024115013_add_ednotif_indicators_to_cow_product_natures.xml
281
- - db/migrate/20161030174001_add_missing_cap_2016_varieties.xml
282
- - db/migrate/20161103111303_add_plants_sorting_action.xml
283
- - db/migrate/20161202083820_add_new_plant_varieties.xml
284
- - db/migrate/20161212181852_add_procedure_categories.xml
285
- - db/migrate/20161214093347_add_procedure_actions.xml
286
- - db/migrate/20161219171601_add_missing_vat_accounts.xml
287
- - db/migrate/20161219231801_add_outgoing_payment_report.xml
288
- - db/migrate/20170104161824_add_indicators_for_plant_analysis.xml
289
- - db/migrate/20170201180806_set_animal_group_population_counting_to_unitary.xml
290
- - db/migrate/20170203132125_update_momenclature_for_animal_housing_mulching_procedure.xml
291
- - db/migrate/20170206125311_update_nomenclature_for_animal_housing_disinfection_procedure.xml
292
- - db/migrate/20170206163322_update_disinfectant_product_variant.xml
293
- - db/migrate/20170214125925_clean_cow_indicators.xml
294
- - db/migrate/20170216100144_add_algerian_vat.xml
295
- - db/migrate/20170219210901_add_fixed_asset_registry.xml
296
- - db/migrate/20170220211447_add_procedure_category.xml
297
- - db/migrate/20170220222412_add_procedure_action.xml
298
- - db/migrate/20170221102405_add_milking_robot_in_nomenclature.xml
299
- - db/migrate/20170222113119_add_animal_varieties.xml
300
- - db/migrate/20170306154901_add_missing_outstanding_account.xml
301
- - db/migrate/20170308232701_add_fr_pcga_profit_and_loss.xml
302
- - db/migrate/20170312112401_add_fr_pcga_balance_sheet.xml
303
- - db/migrate/20170312172301_add_fr_pcg82_balance_sheet.xml
304
- - db/migrate/20170320073301_add_journal_entry_sheet.xml
305
- - db/migrate/20170320144338_add_sundry_debtors_and_creditors_usage.xml
306
- - db/migrate/20170322223101_add_loan_registry.xml
307
- - db/migrate/20170324084701_add_fixed_asset_sheet.xml
308
- - db/migrate/20170328144501_add_pnt_loan_accounts.xml
309
- - db/migrate/20170328165900_update_foliar_spray_product_nature.xml
310
- - db/migrate/20170328170000_add_indicator.xml
311
- - db/migrate/20170328170100_update_product_nature_seedling.xml
312
- - db/migrate/20170328170200_add_indicators.xml
313
- - db/migrate/20170328170300_add_indicators2.xml
314
- - db/migrate/20170328170400_update_seedling_product_natures.xml
315
- - db/migrate/20170405135101_add_account_journal_entry_sheet.xml
316
- - db/migrate/20170407214236_add_portuguese_account_config.xml
317
- - db/migrate/20170524094443_add_urtica_variety.xml
318
- - db/migrate/20170614130921_add_varieties.xml
319
- - db/migrate/20170627075545_add_varieties2.xml
320
- - db/migrate/20170627081533_add_pending_deposit_payments_account_number_for_pt_accounting_system.xml
321
- - db/migrate/20170718131724_add_issue_natures.xml
322
- - db/migrate/20170803164344_add_procedure_nature_and_category.xml
323
- - db/migrate/20170904223101_add_cultivable_zone_registry.xml
324
- - db/migrate/20170914083358_add_new_product_nature_variants.xml
325
- - db/migrate/20170927144852_add_kiwi_varieties.xml
326
- - db/migrate/20171106085357_update_account_numbers.xml
327
- - db/migrate/20171212081801_add_fiscal_positions.xml
328
- - db/migrate/20180408190101_add_new_plant_variants.xml
329
- - db/migrate/20180409130101_add_common_crop.xml
330
- - db/migrate/20180418085027_add-hour-counter-indicator.xml
331
- - db/migrate/20180709134310_add_centralizing_field_to_accounts.xml
332
- - db/migrate/20180711093131_review_all_accounts_number_and_fallbacks.xml
333
- - db/migrate/20180806080646_edit_centralizing_field_accounts.xml
334
- - db/migrate/20180814184001_add_missing_categories.xml
335
- - db/migrate/20180907160001_edit_accounts_to_unlock_first_run.xml
336
- - db/migrate/20181004220301_add_journal_ledger.xml
337
- - db/migrate/20181205162401_add_intra_vat.xml
338
- - db/migrate/20181213153405_fix_accounting_systems.xml
339
- - db/migrate/20181217155149_fiscal_position_refers_to_accounting_system.xml
340
- - db/migrate/20181217173101_fiscal_position_reference_typo.xml
341
- - db/migrate/20190315154040_add_suspense_account.xml
342
- - db/migrate/20190326110849_add_asset_fixable_to_product_nature_categories.xml
343
- - db/migrate/20190326135443_change_product_nature_category_cultivable_zone_into_land.xml
344
- - db/migrate/20190329133808_change_land_fixed_assets_account_usage.xml
345
- - db/migrate/20190405120711_delete_land_sales_account_and_assign_land_parcels_sell_revenues_to_land.xml
346
- - db/migrate/20190412071057_add_new_fixed_assets_andn_depreciable_accounts.xml
347
- - db/migrate/20190509092804_add_account_exceptional_depreciations_imputations_expenses_for_fixed_assets.xml
348
- - db/migrate/20190514084753_add_approved_input_volume.xml
349
- - db/migrate/20190520072403_add_new_accounts.xml
350
- - db/migrate/20190521170601_add_missing_taxes.xml
351
- - db/migrate/20190611101014_change_deductible_vat_account.xml
352
- - db/migrate/20190620092151_fix_conflicts_in_new_accounts.xml
353
- - db/migrate/20190625152636_change_mixture_seed_product_nature_variant.xml
354
- - db/migrate/20190718130243_remove_services_expenses.xml
355
- - db/migrate/20190801142431_remove_accounts_from_pcg82.xml
356
- - db/migrate/20190807125202_add_nature_to_product_natures.xml
357
- - db/migrate/20190823091727_fix-cubic-meter-per-hectare-symbol.xml
358
- - db/migrate/20190909150402_add_staff_supply_stock_account.xml
359
- - db/migrate/20190913102036_add_caliber_indicator.xml
360
- - db/migrate/20190917161215_add_missing_mass_area_density_units.xml
361
- - db/migrate/20190917161216_update_quintal_symbol.xml
362
- - db/migrate/20190917161217_adds_more_info_to_units.xml
363
- - db/migrate/20190918074757_add_new_accounts.xml
364
- - db/migrate/20191001122750_add_accounts_fixed_assets_related.xml
365
- - db/migrate/20191016152118_add_missing_document_templates.xml
366
- - db/migrate/20191028175001_add_short_balance_sheet.xml
367
- - db/migrate/20191029131921_add_vine_equipments.xml
368
- - db/migrate/20191112132413_remove_roller_from_product_natures.xml
369
- - db/migrate/20191113134626_add_nature_to_new_product_natures.xml
370
- - db/migrate/20191125133327_add_missing_units_and_indicators.xml
371
- - db/migrate/20200107095554_add_signed_field_to_document_nature.xml
372
- - db/migrate/20200305160358_add_varieties_for_phytosanitary.xml
373
- - db/migrate/20200421123503_add_type_to_categories_and_variants.xml
374
- - db/migrate/20200514092205_add_liter_per_hectoliter_unit.xml
375
- - db/migrate/20200722091859_triticale_derivative_of.xml
376
- - db/migrate/20200826000010_add_area_units.xml
377
- - db/migrate/20200826000020_change_trailer_indicators.xml
378
- - db/migrate/20200826000030_add_new_production_systems.xml
379
- - db/migrate/20200826000040_add_viti_abilities.xml
380
- - db/migrate/20200826000060_create_vine_farming_activity_famillies.xml
381
- - db/migrate/20200826000070_remove_certifications_and_vitis_varieties.xml
382
- - db/migrate/20200826000080_add_new_indicators.xml
383
- - db/migrate/20200826000100_add_viti_procedure_actions.xml
384
- - db/migrate/20200826000110_add_vine_puning_systems.xml
385
- - db/migrate/20200826000120_add_vine_procedure_categories.xml
386
- - db/migrate/20200826000130_update_viti_product_nauture_variant.xml
387
- - db/migrate/20200925153320_fix_outgoing_payment_list_document_nature.xml
388
145
  - db/reference.xml
389
146
  - lib/onoma.rb
390
147
  - lib/onoma/item.rb
@@ -446,6 +203,7 @@ files:
446
203
  - lib/onoma/models/product_nature_category.rb
447
204
  - lib/onoma/models/product_nature_variant.rb
448
205
  - lib/onoma/models/production_nature.rb
206
+ - lib/onoma/models/production_support_nature.rb
449
207
  - lib/onoma/models/production_system.rb
450
208
  - lib/onoma/models/production_usage.rb
451
209
  - lib/onoma/models/residue_elimination_method.rb
@@ -471,9 +229,9 @@ files:
471
229
  - onoma.gemspec
472
230
  homepage: https://gitlab.com/ekylibre/onoma
473
231
  licenses:
474
- - MIT
232
+ - AGPL-3.0-only
475
233
  metadata: {}
476
- post_install_message:
234
+ post_install_message:
477
235
  rdoc_options: []
478
236
  require_paths:
479
237
  - lib
@@ -488,8 +246,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
488
246
  - !ruby/object:Gem::Version
489
247
  version: '0'
490
248
  requirements: []
491
- rubygems_version: 3.0.3
492
- signing_key:
249
+ rubyforge_project:
250
+ rubygems_version: 2.6.14.1
251
+ signing_key:
493
252
  specification_version: 4
494
253
  summary: Provides open nomenclature data in a gem
495
254
  test_files: []