digest 3.1.0.pre2-java → 3.1.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/digest/version.rb +5 -0
- data/lib/digest.jar +0 -0
- data/lib/digest.rb +13 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e00802edf4c4c9c4ea05f4bd4c1d89e9c0205dba765a8fd3d823c032c142a622
|
4
|
+
data.tar.gz: 9b3285d955b1d317739db86a9ce6a42af2589f79b6767faaa4a8cc34bc52cdbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0719428f31492520c36404d1de960d44a5762294df99d9364cb6d06a5b4295b2684bb0116683385dc593b5db952d46622f3067577fcd7caca1cca60eaf0dbbda'
|
7
|
+
data.tar.gz: f64dc1d700ce9de33949a772d3a36f47f6564896dbae7f3364a6afe78a2d02074fd48d3c50d33b5857cad92907e2919880f1dd8f1ca6f639d821c23b8962b47e
|
data/lib/digest.jar
CHANGED
Binary file
|
data/lib/digest.rb
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# frozen_string_literal: false
|
2
2
|
|
3
|
+
if defined?(Digest) &&
|
4
|
+
/\A(?:2\.|3\.0\.[0-2]\z)/.match?(RUBY_VERSION) &&
|
5
|
+
caller_locations.any? { |l|
|
6
|
+
%r{/(rubygems/gem_runner|bundler/cli)\.rb}.match?(l.path)
|
7
|
+
}
|
8
|
+
# Before Ruby 3.0.3/3.1.0, the gem and bundle commands used to load
|
9
|
+
# the digest library before loading additionally installed gems, so
|
10
|
+
# you will get constant redefinition warnings and unexpected
|
11
|
+
# implementation overwriting if we proceed here. Avoid that.
|
12
|
+
return
|
13
|
+
end
|
14
|
+
|
15
|
+
require 'digest/version'
|
3
16
|
require 'digest/loader'
|
4
17
|
|
5
18
|
module Digest
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: digest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Akinori MUSHA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides a framework for message digest libraries.
|
14
14
|
email:
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/digest.jar
|
36
36
|
- lib/digest.rb
|
37
37
|
- lib/digest/sha2.rb
|
38
|
+
- lib/digest/version.rb
|
38
39
|
homepage: https://github.com/ruby/digest
|
39
40
|
licenses:
|
40
41
|
- Ruby
|
@@ -53,11 +54,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
54
|
version: 2.5.0
|
54
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
56
|
requirements:
|
56
|
-
- - "
|
57
|
+
- - ">="
|
57
58
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
59
|
+
version: '0'
|
59
60
|
requirements: []
|
60
|
-
rubygems_version: 3.
|
61
|
+
rubygems_version: 3.3.25
|
61
62
|
signing_key:
|
62
63
|
specification_version: 4
|
63
64
|
summary: Provides a framework for message digest libraries.
|