hyperuuid 0.1.0 → 0.1.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: d36a27a93cdb9a4a6bffeb6a6b9ddb8da61bbc9d20b8fda29ad7c8b2238465c2
4
- data.tar.gz: cbe47ffb022c0ccb23d98ff9543c56d515ecc6928dbf7df11533593c097247ae
3
+ metadata.gz: bb15dbd3d7f4e1f81929493c414d47a6e2120b3d39cb3ed87e67fe129210e1f1
4
+ data.tar.gz: 75242dd27208819b0246e544843ee086932a7faf20d8ae84aacec151ec108054
5
5
  SHA512:
6
- metadata.gz: eb071fda1c20cb7f44d0b64fbcf2833768bac66cfe7d71951d1ba2e4ef0fe3d3d166d6a545b347bba22b52dee932e979f8e7b0059719f92c6308fc70629dbd04
7
- data.tar.gz: 8630e51665339db93b4a6c90230b08649f8b9bf2e86520b09a803bff435d0e977df6bdfc88601b412d33f8aa8b19104afd854329d409c0894d9bb3c98258c2ef
6
+ metadata.gz: 71331ba2f44fdb1d02ce53f64ee466214334f159bf311aa2c195dd7659504b9a375c3078987fe87a5b9783a42d95df12aedbe217d52d277c2d1794fa6e42e185
7
+ data.tar.gz: 12df5cf674b5dd28bf7bdcef724963096b2c997cd47657b7952b977c5e27ccc509b328632580bba6520a7392af190210e4771e9cbbd2b595b2571fe96e2ba87d
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Skunk Werkx
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # hyperuuid
2
2
 
3
+ [![CI](https://github.com/SkunkWerkx/HyperUuid/actions/workflows/ci.yml/badge.svg)](https://github.com/SkunkWerkx/HyperUuid/actions/workflows/ci.yml)
4
+ [![RubyGems](https://img.shields.io/gem/v/hyperuuid.svg)](https://rubygems.org/gems/hyperuuid)
5
+
3
6
  **Ruby's own stdlib stops at `SecureRandom.uuid` — random v4, full stop. No v5, no v6, no v7. This gem is the whole RFC, with zero gem dependency beyond `Fiddle` (which ships with every Ruby install) — and it's faster than `SecureRandom.uuid` too.**
4
7
 
5
8
  RFC 9562 UUID v4 (random), v5 (deterministic), v6 and v7 (time-sortable) generation, with
@@ -5,7 +5,7 @@ module HyperUuid
5
5
  # C-ABI call, no runtime bridge (the same "no shim" positioning as the Go/Swift bindings'
6
6
  # purego/dlopen approach). Fiddle ships with every Ruby install; it's a plain gem
7
7
  # dependency here (see hyperuuid.gemspec) rather than a third-party one — mirroring Go's
8
- # "no cgo" and Python's ctypes-only stance.
8
+ # "no cgo" and Python's zero-dependency PyO3 wheels.
9
9
  #
10
10
  # Unlike the Go/Swift bindings, which embed their native builds inside a single compiled
11
11
  # archive and must extract to a temp file before dlopen can see a real path, a Ruby gem's
@@ -1,7 +1,8 @@
1
1
  module HyperUuid
2
2
  # A parsed 16-byte RFC 9562 UUID value. Minimal by design — this gem has no runtime
3
3
  # dependency on the `uuid` gem, the same "no extra dependency" positioning as the Go
4
- # binding's purego-only/no-cgo approach and the Python binding's stdlib-ctypes-only one.
4
+ # binding's purego-only/no-cgo approach and the Python binding's dependency-free PyO3
5
+ # wheels.
5
6
  class Uuid
6
7
  include Comparable
7
8
 
data/lib/hyperuuid.rb CHANGED
@@ -13,7 +13,7 @@ require_relative "hyperuuid/runtime"
13
13
  module HyperUuid
14
14
  # This gem's own version — distinct from the RFC 9562 UUID *versions* (v4/v5/v6/v7) the
15
15
  # rest of this module generates.
16
- VERSION = "0.1.0"
16
+ VERSION = "0.1.1"
17
17
 
18
18
  # Creates a random UUID version 4 (RFC 9562 §5.4).
19
19
  def self.new_v4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperuuid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Buvinghausen
@@ -73,6 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - LICENSE
76
77
  - README.md
77
78
  - lib/hyperuuid.rb
78
79
  - lib/hyperuuid/namespaces.rb