blake3-rb 0.1.0.pre10-arm64-darwin → 1.5.3-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2af92cb224e8854b1ce55ab648f948eba80d1ae0338e189b08ccf042aa707a73
4
- data.tar.gz: 36fc1d9a84fbf2f1553023edb9febf49c88fbb2597eddf421763b1dfc4b43669
3
+ metadata.gz: 6b914321d83a1ce8448fd007d2990ae9b0e2e3d0c002f91852c054537192832c
4
+ data.tar.gz: 6ba3f6f0dfc3ec15c14b8b5c675758293e3af96f2dca4e48f5aaa70d59aa8453
5
5
  SHA512:
6
- metadata.gz: 1561200ef7cf7e12d8f4b27979d9239795e841b4a05458bbea8063f7dd9d3ef2da0486c96ce7332b885c3e71277d9932981b7bb6ebebd1a310ea5894f7fdc642
7
- data.tar.gz: b6e8536a5efffa8db8d410eaaa54d064bd150692f7abd7adf17ecca9336821e756f267f4bab70f92d4eca3aba00762640f3dd9824a2de089cd58425859c1f93c
6
+ metadata.gz: 85300ff3b448639c8bde531f562866ea8ff073311218872823e2f2fc8bc8a5fd277ad8b288d1c97563ff8111ffcba875d14210cdf5270ca1bfe4ee3c1b33bccb
7
+ data.tar.gz: e476f52b5bef8d5ae80f894e3d4fda5ec13034da6b8e659ecee9adef9880167af33b75413f9fb44bde5dc6e8818e0167156be10bbc7fea8f9d2ab25e7e03004d
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # `blake3-rb`
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/blake3-rb.svg)](https://badge.fury.io/rb/blake3-rb)
3
4
  ![Build Status](https://github.com/Shopify/blake3-ruby/workflows/CI/badge.svg)
4
5
 
5
6
  Blake3 is a Ruby gem that provides a simple and efficient way to compute the Blake3 cryptographic hash function. This gem is designed to be easy to use and integrate into your Ruby projects using the Ruby [`digest` framework](https://github.com/ruby/digest).
@@ -9,13 +10,14 @@ Blake3 is a Ruby gem that provides a simple and efficient way to compute the Bla
9
10
  Add this line to your application's Gemfile:
10
11
 
11
12
  ```ruby
12
- gem "blake3-rb", github: "Shopify/blake3-rb"
13
+ gem "blake3-rb"
13
14
  ```
14
15
 
15
- And then execute:
16
+ We provide pre-built binaries most common platforms. This is the preferred way to install this gem since it will be faster and more reliable than compiling from source. Make sure Bundler is configured to use the pre-built binaries by running:
16
17
 
17
18
  ```bash
18
- $ bundle install
19
+ bundle lock --add-platform x86_64-linux
20
+ bundle install # resolve dependencies for platform-specific gems
19
21
  ```
20
22
 
21
23
  ## Usage
data/lib/digest/blake3.rb CHANGED
@@ -1,5 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "digest"
4
+
5
+ module Digest
6
+ class Blake3 < Digest::Base
7
+ end
8
+ end
9
+
3
10
  # Tries to require the precompiled extension for the given Ruby version first
4
11
  begin
5
12
  RUBY_VERSION =~ /(\d+\.\d+)/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blake3-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre10
4
+ version: 1.5.3
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Ian Ker-Seymer
@@ -11,8 +11,7 @@ cert_chain: []
11
11
  date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides native bindings to the Blake3 hash function for Ruby.
14
- email:
15
- - ian.kerseymer@shopify.com
14
+ email:
16
15
  executables: []
17
16
  extensions: []
18
17
  extra_rdoc_files: []
@@ -21,7 +20,6 @@ files:
21
20
  - README.md
22
21
  - lib/blake3-rb.rb
23
22
  - lib/digest/blake3.rb
24
- - lib/digest/blake3/3.0/blake3_ext.bundle
25
23
  - lib/digest/blake3/3.1/blake3_ext.bundle
26
24
  - lib/digest/blake3/3.2/blake3_ext.bundle
27
25
  homepage: https://github.com/Shopify/blake3-ruby
@@ -39,15 +37,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
39
37
  requirements:
40
38
  - - ">="
41
39
  - !ruby/object:Gem::Version
42
- version: '3.0'
40
+ version: '3.1'
43
41
  - - "<"
44
42
  - !ruby/object:Gem::Version
45
43
  version: 3.3.dev
46
44
  required_rubygems_version: !ruby/object:Gem::Requirement
47
45
  requirements:
48
- - - ">"
46
+ - - ">="
49
47
  - !ruby/object:Gem::Version
50
- version: 1.3.1
48
+ version: '0'
51
49
  requirements: []
52
50
  rubygems_version: 3.4.4
53
51
  signing_key: