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 +4 -4
- data/.github/FUNDING.yml +3 -0
- data/CHANGELOG.md +4 -0
- data/Rakefile +11 -0
- data/lib/wp2txt/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03b8bbbab05c9ab7f56ed3f89c00ae14c3259fbb7b00d54010b04a0decb79f16
|
|
4
|
+
data.tar.gz: dd92bacf8e6f17e9d6d5ad33bb3e9c5777cb59a53f4f150136a2143dd84f5b1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4d95651f10fd30d3c0d23d2846c60b891716b2638a62151712a28bf6ea1f2a6e0da18abaa5b48553f6d736ba86bfeb8fd978ee1e07facfc45c56256734b239d
|
|
7
|
+
data.tar.gz: e10dcbcba41561a26df4f5740b6517bc2253fe6226eb68d588c17c9bf00f2ec6b9e41ba6eceeff63be0fc742856eb20c385c290a32f5ccc8d364b110fff7fcdb
|
data/.github/FUNDING.yml
ADDED
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
|
# =============================================================================
|
data/lib/wp2txt/version.rb
CHANGED
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.
|
|
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"
|