keccak 1.3.0 → 1.3.1

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: e1a969197011606b1180df351384087175ffb87884129eb145a0c7997d164a7f
4
- data.tar.gz: ac8b5a50776439646d75ca24d6f3ee1c48a7a733d8036a1fbd3e3db084746aa9
3
+ metadata.gz: 10fb878fcf308cc1a44942ef197956f830f0d91cc6c258acb8f5913ef6d270ce
4
+ data.tar.gz: 359c30bf2d466a0d95d714ea82b4281812788e999607bafe917daf7a7b710919
5
5
  SHA512:
6
- metadata.gz: d05075ec008a526829a5f6350e862e49a199b462c4be8ac6ac590fdcee2291922c64128983cacee9f786fba18a7a9522bf64840a7b4e75f143d5dca7f3fe3d3d
7
- data.tar.gz: 2d25d3218b16d50d36d75fde343f7d2c50238398e24b6f3841900c0f53ad74a6e3d4646429d839e0800e799946ac0f42c0b98f29f118e7f83bb1bade2f66728f
6
+ metadata.gz: 95a226c317396f99e6fa1fdb15313dac072da683c5aa1345e7a609e7f283081adccf5e60bff0723e99a903a8564fb303c37a5ac9062eac26a14268394119cbd0
7
+ data.tar.gz: 5ea35b0f285d115dd8226920dacd21a0a51dcb02d6d08aff16985a9a567c85ee397183678bbc26097b36f3242b0d1745c5d081bebbaa4a76efbe9ee0dc4574a4
data/README.md CHANGED
@@ -2,8 +2,10 @@
2
2
 
3
3
  [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/q9f/keccak.rb/Build/main)](https://github.com/q9f/keccak.rb/actions)
4
4
  [![GitHub top language](https://img.shields.io/github/languages/top/q9f/keccak.rb?color=black)](https://github.com/q9f/keccak.rb/pulse)
5
- [![GitHub release](https://img.shields.io/github/v/release/q9f/keccak.rb?color=red)](https://github.com/q9f/keccak.rb/releases/latest)
5
+ [![GitHub release](https://img.shields.io/github/v/release/q9f/keccak.rb)](https://github.com/q9f/keccak.rb/releases/latest)
6
6
  [![Gem](https://img.shields.io/gem/v/keccak?color=red)](https://rubygems.org/gems/keccak)
7
+ [![Gem](https://img.shields.io/gem/dt/keccak)](https://rubygems.org/gems/keccak)
8
+ [![Visitors](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fq9f%2Fkeccak.rb&count_bg=%2379C83D&title_bg=%23555555&icon=rubygems.svg&icon_color=%23FF0000&title=visitors&edge_flat=false)](https://hits.seeyoufarm.com)
7
9
  [![License](https://img.shields.io/github/license/q9f/keccak.rb.svg?color=black)](LICENSE)
8
10
 
9
11
  This Ruby extension exposes the [Keccak](http://keccak.noekeon.org/) (SHA3) digest `C` bindings in the non-final version used by [Ethereum](https://ethereum.org). It is based on the reference `C` implementation, version 3.2. The exposed interface is almost identical to that of the `digest` standard library. See [#16](https://github.com/q9f/keccak.rb/pull/16).
@@ -5,7 +5,7 @@ require 'mkmf'
5
5
 
6
6
  def cflags(*args)
7
7
  args.each do |str|
8
- $CFLAGS += " #{str.shellescape} "
8
+ $CFLAGS += (ENV['OS'] == "Windows_NT") ? " #{str} " : " #{str.shellescape} "
9
9
  end
10
10
  end
11
11
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Digest
4
4
  class Keccak
5
- VERSION = '1.3.0'
5
+ VERSION = "1.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keccak
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Afri Schoedon
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2021-12-01 00:00:00.000000000 Z
15
+ date: 2022-08-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.2.31
97
+ rubygems_version: 3.2.32
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: The Keccak (SHA3) hash used by Ethereum.