onoma 0.1.1 → 0.2.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: cdb31f36df002f9f6009632ad9e191f0c5b1c220
4
- data.tar.gz: 57d6a77d56d7d7cc8f7c7c988738904bb3d2b0e7
3
+ metadata.gz: 2a3b9764e9e343c16a7c54a7b8c3646f20f694f9
4
+ data.tar.gz: 6a682d814629b5ada657fca5b0cf36da7ce8b4a3
5
5
  SHA512:
6
- metadata.gz: 2430b5d50a5640dc61862ff3e77dbf781e77c86b1aa1594dd2a3abd09af877b1c7d9da8a3fe21796b309b3fc39808c3baca402b27dc116133d4bd3984a5c8082
7
- data.tar.gz: 59a1cf23541352517b0d54b27bbcbc7f985f0fed82d3cf94ecc2ac6b50b0a6ae90a804e73f89febb9fcd1bafadba819c8eae1f36405610472665996f6113c924
6
+ metadata.gz: 06c2f3df5cf09c18784e53bb902ea1f32d406f4958987a8be505a5c9c240fbd9945d0b3406939819f6c71bfb17dfb41d8d41e5787bf43027f9941fd2a8b9f8c9
7
+ data.tar.gz: 21df3d6b0e9d228d480fd4d99d803952bfcd33e4bcc00ffebc2fc897fcab5ac49797e33bce0d52841365498db8453ef003a75c18f3d7747fd968b004d774102e
data/README.md CHANGED
@@ -22,7 +22,19 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ In your project adds the gem in your `Gemfile` and use it like example:
26
+
27
+ ```ruby
28
+ Onoma.nomenclature_names # Returns an array of all nomenclature names
29
+ n = Onoma.find(:molecules) # Returns an Onoma::Nomenclature object
30
+ n.human_name # Returns translation in current locale of the nomenclature
31
+ n.properties # Returns the array of properties of the nomenclature
32
+
33
+ n.find(:dinitrogen) # Returns an Onoma::Item object
34
+ n.human_name # Returns translation in current locale of the item
35
+ n.formula # Returns property 'formula' defined in nomenclatures for given item
36
+
37
+ ```
26
38
 
27
39
  ## Development
28
40
 
@@ -3236,6 +3236,7 @@ arb:
3236
3236
  brassicaceae_fungicide: "كرنبية فطريات"
3237
3237
  buckwheat_crop: "الحنطة السوداء المحاصيل"
3238
3238
  buckwheat_grain: "الحنطة السوداء الحبوب"
3239
+ # buckwheat_seed: "Buckwheat seed"
3239
3240
  building: "بناء"
3240
3241
  building_division: "تقسيم المبنى"
3241
3242
  building_insurance: "بناء التأمين"
@@ -3270,6 +3271,7 @@ arb:
3270
3271
  carriage: "نقل"
3271
3272
  carrot: "جزر"
3272
3273
  carrot_crop: "محصول الجزر"
3274
+ # carrot_seed: "Carrot seed"
3273
3275
  cattle_compost: "الماشية السماد"
3274
3276
  cattle_herd: "قطعان الماشية"
3275
3277
  cattle_liquid_slurry: "الماشية الطين السائل"
@@ -3516,6 +3518,7 @@ arb:
3516
3518
  grass_silage: "العشب السيلاج"
3517
3519
  green_compost: "السماد الأخضر"
3518
3520
  grinder: "طاحونة"
3521
+ # growth_regulator: "Growth regulator"
3519
3522
  guineafowl_manure: "دجاج حبشي السماد"
3520
3523
  hand_drawn: "مرسومة باليد"
3521
3524
  hanging_scroll: "معلق التمرير"
@@ -3660,6 +3663,7 @@ arb:
3660
3663
  nematicide: "ديدان"
3661
3664
  nibble_lamb_meat: "لحوم الضأن عاب"
3662
3665
  nomacorc_cork: "Nomacorc الفلين"
3666
+ # oat_grain: "Oat grain"
3663
3667
  oenological_yeast_sc_500g: "الخميرة Oenological الشوري 500G"
3664
3668
  office_building: "مبنى المكاتب"
3665
3669
  office_building_division: "تقسيم مبنى المكاتب"
@@ -3754,6 +3758,9 @@ arb:
3754
3758
  rubisko_wheat_crop: "محصول القمح Rubisko"
3755
3759
  running_water: "المياه الجارية"
3756
3760
  rye_crop: "الجاودار المحاصيل"
3761
+ # rye_grain: "Rye grain"
3762
+ # rye_seed: "Rye seed"
3763
+ # rye_straw: "Rye straw"
3757
3764
  saffron_crop: "الزعفران المحاصيل"
3758
3765
  saffron_pollen: "الزعفران حبوب اللقاح"
3759
3766
  saffron_seedling: "الزعفران الشتلات"
@@ -3784,6 +3791,7 @@ arb:
3784
3791
  sower: "زارع"
3785
3792
  soy_crop: "محصول فول الصويا"
3786
3793
  soy_grain: "حبوب الصويا"
3794
+ # soy_seed: "Soy seed"
3787
3795
  spelt_grain: "الحبوب متهجى"
3788
3796
  spelt_seed_25: "البذور متهجى 25"
3789
3797
  spelt_wheat_crop: "محصول القمح متهجى"
@@ -3824,6 +3832,8 @@ arb:
3824
3832
  trimmer: "الانتهازي"
3825
3833
  triticale_crop: "محصول فول الصويا"
3826
3834
  triticale_grain: "حبوب فول الصويا"
3835
+ # triticale_seed: "Triticale seed"
3836
+ # triticale_straw: "Triticale straw"
3827
3837
  truck: "شاحنة"
3828
3838
  turnip: "لفت نبات"
3829
3839
  uncover: "كشف"
@@ -4001,6 +4011,7 @@ arb:
4001
4011
  grape_trailer: "العنب مقطورة"
4002
4012
  grass: "عشب"
4003
4013
  grinder: "طاحونة"
4014
+ # growth_regulator: "Growth regulator"
4004
4015
  hand_drawn: "مرسومة باليد"
4005
4016
  harrow: "مسلفة"
4006
4017
  harvest_insurance: "التأمين الحصاد"
@@ -4506,6 +4517,10 @@ arb:
4506
4517
  acipenser_sturio: "أسيبنسر sturio"
4507
4518
  acipenser_transmontanus: "أسيبنسر ترانسمونتانوس"
4508
4519
  # acipenseridae: "Acipenseridae"
4520
+ # actinidia: "Actinidia"
4521
+ # actinidia_chinensis: "Actinidia chinensis"
4522
+ # actinidia_deliciosa: "Actinidia deliciosa"
4523
+ # actinidiaceae: "Actinidiaceae"
4509
4524
  actinopterygii: "شعاعيات الزعانف"
4510
4525
  # adoxa: "Adoxa"
4511
4526
  adoxaceae: "مسكية"
@@ -3227,6 +3227,7 @@ cmn:
3227
3227
  brassicaceae_fungicide: "十字花科杀菌剂"
3228
3228
  buckwheat_crop: "荞麦作物"
3229
3229
  buckwheat_grain: "荞麦粒"
3230
+ # buckwheat_seed: "Buckwheat seed"
3230
3231
  building: "建造"
3231
3232
  building_division: "建设司"
3232
3233
  building_insurance: "建设保险"
@@ -3261,6 +3262,7 @@ cmn:
3261
3262
  carriage: "运输"
3262
3263
  carrot: "胡萝卜"
3263
3264
  carrot_crop: "胡萝卜作物"
3265
+ # carrot_seed: "Carrot seed"
3264
3266
  cattle_compost: "牛堆肥"
3265
3267
  cattle_herd: "牛群"
3266
3268
  cattle_liquid_slurry: "牛液浆"
@@ -3507,6 +3509,7 @@ cmn:
3507
3509
  grass_silage: "青贮草"
3508
3510
  green_compost: "绿色堆肥"
3509
3511
  grinder: "磨床"
3512
+ # growth_regulator: "Growth regulator"
3510
3513
  guineafowl_manure: "珠鸡粪便"
3511
3514
  hand_drawn: "手绘"
3512
3515
  hanging_scroll: "幛"
@@ -3651,6 +3654,7 @@ cmn:
3651
3654
  nematicide: "杀线虫剂"
3652
3655
  nibble_lamb_meat: "四位羊肉"
3653
3656
  nomacorc_cork: "诺玛科瓶塞"
3657
+ # oat_grain: "Oat grain"
3654
3658
  oenological_yeast_sc_500g: "酿酒酵母SC500克"
3655
3659
  office_building: "办公楼"
3656
3660
  office_building_division: "办公楼师"
@@ -3745,6 +3749,9 @@ cmn:
3745
3749
  rubisko_wheat_crop: "Rubisko小麦作物"
3746
3750
  running_water: "自来水"
3747
3751
  rye_crop: "黑麦作物"
3752
+ # rye_grain: "Rye grain"
3753
+ # rye_seed: "Rye seed"
3754
+ # rye_straw: "Rye straw"
3748
3755
  saffron_crop: "藏红花作物"
3749
3756
  saffron_pollen: "藏红花花粉"
3750
3757
  saffron_seedling: "藏红花苗"
@@ -3775,6 +3782,7 @@ cmn:
3775
3782
  sower: "索维"
3776
3783
  soy_crop: "大豆作物"
3777
3784
  soy_grain: "大豆谷物"
3785
+ # soy_seed: "Soy seed"
3778
3786
  spelt_grain: "斯佩耳特小麦籽粒"
3779
3787
  spelt_seed_25: "斯佩耳特小麦种子25"
3780
3788
  spelt_wheat_crop: "斯佩耳特小麦作物"
@@ -3815,6 +3823,8 @@ cmn:
3815
3823
  trimmer: "裁纸机"
3816
3824
  triticale_crop: "黑麦作物"
3817
3825
  triticale_grain: "小黑麦"
3826
+ # triticale_seed: "Triticale seed"
3827
+ # triticale_straw: "Triticale straw"
3818
3828
  truck: "卡车"
3819
3829
  turnip: "芜菁"
3820
3830
  uncover: "揭露"
@@ -3992,6 +4002,7 @@ cmn:
3992
4002
  grape_trailer: "葡萄拖车"
3993
4003
  grass: "草"
3994
4004
  grinder: "磨床"
4005
+ # growth_regulator: "Growth regulator"
3995
4006
  hand_drawn: "手绘"
3996
4007
  harrow: "耙"
3997
4008
  harvest_insurance: "嘉实保险"
@@ -4497,6 +4508,10 @@ cmn:
4497
4508
  acipenser_sturio: "鲟sturio"
4498
4509
  acipenser_transmontanus: "鲟transmontanus"
4499
4510
  acipenseridae: "鲟"
4511
+ # actinidia: "Actinidia"
4512
+ # actinidia_chinensis: "Actinidia chinensis"
4513
+ # actinidia_deliciosa: "Actinidia deliciosa"
4514
+ # actinidiaceae: "Actinidiaceae"
4500
4515
  actinopterygii: "辐"
4501
4516
  adoxa: "五福花"
4502
4517
  adoxaceae: "五福花科"
@@ -3227,6 +3227,7 @@ deu:
3227
3227
  brassicaceae_fungicide: "Brassicaceae Fungizid"
3228
3228
  buckwheat_crop: "Buchweizen Ernte"
3229
3229
  buckwheat_grain: "Buchweizenkorn"
3230
+ # buckwheat_seed: "Buckwheat seed"
3230
3231
  building: "Gebäude"
3231
3232
  building_division: "Hochbausparte"
3232
3233
  building_insurance: "Gebäudeversicherung"
@@ -3261,6 +3262,7 @@ deu:
3261
3262
  carriage: "Wagen"
3262
3263
  carrot: "Karotte"
3263
3264
  carrot_crop: "Karottenernte"
3265
+ # carrot_seed: "Carrot seed"
3264
3266
  cattle_compost: "Cattle Kompost"
3265
3267
  cattle_herd: "Rinderherde"
3266
3268
  cattle_liquid_slurry: "Cattle flüssigen Brei"
@@ -3507,6 +3509,7 @@ deu:
3507
3509
  grass_silage: "Grassilage"
3508
3510
  green_compost: "Grünkompost"
3509
3511
  grinder: "Schleifer"
3512
+ # growth_regulator: "Growth regulator"
3510
3513
  guineafowl_manure: "Guineafowl Gülle"
3511
3514
  hand_drawn: "Handgemalt"
3512
3515
  hanging_scroll: "Hängerolle"
@@ -3651,6 +3654,7 @@ deu:
3651
3654
  nematicide: "Nematizid"
3652
3655
  nibble_lamb_meat: "Knabbern Lammfleisch"
3653
3656
  nomacorc_cork: "Nomacorc Kork"
3657
+ # oat_grain: "Oat grain"
3654
3658
  oenological_yeast_sc_500g: "Önologischen Hefe sc 500g"
3655
3659
  office_building: "Bürogebäude"
3656
3660
  office_building_division: "Bürogebäude Division"
@@ -3745,6 +3749,9 @@ deu:
3745
3749
  rubisko_wheat_crop: "Rubisko Weizenernte"
3746
3750
  running_water: "Fließendes Wasser"
3747
3751
  rye_crop: "Rye Ernte"
3752
+ # rye_grain: "Rye grain"
3753
+ # rye_seed: "Rye seed"
3754
+ # rye_straw: "Rye straw"
3748
3755
  saffron_crop: "Safran Ernte"
3749
3756
  saffron_pollen: "Saffron Pollen"
3750
3757
  saffron_seedling: "Saffron Sämling"
@@ -3775,6 +3782,7 @@ deu:
3775
3782
  sower: "Sämann"
3776
3783
  soy_crop: "Soja-Ernte"
3777
3784
  soy_grain: "Soja-Korn"
3785
+ # soy_seed: "Soy seed"
3778
3786
  spelt_grain: "Dinkel"
3779
3787
  spelt_seed_25: "Dinkel Samen 25"
3780
3788
  spelt_wheat_crop: "Dinkel Weizenernte"
@@ -3815,6 +3823,8 @@ deu:
3815
3823
  # trimmer: "Trimmer"
3816
3824
  triticale_crop: "Triticale Ernte"
3817
3825
  triticale_grain: "Triticale Korn"
3826
+ # triticale_seed: "Triticale seed"
3827
+ # triticale_straw: "Triticale straw"
3818
3828
  truck: "LKW"
3819
3829
  turnip: "Steckrübe"
3820
3830
  uncover: "Aufdecken"
@@ -3992,6 +4002,7 @@ deu:
3992
4002
  grape_trailer: "Grape Anhänger"
3993
4003
  grass: "Gras"
3994
4004
  grinder: "Schleifer"
4005
+ # growth_regulator: "Growth regulator"
3995
4006
  hand_drawn: "Handgemalt"
3996
4007
  harrow: "Egge"
3997
4008
  harvest_insurance: "Ernteversicherung"
@@ -4497,6 +4508,10 @@ deu:
4497
4508
  # acipenser_sturio: "Acipenser sturio"
4498
4509
  # acipenser_transmontanus: "Acipenser transmontanus"
4499
4510
  # acipenseridae: "Acipenseridae"
4511
+ # actinidia: "Actinidia"
4512
+ # actinidia_chinensis: "Actinidia chinensis"
4513
+ # actinidia_deliciosa: "Actinidia deliciosa"
4514
+ # actinidiaceae: "Actinidiaceae"
4500
4515
  # actinopterygii: "Actinopterygii"
4501
4516
  # adoxa: "Adoxa"
4502
4517
  # adoxaceae: "Adoxaceae"
@@ -3249,6 +3249,7 @@ eng:
3249
3249
  brassicaceae_fungicide: "Brassicaceae fungicide"
3250
3250
  buckwheat_crop: "Buckwheat crop"
3251
3251
  buckwheat_grain: "Buckwheat grain"
3252
+ buckwheat_seed: "Buckwheat seed"
3252
3253
  building: "Building"
3253
3254
  building_division: "Building division"
3254
3255
  building_insurance: "Building insurance"
