pray-cli 1.23.0 → 1.25.0

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: 9fa10db14b7b45fdd5152a06e02fdf4312ca40fa575529ecd7448722caea437c
4
- data.tar.gz: f53a2e0ca8b6d8a5d97a8a45903953a9b20c900864a354b8ea494e986eb9d815
3
+ metadata.gz: 817f233c7933ea4baf101ff50028641a039e3970951e83a1bfdda61f1ec55412
4
+ data.tar.gz: 43b0d03df5ee524eefc819d5984b2ac01fa05377ffbdb60621ce195113339c45
5
5
  SHA512:
6
- metadata.gz: 21c44b12b0e8bf97d429491f4c32969a6700857c28b2b4b0981312dab4032279f7e52b4a4bd050984578469287554497e0ccff96a36ff6a3f99e69b97bbe1790
7
- data.tar.gz: 11b795d9454a35f763cab755f82747c4470303912ef4269dd399d0b89266ad6833cf2246462b39113acfaccc494b904eba026d0e3813709a5e62735fcb74617e
6
+ metadata.gz: 6ae47d928e86b7beb3c3b4009e836fe0a53d2f620a54eb891576acb8854931b51508bda2fbd4fe33565aab97047691561dc2ce49e332068f6235e1be0db34ba2
7
+ data.tar.gz: 16e3dfa34136071143a0adcb85184c341f655fbcef9a6319c0a8249bd90c86bb0f61ace49ad16da2470660c23240a70c5ec343d3b14fec563fcffac741fbf9a3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.25.0 (2026-10-26)
6
+
7
+ - Bump the gem version to 1.25.0 with the coordinated language-registry cut.
8
+
9
+ ## 1.24.0 (2026-10-26)
10
+
11
+ - Document `require "pray"` (library, no `Pray::CLI`) versus `require "pray-cli"` (library plus CLI).
12
+
5
13
  ## 1.23.0 (2026-10-26)
6
14
 
7
15
  - Leave package catalog JSON bytes alone when publish reports a version unchanged. A load and rewrite round trip no longer strips trailing newlines or reorders keys such as `artifact_hash` relative to `yanked`.
data/README.md CHANGED
@@ -28,6 +28,19 @@ bundle install
28
28
  bundle exec pray version
29
29
  ```
30
30
 
31
+ ## Library vs CLI
32
+
33
+ `require "pray"` loads the core library and does not define `Pray::CLI`.
34
+
35
+ `require "pray-cli"` (or the `pray` executable) loads the library plus CLI dispatch.
36
+
37
+ ```ruby
38
+ require "pray"
39
+
40
+ manifest = Pray.parse_manifest(File.read("Prayfile"))
41
+ project = Pray.resolve_project
42
+ ```
43
+
31
44
  ## Commands
32
45
 
33
46
  Core workflow:
data/lib/pray/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pray
4
- VERSION = "1.23.0"
5
- GENERATED_BY = "pray 1.23.0"
4
+ VERSION = "1.25.0"
5
+ GENERATED_BY = "pray 1.25.0"
6
6
  end
data/lib/pray-cli.rb CHANGED
@@ -1,4 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # CLI entry. Loads the core library plus Pray::CLI.
4
+ # Embed consumers that do not need the CLI should require "pray" instead.
5
+
3
6
  require_relative "pray"
4
7
  require_relative "pray/cli"
data/lib/pray.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Core library entry. Does not load Pray::CLI.
4
+ # CLI consumers use require "pray-cli" or the pray executable.
5
+
3
6
  require_relative "pray/version"
4
7
  require_relative "pray/error"
5
8
  require_relative "pray/literal"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pray-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov