locale 2.1.4 → 2.1.5

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: '0566995735dba653591ecc129791317aaccb9e04910bdf530a968eda9bc3d3b8'
4
- data.tar.gz: 9352a3d86cb0d62bbb5d65aedeab76e20ec2a5ee9773ec51fec0409a04449fc1
3
+ metadata.gz: ea043b37569ec2c019a79b2cf1d2fd4ce0f256308daaeda3a259eeb7f8d869b4
4
+ data.tar.gz: 0bb4a49a48d2cbca4ec05b43a79c12e04589dee9dfd6abae8ec686505f7b1243
5
5
  SHA512:
6
- metadata.gz: 5de200054cccf923c4d542175d792dddb28a3ec59887e9a97c6aec55a59d588c1690527540a83affee5fe1843b01bd4bcef6bc02310b91da98b9c107c015cff0
7
- data.tar.gz: 9e846daf080367701b615377af1d07ef1428b70bc779a664ea08ae8e061c8f26b13ac5229fdc1b95cd71966c7ae07c0d8db272a42d30da9481ca2a24bb2461dd
6
+ metadata.gz: 512abd837c157acfb55cfe4cf475a24f9a15624b7098b5302122eb2c96976cc871fc10078093f003bee6d4d838cba4c349b5170de0a1bb9e82a8b7e12d78a3ee
7
+ data.tar.gz: 1c61aabaa944ee2d45385d3840c916a0835531e20381f76454c207efa6af7839bc68d3b265eb28c396d0d42ce112bdd008df82f13f3828cb8e634a711754a4d2
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
- # -*- mode: ruby; coding: utf-8 -*-
1
+ # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2012-2026 Sutou Kouhei <kou@clear-code.com>
4
4
  #
5
5
  # License: Ruby's or LGPL
6
6
  #
@@ -20,3 +20,5 @@
20
20
  source 'https://rubygems.org'
21
21
 
22
22
  gemspec
23
+
24
+ gem "cgi"
data/Rakefile CHANGED
@@ -41,3 +41,13 @@ task :test do
41
41
  options = ARGV - Rake.application.top_level_tasks
42
42
  ruby("test/run-test.rb", *options)
43
43
  end
44
+
45
+ release_task = Rake.application["release"]
46
+ # We use Trusted Publishing.
47
+ release_task.prerequisites.delete("build")
48
+ release_task.prerequisites.delete("release:rubygem_push")
49
+ release_task_comment = release_task.comment
50
+ if release_task_comment
51
+ release_task.clear_comments
52
+ release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
53
+ end
data/doc/text/news.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # News
2
2
 
3
+ ## 2.1.5: 2026-02-25
4
+
5
+ ### Improvements
6
+
7
+ * Use SPDX license identifier in gemspec.
8
+ * GH-18
9
+ * Patch by Dan Čermák
10
+
11
+ * Add Fiddle as a runtime dependency for Ruby 4.0. Ruby 4.0 or later
12
+ doesn't ship Fiddle as a default gem.
13
+ * GH-19
14
+ * GH-20
15
+ * Reported by Mamoru TASAKA
16
+
17
+ ### Thanks
18
+
19
+ * Dan Čermák
20
+ * Mamoru TASAKA
21
+
3
22
  ## 2.1.4: 2024-03-18
4
23
 
5
24
  ### Fixes
@@ -2,12 +2,12 @@
2
2
  version - version information of Ruby-Locale
3
3
 
4
4
  Copyright (C) 2008 Masao Mutoh
5
- Copyright (C) 2013-2020 Sutou Kouhei <kou@clear-code.com>
5
+ Copyright (C) 2013-2026 Sutou Kouhei <kou@clear-code.com>
6
6
 
7
7
  You may redistribute it and/or modify it under the same
8
8
  license terms as Ruby.
9
9
  =end
10
10
  module Locale
11
- VERSION = "2.1.4"
11
+ VERSION = "2.1.5"
12
12
  end
13
13
 
data/locale.gemspec CHANGED
@@ -1,6 +1,6 @@
1
- # -*- mode: ruby; coding: utf-8 -*-
1
+ # -*- mode: ruby -*-
2
2
  #
3
- # Copyright (C) 2012-2013 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2012-2026 Sutou Kouhei <kou@clear-code.com>
4
4
  # Copyright (C) 2009 Masao Mutoh
5
5
  #
6
6
  # License: Ruby's or LGPL
@@ -32,7 +32,7 @@ Ruby-Locale is the pure ruby library which provides basic APIs for localization.
32
32
  s.authors = ["Kouhei Sutou", "Masao Mutoh"]
33
33
  s.email = ["kou@clear-code.com", "mutomasa at gmail.com"]
34
34
  s.homepage = "https://github.com/ruby-gettext/locale"
35
- s.licenses = ["Ruby", "LGPLv3+"]
35
+ s.licenses = ["Ruby", "LGPL-3.0-or-later"]
36
36
  s.require_paths = ["lib"]
37
37
  Dir.chdir(base_dir) do
38
38
  s.files = Dir.glob("{lib,samples}/**/*").find_all do |path|
@@ -44,6 +44,9 @@ Ruby-Locale is the pure ruby library which provides basic APIs for localization.
44
44
  s.test_files = Dir.glob("test/test_*.rb")
45
45
  end
46
46
 
47
+ # This is needed only for Windows.
48
+ s.add_dependency("fiddle")
49
+
47
50
  s.add_development_dependency("bundler")
48
51
  s.add_development_dependency("kramdown")
49
52
  s.add_development_dependency("rake")
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locale
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
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: 2024-03-18 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: fiddle
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +172,7 @@ files:
158
172
  homepage: https://github.com/ruby-gettext/locale
159
173
  licenses:
160
174
  - Ruby
161
- - LGPLv3+
175
+ - LGPL-3.0-or-later
162
176
  metadata: {}
163
177
  rdoc_options: []
164
178
  require_paths:
@@ -174,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
188
  - !ruby/object:Gem::Version
175
189
  version: '0'
176
190
  requirements: []
177
- rubygems_version: 3.6.0.dev
191
+ rubygems_version: 4.0.3
178
192
  specification_version: 4
179
193
  summary: Ruby-Locale is the pure ruby library which provides basic APIs for localization.
180
194
  test_files: