stone_checksums 1.0.0 → 1.0.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.
@@ -1,7 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative "../stone_checksums/version"
4
+
5
+ # Semantic version for the GemChecksums namespace
3
6
  module GemChecksums
7
+ # Version-related constants for GemChecksums
4
8
  module Version
5
- VERSION = "1.0.0"
9
+ # Current gem version (delegated to StoneChecksums)
10
+ # @return [String]
11
+ VERSION = ::StoneChecksums::Version::VERSION
6
12
  end
7
13
  end
data/lib/gem_checksums.rb CHANGED
@@ -25,52 +25,106 @@ module GemChecksums
25
25
  GIT_DRY_RUN_ENV = ENV.fetch("GEM_CHECKSUMS_GIT_DRY_RUN", "false").casecmp("true") == 0
26
26
  CHECKSUMS_DIR = ENV.fetch("GEM_CHECKSUMS_CHECKSUMS_DIR", "checksums")
27
27
  PACKAGE_DIR = ENV.fetch("GEM_CHECKSUMS_PACKAGE_DIR", "pkg")
28
- BUILD_TIME_WARNING = <<-BUILD_TIME_WARNING
29
- WARNING: Build time not provided via environment variable SOURCE_DATE_EPOCH.
30
- To ensure consistent SHA-256 & SHA-512 checksums,
31
- you must set this environment variable *before* building the gem.
32
-
33
- IMPORTANT: After setting the build time, you *must re-build the gem*, i.e. bundle exec rake build, or gem build.
34
-
35
- How to set the build time:
36
-
37
- In zsh shell:
38
- - export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH
39
- - If the echo above has no output, then it didn't work.
40
- - Note that you'll need the `zsh/datetime` module enabled.
41
-
42
- In fish shell:
43
- - set -x SOURCE_DATE_EPOCH (date +%s)
44
- - echo $SOURCE_DATE_EPOCH
45
-
46
- In bash shell:
47
- - export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
48
-
28
+ BUILD_TIME_WARNING = <<~BUILD_TIME_WARNING
29
+ WARNING: Build time not provided via environment variable SOURCE_DATE_EPOCH.
30
+ When using Bundler < 2.7.0, you must set SOURCE_DATE_EPOCH *before* building
31
+ the gem to ensure consistent SHA-256 & SHA-512 checksums.
32
+
33
+ PREFERRED: Upgrade to Bundler >= 2.7.0, which uses a constant timestamp for gem builds,
34
+ making SOURCE_DATE_EPOCH unnecessary for reproducible checksums.
35
+
36
+ IMPORTANT: If you choose to set the build time via SOURCE_DATE_EPOCH,
37
+ you must re-build the gem, i.e. `bundle exec rake build` or `gem build`.
38
+
39
+ How to set the build time (only needed for Bundler < 2.7.0):
40
+
41
+ In zsh shell:
42
+ - export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH
43
+ - If the echo above has no output, then it didn't work.
44
+ - Note that you'll need the `zsh/datetime` module enabled.
45
+
46
+ In fish shell:
47
+ - set -x SOURCE_DATE_EPOCH (date +%s)
48
+ - echo $SOURCE_DATE_EPOCH
49
+
50
+ In bash shell:
51
+ - export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH
52
+
49
53
  BUILD_TIME_WARNING
50
54
 
51
55
  # Make this gem's rake tasks available in your Rakefile:
52
56
  #
53
57
  # require "gem_checksums"
54
- # GemChecksums.install_tasks
55
58
  #
59
+ # @return [void]
56
60
  def install_tasks
57
61
  load("gem_checksums/tasks.rb")
58
62
  end
59
63
  module_function :install_tasks
60
64
 
61
65
  # Script, stolen from myself, from https://github.com/rubygems/guides/pull/325
62
- # NOTE: SOURCE_DATE_EPOCH must be set in your environment prior to building the gem.
66
+ # NOTE (Bundler < 2.7.0): SOURCE_DATE_EPOCH must be set in your environment prior to building the gem.
67
+ # Bundler >= 2.7.0 uses a constant timestamp internally, so SOURCE_DATE_EPOCH is no longer required.
63
68
  # This ensures that the gem build, and the gem checksum will use the same timestamp,
64
69
  # and thus will match the SHA-256 checksum generated for every gem on Rubygems.org.
70
+ # Generate SHA-256 and SHA-512 checksums for a built .gem and commit them.
71
+ #
72
+ # Behavior regarding reproducible builds depends on Bundler version:
73
+ # - Bundler >= 2.7.0: SOURCE_DATE_EPOCH is not required; Bundler uses a constant timestamp.
74
+ # - Bundler < 2.7.0: you must set SOURCE_DATE_EPOCH, or upgrade Bundler. If
75
+ # GEM_CHECKSUMS_ASSUME_YES=true is set, the check proceeds non-interactively, but
76
+ # SOURCE_DATE_EPOCH is still required.
77
+ #
78
+ # The generated checksum files are written to the directory configured via
79
+ # GEM_CHECKSUMS_CHECKSUMS_DIR (default: "checksums"). By default, the newest .gem in
80
+ # GEM_CHECKSUMS_PACKAGE_DIR (default: "pkg") is used, unless a specific .gem path is
81
+ # passed as the first CLI argument when running under Rake or the gem_checksums CLI.
82
+ #
83
+ # By default this command will exec a `git add && git commit` to include the checksum
84
+ # files. When `git_dry_run` is true, or GEM_CHECKSUMS_GIT_DRY_RUN=true, a dry-run commit
85
+ # is performed, and temporary files are cleaned up.
86
+ #
87
+ # @param git_dry_run [Boolean] when true, perform a dry-run and do not leave files staged
88
+ # @return [void]
65
89
  def generate(git_dry_run: false)
66
- build_time = ENV.fetch("SOURCE_DATE_EPOCH", "")
67
- build_time_missing = !(build_time =~ /\d{10,}/)
68
90
  git_dry_run_flag = (git_dry_run || GIT_DRY_RUN_ENV) ? "--dry-run" : nil
69
91
  warn("Will run git commit with --dry-run") if git_dry_run_flag
70
92
 
71
- if build_time_missing
72
- warn(BUILD_TIME_WARNING)
73
- raise Error, BUILD_TIME_ERROR_MESSAGE
93
+ # Header: identify the gem and version being run
94
+ begin
95
+ puts "[ stone_checksums #{::StoneChecksums::Version::VERSION} ]"
96
+ rescue StandardError
97
+ # If for any reason the version constant isn't available, skip header gracefully
98
+ end
99
+
100
+ # Bundler version gate for reproducibility requirements
101
+ bundler_ver = Gem::Version.new(Bundler::VERSION)
102
+
103
+ requires_epoch = bundler_ver < Gem::Version.new("2.7.0")
104
+
105
+ if requires_epoch
106
+ # For older bundler, ask the user whether to proceed, or quit to update.
107
+ proceed = ENV.fetch("GEM_CHECKSUMS_ASSUME_YES", "").casecmp("true").zero?
108
+
109
+ unless proceed
110
+ # Non-interactive prompt: advise and abort
111
+ prompt_msg = <<~PROMPT
112
+ Detected Bundler #{bundler_ver || "(unknown)"} which is older than 2.7.0.
113
+ For reproducible builds without SOURCE_DATE_EPOCH, please update Bundler to >= 2.7.0.
114
+ If you still want to proceed with this older Bundler, you must set SOURCE_DATE_EPOCH and re-run.
115
+ Tip: set GEM_CHECKSUMS_ASSUME_YES=true to proceed non-interactively (still requires SOURCE_DATE_EPOCH).
116
+ PROMPT
117
+ warn(prompt_msg)
118
+ # Continue to enforce SOURCE_DATE_EPOCH below; if not set, this will raise.
119
+ end
120
+
121
+ build_time = ENV.fetch("SOURCE_DATE_EPOCH", "")
122
+ build_time_missing = !(build_time =~ /\d{10,}/)
123
+
124
+ if build_time_missing
125
+ warn(BUILD_TIME_WARNING)
126
+ raise Error, BUILD_TIME_ERROR_MESSAGE
127
+ end
74
128
  end
75
129
 
76
130
  gem_path_parts =
@@ -120,34 +174,34 @@ In bash shell:
120
174
 
121
175
  version = gem_name[VERSION_REGEX]
122
176
 
123
- git_cmd = <<-GIT_MSG.rstrip
124
- git add #{CHECKSUMS_DIR}/* && \
125
- git commit #{git_dry_run_flag} -m "🔒️ Checksums for v#{version}"
177
+ git_cmd = <<~GIT_MSG.rstrip
178
+ git add #{CHECKSUMS_DIR}/* && \
179
+ git commit #{git_dry_run_flag} -m "🔒️ Checksums for v#{version}"
126
180
  GIT_MSG
127
181
 
128
182
  if git_dry_run_flag
