onoma 0.6.4 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd8656fc0f161de007a41fc3d02c31b08c8069bc
4
- data.tar.gz: d6ec606641d49be96395960347b2337a1b5a6aad
3
+ metadata.gz: 19a7cd8318c90bfdb53f6bbd5fb73d88de2c0532
4
+ data.tar.gz: 375a7d995be1f542159b52f965b37401ff35d6b2
5
5
  SHA512:
6
- metadata.gz: 8cb202b79918223b521c7e1d47132abc4e3f6e50c7b45764384a9ad799fdc449bc1a30873d505de79cdc22e11c120796d53c7bffb4a8cc0b0ec0effe5a36e52e
7
- data.tar.gz: 044c87b0932162359ea6497bbf645e57c32c7accf916fcbda421ed6555dc11a9ef93ad4c2eb8687636d1b5296321177f942307cbc17742ef5557ce9b2702dcc1
6
+ metadata.gz: fd6121f1ef02e4d74693083c97a405d5e0d4bace8acff8ea93605b82178f387f841050cc666b17e9a42b027a251654f98e0a1ab2adb91db8f750b9d3d16029ff
7
+ data.tar.gz: dddf37403ee890d1d9e3578e29d620b6a393f1415a18c0ab7e929e49914543d7ffb37a4393efb68674deaa0336005ea91b8cbe42f43203bf2077f96414579894
@@ -1905,6 +1905,7 @@ eng:
1905
1905
  acta_category: "Acta category"
1906
1906
  document_natures:
1907
1907
  items:
1908
+ ac_work_sheet: "AC work sheet"
1908
1909
  account_journal_entry_sheet: "Account journal entry sheet"
1909
1910
  activity_cost: "Activity cost"
1910
1911
  animal_husbandry_register: "Animal husbandry register"
@@ -1942,6 +1943,7 @@ eng:
1942
1943
  outgoing_payment_list__standard: "Outgoing payment list"
1943
1944
  pending_vat_register: "Pending VAT register"
1944
1945
  pfi_land_parcel_register: "Phytosanitary Frequency Indicators register"
1946
+ phytosanitary_applicator_sheet: "Applicator sheet"
1945
1947
  phytosanitary_certification: "Phytosanitary certification"
1946
1948
  phytosanitary_register: "Phytosanitary register"
1947
1949
  prescription: "Prescription"
@@ -2163,6 +2165,7 @@ eng:
2163
2165
  element_count: "Element count"
2164
2166
  end_of_life_witness: "End of life witness"
2165
2167
  energy: "Energy"
2168
+ engine_speed: "Engine speed"
2166
2169
  entry_date: "Entry date"
2167
2170
  entry_reason: "Entry reason"
2168
2171
  estimated_harvest_alcoholic_volumetric_concentration: "Estimated harvest alcoholic volumetric concentration"
@@ -2186,6 +2189,7 @@ eng:
2186
2189
  germination_rate: "Germination rate"
2187
2190
  grains_area_density: "Grains area density"
2188
2191
  grains_count: "Grains count"
2192
+ ground_speed: "Ground_speed"
2189
2193
  hagberg_falling_number: "Hagberg falling number"
2190
2194
  healthy: "Healthiness"
2191
2195
  height: "Height"
@@ -2252,6 +2256,8 @@ eng:
2252
2256
  nominal_storable_easement_area: "Nominal storable easement area"
2253
2257
  nominal_storable_net_mass: "Nominal storable net mass"
2254
2258
  nominal_storable_net_volume: "Nominal storable net volume"
2259
+ nozzle_count: "Nozzle count"
2260
+ nozzle_type: "Nozzle type"
2255
2261
  organic_matter_concentration: "Organic matter concentration"
2256
2262
  origin_country_code: "Origin country code"
2257
2263
  origin_identification_number: "Origin identification number"
@@ -2295,6 +2301,8 @@ eng:
2295
2301
  spans_count: "Spans count"
2296
2302
  species_purity: "Species purity"
2297
2303
  specific_weight: "Specific weight"
2304
+ spray_mix_volume_area_density: "Spray mix volume area density"
2305
+ spray_pressure: "Spray pressure"
2298
2306
  stakes_count: "Stakes count"
2299
2307
  subsoil_nature: "Subsoil nature"
2300
2308
  sucrose_concentration: "Sucrose concentration"
@@ -4702,6 +4710,8 @@ eng:
4702
4710
  quintal: "Quintal"
4703
4711
  quintal_per_hectare: "Quintal per hectare"
4704
4712
  radian: "Radian"
4713
+ radian_per_second: "Radian per second"
4714
+ revolution_per_second: "Revolution per second"
4705
4715
  second: "Second"
4706
4716
  square_centimeter: "Square centimeter"
4707
4717
  square_meter: "Square meter"
@@ -7570,4 +7580,4 @@ eng:
7570
7580
  wine_transformers: "Wine transformers"
7571
7581
  name: "Working sets"
7572
7582
  property_natures:
7573
- expression: "Expression"
7583
+ expression: "Expression"
@@ -1977,6 +1977,7 @@ fra:
1977
1977
  acta_category: "Catégorie ACTA"
1978
1978
  document_natures:
1979
1979
  items:
1980
+ ac_work_sheet: "Fiche de chantier ETA"
1980
1981
  account_journal_entry_sheet: "Extrait de compte"
1981
1982
  activity_cost: "Coûts de production détaillés"
1982
1983
  animal_husbandry_register: "Registre d’élevage"
@@ -2016,6 +2017,7 @@ fra:
2016
2017
  outgoing_payment_list__standard: "Lot de décaissements"
2017
2018
  pending_vat_register: "État de TVA préparatoire"
2018
2019
  pfi_land_parcel_register: "Bilan IFT"
2020
+ phytosanitary_applicator_sheet: "Fiche applicateur"
2019
2021
  phytosanitary_certification: "Certi-Phyto"
2020
2022
  phytosanitary_register: "Registre phytosanitaire"
2021
2023
  prescription: "Prescription vétérinaire"
@@ -2270,6 +2272,7 @@ fra:
2270
2272
  element_count: "Nombre d'éléments"
2271
2273
  end_of_life_witness: "Témoin du décès"
2272
2274
  energy: "Énergie"
2275
+ engine_speed: "Régime"
2273
2276
  entry_date: "Date d'entrée"
2274
2277
  entry_reason: "Motif d'entrée"
2275
2278
  estimated_harvest_alcoholic_volumetric_concentration: "TAVP vendange"
@@ -2293,6 +2296,7 @@ fra:
2293
2296
  germination_rate: "Taux de germination"
2294
2297
  grains_area_density: "Grains par surface"
2295
2298
  grains_count: "Nombre de grains"
2299
+ ground_speed: "Vitesse"
2296
2300
  hagberg_falling_number: "Temps de chute de Hagberg"
2297
2301
  healthy: "Bonne santé"
2298
2302
  height: "Hauteur"
@@ -2359,6 +2363,8 @@ fra:
2359
2363
  nominal_storable_easement_area: "Capacité de stockage surfacique nominale (emprise au sol)"
2360
2364
  nominal_storable_net_mass: "Capacité de stockage massique nominale"
2361
2365
  nominal_storable_net_volume: "Capacité de stockage volumique nominale"
2366
+ nozzle_count: "Nombre de buses"
2367
+ nozzle_type: "Couleur/type de buses"
2362
2368
  organic_matter_concentration: "Teneur en matière organique"
2363
2369
  origin_country_code: "Code pays d'origine"
2364
2370
  origin_identification_number: "Numéro d'identification d'origine"
@@ -2403,6 +2409,8 @@ fra:
2403
2409
  spans_count: "Nombre de travées"
2404
2410
  species_purity: "Pureté spécifique"
