util 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +1 -0
- data/CECILL-C.EN +517 -0
- data/CECILL-C.FR +521 -0
- data/LICENSES.md +21 -0
- data/README.md +325 -0
- data/lib/util.rb +8 -0
- data/lib/util/arg.rb +90 -0
- data/lib/util/communia.rb +8 -0
- data/lib/util/console_logger.rb +178 -0
- data/lib/util/i18n.rb +328 -0
- data/lib/util/lists.rb +6 -0
- data/lib/util/lists/iso639.rb +149 -0
- data/lib/util/test.rb +225 -0
- data/lib/util/yaml.rb +18 -0
- data/share/lists/iso639-3.yml +35528 -0
- data/test/unit.rb +20 -0
- data/test/unit/i18n.rb +216 -0
- data/test/unit/i18n/CamelCase/eng.yml +2 -0
- data/test/unit/i18n/CamelCase/fra.yml +2 -0
- data/test/unit/i18n/aaj.yml +2 -0
- data/test/unit/i18n/en.yml +2 -0
- data/test/unit/i18n/fra.yml +2 -0
- data/test/unit/i18n/i18n +0 -0
- data/test/unit/i18n/prv.yml +2 -0
- data/test/unit/i18n/void/fra.yml/Yes-git-I-need-this-folder-even-if-it-is-empty +0 -0
- data/test/unit/i18n//316/261/316/273/316/271/316/261/317/202/fra.yml +2 -0
- data/test/unit/lists/iso639.rb +78 -0
- data/tools/create-iso639-3.rb +235 -0
- metadata +74 -0
metadata
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: util
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Guillaume Lestringant
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-08 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |2
|
14
|
+
A collection of diverse simple utilities without much anything to do
|
15
|
+
with one another. The main rationale is to reduce the time spent on
|
16
|
+
boilerplate like checking whether the arguments have the right type,
|
17
|
+
or introducing some basic internationalization. More detail in the README.
|
18
|
+
email: 5582173-guillel@users.noreply.gitlab.com
|
19
|
+
executables: []
|
20
|
+
extensions: []
|
21
|
+
extra_rdoc_files: []
|
22
|
+
files:
|
23
|
+
- ".yardopts"
|
24
|
+
- CECILL-C.EN
|
25
|
+
- CECILL-C.FR
|
26
|
+
- LICENSES.md
|
27
|
+
- README.md
|
28
|
+
- lib/util.rb
|
29
|
+
- lib/util/arg.rb
|
30
|
+
- lib/util/communia.rb
|
31
|
+
- lib/util/console_logger.rb
|
32
|
+
- lib/util/i18n.rb
|
33
|
+
- lib/util/lists.rb
|
34
|
+
- lib/util/lists/iso639.rb
|
35
|
+
- lib/util/test.rb
|
36
|
+
- lib/util/yaml.rb
|
37
|
+
- share/lists/iso639-3.yml
|
38
|
+
- test/unit.rb
|
39
|
+
- test/unit/i18n.rb
|
40
|
+
- test/unit/i18n/CamelCase/eng.yml
|
41
|
+
- test/unit/i18n/CamelCase/fra.yml
|
42
|
+
- test/unit/i18n/aaj.yml
|
43
|
+
- test/unit/i18n/en.yml
|
44
|
+
- test/unit/i18n/fra.yml
|
45
|
+
- test/unit/i18n/i18n
|
46
|
+
- test/unit/i18n/prv.yml
|
47
|
+
- test/unit/i18n/void/fra.yml/Yes-git-I-need-this-folder-even-if-it-is-empty
|
48
|
+
- test/unit/i18n/αλιας/fra.yml
|
49
|
+
- test/unit/lists/iso639.rb
|
50
|
+
- tools/create-iso639-3.rb
|
51
|
+
homepage: https://gitlab.com/guillel/util-gem
|
52
|
+
licenses:
|
53
|
+
- CECILL-C
|
54
|
+
metadata: {}
|
55
|
+
post_install_message:
|
56
|
+
rdoc_options: []
|
57
|
+
require_paths:
|
58
|
+
- lib
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
requirements: []
|
70
|
+
rubygems_version: 3.1.2
|
71
|
+
signing_key:
|
72
|
+
specification_version: 4
|
73
|
+
summary: Collection of simple utilities to reduce boilerplate
|
74
|
+
test_files: []
|