gettext 3.5.1 → 3.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4162afca8c38f488bed83c1ea9789e023d8a41a60081a14f0857d76bfdc5a374
4
- data.tar.gz: 824eb1a35f64d10ef17da6f5120f76bad98154f0511c1d98039095d2b70ea94c
3
+ metadata.gz: c3e308b50375d4a1af74d787bef561bdc20d97a8da045e0a63691353db56b1d4
4
+ data.tar.gz: 2028906c7a708e452ccae9b783965358fac558a5ac1564cf09051cc9514d1603
5
5
  SHA512:
6
- metadata.gz: 529976e2c7e787401446e99098bfe94bddacaaf525fed98760543e612511f6a1d382205b155f6a56c52348fe13b5296f63c1f7590d7d1e158c97248aacdbcdb3
7
- data.tar.gz: 73e8aa16c09f18fc8281f8eb58f414e9a2d323127c533eebae625f0622f7080938deaf2eb5912304d97239f991cd42d649ec2eefae230b340cda904ad462fae4
6
+ metadata.gz: 30596c9408d65115e6c03395d0fe8060d5de4144505d75309832e6d2ce6602aff24a4b1743b886851219196b32f31c34bcd297cdc78645df5b5eb8af4a548841
7
+ data.tar.gz: e39d58334a1afdb6d09d13374802536836e333c275f13730d1bd760318c5b582d431c90232b56f9a55d2c87aa44a1c96c8b6de6aaa87bf4531262478dc8ddd65
data/Rakefile CHANGED
@@ -8,7 +8,7 @@
8
8
  # You don't need to use this file directly.
9
9
  #
10
10
  # Copyright(c) 2005-2009 Masao Mutoh
11
- # Copyright(c) 2012-2013 Kouhei Sutou <kou@clear-code.com>
11
+ # Copyright(c) 2012-2025 Kouhei Sutou <kou@clear-code.com>
12
12
  # Copyright(c) 2012 Haruka Yoshihara <yoshihara@clear-code.com>
13
13
  # This program is licenced under the same licence as Ruby.
14
14
 
@@ -198,3 +198,14 @@ task :build => [:gettext]
198
198
 
199
199
  YARD::Rake::YardocTask.new do |t|
200
200
  end
201
+
202
+ release_task = Rake.application["release"]
203
+ # We use Trusted Publishing.
204
+ release_task.prerequisites.delete("build")
205
+ release_task.prerequisites.delete("release:rubygem_push")
206
+ release_task_comment = release_task.comment
207
+ if release_task_comment
208
+ release_task.clear_comments
209
+ release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
210
+ end
211
+
data/doc/text/news.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # News
2
2
 
3
+ ## 3.5.2: 2026-02-25 {#version-3-5-2}
4
+
5
+ ### Improvements
6
+
7
+ * Add more metadata to gemspec.
8
+ * GH-115
9
+ * Patch by Keenan Brock
10
+
11
+ * Add support for ERB 6.0.2.
12
+ * GH-118
13
+ * Patch by Karine Vieira
14
+
15
+ ### Thanks
16
+
17
+ * Keenan Brock
18
+ * Karine Vieira
19
+
3
20
  ## 3.5.1: 2025-01-27 {#version-3-5-1}
4
21
 
5
22
  ### Improvements
data/gettext.gemspec CHANGED
@@ -16,6 +16,10 @@ So you can use GNU gettext tools for maintaining.
16
16
  s.authors = ["Kouhei Sutou", "Masao Mutoh"]
17
17
  s.email = ["kou@clear-code.com", "mutomasa at gmail.com"]
18
18
  s.homepage = "https://ruby-gettext.github.io/"
19
+ s.metadata = {
20
+ "source_code_uri" => "https://github.com/ruby-gettext/gettext",
21
+ "changelog_uri" => "https://github.com/ruby-gettext/gettext/releases/tag/#{s.version}"
22
+ }
19
23
  s.require_paths = ["lib"]
20
24
  Dir.chdir(base_dir) do
21
25
  s.files = Dir.glob("{locale,bin,data,doc/text,lib,po,samples,src,test}/**/*")
@@ -70,7 +70,7 @@ module GetText
70
70
  else
71
71
  erb = ERB.new(content, nil, "-")
72
72
  end
73
- src = erb.src
73
+ src = +erb.src
74
74
 
75
75
  # Force the src encoding back to the encoding in magic comment
76
76
  # or original content.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  version - version information of gettext
3
3
 
4
- Copyright (C) 2012-2024 Sutou Kouhei <kou@clear-code.com>
4
+ Copyright (C) 2012-2025 Sutou Kouhei <kou@clear-code.com>
5
5
  Copyright (C) 2005-2009 Masao Mutoh
6
6
 
7
7
  You may redistribute it and/or modify it under the same
@@ -9,5 +9,5 @@
9
9
  =end
10
10
 
11
11
  module GetText
12
- VERSION = "3.5.1"
12
+ VERSION = "3.5.2"
13
13
  end
data/po/gettext.pot CHANGED
@@ -6,10 +6,10 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: gettext 3.5.1\n"
9
+ "Project-Id-Version: gettext 3.5.2\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2025-01-27 05:08+0000\n"
12
- "PO-Revision-Date: 2025-01-27 05:08+0000\n"
11
+ "POT-Creation-Date: 2026-02-25 02:19+0000\n"
12
+ "PO-Revision-Date: 2026-02-25 02:19+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettext
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  - Masao Mutoh
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-27 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubi
@@ -752,7 +752,9 @@ homepage: https://ruby-gettext.github.io/
752
752
  licenses:
753
753
  - Ruby
754
754
  - LGPL-3.0+
755
- metadata: {}
755
+ metadata:
756
+ source_code_uri: https://github.com/ruby-gettext/gettext
757
+ changelog_uri: https://github.com/ruby-gettext/gettext/releases/tag/3.5.2
756
758
  rdoc_options: []
757
759
  require_paths:
758
760
  - lib
@@ -767,7 +769,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
767
769
  - !ruby/object:Gem::Version
768
770
  version: '0'
769
771
  requirements: []
770
- rubygems_version: 3.6.2
772
+ rubygems_version: 4.0.3
771
773
  specification_version: 4
772
774
  summary: Gettext is a pure Ruby libary and tools to localize messages.
773
775
  test_files: