dictionaries 0.3.81 → 0.3.86

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of dictionaries might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 941620002dcd386dfa075331af1571c94f70eaa169e52130af852428ecf15608
4
- data.tar.gz: fda554ef46e792bf7f14585bf23181ba17f5138e1aa3fb530d0909288b16637e
3
+ metadata.gz: 1d246b3f37d999e1c462241e82ac2819bce9842aba22216cae4fbd2d6fcd60a0
4
+ data.tar.gz: c795c2350b28e65f5d14f1ca968b70eada193636d73e3d1921e30b50ce86706b
5
5
  SHA512:
6
- metadata.gz: f90f6351ba4aee4c613e7d476161cec3ecaef853f5f8fb9fa981a3362b0c6629f6705533bd271eaf320996cbfdfa091b2947d04c9bc9a5c6e43a7e762a65a1e6
7
- data.tar.gz: ecc52e0a53d7c8c39fdf554536691de04b0a7f3def4d9455602ec490271c255d38161057389aa9a4f443211be138f618f4bdbf0379f9e74847cc3d22976c6b26
6
+ metadata.gz: e4df43a12caf14a4343a7ae79ec3f07775056ebb08a74c30d18ecc73f9eed682409150ed02d813dbd4526f6b8be70c3884dd41b842dae55ef4e86c6996400273
7
+ data.tar.gz: 1127182e8400c3dbe6cff23dc4eca8b99d58a56063bab32f40343100ef340aca3f72eaa452f642b217772d2ad1228e402bb9b0e2dbda105760762bac115a0f96
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  [![forthebadge](https://forthebadge.com/images/badges/made-with-ruby.svg)](https://www.ruby-lang.org/en/)
3
3
  [![Gem Version](https://badge.fury.io/rb/dictionaries.svg)](https://badge.fury.io/rb/dictionaries)
4
4
 
5
- This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">31.01.2024</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">21:58:44</span> o'clock.
5
+ This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">05.04.2024</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">20:00:41</span> o'clock.
6
6
 
7
7
  ## Environment variable to use a specific yaml file
8
8
 
@@ -326,29 +326,14 @@ gem owner eventually:
326
326
  see
327
327
  https://blog.rubygems.org/2022/06/13/making-packages-more-secure.html
328
328
 
329
- Mandatory 2FA will eventually be extended to all rubygems.org developers and
330
- maintainers. As I can not use 2FA, for reasons I will skip explaining here,
331
- this means that my projects will eventually be removed, as I no longer
332
- have any control over my projects hosted on rubygems.org (because I
333
- can not use 2FA).
334
-
335
- At that point, I no longer have any control what is done to my projects
336
- since whoever is controlling the gems ecosystem took away our control
337
- here. I am not sure at which point ruby became corporate-controlled -
338
- that was not the case several years ago, so something has
339
- changed.
340
-
341
- Ruby also only allows 2FA users to participate on the issue tracker these
342
- days:
343
-
344
- https://bugs.ruby-lang.org/issues/18800
345
-
346
- But this has been reverted some months ago, so it is no longer applicable.
347
- Suffice to say that I do not think that we should only be allowed to
348
- interact on the world wide web when some 'authority' authenticated us,
349
- such as via mandatory 2FA, so I hope this won't come back again.
350
-
351
- Fighting spam is a noble goal, but when it also means you lock out
352
- real human people then this is definitely NOT a good situation
353
- to be had.
329
+ However had, that has been reverted again, so I decided to shorten
330
+ this paragraph. Mandatory 2FA may exclude users who do not have a
331
+ smartphone device or other means to 'identify'. I do not feel it is
332
+ a fair assumption by others to be made that non-identified people may
333
+ not contribute code, which is why I reject it. Mandatory 2FA would mean
334
+ an end to all my projects on rubygems.org, so let's hope it will never
335
+ happen. (Keep in mind that I refer to mandatory 2FA; I have no qualms
336
+ for people who use 2FA on their own, but this carrot-and-stick strategy
337
+ by those who control the rubygems infrastructure is a very bad one to
338
+ pursue.
354
339
 
@@ -17,6 +17,11 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
17
17
 
18
18
  require 'yaml'
19
19
 
20
+ # ========================================================================= #
21
+ # === USE_THIS_EDITOR
22
+ # ========================================================================= #
23
+ USE_THIS_EDITOR = 'bluefish'
24
+
20
25
  # ========================================================================= #
21
26
  # Require module-methods of this project next.
22
27
  # ========================================================================= #
@@ -60,8 +65,11 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
60
65
  register_sigint
61
66
  reset
62
67
  case optional_search_for_this_word
68
+ # ======================================================================= #
69
+ # === :do_not_run_yet
70
+ # ======================================================================= #
63
71
  when :do_not_run_yet
64
- run_already = :do_not_run_yet
72
+ run_already = false
65
73
  optional_search_for_this_word = nil
66
74
  end
67
75
  # ======================================================================= #
@@ -237,41 +245,6 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
237
245
  _.generate
238
246
  end
239
247
 
240
- # ========================================================================= #
241
- # === reveal_the_answer
242
- #
243
- # Show the answer here.
244
- # ========================================================================= #
245
- def reveal_the_answer
246
- @result = @original_words[@search_for_this_word].to_s
247
- _ = @result
248
- begin
249
- _[0,1] = _[0,1].upcase
250
- rescue Exception => error
251
- opne 'An exception happened at line '+simp(__LINE__.to_s)+' when '\
252
- 'we tried to use .upcase.'
253
- opne 'The file was '+sfile(__FILE__)
254
- opne 'The difficult word in question was `'+simp(_)+'`.'
255
- opne 'The encoding in use was '+simp(_.encoding.to_s)+'.'
256
- pp error
257
- begin
258
- _ = _.encode(USE_THIS_ENCODING)
259
- _[0,1] = _[0,1].upcase
260
- rescue Exception => error
261
- pp error
262
- end
263
- end
264
- _ = sanitize_answer(_)
265
- if _.include? '[]' # Chop off [] token, if it is part of the String.
266
- _ = _.force_encoding(USE_THIS_ENCODING) if _.encoding.to_s.include? 'UTF'
267
- _ = _.delete('[').delete(']').strip
268
- end
269
- # ======================================================================= #
270
- # Finally show the answer:
271
- # ======================================================================= #
272
- e "#{N}#{simportant(_)}#{rev}.#{N}#{N}"
273
- end; alias reveal_answer reveal_the_answer # === reveal_answer
274
-
275
248
  # ========================================================================= #
276
249
  # === register_sigint
277
250
  # ========================================================================= #
@@ -380,11 +353,11 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
380
353
  end
381
354
  unless is_included? _
382
355
  set_xorg_buffer _
383
- opne "Sorry, the word `#{sfancy(_)}"\
384
- "#{rev}` is not included."
385
- opne 'We will thus try to open our english dictionary in our editor'
386
- opne 'and lookup the word in our browser.'
387
- open_main_yaml_file_in_main_editor # Added ~ 22.02.2013
356
+ opne "The word `#{sfancy(_)}"\
357
+ "#{rev}` is not included in the database."
358
+ opne 'Thus, the english-dictionary will now be opened via the main'
359
+ opne 'editor, before that missing word is then looked-up via the browser.'
360
+ open_main_yaml_file_in_main_editor # Added this as of ~22.02.2013
388
361
  consider_opening_browser_page(_)
389
362
  else # Ok, we now know that it is included. Thus, continue.
390
363
  if be_verbose?
@@ -553,7 +526,7 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
553
526
  end
554
527
  _= this_file
555
528
  notify_the_user_that_we_will_next_open_this_file(_)
556
- system "bluefish #{_}"
529
+ system "#{USE_THIS_EDITOR} #{_}"
557
530
  end; alias open_main_yaml_file_in_main_editor open_yaml_file_in_main_editor # === open_main_yaml_file_in_main_editor
558
531
 
559
532
  # ========================================================================= #
@@ -590,7 +563,7 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
590
563
  if be_verbose
591
564
  opnn; notify_the_user_that_we_will_next_open_this_file(_)
592
565
  end
593
- system "bluefish #{_}"
566
+ system "#{USE_THIS_EDITOR} #{_}"
594
567
  end
595
568
 
596
569
  # ========================================================================= #
@@ -868,6 +841,41 @@ class AskWordFromDictionary < Base # === Dictionaries::AskWordFromDictionary
868
841
  Open.in_browser(url) if Object.const_defined?(:Open)
869
842
  end
870
843
 
844
+ # ========================================================================= #
845
+ # === reveal_the_answer
846
+ #
847
+ # Show the answer here.
848
+ # ========================================================================= #
849
+ def reveal_the_answer
850
+ @result = @original_words[@search_for_this_word].to_s
851
+ _ = @result
852
+ begin
853
+ _[0,1] = _[0,1].upcase
854
+ rescue Exception => error
855
+ opne 'An exception happened at line '+simp(__LINE__.to_s)+' when '\
856
+ 'we tried to use .upcase.'
857
+ opne 'The file was '+sfile(__FILE__)
858
+ opne 'The difficult word in question was `'+simp(_)+'`.'
859
+ opne 'The encoding in use was '+simp(_.encoding.to_s)+'.'
860
+ pp error
861
+ begin
862
+ _ = _.encode(USE_THIS_ENCODING)
863
+ _[0,1] = _[0,1].upcase
864
+ rescue Exception => error
865
+ pp error
866
+ end
867
+ end
868
+ _ = sanitize_answer(_)
869
+ if _.include? '[]' # Chop off [] token, if it is part of the String.
870
+ _ = _.force_encoding(USE_THIS_ENCODING) if _.encoding.to_s.include? 'UTF'
871
+ _ = _.delete('[').delete(']').strip
872
+ end
873
+ # ======================================================================= #
874
+ # Finally show the answer:
875
+ # ======================================================================= #
876
+ e "#{N} #{simportant(_)}#{rev}.#{N}#{N}" # Slight leading padding since as of February 2024.
877
+ end; alias reveal_answer reveal_the_answer # === reveal_answer
878
+
871
879
  # ========================================================================= #
872
880
  # === run (run tag)
873
881
  # ========================================================================= #
@@ -900,4 +908,4 @@ if __FILE__ == $PROGRAM_NAME
900
908
  pp Dictionaries::AskWordFromDictionary.class
901
909
  pp Dictionaries::DICTIONARIES_DIR
902
910
  pp Dictionaries::ENGLISH_WORDS
903
- end
911
+ end
@@ -9,11 +9,11 @@ module Dictionaries
9
9
  # ========================================================================= #
10
10
  # === VERSION
11
11
  # ========================================================================= #
12
- VERSION = '0.3.81'
12
+ VERSION = '0.3.86'
13
13
 
14
14
  # ========================================================================= #
15
15
  # === LAST_UPDATE
16
16
  # ========================================================================= #
17
- LAST_UPDATE = '31.01.2024'
17
+ LAST_UPDATE = '05.04.2024'
18
18
 
19
19
  end
@@ -19,6 +19,10 @@
19
19
  # =========================================================================== #
20
20
  # === a tig
21
21
  # =========================================================================== #
22
+ abutment : das Widerlage, das Auflager
23
+ apostate : Abtrünniger, Renegat, Apostat
24
+ ambling : schlendernd, bummelnd
25
+ abominable : abscheulich, scheußlich, grässlich
22
26
  accosted : jemanden ansprechen, jemanden belästigen
23
27
  adamantly : unerbittlich, hartnäckig
24
28
  adoration : Verehrung, Anbetung
@@ -218,6 +222,7 @@ awry : fehlschlagen
218
222
  # =========================================================================== #
219
223
  # === b tig
220
224
  # =========================================================================== #
225
+ buzzard : der Bussard (eine Vogelart)
221
226
  brook : etwas dulden
222
227
  bales : das Bündel, der Packen
223
228
  bramble : der Brombeerstrauch
@@ -429,6 +434,12 @@ buzzed : brummen, summen
429
434
  # =========================================================================== #
430
435
  # === c tig
431
436
  # =========================================================================== #
437
+ commingling : die Vermischung
438
+ concert : zusammenarbeiten
439
+ chitons : die Köferschnecken
440
+ caustic : scharf, beißend, brennend, sarkastisch, ätzend
441
+ cavorting : herumtollend; tobend; herumspielend
442
+ canker : das Krebsgeschwür
432
443
  creasing : brechen, falten knittern
433
444
  creaking : knarrend; knirschend; quietschend
434
445
  capital : die Hauptstadt
@@ -732,6 +743,12 @@ cyphers : Ziffern
732
743
  # =========================================================================== #
733
744
  # === d tig
734
745
  # =========================================================================== #
746
+ denticulate : fein gezähnt
747
+ decedents : die Verstorbenen
748
+ dank : feucht, klamm, feuchtkalt, dumpfig
749
+ demurely : sittsam, zurückhaldend, gesittet, schüchtern
750
+ doxy : die Dirne
751
+ draping : drapieren, behängen, überziehen
735
752
  derisively : verächtlich, spöttisch
736
753
  disquiet : Unruhe, Angst, Sorge, Rastlosigkeit
737
754
  deadfall : Totholz
@@ -937,6 +954,10 @@ dyspnea : Atemnot
937
954
  # =========================================================================== #
938
955
  # === e tig
939
956
  # =========================================================================== #
957
+ embattled : in die Kritik geraten
958
+ expansively : umfangreich, ausdehnende, weitreichend
959
+ eddied : strudeln, wirbeln, einen Wirbel bilden
960
+ exasperation : der Frust, der Ärger, die Verzweiflung
940
961
  errand : der Botengang, der Auftrag
941
962
  eve : Vorabend, Abend
942
963
  elated : ermutigt, beschwingt, begeistert
@@ -1067,6 +1088,8 @@ exultation : der Jubel
1067
1088
  # =========================================================================== #
1068
1089
  # === f tig
1069
1090
  # =========================================================================== #
1091
+ flimsy : hauchdünn, leicht, schwach
1092
+ forestalled : jemanden zuvorkommen, etwas vorwegnehmen, etwas verhindern
1070
1093
  fell : grausam, tödlich
1071
1094
  fir : die Tanne
1072
1095
  flagon : der Krug, die Flasche
@@ -1349,6 +1372,9 @@ gyroscope : Kreisel
1349
1372
  # =========================================================================== #
1350
1373
  # === h tig
1351
1374
  # =========================================================================== #
1375
+ husking : etwas schälen, etwas ausschoten, etwas enthülsen
1376
+ hemming : einfassen, einsäumen, einengen
1377
+ haughtily : hochmütig, stolz, überheblich
1352
1378
  hurriedly : eilig, hastig, fluchtartig
1353
1379
  hoarse : heiser, rau, belegt
1354
1380
  housecarl : ein Diener
@@ -1451,6 +1477,9 @@ hypothesis : Die Hypothese
1451
1477
  # =========================================================================== #
1452
1478
  # === I tig
1453
1479
  # =========================================================================== #
1480
+ inundating : überfluten, ersaufen, ertränken
1481
+ implacability : die Unerbittlichkeit
1482
+ informality : die Formlosigkeit, die Zwanglosigkeit
1454
1483
  impassively : teilnahmslos, ungerührt
1455
1484
  interplay : das Wechselspiel
1456
1485
  impassioned : erregt, aufgebracht, leidenschaftlich
@@ -1603,6 +1632,7 @@ itinerary : Reiseweg
1603
1632
  # =========================================================================== #
1604
1633
  # === j tig
1605
1634
  # =========================================================================== #
1635
+ jotted : etwas hinwerfen, etwas notieren oder schnell hinschreiben
1606
1636
  jerkins : das Lederwams
1607
1637
  jakes : das Plumpsklo
1608
1638
  jabbering : schwätzen, plappern, quasseln, labern
@@ -1662,6 +1692,10 @@ knoll : Hügel
1662
1692
  # =========================================================================== #
1663
1693
  # === l tig
1664
1694
  # =========================================================================== #
1695
+ lolling : nachlässig anlehnen, heraushängen, dehnen, räkeln
1696
+ lacquered : lackiert, die Lackarbeit durchgeführt
1697
+ louts : die Rüpel, die Tölpel, die Flegel
1698
+ lingo : die Fachsprache, das Kauderwelsch, die Sprache
1665
1699
  larder : die Vorratskammer, die Speisekammer
1666
1700
  lessee : der Mieter, der Pächter
1667
1701
  lodestone : der Magnet, ein Publikumsmagnet
@@ -1777,6 +1811,8 @@ lye : Lauge
1777
1811
  # =========================================================================== #
1778
1812
  # === m tig
1779
1813
  # =========================================================================== #
1814
+ myopic : kurzsichtig
1815
+ mantle : die Hülle, der Umhang
1780
1816
  meek : mild, demütig, bescheiden, zahm, sanftmütig
1781
1817
  merlon : die Zinne (einer Burg)
1782
1818
  miscue : der Fehler
@@ -2316,6 +2352,8 @@ quixotically : fantastisch
2316
2352
  # =========================================================================== #
2317
2353
  # === r tig
2318
2354
  # =========================================================================== #
2355
+ roust : jemanden aufscheuchen, jemanden vertreiben
2356
+ rankle : schmerzen, wehtun, jemanden Schmerzen zufügen
2319
2357
  reproach : Vorwurf, Tadel
2320
2358
  rampart : das Bollwerk, der Wall, der Festungswall
2321
2359
  rivulets : das Bächlein, der Bach
@@ -2483,6 +2521,12 @@ rye : Roggen
2483
2521
  # =========================================================================== #
2484
2522
  # === s tig
2485
2523
  # =========================================================================== #
2524
+ sullied : besudelt, befleckt
2525
+ scalding : die Verbrühung
2526
+ sleigh : ein Lastschlitten; ein Schlitten
2527
+ stripling : der Grünschnabel, das Bürschchen
2528
+ scuffle : Streit, Zwist, Handgemenge
2529
+ scallops : die Pilgermuscheln
2486
2530
  sleet : ein Schneeregen; ein Graupelschauer
2487
2531
  saplings : ein junger Baum, ein junger Trieb
2488
2532
  sortie : der Ausfall (militärisch); der Einsatz
@@ -2850,6 +2894,7 @@ syllabus : Lehrplan
2850
2894
  # =========================================================================== #
2851
2895
  # === t tig
2852
2896
  # =========================================================================== #
2897
+ trudged : trottend, stampfend, stapfend
2853
2898
  tinkling : die Klimperei; der Metallklang
2854
2899
  tatters : ruiniert, in Lumpen, in Fetzen
2855
2900
  turgid : aufgedunsen, geschwollen
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dictionaries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.81
4
+ version: 0.3.86
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert A. Heiler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-31 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colours
@@ -97,7 +97,7 @@ dependencies:
97
97
  description: "\nThis project is called dictionaries.\n\nIt used to be called ask_english_words
98
98
  but the name was changed towards\n\"dictionaries\", when the focus became on dictionaries
99
99
  in general rather\nthan merely translations from and to the english language.\n\nThere
100
- are a total of 3142 english words\nregistered, with the associated german translation.
100
+ are a total of 3187 english words\nregistered, with the associated german translation.
101
101
  (It is\ngerman primarily because that is my native language, but in\nprinciple this
102
102
  project could be extended to include other\nlanguages as well. You only need to
103
103
  add a yaml file containing\nthe key-value pairs.)\n\nIf you need a more comprehensive
@@ -190,15 +190,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - ">="
192
192
  - !ruby/object:Gem::Version
193
- version: 3.5.5
193
+ version: 3.5.7
194
194
  requirements: []
195
- rubygems_version: 3.5.5
195
+ rubygems_version: 3.5.7
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: This project is called dictionaries. It used to be called ask_english_words
199
199
  but the name was changed towards "dictionaries", when the focus became on dictionaries
200
200
  in general rather than merely translations from and to the english language. There
201
- are a total of 3142 english words registered, with the associated german translation.
201
+ are a total of 3187 english words registered, with the associated german translation.
202
202
  (It is german primarily because that is my native language, but in principle this
203
203
  project could be extended to include other languages as well. You only need to add
204
204
  a yaml file containing the key-value pairs.) If you need a more comprehensive dictionary,