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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c94da18bcbba26e13d7914b59e1ebb655d858bff1b9f7ea6ffadd42038ce776
4
- data.tar.gz: 4eac352d97fd1a7c84ef3fb0bbcd5458e52f448199ea0a8b66617e48d61e48ac
3
+ metadata.gz: e00802edf4c4c9c4ea05f4bd4c1d89e9c0205dba765a8fd3d823c032c142a622
4
+ data.tar.gz: 9b3285d955b1d317739db86a9ce6a42af2589f79b6767faaa4a8cc34bc52cdbb
5
5
  SHA512:
6
- metadata.gz: 73556a4f79fd530739e21dcf9ffdd8f6a29f2e7461bece597344dbc641353074e4498d20a5776795a3792374bf32bf2fc973c6d3e44e76f33286e01cc2e76b58
7
- data.tar.gz: 2e8aebb4fd0e45b7c0a0714ae2af4526fba7587ae33d273080fb0cc8a96d8e14293fc252f0a11ddf961ce05e261d03e506912d477e3d2cfe4c01bc4dabaa4622
6
+ metadata.gz: '0719428f31492520c36404d1de960d44a5762294df99d9364cb6d06a5b4295b2684bb0116683385dc593b5db952d46622f3067577fcd7caca1cca60eaf0dbbda'
7
+ data.tar.gz: f64dc1d700ce9de33949a772d3a36f47f6564896dbae7f3364a6afe78a2d02074fd48d3c50d33b5857cad92907e2919880f1dd8f1ca6f639d821c23b8962b47e
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Digest
4
+ VERSION = "3.1.1"
5
+ end
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.0.pre2
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: 2021-09-30 00:00:00.000000000 Z
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: 1.3.1
59
+ version: '0'
59
60
  requirements: []
60
- rubygems_version: 3.2.14
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.