blake3-rb 0.1.0.pre10-x86_64-linux-musl → 1.5.3-x86_64-linux-musl

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: 2b32a6cfa6a3fe9b8ed3483275aad417daf68b7330e50969dfe0f9116a1231fb
4
- data.tar.gz: 31fb097b844bf1da058cdb33fae56764513c1e09faa833ea10c9cf48693294e1
3
+ metadata.gz: 0c9d61235ce4fb8e39a4f5da47465b30b9218ee22fff6858b394baa2ea6ac291
4
+ data.tar.gz: 2d94ebfaee3f7396d9d613adf6e1f8f86c0b0c22d1e05ea9b43fca9a056a5483
5
5
  SHA512:
6
- metadata.gz: '088546167e96c30289935b9f37cb9ebfeffce783edbe633847d6af9f98edaea43e886ae44e1e58c99b927190093d93bde5162ba6a8364f75756e044ba3efd7cd'
7
- data.tar.gz: bbea8deb8a6011cb61b1c607d2777128812411dae02ef6856c9a56f50ec398efdebed8a25dce9ae3b7b7f27c35d78160fa60e21848e64252b65cf47b70580d78
6
+ metadata.gz: 9fbf56b99e2079aa9ad8b36ef26ca0a178bdd269da550d4518d121c5a1751c2df59eeb65bae3a6a29bed96aafd6a02d050f0d3e2057c4c51f7310741b5e3df67
7
+ data.tar.gz: 7cfe44bebe1e1d0f4c5fa7bbcac228a86c0d221130f00ba3a32af41cb5201b1eacf718b584c17f6f41d01675398366a43e73784b64f24d72e0ae8d16292389f4
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
Binary file
Binary file
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: x86_64-linux-musl
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.so
25
23
  - lib/digest/blake3/3.1/blake3_ext.so
26
24
  - lib/digest/blake3/3.2/blake3_ext.so
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:
Binary file