wp2txt 2.1.1 → 2.1.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: 464bf436280592e916e565d24cacdbde13c925ceaa9b390a2b36d4835053a323
4
- data.tar.gz: 205a30ed5e9193d974f3a93d04f42ca55f9a241c0215a2755567c949776a9c3b
3
+ metadata.gz: 03b8bbbab05c9ab7f56ed3f89c00ae14c3259fbb7b00d54010b04a0decb79f16
4
+ data.tar.gz: dd92bacf8e6f17e9d6d5ad33bb3e9c5777cb59a53f4f150136a2143dd84f5b1d
5
5
  SHA512:
6
- metadata.gz: d6cf5dbef0e429802a5f66450e43598b94615c92fb144bc6630d44469ba73030002ec539049babd56271ef9c50d84ac22d7b90172e47d112b78676b68aca3324
7
- data.tar.gz: 04c368cb623116823bd1a036fe760f38bb1bce78fa3ba6d15ea1db13f00ad7224a1e67b3904a5e1a9b1f329bcc7a8805255ad811ddd2925299c2d58a5968a8ac
6
+ metadata.gz: b4d95651f10fd30d3c0d23d2846c60b891716b2638a62151712a28bf6ea1f2a6e0da18abaa5b48553f6d736ba86bfeb8fd978ee1e07facfc45c56256734b239d
7
+ data.tar.gz: e10dcbcba41561a26df4f5740b6517bc2253fe6226eb68d588c17c9bf00f2ec6b9e41ba6eceeff63be0fc742856eb20c385c290a32f5ccc8d364b110fff7fcdb
@@ -0,0 +1,3 @@
1
+ github: yohasebe
2
+ buy_me_a_coffee: yohasebe
3
+ ko_fi: yohasebe
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.1.2] - 2026-07-19
9
+
10
+ - **Fixed gem file permissions**: The published gem contained files with owner-only (0600) permissions inherited from the build machine, making them unreadable after `sudo gem install`. A `normalize_permissions` task now runs before `rake build`, ensuring all packaged files are world-readable (0644, or 0755 for executables)
11
+
8
12
  ## [2.1.1] - 2026-02-21
9
13
 
10
14
  - **Bidirectional alias matching**: Section extraction now supports reverse alias lookup - specifying an alias name (e.g., "Synopsis") as target matches the canonical heading ("Plot") and vice versa
data/Rakefile CHANGED
@@ -17,6 +17,17 @@ end
17
17
 
18
18
  task default: :spec
19
19
 
20
+ # Gem packaging preserves on-disk file modes; owner-only permissions here
21
+ # produce gems whose files are unreadable after a sudo install.
22
+ task :normalize_permissions do
23
+ `git ls-files -z`.split("\x0").each do |f|
24
+ executable = File.executable?(f) || f.start_with?("bin/", "exe/")
25
+ File.chmod(executable ? 0o755 : 0o644, f)
26
+ end
27
+ end
28
+
29
+ Rake::Task["build"].enhance([:normalize_permissions])
30
+
20
31
  # =============================================================================
21
32
  # Docker
22
33
  # =============================================================================
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wp2txt
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wp2txt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoichiro Hasebe
@@ -201,6 +201,7 @@ extensions: []
201
201
  extra_rdoc_files: []
202
202
  files:
203
203
  - ".dockerignore"
204
+ - ".github/FUNDING.yml"
204
205
  - ".github/workflows/ci.yml"
205
206
  - ".gitignore"
206
207
  - ".solargraph.yml"