@@ -3283,6 +3284,7 @@ eng:
3283
3284
  carriage: "Carriage"
3284
3285
  carrot: "Carrot"
3285
3286
  carrot_crop: "Carrot crop"
3287
+ carrot_seed: "Carrot seed"
3286
3288
  cattle_compost: "Cattle compost"
3287
3289
  cattle_herd: "Cattle herd"
3288
3290
  cattle_liquid_slurry: "Cattle liquid slurry"
@@ -3529,6 +3531,7 @@ eng:
3529
3531
  grass_silage: "Grass silage"
3530
3532
  green_compost: "Green compost"
3531
3533
  grinder: "Grinder"
3534
+ growth_regulator: "Growth regulator"
3532
3535
  guineafowl_manure: "Guineafowl manure"
3533
3536
  hand_drawn: "Hand drawn"
3534
3537
  hanging_scroll: "Hanging scroll"
@@ -3673,6 +3676,7 @@ eng:
3673
3676
  nematicide: "Nematicide"
3674
3677
  nibble_lamb_meat: "Nibble lamb meat"
3675
3678
  nomacorc_cork: "Nomacorc cork"
3679
+ oat_grain: "Oat grain"
3676
3680
  oenological_yeast_sc_500g: "Oenological yeast sc 500g"
3677
3681
  office_building: "Office building"
3678
3682
  office_building_division: "Office building division"
@@ -3767,6 +3771,9 @@ eng:
3767
3771
  rubisko_wheat_crop: "Rubisko wheat crop"
3768
3772
  running_water: "Running water"
3769
3773
  rye_crop: "Rye crop"
3774
+ rye_grain: "Rye grain"
3775
+ rye_seed: "Rye seed"
3776
+ rye_straw: "Rye straw"
3770
3777
  saffron_crop: "Saffron crop"
3771
3778
  saffron_pollen: "Saffron pollen"
3772
3779
  saffron_seedling: "Saffron seedling"
@@ -3797,6 +3804,7 @@ eng:
3797
3804
  sower: "Seeder"
3798
3805
  soy_crop: "Soy crop"
3799
3806
  soy_grain: "Soy grain"
3807
+ soy_seed: "Soy seed"
3800
3808
  spelt_grain: "Spelt grain"
3801
3809
  spelt_seed_25: "Spelt seed 25"
3802
3810
  spelt_wheat_crop: "Spelt wheat crop"
@@ -3837,6 +3845,8 @@ eng:
3837
3845
  trimmer: "Trimmer"
3838
3846
  triticale_crop: "Triticale crop"
3839
3847
  triticale_grain: "Triticale grain"
3848
+ triticale_seed: "Triticale seed"
3849
+ triticale_straw: "Triticale straw"
3840
3850
  truck: "Truck"
3841
3851
  turnip: "Turnip"
3842
3852
  uncover: "Uncover"
@@ -4014,6 +4024,7 @@ eng:
4014
4024
  grape_trailer: "Grape trailer"
4015
4025
  grass: "Grass"
4016
4026
  grinder: "Grinder"
4027
+ growth_regulator: "Growth regulator"
4017
4028
  hand_drawn: "Hand drawn"
4018
4029
  harrow: "Harrow"
4019
4030
  harvest_insurance: "Harvest insurance"
@@ -4513,6 +4524,10 @@ eng:
4513
4524
  acipenser_sturio: "Acipenser sturio" #< acipenser
4514
4525
  acipenser_transmontanus: "Acipenser transmontanus" #< acipenser
4515
4526
  acipenseridae: "Acipenseridae" #< actinopterygii
4527
+ actinidia: "Actinidia" #< actinidiaceae
4528
+ actinidia_chinensis: "Actinidia chinensis" #< actinidia
4529
+ actinidia_deliciosa: "Actinidia deliciosa" #< actinidia
4530
+ actinidiaceae: "Actinidiaceae" #< plant
4516
4531
  actinopterygii: "Actinopterygii" #< animal
4517
4532
  adoxa: "Adoxa" #< adoxaceae
4518
4533
  adoxaceae: "Adoxaceae" #< plant
@@ -3382,6 +3382,7 @@ fra:
3382
3382
  brassicaceae_fungicide: "Fongicide colza"
3383
3383
  buckwheat_crop: "Culture de sarrasin"
3384
3384
  buckwheat_grain: "Graine de sarrasin"
3385
+ buckwheat_seed: "Semence de sarrasin"
3385
3386
  building: "Bâtiment"
3386
3387
  building_division: "Pièce ou zone d’un bâtiment"
3387
3388
  building_insurance: "Assurance (bâtiment)"
@@ -3416,6 +3417,7 @@ fra:
3416
3417
  carriage: "Transport"
3417
3418
  carrot: "Carotte"
3418
3419
  carrot_crop: "Culture de carotte"
3420
+ carrot_seed: "Semence de carotte"
3419
3421
  cattle_compost: "Compost de bovins"
3420
3422
  cattle_herd: "Troupeau de bovins"
3421
3423
  cattle_liquid_slurry: "Purin de bovins"
@@ -3663,6 +3665,7 @@ fra:
3663
3665
  grass_silage: "Ensilage d’herbe"
3664
3666
  green_compost: "Compost de déchets verts"
3665
3667
  grinder: "Broyeur"
3668
+ growth_regulator: "Régulateur de croissance"
3666
3669
  guineafowl_manure: "Fumier de pintades"
3667
3670
  hand_drawn: "Tireuse"
3668
3671
  hanging_scroll: "Kakémono"
@@ -3808,10 +3811,11 @@ fra:
3808
3811
  nematicide: "Nématicide"
3809
3812
  nibble_lamb_meat: "Viande d’agneau broutard"
3810
3813
  nomacorc_cork: "Bouchon Nomacorc"
3814
+ oat_grain: "Graines d'avoine"
3811
3815
  oenological_yeast_sc_500g: "Levure œnologique ‒ sachet de 500g"
3812
3816
  office_building: "Bureau"
3813
3817
  office_building_division: "Pièce de bureau"
3814
- oilrape_grain: "Graine de colza"
3818
+ oilrape_grain: "Graines de colza"
3815
3819
  onion: "Oignon"
3816
3820
  orchards_harvest_insurance: "Assurance récolte - Vergers"
3817
3821
  other_herbicide: "Herbicide autre"
@@ -3903,6 +3907,9 @@ fra:
3903
3907
  rubisko_wheat_crop: "Culture de blé Rubisko"
3904
3908
  running_water: "Eau du réseau"
3905
3909
  rye_crop: "Culture de seigle"
3910
+ rye_grain: "Graines de seigle"
3911
+ rye_seed: "Semence de seigle"
3912
+ rye_straw: "Paille de seigle"
3906
3913
  saffron_crop: "Culture de safran"
3907
3914
  saffron_pollen: "Pollen de safran"
3908
3915
  saffron_seedling: "Bulbe de safran"
@@ -3932,8 +3939,9 @@ fra:
3932
3939
  sorghum_seed_25: "Semence de sorgho ‒ sac de 25kg"
3933
3940
  sower: "Semoir"
3934
3941
  soy_crop: "Culture de soja"
3935
- soy_grain: "Graine de soja"
3936
- spelt_grain: "Graine d’épeautre"
3942
+ soy_grain: "Graines de soja"
3943
+ soy_seed: "Semences de soja"
3944
+ spelt_grain: "Graines d’épeautre"
3937
3945
  spelt_seed_25: "Semence d’épeautre ‒ sac de 25kg"
3938
3946
  spelt_wheat_crop: "Culture d’épeautre"
3939
3947
  spinach: "Épinard"
@@ -3954,7 +3962,7 @@ fra:
3954
3962
  subsoil_plow: "Sous soleuse"
3955
3963
  sugar_vinasse: "Vinasse de sucrerie"
3956
3964
  sunflower_crop: "Culture de tournesol"
3957
- sunflower_grain: "Graine de tournesol"
3965
+ sunflower_grain: "Graines de tournesol"
3958
3966
  sunflower_seed_150tg: "Semence de tournesol ‒ sac de 150000 grains"
3959
3967
  superficial_plow: "Cultipacker"
3960
3968
  tablur_hard_wheat_crop: "Culture de blé dur Tablur"
