phi_attrs 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -23
  3. data/lib/phi_attrs/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 237044ea15d9e2cfbabb11218d60dbc32869ab91caa8c5f6f42f13eb2d9c34ff
4
- data.tar.gz: 21b7e8149c94f9bc515767078bcf644976ebcda4e7c14209daec970b24ae8691
3
+ metadata.gz: e9491994c4490412fc98cf81f0962715528ddfebeb262d4bc262f5724d5523fc
4
+ data.tar.gz: 88695a4f672da5e95513e6507f51fba9f8fa8d76d2bc90baef9cbdd251fcebe5
5
5
  SHA512:
6
- metadata.gz: 9cbaf5dcb370bd661ccbef997adbd68828289c9c7aa56e66c4773e765dffd2d65d41248991f3543b42fc09a73416fd9d8e38a9a3ce174fb1e95ddc89d268499c
7
- data.tar.gz: e2c6245f0ef7843b4b55d3d0f2b4acf850ccfcc72755dc6482f09cb08e19efa8f0afdf2c5b26b56f1ee0bc5f7cec4128401764c54bb79905d767c93c05f9faaf
6
+ metadata.gz: ba47d32c99dfa8b757f9d37da114113d6099fd0db989ef4515f354105880f524300983795022b424fd10e19aa3fc0bd95c5317865ec2d53c180f6d16fbd597fe
7
+ data.tar.gz: 01054a9b3dafc8a1547681fdcc9990b1b7adf7fa6eb454dfab1a98f39752ed9477138f32161db2b5fd464f2b85c4e7470d57961a7306b5e5fb5f415f09ec6f45
data/README.md CHANGED
@@ -471,34 +471,18 @@ Run `bin/setup` to install dependencies. Then, run `bundle exec rake` to run lin
471
471
 
472
472
  To install this gem onto your local machine, run `bundle exec rake install`.
473
473
 
474
- ### Releases
475
-
476
- Releases are driven by git tags. The version lives in `lib/phi_attrs/version.rb`, and the gemspec reads `PhiAttrs::VERSION`.
477
-
478
- ```bash
479
- bundle install
480
- bin/release patch # or: minor, major
481
- ```
482
-
483
- To publish an RC for a specific version:
484
-
485
- ```bash
486
- bin/release rc 1.2.0
487
- ```
488
-
489
- This sets the version to `1.2.0-rc` and tags it as `v1.2.0-rc`.
474
+ ### Releasing
490
475
 
491
- Prereleases can also use `bump`'s native `pre` increment:
476
+ Create a release from `main`:
492
477
 
493
- ```bash
494
- bin/release pre
478
+ ```sh
479
+ bin/release {major|minor|patch|pre}
480
+ git push --follow-tags
495
481
  ```
496
482
 
497
- `pre` cycles prerelease labels in order: `alpha`, `beta`, `rc`, then the final version. For example, `1.2.0-rc` becomes `1.2.0`, tagged as `v1.2.0`.
498
-
499
- `bin/release` uses `bump`, commits the version file, creates a `v<version>` tag, pushes the branch, and pushes the tag.
483
+ The release script validates the repository, bumps the version, creates a git tag.
500
484
 
501
- GitHub Actions publishes only when a `v*` tag is pushed. The publish workflow builds the gem, pushes it to RubyGems with `RUBYGEMS_API_KEY`, and creates a GitHub release with the built gem attached. Tags containing a prerelease suffix, such as `v1.2.0-rc`, are marked as prereleases on GitHub.
485
+ Publishing to RubyGems and creating a GitHub Release are handled automatically by GitHub Actions.
502
486
 
503
487
 
504
488
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PhiAttrs
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phi_attrs
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
  - Wyatt Kirby