Skip to content

Commit

Permalink
gems: fix gem name to avoid conflict (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f authored Sep 30, 2021
1 parent 87155dd commit ecf8a64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# The Keccak (SHA-3) digest for Ruby

This Ruby extension implements the SHA-3 ([Keccak](http://keccak.noekeon.org/)) cryptographic hashing algorithm. It is based on the reference C implementation, version 3.2. The exposed interface is almost identical to that of the `digest` standard library.
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/q9f/keccak.rb/Build/main)
![GitHub top language](https://img.shields.io/github/languages/top/q9f/keccak.rb)
![GitHub release](https://img.shields.io/github/v/release/q9f/keccak.rb)
![Gem](https://img.shields.io/gem/v/keccak)

This Ruby extension exposes the [Keccak](http://keccak.noekeon.org/) (SHA-3) digest C bindings in the non-final version used by Ethereum. It is based on the reference `C` implementation, version 3.2. The exposed interface is almost identical to that of the `digest` standard library.

## Installation

Expand Down
11 changes: 6 additions & 5 deletions digest-keccak.gemspec → keccak.gemspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
require File.expand_path('lib/digest/sha3/version')

Gem::Specification.new do |s|
s.name = "digest-keccak"
s.name = "keccak"
s.version = Digest::SHA3::Version::STRING
s.summary = "The SHA-3 (Keccak) hash used by Ethereum."
s.summary = "The Keccak (SHA-3) hash used by Ethereum."
s.email = "[email protected]"
s.homepage = "https://github.com/q9f/digest-keccak-ruby"
s.description = "The SHA-3 (Keccak) hash use by Ethereum. This does not implement the final FIPS202 standard, today known as SHA3 but rather an early version, commonly referred to as Keccak."
s.homepage = "https://github.com/q9f/keccak.rb"
s.description = "The Keccak (SHA-3) hash use by Ethereum. This does not implement the final FIPS202 standard, today known as SHA3 but rather an early version, commonly referred to as Keccak."
s.authors = ["Afri Schoedon", "Chris Metcalfe", "Hongli Lai (Phusion)", "Keccak authors"]
s.extensions << "ext/digest/extconf.rb"
s.required_ruby_version = ">= 2.2"
s.license = "Apache-2.0"

s.files = Dir[
"README.md",
"COPYRIGHT",
"LICENSE",
"Makefile",
"digest-keccak.gemspec",
"keccak.gemspec",
"ext/**/*.{c,h,rb}",
"lib/**/*"
]
Expand Down

0 comments on commit ecf8a64

Please sign in to comment.