129
- git_cmd += <<-CLEANUP_MSG
130
- && \
131
- echo "Cleaning up in dry run mode" && \
132
- git reset #{digest512_64bit_path} && \
133
- git reset #{digest256_32bit_path} && \
134
- rm -f #{digest512_64bit_path} && \
135
- rm -f #{digest256_32bit_path}
183
+ git_cmd += <<~CLEANUP_MSG
184
+ && \
185
+ echo "Cleaning up in dry run mode" && \
186
+ git reset #{digest512_64bit_path} && \
187
+ git reset #{digest256_32bit_path} && \
188
+ rm -f #{digest512_64bit_path} && \
189
+ rm -f #{digest256_32bit_path}
136
190
  CLEANUP_MSG
137
191
  end
138
192
 
139
- puts <<-RESULTS
140
- [ GEM: #{gem_name} ]
141
- [ VERSION: #{version} ]
142
- [ GEM PKG LOCATION: #{gem_pkg} ]
143
- [ CHECKSUM SHA-256: #{digest256_32bit} ]
144
- [ CHECKSUM SHA-512: #{digest512_64bit} ]
145
- [ CHECKSUM SHA-256 PATH: #{digest256_32bit_path} ]
146
- [ CHECKSUM SHA-512 PATH: #{digest512_64bit_path} ]
147
-
148
- ... Running ...
149
-
150
- #{git_cmd}
193
+ puts <<~RESULTS
194
+ [ GEM: #{gem_name} ]
195
+ [ VERSION: #{version} ]
196
+ [ GEM PKG LOCATION: #{gem_pkg} ]
197
+ [ CHECKSUM SHA-256: #{digest256_32bit} ]
198
+ [ CHECKSUM SHA-512: #{digest512_64bit} ]
199
+ [ CHECKSUM SHA-256 PATH: #{digest256_32bit_path} ]
200
+ [ CHECKSUM SHA-512 PATH: #{digest512_64bit_path} ]
201
+
202
+ ... Running ...
203
+
204
+ #{git_cmd}
151
205
  RESULTS
152
206
 
153
207
  if git_dry_run_flag
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Semantic version for the StoneChecksums gem
4
+ module StoneChecksums
5
+ # Version-related constants for StoneChecksums
6
+ module Version
7
+ # Current gem version
8
+ # @return [String]
9
+ VERSION = "1.0.2"
10
+ end
11
+ end
@@ -1,2 +1,56 @@
1
- # RubyGems disallowed pushing a gem called `gem_checksums`, hence the name games.
1
+ # StoneChecksums is the canonical namespace for this gem.
2
+ #
3
+ # This module is a thin shim that delegates to the historical
4
+ # GemChecksums namespace for all behavior. The GemChecksums namespace
5
+ # will continue to work for backwards compatibility, but new code
6
+ # should refer to StoneChecksums to match the gem name.
7
+ #
8
+ # RubyGems does not allow publishing a gem named `gem_checksums`,
9
+ # hence the updated namespace and gem name.
2
10
  require_relative "gem_checksums"
11
+
12
+ # This library's version
13
+ require_relative "stone_checksums/version"
14
+
15
+ # Primary namespace of this library (shim over GemChecksums)
16
+ #
17
+ # @example Load Rake tasks provided by the gem
18
+ # require "stone_checksums"
19
+ # StoneChecksums.install_tasks
20
+ #
21
+ # @example Generate checksums for the newest built gem (dry run)
22
+ # StoneChecksums.generate(git_dry_run: true)
23
+ module StoneChecksums
24
+ # Error class used by this gem.
25
+ #
26
+ # All errors raised under this namespace are subclasses of
27
+ # GemChecksums::Error for compatibility.
28
+ class Error < ::GemChecksums::Error; end
29
+
30
+ class << self
31
+ # Load gem-provided Rake tasks into the current Rake application.
32
+ #
33
+ # This delegates to GemChecksums.install_tasks.
34
+ #
35
+ # @return [void]
36
+ def install_tasks
37
+ ::GemChecksums.install_tasks
38
+ end
39
+
40
+ # Generate SHA-256 and SHA-512 checksums for a built .gem and commit them.
41
+ #
42
+ # Behavior, options, and side effects are identical to
43
+ # GemChecksums.generate; this method delegates directly to it.
44
+ #
45
+ # @param git_dry_run [Boolean] when true, perform a dry-run and do not leave files staged
46
+ # @return [void]
47
+ def generate(git_dry_run: false)
48
+ ::GemChecksums.generate(git_dry_run: git_dry_run)
49
+ end
50
+ end
51
+ end
52
+
53
+ # Extend the Version module with helpers from version_gem
54
+ StoneChecksums::Version.class_eval do
55
+ extend VersionGem::Basic
56
+ end
@@ -1,4 +1,18 @@
1
1
  module GemChecksums
2
2
  VERSION: String
3
+ VERSION_REGEX: Regexp
4
+ RUNNING_AS: String
5
+ BUILD_TIME_ERROR_MESSAGE: String
6
+ GIT_DRY_RUN_ENV: bool
7
+ CHECKSUMS_DIR: String
8
+ PACKAGE_DIR: String
9
+ BUILD_TIME_WARNING: String
10
+
11
+ class Error < ::StandardError
12
+ end
13
+
14
+ def self.install_tasks: () -> void
15
+ def self.generate: (?git_dry_run: bool) -> untyped
16
+
3
17
  # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
18
  end
@@ -0,0 +1,13 @@
1
+ module StoneChecksums
2
+ VERSION: String
3
+
4
+ class Error < ::GemChecksums::Error
5
+ end
6
+
7
+ module Version
8
+ VERSION: String
9
+ end
10
+
11
+ def self.install_tasks: () -> void
12
+ def self.generate: (?git_dry_run: bool) -> void
13
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,153 +1,109 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stone_checksums
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Peter Boling
7
+ - Peter H. Boling
8
8
  bindir: exe
9
9
  cert_chain:
10
10
  - |
11
11
  -----BEGIN CERTIFICATE-----
12
12
  MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
13
13
  ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
14
- A2NvbTAeFw0yNDA5MjAwODU4NDJaFw0yNTA5MjAwODU4NDJaMEMxFTATBgNVBAMM
14
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
15
15
  DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
16
- LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAjrxsKObI
17
- rFQjBpzvVfqnT6JlF8/pkpgEEjFh7ex3zIerfuHzZvSrx+sRDGxQ8koWWG0Wjx8s
18
- wkBZ5dIqvl0g3sWP5asa28u/09opxkQTC1Ao77iYxcBcwoCe/Dpf1m4Q/m6oH0kL
19
- 2AZVNJQL3UkqAcLS0tsj/s/jAKnVlsaZZE5gQiIIi8HtkvSsajtx+Cq2AxDvcWvV
20
- /CliD+pmzYkTjvjwGm8yeyFGGGgrisJMryiZdZlkTwrQSjCzudIKbLeuG8Se4JTD
21
- TAcT+rPubr27v1jwmtIjtiot3rf4nof7LHLb122a/0VR7cC7x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WLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
34
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
35
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
36
+ L9nRqA==
37
37
  -----END CERTIFICATE-----
38
- date: 2025-02-24 00:00:00.000000000 Z
38
+ date: 1980-01-02 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: version_gem
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ">="
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 1.1.5
47
- - - "<"
46
+ version: '1.1'
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '3'
49
+ version: 1.1.8
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 1.1.5
57
- - - "<"
58
- - !ruby/object:Gem::Version
59
- version: '3'
60
- - !ruby/object:Gem::Dependency
61
- name: rspec
62
- requirement: !ruby/object:Gem::Requirement
63
53
  requirements:
64
54
  - - "~>"
65
55
  - !ruby/object:Gem::Version
66
- version: '3.13'
67
- type: :development
68
- prerelease: false
69
- version_requirements: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
56
+ version: '1.1'
57
+ - - ">="
72
58
  - !ruby/object:Gem::Version
73
- version: '3.13'
59
+ version: 1.1.8
74
60
  - !ruby/object:Gem::Dependency
75
- name: rspec-block_is_expected
61
+ name: kettle-dev
76
62
  requirement: !ruby/object:Gem::Requirement
77
63
  requirements:
78
64
  - - "~>"
79
65
  - !ruby/object:Gem::Version
80
66
  version: '1.0'
81
- type: :development
82
- prerelease: false
83
- version_requirements: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '1.0'
88
- - !ruby/object:Gem::Dependency
89
- name: rspec-pending_for
90
- requirement: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '0.1'
95
67
  - - ">="
96
68
  - !ruby/object:Gem::Version
97
- version: 0.1.16
69
+ version: 1.0.10
98
70
  type: :development
99
71
  prerelease: false
100
72
  version_requirements: !ruby/object:Gem::Requirement
101
73
  requirements:
102
74
  - - "~>"
103
75
  - !ruby/object:Gem::Version
104
- version: '0.1'
76
+ version: '1.0'
105
77
  - - ">="
106
78
  - !ruby/object:Gem::Version
107
- version: 0.1.16
79
+ version: 1.0.10
108
80
  - !ruby/object:Gem::Dependency
109
- name: rspec-stubbed_env
81
+ name: rspec-pending_for
110
82
  requirement: !ruby/object:Gem::Requirement
111
83
  requirements:
112
84
  - - "~>"
113
85
  - !ruby/object:Gem::Version
114
- version: '1.0'
86
+ version: '0.1'
115
87
  - - ">="
116
88
  - !ruby/object:Gem::Version
117
- version: 1.0.1
89
+ version: 0.1.18
118
90
  type: :development
119
91
  prerelease: false
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
93
  requirements:
122
94
  - - "~>"
123
95
  - !ruby/object:Gem::Version
124
- version: '1.0'
96
+ version: '0.1'
125
97
  - - ">="
126
98
  - !ruby/object:Gem::Version
127
- version: 1.0.1
128
- - !ruby/object:Gem::Dependency
129
- name: rake
130
- requirement: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - "~>"
133
- - !ruby/object:Gem::Version
134
- version: '13.0'
135
- type: :development
136
- prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: '13.0'
142
- description: |-
143
- Generate both SHA256 & SHA512 checksums into the checksums directory, and git commit them.
144
- gem install stone_checksums
145
- Then, use the rake task or the script:
146
- rake build:generate_checksums
147
- gem_checksums
148
- Control options with ENV variables!
99
+ version: 0.1.18
100
+ description: "\U0001F5FF Generate both SHA256 & SHA512 checksums into the checksums
101
+ directory, and git commit them.\n gem install stone_checksums\nThen, use the rake
102
+ task or the script:\n rake build:generate_checksums\n gem_checksums\nControl options
103
+ with ENV variables!\nFund overlooked open source projects - bottom of stack, dev/test
104
+ dependencies: floss-funding.dev"
149
105
  email:
150
- - peter.boling@gmail.com
106
+ - floss@galtzo.com
151
107
  executables:
152
108
  - gem_checksums
153
109
  extensions: []
@@ -171,22 +127,27 @@ files:
171
127
  - lib/gem_checksums/tasks.rb
172
128
  - lib/gem_checksums/version.rb
173
129
  - lib/stone_checksums.rb
130
+ - lib/stone_checksums/version.rb
174
131
  - sig/gem_checksums.rbs
175
- homepage: https://github.com/pboling/gem_checksums
132
+ - sig/stone_checksums.rbs
133
+ homepage: https://github.com/galtzo-floss/stone_checksums
176
134
  licenses:
177
135
  - MIT
178
136
  metadata:
179
- homepage_uri: https://railsbling.com/tags/stone_checksums/
180
- source_code_uri: https://github.com/pboling/gem_checksums/tree/v1.0.0
181
- changelog_uri: https://github.com/pboling/gem_checksums/blob/v1.0.0/CHANGELOG.md
182
- bug_tracker_uri: https://github.com/pboling/gem_checksums/issues
183
- documentation_uri: https://www.rubydoc.info/gems/stone_checksums/1.0.0
184
- wiki_uri: https://github.com/pboling/gem_checksums/wiki
185
- funding_uri: https://liberapay.com/pboling
137
+ homepage_uri: https://stone-checksums.galtzo.com/
138
+ source_code_uri: https://github.com/galtzo-floss/stone_checksums/tree/v1.0.2
139
+ changelog_uri: https://github.com/galtzo-floss/stone_checksums/blob/v1.0.2/CHANGELOG.md
140
+ bug_tracker_uri: https://github.com/galtzo-floss/stone_checksums/issues
141
+ documentation_uri: https://www.rubydoc.info/gems/stone_checksums/1.0.2
142
+ funding_uri: https://github.com/sponsors/pboling
143
+ wiki_uri: https://github.com/galtzo-floss/stone_checksums/wiki
144
+ news_uri: https://www.railsbling.com/tags/stone_checksums
145
+ discord_uri: https://discord.gg/3qme4XHNKN
186
146
  rubygems_mfa_required: 'true'
187
147
  rdoc_options:
188
148
  - "--title"
189
- - stone_checksums - Generate both SHA256 & SHA512 checksums of RubyGem libraries
149
+ - "stone_checksums - \U0001F5FF Generate both SHA256 & SHA512 checksums of RubyGem
150
+ libraries"
190
151
  - "--main"
191
152
  - README.md
192
153
  - "--line-numbers"
@@ -205,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
166
  - !ruby/object:Gem::Version
206
167
  version: '0'
207
168
  requirements: []
208
- rubygems_version: 3.6.4
169
+ rubygems_version: 3.7.1
209
170
  specification_version: 4
210
- summary: Generate both SHA256 & SHA512 checksums of RubyGem libraries
171
+ summary: "\U0001F5FF Generate both SHA256 & SHA512 checksums of RubyGem libraries"
211
172
  test_files: []
metadata.gz.sig CHANGED
Binary file