@@ -3973,6 +3981,8 @@ fra:
3973
3981
  trimmer: "Écimeuse"
3974
3982
  triticale_crop: "Culture de triticale"
3975
3983
  triticale_grain: "Grain de triticale"
3984
+ triticale_seed: "Semences de triticale"
3985
+ triticale_straw: "Paille de triticale"
3976
3986
  truck: "Camion"
3977
3987
  turnip: "Navet"
3978
3988
  uncover: "Débâcheuse"
@@ -3993,7 +4003,7 @@ fra:
3993
4003
  weeder: "Désherbeur"
3994
4004
  weeding_kit: "Kit de désherbage"
3995
4005
  wheat_crop: "Culture de blé"
3996
- wheat_grain: "Graine de blé"
4006
+ wheat_grain: "Graines de blé"
3997
4007
  wheat_seed_25: "Semence de blé 25kg"
3998
4008
  wheat_straw_big_rectangular_bales: "Botte de paille de blé ‒ botte grand format"
3999
4009
  wheat_straw_round_bales: "Botte de paille de blé ‒ balle ronde"
@@ -4152,6 +4162,7 @@ fra:
4152
4162
  grape_trailer: "Benne à vendange"
4153
4163
  grass: "Herbe"
4154
4164
  grinder: "Broyeur"
4165
+ growth_regulator: "Régulateur de croissance"
4155
4166
  hand_drawn: "Tireuse"
4156
4167
  harrow: "Herse"
4157
4168
  harvest_insurance: "Assurance récolte"
@@ -4775,6 +4786,10 @@ fra:
4775
4786
  acipenser_sturio: "Esturgeon d’Europe"
4776
4787
  acipenser_transmontanus: "Esturgeon blanc"
4777
4788
  acipenseridae: "Acipenseridé"
4789
+ actinidia: "Actinidia"
4790
+ actinidia_chinensis: "Actinidia chinensis"
4791
+ actinidia_deliciosa: "Actinidia deliciosa"
4792
+ actinidiaceae: "Actinidiaceae"
4778
4793
  actinopterygii: "Actinoptérygien"
4779
4794
  adoxa: "Adoxe"
4780
4795
  adoxaceae: "Adoxacée"
@@ -3227,6 +3227,7 @@ ita:
3227
3227
  brassicaceae_fungicide: "Brassicaceae fungicida"
3228
3228
  buckwheat_crop: "delle colture di grano saraceno"
3229
3229
  buckwheat_grain: "grano saraceno"
3230
+ # buckwheat_seed: "Buckwheat seed"
3230
3231
  building: "Costruzione"
3231
3232
  building_division: "divisione costruzione"
3232
3233
  building_insurance: "assicurazione costruzione"
@@ -3261,6 +3262,7 @@ ita:
3261
3262
  carriage: "Trasporto"
3262
3263
  carrot: "Carota"
3263
3264
  carrot_crop: "delle colture di carote"
3265
+ # carrot_seed: "Carrot seed"
3264
3266
  # cattle_compost: "Cattle compost"
3265
3267
  cattle_herd: "mandria di bovini"
3266
3268
  cattle_liquid_slurry: "Cattle liquami liquido"
@@ -3507,6 +3509,7 @@ ita:
3507
3509
  grass_silage: "foraggi insilati"
3508
3510
  green_compost: "compost verde"
3509
3511
  grinder: "Macinino"
3512
+ # growth_regulator: "Growth regulator"
3510
3513
  guineafowl_manure: "letame Guineafowl"
3511
3514
  hand_drawn: "Disegnato a mano"
3512
3515
  hanging_scroll: "Hanging scorrimento"
@@ -3651,6 +3654,7 @@ ita:
3651
3654
  nematicide: "nematocida"
3652
3655
  nibble_lamb_meat: "carne di agnello Nibble"
3653
3656
  nomacorc_cork: "Nomacorc sughero"
3657
+ # oat_grain: "Oat grain"
3654
3658
  oenological_yeast_sc_500g: "Enologico lievito sc 500g"
3655
3659
  office_building: "edificio per uffici"
3656
3660
  office_building_division: "divisione Edificio per uffici"
@@ -3745,6 +3749,9 @@ ita:
3745
3749
  rubisko_wheat_crop: "raccolto di grano Rubisko"
3746
3750
  running_water: "Acqua corrente"
3747
3751
  rye_crop: "crop Rye"
3752
+ # rye_grain: "Rye grain"
3753
+ # rye_seed: "Rye seed"
3754
+ # rye_straw: "Rye straw"
3748
3755
  saffron_crop: "coltura dello zafferano"
3749
3756
  saffron_pollen: "Zafferano polline"
3750
3757
  saffron_seedling: "Zafferano piantina"
@@ -3775,6 +3782,7 @@ ita:
3775
3782
  sower: "Seminatore"
3776
3783
  soy_crop: "delle colture di soia"
3777
3784
  soy_grain: "grano soia"
3785
+ # soy_seed: "Soy seed"
3778
3786
  spelt_grain: "grano farro"
3779
3787
  spelt_seed_25: "di semi di farro 25"
3780
3788
  spelt_wheat_crop: "raccolto di grano farro"
@@ -3815,6 +3823,8 @@ ita:
3815
3823
  trimmer: "trimmer"
3816
3824
  triticale_crop: "crop triticale"
3817
3825
  triticale_grain: "grano triticale"
3826
+ # triticale_seed: "Triticale seed"
3827
+ # triticale_straw: "Triticale straw"
3818
3828
  truck: "Camion"
3819
3829
  turnip: "Rapa"
3820
3830
  uncover: "Scoprire"
@@ -3992,6 +4002,7 @@ ita:
3992
4002
  grape_trailer: "rimorchio Grape"
3993
4003
  grass: "Erba"
3994
4004
  grinder: "Macinino"
4005
+ # growth_regulator: "Growth regulator"
3995
4006
  hand_drawn: "Disegnato a mano"
3996
4007
  harrow: "Erpice"
3997
4008
  harvest_insurance: "assicurazione del raccolto"
@@ -4497,6 +4508,10 @@ ita:
4497
4508
  # acipenser_sturio: "Acipenser sturio"
4498
4509
  # acipenser_transmontanus: "Acipenser transmontanus"
4499
4510
  # acipenseridae: "Acipenseridae"
4511
+ # actinidia: "Actinidia"
4512
+ # actinidia_chinensis: "Actinidia chinensis"
4513
+ # actinidia_deliciosa: "Actinidia deliciosa"
4514
+ # actinidiaceae: "Actinidiaceae"
4500
4515
  actinopterygii: "Actinopterigi"
4501
4516
  # adoxa: "Adoxa"
4502
4517
  # adoxaceae: "Adoxaceae"
@@ -3238,6 +3238,7 @@ jpn:
3238
3238
  brassicaceae_fungicide: "アブラナ科の殺菌剤"
3239
3239
  buckwheat_crop: "ソバ作物"
3240
3240
  buckwheat_grain: "ソバの穀物"
3241
+ # buckwheat_seed: "Buckwheat seed"
3241
3242
  building: "建物"
3242
3243
  building_division: "建築部門"
3243
3244
  building_insurance: "建物保険"
@@ -3272,6 +3273,7 @@ jpn:
3272
3273
  carriage: "キャリッジ"
3273
3274
  carrot: "ニンジン"
3274
3275
  carrot_crop: "ニンジンの収穫"
3276
+ # carrot_seed: "Carrot seed"
3275
3277
  cattle_compost: "牛の堆肥"
3276
3278
  cattle_herd: "牛の群れ"
3277
3279
  cattle_liquid_slurry: "牛液体スラリー"
@@ -3518,6 +3520,7 @@ jpn:
3518
3520
  grass_silage: "牧草サイレージ"
3519
3521
  green_compost: "グリーンコンポスト"
3520
3522
  grinder: "グラインダー"
3523
+ # growth_regulator: "Growth regulator"
3521
3524
  guineafowl_manure: "ホロホロチョウの肥料"
3522
3525
  hand_drawn: "手描き"
3523
3526
  hanging_scroll: "掛軸"
@@ -3662,6 +3665,7 @@ jpn:
3662
3665
  nematicide: "殺線"
3663
3666
  nibble_lamb_meat: "ニブルラム肉"
3664
3667
  nomacorc_cork: "Nomacorcコルク"
3668
+ # oat_grain: "Oat grain"
3665
3669
  oenological_yeast_sc_500g: "Oenological酵母皮下500グラム"
3666
3670
  office_building: "オフィスビル"
3667
3671
  office_building_division: "オフィスビル事業部"
@@ -3756,6 +3760,9 @@ jpn:
3756
3760
  rubisko_wheat_crop: "Rubisko小麦の収穫"
3757
3761
  running_water: "流れる水"
3758
3762
  rye_crop: "ライ作物"
3763
+ # rye_grain: "Rye grain"
3764
+ # rye_seed: "Rye seed"
3765
+ # rye_straw: "Rye straw"
3759
3766
  saffron_crop: "サフランの収穫"
3760
3767
  saffron_pollen: "サフラン花粉"
3761
3768
  saffron_seedling: "サフランの苗"
@@ -3786,6 +3793,7 @@ jpn:
3786
3793
  sower: "種をまく人"
3787
3794
  soy_crop: "大豆の収穫"
3788
3795
  soy_grain: "大豆穀物"
3796
+ # soy_seed: "Soy seed"
3789
3797
  spelt_grain: "スペルト小麦の穀物"
3790
3798
  spelt_seed_25: "スペルト小麦の種子25"
3791
3799
  spelt_wheat_crop: "スペルト小麦小麦の収穫"
@@ -3826,6 +3834,8 @@ jpn:
3826
3834
  trimmer: "トリマー"
3827
3835
  triticale_crop: "ライ小麦の収穫"
3828
3836
  triticale_grain: "ライ小麦粒"
3837
+ # triticale_seed: "Triticale seed"
3838
+ # triticale_straw: "Triticale straw"
3829
3839
  truck: "トラック"
3830
3840
  turnip: "カブ"
3831
3841
  uncover: "暴きます"
@@ -4003,6 +4013,7 @@ jpn:
4003
4013
  grape_trailer: "ブドウのトレーラー"
4004
4014
  grass: "草"
4005
4015
  grinder: "グラインダー"
4016
+ # growth_regulator: "Growth regulator"
4006
4017
  hand_drawn: "手描き"
4007
4018
  harrow: "ハロー"
4008
4019
  harvest_insurance: "収穫保険"
@@ -4508,6 +4519,10 @@ jpn:
4508
4519
  acipenser_sturio: "チョウザメ属のsturio"
4509
4520
  acipenser_transmontanus: "チョウザメ属のtransmontanus"
4510
4521
  acipenseridae: "チョウザメ科"
4522
+ # actinidia: "Actinidia"
4523
+ # actinidia_chinensis: "Actinidia chinensis"
4524
+ # actinidia_deliciosa: "Actinidia deliciosa"
4525
+ # actinidiaceae: "Actinidiaceae"
4511
4526
  actinopterygii: "条鰭亜綱"
4512
4527
  # adoxa: "Adoxa"
4513
4528
  adoxaceae: "レンプクソウ科"
@@ -3227,6 +3227,7 @@ por:
3227
3227
  brassicaceae_fungicide: "Brassicaceae fungicida"
3228
3228
  buckwheat_crop: "Colheita do trigo mourisco"
3229
3229
  # buckwheat_grain: "Buckwheat grain"
3230
+ # buckwheat_seed: "Buckwheat seed"
3230
3231
  building: "Prédio"
3231
3232
  building_division: "Divisão edifício"
3232
3233
  building_insurance: "Edifício seguro"
@@ -3261,6 +3262,7 @@ por:
3261
3262
  carriage: "Transporte"
3262
3263
  carrot: "Cenoura"
3263
3264
  carrot_crop: "Cultura da cenoura"
3265
+ # carrot_seed: "Carrot seed"
3264
3266
  cattle_compost: "Gado de compostagem"
3265
3267
  cattle_herd: "Rebanho bovino"
3266
3268
  cattle_liquid_slurry: "O gado pasta líquida"
@@ -3507,6 +3509,7 @@ por:
3507
3509
  grass_silage: "Silagem de capim"
3508
3510
  green_compost: "Adubo verde"
3509
3511
  grinder: "Amolador"
3512
+ # growth_regulator: "Growth regulator"
3510
3513
  guineafowl_manure: "Guineafowl estrume"
3511
3514
  hand_drawn: "Desenhado à mão"
3512
3515
  hanging_scroll: "Rolo de papel suspenso"
@@ -3651,6 +3654,7 @@ por:
3651
3654
  nematicide: "Nematicida"
3652
3655
  nibble_lamb_meat: "Carne de cordeiro mordidela"
3653
3656
  nomacorc_cork: "Nomacorc cortiça"
3657
+ # oat_grain: "Oat grain"
3654
3658
  oenological_yeast_sc_500g: "Levedura enológica 500g sc"
3655
3659
  office_building: "Prédio de escritórios"
3656
3660
  office_building_division: "Divisão de edifício de escritórios"
@@ -3745,6 +3749,9 @@ por:
3745
3749
  rubisko_wheat_crop: "Safra de trigo Rubisko"
3746
3750
  running_water: "Água corrente"
3747
3751
  rye_crop: "Cultura Rye"
3752
+ # rye_grain: "Rye grain"
3753
+ # rye_seed: "Rye seed"
3754
+ # rye_straw: "Rye straw"
3748
3755
  saffron_crop: "Cultura Saffron"
3749
3756
  saffron_pollen: "Pólen Saffron"
3750
3757
  saffron_seedling: "Saffron mudas"
@@ -3775,6 +3782,7 @@ por:
3775
3782
  sower: "Semeador"
3776
3783
  soy_crop: "Safra de soja"
3777
3784
  soy_grain: "Grãos de soja"
3785
+ # soy_seed: "Soy seed"
3778
3786
  spelt_grain: "Grão soletrada"
3779
3787
  spelt_seed_25: "Semente soletrado 25"
3780
3788
  spelt_wheat_crop: "Colheita do trigo soletrado"
@@ -3815,6 +3823,8 @@ por:
3815
3823
  trimmer: "Podão"
3816
3824
  triticale_crop: "Cultura triticale"
3817
3825
  triticale_grain: "Grãos de triticale"
3826
+ # triticale_seed: "Triticale seed"
3827
+ # triticale_straw: "Triticale straw"
3818
3828
  truck: "Caminhão"
3819
3829
  turnip: "Nabo"
3820
3830
  uncover: "Descobrir"
@@ -3992,6 +4002,7 @@ por:
3992
4002
  grape_trailer: "Reboque de uva"
3993
4003
  grass: "Grama"
3994
4004
  grinder: "Amolador"
4005
+ # growth_regulator: "Growth regulator"
3995
4006
  hand_drawn: "Desenhado à mão"
3996
4007
  harrow: "Grade"
3997
4008
  harvest_insurance: "Seguros de colheitas"
@@ -4497,6 +4508,10 @@ por:
4497
4508
  # acipenser_sturio: "Acipenser sturio"
4498
4509
  # acipenser_transmontanus: "Acipenser transmontanus"
4499
4510
  # acipenseridae: "Acipenseridae"
4511
+ # actinidia: "Actinidia"
4512
+ # actinidia_chinensis: "Actinidia chinensis"
4513
+ # actinidia_deliciosa: "Actinidia deliciosa"
4514
+ # actinidiaceae: "Actinidiaceae"
4500
4515
  # actinopterygii: "Actinopterygii"
4501
4516
  # adoxa: "Adoxa"
4502
4517
  adoxaceae: "Adoxaceae"
@@ -3233,6 +3233,7 @@ spa:
3233
3233
  brassicaceae_fungicide: "Fungicida Brassicaceae"
3234
3234
  buckwheat_crop: "Cultivos de trigo sarraceno"
3235
3235
  buckwheat_grain: "Grano de trigo sarraceno"
3236
+ # buckwheat_seed: "Buckwheat seed"
3236
3237
  building: "Edificio"
3237
3238
  building_division: "División de Construcción"
3238
3239
  building_insurance: "Seguro del edificio"
@@ -3267,6 +3268,7 @@ spa:
3267
3268
  carriage: "Carro"
3268
3269
  carrot: "Zanahoria"
3269
3270
  carrot_crop: "Cultivos de zanahoria"
3271
+ # carrot_seed: "Carrot seed"
3270
3272
  cattle_compost: "El ganado de compost"
3271
3273
  cattle_herd: "Los rebaños de ganado"
3272
3274
  cattle_liquid_slurry: "El ganado suspensión líquida"
@@ -3513,6 +3515,7 @@ spa:
3513
3515
  grass_silage: "Ensilado de hierba"
3514
3516
  green_compost: "Abono verde"
3515
3517
  grinder: "Amoladora"
3518
+ # growth_regulator: "Growth regulator"
3516
3519
  guineafowl_manure: "Estiércol de gallinas de Guinea"
3517
3520
  hand_drawn: "Dibujado a mano"
3518
3521
  hanging_scroll: "Colgando de desplazamiento"
@@ -3657,6 +3660,7 @@ spa:
3657
3660
  nematicide: "Nematicida"
3658
3661
  nibble_lamb_meat: "Carne de cordero nibble"
3659
3662
  nomacorc_cork: "Corcho Nomacorc"
3663
+ # oat_grain: "Oat grain"
3660
3664
  oenological_yeast_sc_500g: "Levadura enológica sc 500g"
3661
3665
  office_building: "Edificio de oficinas"
3662
3666
  office_building_division: "La división del edificio de oficinas"
@@ -3751,6 +3755,9 @@ spa:
3751
3755
  rubisko_wheat_crop: "Cosecha de trigo Rubisko"
3752
3756
  running_water: "Agua corriendo"
3753
3757
  rye_crop: "Cosecha de centeno"
3758
+ # rye_grain: "Rye grain"
3759
+ # rye_seed: "Rye seed"
3760
+ # rye_straw: "Rye straw"
3754
3761
  saffron_crop: "Cultivos de azafrán"
3755
3762
  saffron_pollen: "El polen de azafrán"
3756
3763
  saffron_seedling: "Plántulas de azafrán"
@@ -3781,6 +3788,7 @@ spa:
3781
3788
  sower: "Sembrador"
3782
3789
  soy_crop: "Cultivos de soja"
3783
3790
  soy_grain: "Grano de soya"
3791
+ # soy_seed: "Soy seed"
3784
3792
  spelt_grain: "Grano de escanda"
3785
3793
  spelt_seed_25: "Semillas de espelta 25"
3786
3794
  spelt_wheat_crop: "Cosecha de trigo de espelta"
@@ -3821,6 +3829,8 @@ spa:
3821
3829
  trimmer: "Recortadora"
3822
3830
  triticale_crop: "Cultivo de triticale"
3823
3831
  triticale_grain: "Grano de triticale"
3832
+ # triticale_seed: "Triticale seed"
3833
+ # triticale_straw: "Triticale straw"
3824
3834
  truck: "Camión"
3825
3835
  turnip: "Nabo"
3826
3836
  uncover: "Descubrir"
@@ -3998,6 +4008,7 @@ spa:
3998
4008
  grape_trailer: "Remolque de uva"
3999
4009
  grass: "Césped"
4000
4010
  grinder: "Amoladora"
4011
+ # growth_regulator: "Growth regulator"
4001
4012
  hand_drawn: "Dibujado a mano"
4002
4013
  harrow: "Grada"
4003
4014
  harvest_insurance: "Seguro de cosecha"
@@ -4503,6 +4514,10 @@ spa:
4503
4514
  # acipenser_sturio: "Acipenser sturio"
4504
4515
  # acipenser_transmontanus: "Acipenser transmontanus"
4505
4516
  # acipenseridae: "Acipenseridae"
4517
+ # actinidia: "Actinidia"
4518
+ # actinidia_chinensis: "Actinidia chinensis"
4519
+ # actinidia_deliciosa: "Actinidia deliciosa"
4520
+ # actinidiaceae: "Actinidiaceae"
4506
4521
  actinopterygii: "Actinopterígios"
4507
4522
  # adoxa: "Adoxa"
4508
4523
  # adoxaceae: "Adoxaceae"
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add new product nature variants">
3
+ <item-creation item="product_nature_variants#carrot_seed" nature="seed" variety="seed" derivative_of="daucus_carota" frozen_indicators_values="net_mass: 1.00gram, grains_count: 1thousand, thousand_grains_mass: 1.00gram" unit_name="gram"/>
4
+ <item-creation item="product_nature_variants#soy_seed" nature="seed" variety="seed" derivative_of="glycine_max" frozen_indicators_values="net_mass: 190gram, grains_count: 1thousand, thousand_grains_mass: 190.00gram" unit_name="thousand"/>
5
+ <item-creation item="product_nature_variants#rye_seed" nature="seed" variety="seed" derivative_of="secale_cereale" frozen_indicators_values="net_mass: 1.00gram, grains_count: 33unity, thousand_grains_mass: 30.00gram" unit_name="gram"/>
6
+ <item-creation item="product_nature_variants#buckwheat_seed" nature="seed" variety="seed" derivative_of="fagopyrum" frozen_indicators_values="net_mass: 1.00gram, grains_count: 50unity, thousand_grains_mass: 20.00gram" unit_name="gram"/>
7
+ <item-creation item="product_nature_variants#triticale_seed" nature="seed" variety="seed" derivative_of="triticale" frozen_indicators_values="net_mass: 1.00gram, grains_count: 22unity, thousand_grains_mass: 45.00gram" unit_name="gram"/>
8
+ <item-creation item="product_natures#growth_regulator" category="plant_medicine" variety="preparation" population_counting="decimal" frozen_indicators="net_volume, net_mass" abilities="care(plant)"/>
9
+ <item-creation item="product_nature_variants#growth_regulator" nature="growth_regulator" frozen_indicators_values="net_volume: 1.00liter" unit_name="liter"/>
10
+ <item-creation item="product_nature_variants#oat_grain" nature="grain" variety="grain" derivative_of="avena" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
11
+ <item-creation item="product_nature_variants#rye_grain" nature="grain" variety="grain" derivative_of="secale_cereale" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
12
+ <item-creation item="product_nature_variants#rye_straw" nature="straw" variety="straw" derivative_of="secale_cereale" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
13
+ <item-creation item="product_nature_variants#triticale_straw" nature="straw" variety="straw" derivative_of="triticale" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
14
+ </migration>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <migration name="Add kiwi varieties">
3
+ <item-creation item="varieties#actinidiaceae" parent="plant" itis_tsn="21393"/>
4
+ <item-creation item="varieties#actinidia" parent="actinidiaceae" itis_tsn="500824"/>
5
+ <item-creation item="varieties#actinidia_deliciosa" parent="actinidia"/>
6
+ <item-creation item="varieties#actinidia_chinensis" parent="actinidia" itis_tsn="506775"/>
7
+ </migration>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0"?>
2
- <nomenclatures xmlns="http://www.ekylibre.org/XML/2013/nomenclatures" version="20170803164344">
2
+ <nomenclatures xmlns="http://www.ekylibre.org/XML/2013/nomenclatures" version="20170927144852">
3
3
  <nomenclature name="abilities" translateable="true">
4
4
  <properties>
5
5
  <property name="parameters" type="choice_list" choices="variety, issue_nature"/>
@@ -1923,6 +1923,7 @@
1923
1923
  <item name="animal_list" category="animal_farming"/>
1924
1924
  <item name="animal_sheet" category="animal_farming"/>
1925
1925
  <item name="balance_sheet" category="accountancy"/>
1926
+ <item name="cultivable_zone_sheet" category="land_parcel_management"/>
1926
1927
  <item name="deposit_list" category="exploitation"/>
1927
1928
  <item name="entity_sheet" category="exploitation"/>
1928
1929
  <item name="equipment_certification" category="land_parcel_management"/>
@@ -3147,6 +3148,7 @@
3147
3148
  <item name="brassicaceae_fungicide" nature="fungicide" frozen_indicators_values="net_volume: 1.00liter, net_mass: 1.00kilogram" unit_name="liter"/>
3148
3149
  <item name="buckwheat_crop" nature="cereal_crop" variety="fagopyrum_esculentum" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
3149
3150
  <item name="buckwheat_grain" nature="grain" derivative_of="fagopyrum_esculentum" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
3151
+ <item name="buckwheat_seed" nature="seed" variety="seed" derivative_of="fagopyrum" frozen_indicators_values="net_mass: 1.00gram, grains_count: 50unity, thousand_grains_mass: 20.00gram"/>
3150
3152
  <item name="building" nature="building" frozen_indicators_values="" unit_name="building"/>
3151
3153
  <item name="building_division" nature="building_division" frozen_indicators_values="" unit_name="room"/>
3152
3154
  <item name="building_insurance" nature="insurance"/>
@@ -3181,6 +3183,7 @@
3181
3183
  <item name="carriage" nature="carriage"/>
3182
3184
  <item name="carrot" nature="carrot" derivative_of="daucus_carota" frozen_indicators_values="net_mass: 1.00ton"/>
3183
3185
  <item name="carrot_crop" nature="vegetable_crop" variety="daucus" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
3186
+ <item name="carrot_seed" nature="seed" variety="seed" derivative_of="daucus_carota" frozen_indicators_values="net_mass: 1.00gram, grains_count: 1thousand, thousand_grains_mass: 1.00gram"/>
3184
3187
  <item name="cattle_compost" nature="organic_fertilizer" variety="compost" derivative_of="bos" frozen_indicators_values="net_mass: 1.00ton, net_volume: 1.70cubic_meter, nitrogen_concentration: 0.8percent" unit_name="ton"/>
3185
3188
  <item name="cattle_herd" nature="cattle_herd" derivative_of="bos" frozen_indicators_values="sex: undefined" unit_name="band"/>
3186
3189
  <item name="cattle_liquid_slurry" nature="organic_fertilizer" variety="liquid_slurry" derivative_of="bos" frozen_indicators_values="net_volume: 1.00cubic_meter, net_mass: 1.00ton, nitrogen_concentration: 0.30percent" unit_name="cubic_meter"/>
@@ -3427,6 +3430,7 @@
3427
3430
  <item name="grass_silage" nature="silage" derivative_of="poa" frozen_indicators_values="net_mass: 1.00ton, net_volume: 1.351cubic_meter" unit_name="ton"/>
3428
3431
  <item name="green_compost" nature="organic_fertilizer" variety="compost" derivative_of="plant" frozen_indicators_values="net_volume: 1.50cubic_meter, net_mass: 1.00ton, nitrogen_concentration: 1.2percent" unit_name="ton"/>
3429
3432
  <item name="grinder" nature="grinder" frozen_indicators_values="" unit_name="equipment"/>
3433
+ <item name="growth_regulator" nature="growth_regulator" frozen_indicators_values="net_volume: 1.00liter"/>
3430
3434
  <item name="guineafowl_manure" nature="organic_fertilizer" variety="manure" derivative_of="numida" frozen_indicators_values="net_volume: 1.50cubic_meter, net_mass: 1.00ton, nitrogen_concentration: 2.2percent" unit_name="ton"/>
3431
3435
  <item name="hand_drawn" nature="hand_drawn" frozen_indicators_values="" unit_name="equipment"/>
3432
3436
  <item name="hanging_scroll" nature="catalog_and_print"/>
@@ -3571,6 +3575,7 @@
3571
3575
  <item name="nematicide" nature="nematicide" frozen_indicators_values="net_mass: 1.00kg"/>
3572
3576
  <item name="nibble_lamb_meat" nature="lamb_meat" derivative_of="ovis" frozen_indicators_values="net_volume: 1.00liter, net_mass: 1.00kilogram" unit_name="kilogram"/>
3573
3577
  <item name="nomacorc_cork" nature="cork"/>
3578
+ <item name="oat_grain" nature="grain" variety="grain" derivative_of="avena" frozen_indicators_values="net_mass: 1.00ton"/>
3574
3579
  <item name="oenological_yeast_sc_500g" nature="oenological_yeast" variety="yeast" derivative_of="saccharomyces_cerevisiae" frozen_indicators_values="net_mass: 500.00gram, cells_mass_concentration: 10billion_per_gram" unit_name="bag"/>
3575
3580
  <item name="office_building" nature="building" frozen_indicators_values="" unit_name="building"/>
3576
3581
  <item name="office_building_division" nature="administrative_division" frozen_indicators_values="" unit_name="room"/>
@@ -3665,6 +3670,9 @@
3665
3670
  <item name="rubisko_wheat_crop" nature="cereal_crop" variety="triticum_aestivum_rubisko" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
3666
3671
  <item name="running_water" nature="running_water" frozen_indicators_values="net_volume: 1.00cubic_meter, net_mass: 1.00ton" unit_name="cubic_meter"/>
3667
3672
  <item name="rye_crop" nature="cereal_crop" variety="secale" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
3673
+ <item name="rye_grain" nature="grain" variety="grain" derivative_of="secale_cereale" frozen_indicators_values="net_mass: 1.00ton"/>
3674
+ <item name="rye_seed" nature="seed" variety="seed" derivative_of="secale_cereale" frozen_indicators_values="net_mass: 1.00gram, grains_count: 33unity, thousand_grains_mass: 30.00gram"/>
3675
+ <item name="rye_straw" nature="straw" variety="straw" derivative_of="secale_cereale" frozen_indicators_values="net_mass: 1.00ton"/>
3668
3676
  <item name="saffron_crop" nature="flower_crop" variety="crocus_sativus" frozen_indicators_values="net_surface_area: 1.00square_meter" unit_name="hectare"/>
3669
3677
  <item name="saffron_pollen" nature="species" variety="pollen" derivative_of="crocus_sativus" frozen_indicators_values="net_mass: 1.00gram, net_volume: 1.00milliliter" unit_name="gram"/>
3670
3678
  <item name="saffron_seedling" nature="seedling" derivative_of="crocus_sativus"/>
@@ -3695,6 +3703,7 @@
3695
3703
  <item name="sower" nature="sower" frozen_indicators_values="" unit_name="equipment"/>
3696
3704
  <item name="soy_crop" nature="grain_crop" variety="glycine_max" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
3697
3705
  <item name="soy_grain" nature="grain" derivative_of="glycine_max" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
3706
+ <item name="soy_seed" nature="seed" variety="seed" derivative_of="glycine_max" frozen_indicators_values="net_mass: 190gram, grains_count: 1thousand, thousand_grains_mass: 190.00gram"/>
3698
3707
  <item name="spelt_grain" nature="grain" derivative_of="triticum_spelta" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
3699
3708
  <item name="spelt_seed_25" nature="seed" derivative_of="triticum_spelta" frozen_indicators_values="net_mass: 25.00kilogram, thousand_grains_mass: 50gram" unit_name="25kg_bag"/>
3700
3709
  <item name="spelt_wheat_crop" nature="cereal_crop" variety="triticum_spelta" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
@@ -3735,6 +3744,8 @@
3735
3744
  <item name="trimmer" nature="trimmer" frozen_indicators_values="" unit_name="equipment"/>
3736
3745
  <item name="triticale_crop" nature="cereal_crop" variety="triticosecale" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="hectare"/>
3737
3746
  <item name="triticale_grain" nature="grain" derivative_of="triticosecale" frozen_indicators_values="net_mass: 1.00ton" unit_name="ton"/>
3747
+ <item name="triticale_seed" nature="seed" variety="seed" derivative_of="triticale" frozen_indicators_values="net_mass: 1.00gram, grains_count: 22unity, thousand_grains_mass: 45.00gram"/>
3748
+ <item name="triticale_straw" nature="straw" variety="straw" derivative_of="triticale" frozen_indicators_values="net_mass: 1.00ton"/>
3738
3749
  <item name="truck" nature="truck" frozen_indicators_values="" unit_name="equipment"/>
3739
3750
  <item name="turnip" nature="turnip" derivative_of="brassica_rapa_rapa" frozen_indicators_values="net_mass: 1.00ton"/>
3740
3751
  <item name="uncover" nature="uncover" frozen_indicators_values="" unit_name="equipment"/>
@@ -3911,6 +3922,7 @@
3911
3922
  <item name="grape_trailer" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="store(grape), store(juice), store(fermented_juice), store_liquid" variable_indicators="nominal_storable_net_volume, nominal_storable_net_mass" frozen_indicators=""/>
3912
3923
  <item name="grass" category="grass" variety="grass" derivative_of="plant" population_counting="decimal" abilities="feed(animal)" variable_indicators="dry_matter_rate" frozen_indicators="net_mass, net_volume"/>
3913
3924
  <item name="grinder" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="grind(plant), grind(cultivable_zone)" variable_indicators="geolocation" frozen_indicators="application_width, theoretical_working_speed"/>
3925
+ <item name="growth_regulator" category="plant_medicine" variety="preparation" population_counting="decimal" frozen_indicators="net_volume, net_mass" abilities="care(plant)"/>
3914
3926
  <item name="hand_drawn" category="equipment" variety="equipment" population_counting="unitary" abilities="fill(bottle)" variable_indicators="nominal_storable_net_volume" frozen_indicators=""/>
3915
3927
  <item name="harrow" category="equipment" variety="trailed_equipment" population_counting="unitary" abilities="plow_superficially" frozen_indicators="application_width, theoretical_working_speed" variable_indicators="geolocation"/>
3916
3928
  <item name="harvest_insurance" category="harvest_insurance" variety="service" population_counting="decimal" variable_indicators=""/>
@@ -9963,6 +9975,10 @@
9963
9975
  <item name="acipenser_sturio" parent="acipenser" itis_tsn="161072"/>
9964
9976
  <item name="acipenser_transmontanus" parent="acipenser" itis_tsn="161068"/>
9965
9977
  <item name="acipenseridae" parent="actinopterygii" itis_tsn="161931"/>
9978
+ <item name="actinidia" parent="actinidiaceae" itis_tsn="500824"/>
9979
+ <item name="actinidia_chinensis" parent="actinidia" itis_tsn="506775"/>
9980
+ <item name="actinidia_deliciosa" parent="actinidia"/>
9981
+ <item name="actinidiaceae" parent="plant" itis_tsn="21393"/>
9966
9982
  <item name="actinopterygii" parent="animal" itis_tsn="161061"/>
9967
9983
  <item name="adoxa" parent="adoxaceae" itis_tsn="35347"/>
9968
9984
  <item name="adoxaceae" parent="plant" itis_tsn="35346"/>
@@ -43,21 +43,6 @@ module Onoma
43
43
  database_path.join('reference.xml')
44
44
  end
45
45
 
46
- # # Returns version of DB
47
- # def reference_version
48
- # return 0 unless reference_path.exist?
49
- # reference_document.root['version'].to_i
50
- # end
51
-
52
- # def reference_document
53
- # f = File.open(reference_path, 'rb')
54
- # document = Nokogiri::XML(f) do |config|
55
- # config.strict.nonet.noblanks.noent
56
- # end
57
- # f.close
58
- # document
59
- # end
60
-
61
46
  def connection
62
47
  load_database unless database_loaded?
63
48
  @@set
@@ -68,16 +53,13 @@ module Onoma
68
53
  set.nomenclature_names
69
54
  end
70
55
 
71
- def all
72
- set.nomenclatures
73
- end
74
-
75
56
  # Give access to named nomenclatures
76
- delegate :[], to: :set
57
+ delegate :[], :nomenclatures, to: :set
58
+ alias all nomenclatures
77
59
 
78
60
  # Give access to named nomenclatures
79
61
  def find(*args)
80
- options = args.extract_options!
62
+ args.extract_options!
81
63
  name = args.shift
82
64
  if args.empty?
83
65
  return set[name]
@@ -87,17 +69,13 @@ module Onoma
87
69
  nil
88
70
  end
89
71
 
90
- def find_or_initialize(name)
91
- set[name] || set.load_data_from_xml(name)
92
- end
93
-
94
72
  # Browse all nomenclatures
95
73
  def each(&block)
96
74
  set.each(&block)
97
75
  end
98
76
 
99
77
  def set
100
- @@set ||= Database.new(database_path)
78
+ @@set ||= Database.open(reference_path)
101
79
  end
102
80
  end
103
81
  end
@@ -155,7 +155,7 @@ module Onoma
155
155
  end
156
156
 
157
157
  def remove_nomenclature(nomenclature_name)
158
- nomenclature = find!(nomenclature_name)
158
+ find!(nomenclature_name)
159
159
  @nomenclatures.delete(nomenclature_name)
160
160
  end
161
161
 
@@ -31,7 +31,7 @@ module Onoma
31
31
  @options.each do |k, v|
32
32
  updates << "#{v} as #{k}"
33
33
  end
34
- sentence = "Create item #{@nomenclature}##{@name} with " + updates.to_sentence
34
+ "Create item #{@nomenclature}##{@name} with " + updates.to_sentence
35
35
  end
36
36
  end
37
37
  end
@@ -35,7 +35,7 @@ module Onoma
35
35
  @options.each do |k, v|
36
36
  updates << "#{v} as #{k}"
37
37
  end
38
- sentence = "Create property #{@nomenclature}.#{@name} with " + updates.to_sentence
38
+ "Create property #{@nomenclature}.#{@name} with " + updates.to_sentence
39
39
  end
40
40
  end
41
41
  end
@@ -4,8 +4,8 @@ require 'bigdecimal/util'
4
4
  module Onoma
5
5
  # This class represents a nomenclature
6
6
  class Nomenclature
7
- attr_reader :properties, :items, :name, :roots
8
- attr_accessor :name, :notions, :translateable, :forest_right
7
+ attr_reader :properties, :items, :name
8
+ attr_accessor :notions, :translateable, :forest_right
9
9
  alias property_natures properties
10
10
 
11
11
  # Instanciate a new nomenclature
@@ -225,7 +225,7 @@ module Onoma
225
225
  end
226
226
 
227
227
  def remove_item(name)
228
- i = find!(name)
228
+ find!(name)
229
229
  @items.delete(name)
230
230
  end
231
231
 
@@ -292,12 +292,7 @@ module Onoma
292
292
 
293
293
  # Returns hash with items in tree: {a => nil, b => {c => nil}}
294
294
  def tree
295
- x = @roots.collect(&:tree).join
296
- return x
297
- i.attributes.merge(parent: i.parent_name, name: i.name, left: i.left, right: i.right, depth: i.depth).deep_stringify_keys
298
- return x
299
- @roots.map do |_i|
300
- end
295
+ @roots.collect(&:tree).join
301
296
  end
302
297
 
303
298
  def translateable?
@@ -495,7 +490,7 @@ module Onoma
495
490
 
496
491
  def cast_options(options)
497
492
  return {} if options.nil?
498
- hash = options.each_with_object({}) do |(k, v), h|
493
+ options.each_with_object({}) do |(k, v), h|
499
494
  h[k.to_sym] = if properties[k]
500
495
  cast_property(k, v.to_s)
501
496
  else
@@ -1,3 +1,3 @@
1
1
  module Onoma
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
@@ -1,4 +1,4 @@
1
- # coding: utf-8
1
+
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'onoma/version'
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency 'colored'
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
25
25
  spec.add_development_dependency 'minitest'
26
+ spec.add_development_dependency 'i18n-tasks'
26
27
  spec.add_dependency 'activesupport'
27
28
  spec.add_dependency 'nokogiri'
28
29
  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.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice TEXIER
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-28 00:00:00.000000000 Z
11
+ date: 2017-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: i18n-tasks
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: activesupport
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -304,6 +318,8 @@ files:
304
318
  - db/migrate/20170627081533_add_pending_deposit_payments_account_number_for_pt_accounting_system.xml
305
319
  - db/migrate/20170718131724_add_issue_natures.xml
306
320
  - db/migrate/20170803164344_add_procedure_nature_and_category.xml
321
+ - db/migrate/20170914083358_add_new_product_nature_variants.xml
322
+ - db/migrate/20170927144852_add_kiwi_varieties.xml
307
323
  - db/reference.xml
308
324
  - lib/onoma.rb
309
325
  - lib/onoma/database.rb