miyabi 0.4.0 → 0.4.1

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: acad0974c78fe7cac1841d823ea439e671a69eb3dad915ef8adcfcfdd0f4fdda
4
- data.tar.gz: 4bfc100695a36d2d22fc68295fa8cf0441d2e7bba02e2b300b06949e079ce87a
3
+ metadata.gz: bb04c2510122b519fffedbe7da7a7bbc231fe2691dc25b72b6892ecbb3cccdd4
4
+ data.tar.gz: 7c7ccea8e988db4b4e8e634b559d3143ced7b3722bc4c912c5ea98234fdb0839
5
5
  SHA512:
6
- metadata.gz: a19ce621920fa07fb6905f96891aeb26cb05987c8e5e6467042258ee94463fb9e6254b68fe7245d629a1ab7f929c1a711e446fbbf875574302e081fae0339e5f
7
- data.tar.gz: b82e68c6a79e5fb0360abf73b1989bd95e012a6e6adac69411fa1672cac9709227b2e0a268e3c7319dc5406bb14da7bcafc7c47a7ded18658fa9a6df33c78e71
6
+ metadata.gz: d75a4b99bba5e2e6a0dd267a94dc3a36dd0e0fac3ec16afcd43cb35f61341c9628e35448acba8bc099d96bce32a6ef7355cc623a57cce80c30c9ef8da5c19240
7
+ data.tar.gz: c521af659f19b5a73b84308f65f9ce15b38b29093c986d8f395dc59157bad7ed8926752850c7f67b279038fdb83962ac6aa8a1e36e7e2691eab79acbf2aee6d0
@@ -0,0 +1,31 @@
1
+ # https://guides.rubygems.org/trusted-publishing/releasing-gems/
2
+ name: Release
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+ workflow_dispatch:
8
+ jobs:
9
+ push:
10
+ name: Push gem to RubyGems.org
11
+ runs-on: ubuntu-latest
12
+
13
+ permissions:
14
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
15
+ contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag
16
+
17
+ environment: release
18
+
19
+ steps:
20
+ # Set up
21
+ - uses: actions/checkout@v6
22
+ with:
23
+ persist-credentials: false
24
+ - name: Set up Ruby
25
+ uses: ruby/setup-ruby@v1
26
+ with:
27
+ bundler-cache: true
28
+ ruby-version: ruby
29
+
30
+ # Release
31
+ - uses: rubygems/release-gem@v1
data/CHANGELOG.md CHANGED
@@ -9,6 +9,10 @@ The format is based on [Keep a Changelog][cl], and this project adheres to [Sema
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## 0.4.1
13
+
14
+ Maintenance release. Mainly for enabling trusted publishing.
15
+
12
16
  ## 0.4.0
13
17
 
14
18
  Make `to_kanhira` method optional. If you still need this, install Nokogiri gem and:
data/README.md CHANGED
@@ -54,21 +54,14 @@ If you use the GNU Guix, `guix shell` to enter the development environment, then
54
54
  ## Contributing
55
55
 
56
56
  Bug reports and pull requests are welcome on
57
- [GitHub](https://github.com/gemmaro/miyabi). This project is intended to be a
58
- safe, welcoming space for collaboration, and contributors are expected to
59
- adhere to the [Contributor Covenant](http://contributor-covenant.org) code of
60
- conduct.
57
+ [GitHub](https://github.com/gemmaro/miyabi).
61
58
 
62
59
  ## License
63
60
 
64
61
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
65
62
 
66
- ## Code of Conduct
63
+ ## Links and Related Works
67
64
 
68
- Everyone interacting in the Miyabi project’s codebases, issue trackers, chat
69
- rooms and mailing lists is expected to follow the [code of
70
- conduct](https://github.com/gemmaro/miyabi/blob/master/CODE_OF_CONDUCT.md).
65
+ This work has been initially created by isy at [isy/miyabi](https://github.com/isy/miyabi).
71
66
 
72
- ## Related Works
73
-
74
- [jaconv](https://github.com/ikegami-yukino/jaconv) (Python library)
67
+ There are other similar libraries such as [jaconv](https://github.com/ikegami-yukino/jaconv) (Python library).
@@ -1,3 +1,3 @@
1
1
  module Miyabi
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
data/manifest.scm CHANGED
@@ -2,4 +2,4 @@
2
2
  (gnu packages ruby-xyz)
3
3
  (gnu packages ruby-check)
4
4
  (guix profiles))
5
- (packages->manifest (list ruby-nokogiri ruby-rspec ruby-3.1 ruby-rubocop))
5
+ (packages->manifest (list ruby-nokogiri ruby-rspec ruby-3.3 ruby-rubocop))
data/miyabi.gemspec CHANGED
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.required_ruby_version = '>= 3.0'
23
23
 
24
24
  spec.add_development_dependency 'rspec', '~> 3.12'
25
+ spec.add_development_dependency 'rake'
25
26
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miyabi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hironori Akaishi
8
8
  - gemmaro
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2025-07-21 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
@@ -25,6 +24,20 @@ dependencies:
25
24
  - - "~>"
26
25
  - !ruby/object:Gem::Version
27
26
  version: '3.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
28
41
  description: Format Japanese characters
29
42
  email:
30
43
  - ah.gm3622@gmail.com
@@ -34,12 +47,12 @@ extensions: []
34
47
  extra_rdoc_files: []
35
48
  files:
36
49
  - ".envrc"
50
+ - ".github/workflows/release.yaml"
37
51
  - ".gitignore"
38
52
  - ".rspec"
39
53
  - ".rubocop.yml"
40
54
  - ".rubocop_todo.yml"
41
55
  - CHANGELOG.md
42
- - CODE_OF_CONDUCT.md
43
56
  - Gemfile
44
57
  - LICENSE.txt
45
58
  - README.md
@@ -60,7 +73,6 @@ licenses:
60
73
  - MIT
61
74
  metadata:
62
75
  rubygems_mfa_required: 'true'
63
- post_install_message:
64
76
  rdoc_options: []
65
77
  require_paths:
66
78
  - lib
@@ -75,8 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
87
  - !ruby/object:Gem::Version
76
88
  version: '0'
77
89
  requirements: []
78
- rubygems_version: 3.3.27
79
- signing_key:
90
+ rubygems_version: 4.0.6
80
91
  specification_version: 4
81
92
  summary: kana,hira,kanji formatter
82
93
  test_files: []
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at ah.gm3622@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/