2405
2411
  specific_weight: "Poids spécifique"
2412
+ spray_mix_volume_area_density: "Volume de bouillie surfacique"
2413
+ spray_pressure: "Pression"
2406
2414
  stakes_count: "Nombre de piquets"
2407
2415
  subsoil_nature: "Type de sous-sol"
2408
2416
  sucrose_concentration: "Teneur en sucre"
@@ -4953,6 +4961,8 @@ fra:
4953
4961
  quintal: "Quintal"
4954
4962
  quintal_per_hectare: "Quintal par hectare"
4955
4963
  radian: "Radian"
4964
+ radian_per_second: "Radian par seconde"
4965
+ revolution_per_second: "Tour par minute"
4956
4966
  second: "Seconde"
4957
4967
  square_centimeter: "Centimètre carré"
4958
4968
  square_meter: "Mètre carré"
@@ -7779,4 +7789,4 @@ fra:
7779
7789
  wine_transformers: "Produits œnologiques"
7780
7790
  name: "Ensembles de produits"
7781
7791
  property_natures:
7782
- expression: "Expression"
7792
+ expression: "Expression"
data/db/reference.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0"?>
2
- <nomenclatures xmlns="http://www.ekylibre.org/XML/2013/nomenclatures" version="20220206082500">
2
+ <nomenclatures xmlns="http://www.ekylibre.org/XML/2013/nomenclatures" version="20220504085540">
3
3
  <nomenclature name="abilities" translateable="true">
4
4
  <properties>
5
5
  <property name="parameters" type="choice_list" choices="variety, issue_nature"/>
@@ -1913,6 +1913,7 @@
1913
1913
  <item name="amount_of_substance" symbol="mol"/>
1914
1914
  <item name="amount_of_substance_density" symbol="mol/kg"/>
1915
1915
  <item name="angle" symbol="rad"/>
1916
+ <item name="angular_velocity" symbol="rad/s"/>
1916
1917
  <item name="concentration" symbol="./m&#xB3;"/>
1917
1918
  <item name="distance" symbol="m"/>
1918
1919
  <item name="distance_speed" symbol="m/s"/>
@@ -1964,10 +1965,12 @@
1964
1965
  </nomenclature>
1965
1966
  <nomenclature name="document_natures" translateable="true">
1966
1967
  <properties>
1968
+ <property name="active" type="boolean" default="true"/>
1967
1969
  <property name="category" type="item_list" choices="document_categories"/>
1968
1970
  <property name="signed" type="boolean" default="false"/>
1969
1971
  </properties>
1970
1972
  <items>
1973
+ <item name="ac_work_sheet" category="management" active="false"/>
1971
1974
  <item name="account_journal_entry_sheet" category="accountancy"/>
1972
1975
  <item name="activity_cost" category="management"/>
1973
1976
  <item name="animal_husbandry_register" category="animal_farming"/>
@@ -2009,6 +2012,7 @@
2009
2012
  <item name="outgoing_payment_list__standard" category="exploitation"/>
2010
2013
  <item name="pending_vat_register" category="accountancy"/>
2011
2014
  <item name="pfi_land_parcel_register" category="land_parcel_management"/>
2015
+ <item name="phytosanitary_applicator_sheet" category="management"/>
2012
2016
  <item name="phytosanitary_certification" category="land_parcel_management"/>
2013
2017
  <item name="phytosanitary_register" category="land_parcel_management"/>
2014
2018
  <item name="prescription" category="health"/>
@@ -2218,6 +2222,7 @@
2218
2222
  <item name="element_count" datatype="integer"/>
2219
2223
  <item name="end_of_life_witness" datatype="string"/>
2220
2224
  <item name="energy" datatype="measure" unit="kilowatt_hour"/>
2225
+ <item name="engine_speed" datatype="measure" unit="revolution_per_minute"/>
2221
2226
  <item name="entry_date" datatype="string"/>
2222
2227
  <item name="entry_reason" datatype="string"/>
2223
2228
  <item name="estimated_harvest_alcoholic_volumetric_concentration" datatype="measure" unit="volume_percent"/>
@@ -2241,6 +2246,7 @@
2241
2246
  <item name="germination_rate" datatype="measure" unit="percent"/>
2242
2247
  <item name="grains_area_density" datatype="measure" unit="unity_per_square_meter"/>
2243
2248
  <item name="grains_count" datatype="measure" unit="thousand"/>
2249
+ <item name="ground_speed" datatype="measure" unit="kilometer_per_hour"/>
2244
2250
  <item name="hagberg_falling_number" datatype="measure" unit="second"/>
2245
2251
  <item name="healthy" datatype="boolean"/>
2246
2252
  <item name="height" datatype="measure" unit="meter"/>
@@ -2307,6 +2313,8 @@
2307
2313
  <item name="nominal_storable_easement_area" datatype="measure" unit="square_meter"/>
2308
2314
  <item name="nominal_storable_net_mass" datatype="measure" unit="kilogram"/>
2309
2315
  <item name="nominal_storable_net_volume" datatype="measure" unit="liter"/>
2316
+ <item name="nozzle_count" datatype="integer"/>
2317
+ <item name="nozzle_type" datatype="string"/>
2310
2318
  <item name="organic_matter_concentration" datatype="measure" unit="mass_percent"/>
2311
2319
  <item name="origin_country_code" datatype="string"/>
2312
2320
  <item name="origin_identification_number" datatype="string"/>
@@ -2350,6 +2358,8 @@
2350
2358
  <item name="spans_count" datatype="integer"/>
2351
2359
  <item name="species_purity" datatype="measure" unit="percent"/>
2352
2360
  <item name="specific_weight" datatype="measure" unit="kilogram_per_hectoliter"/>
2361
+ <item name="spray_mix_volume_area_density" datatype="measure" unit="liter_per_hectare"/>
2362
+ <item name="spray_pressure" datatype="measure" unit="bar"/>
2353
2363
  <item name="stakes_count" datatype="integer" gathering="proportional_to_population"/>
2354
2364
  <item name="subsoil_nature" datatype="choice" choices="soil_natures"/>
2355
2365
  <item name="sucrose_concentration" datatype="measure" unit="mass_percent"/>
@@ -4315,7 +4325,7 @@
4315
4325
  <item name="sower" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="sow" variable_indicators="geolocation" frozen_indicators="nominal_storable_net_volume, application_width, rows_count, theoretical_working_speed" nature="equipment"/>
4316
4326
  <item name="species" category="fruit" variety="pollen" derivative_of="plant" population_counting="decimal" variable_indicators="reference_year" frozen_indicators="net_mass, net_volume" nature="article"/>
4317
4327
  <item name="spinach" category="vegetable" variety="vegetable" derivative_of="spinacia_oleracea" population_counting="decimal" abilities="feed(animal)" variable_indicators="" frozen_indicators="net_mass" nature="article"/>
4318
- <item name="sprayer" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="spray" variable_indicators="geolocation" frozen_indicators="nominal_storable_net_volume, application_width, theoretical_working_speed" nature="equipment"/>
4328
+ <item name="sprayer" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="spray" variable_indicators="geolocation, application_width, element_count, nominal_storable_net_volume, rows_count, theoretical_working_speed" frozen_indicators="" nature="equipment"/>
4319
4329
  <item name="spread_renting" category="equipment_rent" variety="service" population_counting="decimal" abilities="spread(preparation)" variable_indicators="" frozen_indicators="usage_duration" nature="fee_and_service"/>
4320
4330
  <item name="spreader" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="spread(preparation)" variable_indicators="geolocation" frozen_indicators="nominal_storable_net_volume, application_width, theoretical_working_speed" nature="equipment"/>
4321
4331
  <item name="spreader_trailer" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="store(excrement), move, spread(excrement), store(raw_matter), store_fluid, spread(preparation)" variable_indicators="geolocation" frozen_indicators="nominal_storable_net_volume, nominal_storable_net_mass" nature="equipment"/>
@@ -4331,7 +4341,7 @@
4331
4341
  <item name="telescopic_handler" category="equipment" variety="handling_equipment" population_counting="unitary" variable_indicators="geolocation" abilities="catch(product)" nature="equipment"/>
4332
4342
  <item name="tool" category="equipment" variety="equipment" population_counting="unitary" nature="equipment"/>
4333
4343
  <item name="topper" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="cut" frozen_indicators="application_width, theoretical_working_speed" variable_indicators="geolocation" nature="equipment"/>
4334
- <item name="tractor" category="equipment" variety="tractor" population_counting="unitary" abilities="catch(matter), move, tow(matter), consume(oil), consume(fuel)" variable_indicators="net_surface_area, motor_power, geolocation, hour_counter" frozen_indicators="" linkage_points="rear, front" nature="equipment"/>
4344
+ <item name="tractor" category="equipment" variety="tractor" population_counting="unitary" abilities="catch(matter), move, tow(matter), consume(oil), consume(fuel)" variable_indicators="fuel_consumption, geolocation, motor_power, hour_counter, ground_speed" frozen_indicators="" linkage_points="rear, front" nature="equipment"/>
4335
4345
  <item name="trade_show" category="trade_show" variety="service" population_counting="integer" variable_indicators="" nature="fee_and_service"/>
4336
4346
  <item name="trailer" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="store_fluid, store(grain), store(grass), store(raw_matter), store(silage), move" variable_indicators="geolocation" frozen_indicators="nominal_storable_net_volume, nominal_storable_net_mass" nature="equipment"/>
4337
4347
  <item name="training_course" category="service" variety="service" population_counting="decimal" variable_indicators="" frozen_indicators="usage_duration" nature="fee_and_service"/>
@@ -10259,6 +10269,8 @@
10259
10269
  <item name="quintal_per_square_centimeter" dimension="mass_area_density" symbol="qt/cm&#xB2;" a="1000000.0" base_unit="quintal" base_dimension="mass" repartition_unit="square_centimeter" repartition_dimension="surface_area"/>
10260
10270
  <item name="quintal_per_square_meter" dimension="mass_area_density" symbol="qt/m&#xB2;" a="100.0" base_unit="quintal" base_dimension="mass" repartition_unit="square_meter" repartition_dimension="surface_area"/>
10261
10271
  <item name="radian" dimension="angle" symbol="rad" base_unit="radian" base_dimension="angle"/>
10272
+ <item name="radian_per_second" dimension="angular_velocity" symbol="rad/s" repartition_unit="second" repartition_dimension="time" base_unit="radian" base_dimension="angle"/>
10273
+ <item name="revolution_per_minute" dimension="angular_velocity" symbol="tr/min" a="0.10471975511965977" d="60.0" repartition_unit="minute" repartition_dimension="time"/>
10262
10274
  <item name="second" dimension="time" symbol="s" base_unit="second" base_dimension="time"/>
10263
10275
  <item name="square_centimeter" dimension="surface_area" symbol="cm&#xB2;" a="0.0001" base_unit="square_centimeter" base_dimension="surface_area"/>
10264
10276
  <item name="square_meter" dimension="surface_area" symbol="m&#xB2;" base_unit="square_meter" base_dimension="surface_area"/>
data/lib/onoma/item.rb CHANGED
@@ -283,7 +283,7 @@ module Onoma
283
283
  break if value
284
284
  end
285
285
  end
286
- value ||= cast_property(name, property.default) if property.default
286
+ value = cast_property(name, property.default) if property.default && value.nil?
287
287
  end
288
288
  value
289
289
  end
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.6.4'
4
+ VERSION = '0.7.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onoma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ekylibre developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-11 00:00:00.000000000 Z
11
+ date: 2022-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport