metanorma-itu 2.3.4 → 2.3.5

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
  SHA256:
3
- metadata.gz: 2d1346bbb86633c2cbb578881a94f2754e3a64684d697f1d6a1b5227d0a31172
4
- data.tar.gz: cb4d4d16e07855563311b1c1c06810f654b5ebf5726a44888a9a781ed96b078c
3
+ metadata.gz: 4acc57d157430e9c4a9e37bd8f8aa0da066a3c4afb8ba55a13b3ecf43f9bf286
4
+ data.tar.gz: 16e233430fd7a3b309d9df84618e34b2fa1f518481d5ed626f5bf77724ea962a
5
5
  SHA512:
6
- metadata.gz: c117fe72a0f775423187d9c8d9db6cbba6ab597453f5e19ad514a080043fc6a4bae9fdf1691434ab41cbb4e9264368946c10ba2e19870e552fefa5618e2a0a16
7
- data.tar.gz: 5d846b1dec830413aa07b9c9fa3c2e9605f3420992f1f0a50c7199d3ec0fc802855d413e1a3b7a5d7459d5a28bfbf269f6bfa41f39b03d85f1c784e3ba61e3fb
6
+ metadata.gz: e332ff239cac846ceaad36f20bb88641e8893821485fa73b148b7d82d635d0435caf541356fedbf782e51600a29f2a84c81e61f21eefa4151873635b8f395179
7
+ data.tar.gz: 35015e7389c327bff50c85b0a9f9e1a1f3ceeedfbf73edc3d77ade41ac56c91cefeab0d7eeb1dba9511eaea81f4b2540fe148f7ce4412d02b26b4e977a16fa2e
data/Gemfile CHANGED
@@ -4,8 +4,12 @@ Encoding.default_internal = Encoding::UTF_8
4
4
  source "https://rubygems.org"
5
5
  git_source(:github) { |repo| "https://github.com/#{repo}" }
6
6
 
7
- gemspec
7
+ group :development, :test do
8
+ gem "rspec"
9
+ end
8
10
 
9
11
  if File.exist? "Gemfile.devel"
10
12
  eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
11
13
  end
14
+
15
+ gemspec
@@ -52,6 +52,7 @@ annex_to_itu_ob: Anhang zum ITU Operational Bulletin
52
52
  number_abbrev: Nr.
53
53
  annex_to_itu_ob_abbrev: Anhang zum ITU OB %
54
54
  international_telecommunication_union: Internationale Fernmeldeunion
55
+ ITU: ITU
55
56
  position_on: (Position auf %)
56
57
  revision_abbreviation: Rev.
57
58
  tsb: TSB
@@ -53,6 +53,7 @@ annex_to_itu_ob: Annex to ITU Operational Bulletin
53
53
  number_abbrev: No.
54
54
  annex_to_itu_ob_abbrev: Annex to ITU OB %
55
55
  international_telecommunication_union: International Telecommunication Union
56
+ ITU: ITU
56
57
  position_on: (Position on %)
57
58
  revision_abbreviation: Rev.
58
59
  tsb: TSB
@@ -53,6 +53,7 @@ annex_to_itu_ob: Anexo al Boletín de Explotación de la UIT
53
53
  number_abbrev: N.°
54
54
  annex_to_itu_ob_abbrev: Anexo al BE de la UIT %
55
55
  international_telecommunication_union: Unión Internacional de Telecomunicaciones
56
+ ITU: UIT
56
57
  position_on: (Posición en %)
57
58
  revision_abbreviation: Rev.
58
59
  tsb: TSB
@@ -53,6 +53,7 @@ annex_to_itu_ob: Annexe au Bulletin d’exploitation de l’UIT
53
53
  number_abbrev: Nº
54
54
  annex_to_itu_ob_abbrev: Annexe au BE de l’UIT %
55
55
  international_telecommunication_union: Union internationale des télécommunications
56
+ ITU: UIT
56
57
  position_on: (Position sur %)
57
58
  revision_abbreviation: Rev.
58
59
  tsb: TSB
@@ -53,6 +53,7 @@ annex_to_itu_ob: Приложение к Оперативному бюллете
53
53
  number_abbrev: №.
54
54
  annex_to_itu_ob_abbrev: Приложение к ОБ МСЭ %
55
55
  international_telecommunication_union: Международный Союз Электросвязи
56
+ ITU: МСЭ
56
57
  position_on: (Позиция по %)
57
58
  revision_abbreviation: Ред.
58
59
  tsb: БСЭ
@@ -75,7 +75,15 @@ module Metanorma
75
75
  end
76
76
 
77
77
  def default_publisher
78
- "International Telecommunication Union"
78
+ @i18n.get["ITU"] || @i18n.international_telecommunication_union
79
+ end
80
+
81
+ def org_abbrev
82
+ if @i18n.get["ITU"]
83
+ { @i18n.international_telecommunication_union => @i18n.get["ITU"] }
84
+ else
85
+ {}
86
+ end
79
87
  end
80
88
 
81
89
  def metadata_committee(node, xml)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "2.3.4".freeze
3
+ VERSION = "2.3.5".freeze
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ["lib"]
26
26
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
27
27
 
28
- spec.add_dependency "metanorma-standoc", "~> 2.6.3"
28
+ spec.add_dependency "metanorma-standoc", "~> 2.7.0"
29
29
  spec.add_dependency "ruby-jing"
30
30
  spec.add_dependency "twitter_cldr", ">= 3.0.0"
31
31
  spec.add_dependency "tzinfo-data" # we need this for windows only
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-20 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.6.3
19
+ version: 2.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.6.3
26
+ version: 2.7.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-jing
29
29
  requirement: !ruby/object:Gem::Requirement