rubysl-digest 2.0.8 → 2.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
- SHA1:
3
- metadata.gz: 12f4f59e524c1bc3320eec0f265dd832b61450a7
4
- data.tar.gz: bbc4c6e52f10664a9493cc9fe3008a0aa4bff953
2
+ SHA256:
3
+ metadata.gz: cddfc05d43fb83551188a4774f34b5cf9a95657da29c1ddfe4abf7fabce7e23f
4
+ data.tar.gz: 246e5a394de871773beec23e22491751859dba346f2ca14b05abc3ce0707e0ff
5
5
  SHA512:
6
- metadata.gz: 28fb6c6303e2a0d9d350e1c9fda19bd5f69a19cdaf13449a5200d5c00ea686b6ef750b331eb9f04b3ab2bac0596729db21356a519bd1a601096183ffbbb2d863
7
- data.tar.gz: decf79d026014c29cd65ba784236c0619e2a459ee55324664a3ff96f28e6ec59e288a57ec4863db7e774e749f09a06ccdc81b7def1021d5f30f7a31919b999d9
6
+ metadata.gz: 34a53d53bb6063e8956b37868b61a335bb5df3557b18aab1ed306f33cdc98216ca29ab1ef35bf7b68b21681a466b048b7d82b1a8d7c3152b9e94052b78c0d3a1
7
+ data.tar.gz: 1bd82059a40ad32030b590cbc39ec13ab81336b204a3accf6b91f6469243db69d80ac23b631ff8746efc155b964678678e67e4febab84fea2f4de824a5621336
@@ -1,8 +1,9 @@
1
+ # frozen_string_literal: false
1
2
  module OpenSSL
2
3
  def self.deprecated_warning_flag
3
4
  unless flag = (@deprecated_warning_flag ||= nil)
4
5
  if try_compile("", flag = "-Werror=deprecated-declarations")
5
- if with_config("broken-apple-openssl")
6
+ if /darwin/ =~ RUBY_PLATFORM and with_config("broken-apple-openssl")
6
7
  flag = "-Wno-deprecated-declarations"
7
8
  end
8
9
  $warnflags << " #{flag}"
@@ -15,7 +16,11 @@ module OpenSSL
15
16
  end
16
17
 
17
18
  def self.check_func(func, header)
18
- have_func(func, header, deprecated_warning_flag) and
19
- have_header(header, nil, deprecated_warning_flag)
19
+ have_func(func, header, deprecated_warning_flag)
20
+ end
21
+
22
+ def self.check_func_or_macro(func, header)
23
+ check_func(func, header) or
24
+ have_macro(func, header) && $defs.push("-DHAVE_#{func.upcase}")
20
25
  end
21
26
  end
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module Digest
3
- VERSION = "2.0.8"
3
+ VERSION = "2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,71 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-digest
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: '2.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-22 00:00:00.000000000 Z
11
+ date: 2019-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- version_requirements: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - "~>"
17
- - !ruby/object:Gem::Version
18
- version: '1.3'
19
14
  name: bundler
20
- prerelease: false
21
15
  requirement: !ruby/object:Gem::Requirement
22
16
  requirements:
23
17
  - - "~>"
24
18
  - !ruby/object:Gem::Version
25
19
  version: '1.3'
26
20
  type: :development
27
- - !ruby/object:Gem::Dependency
21
+ prerelease: false
28
22
  version_requirements: !ruby/object:Gem::Requirement
29
23
  requirements:
30
24
  - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '10.0'
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
33
28
  name: rake
34
- prerelease: false
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
33
  version: '10.0'
40
34
  type: :development
41
- - !ruby/object:Gem::Dependency
35
+ prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '1.5'
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
47
42
  name: mspec
48
- prerelease: false
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.5'
54
48
  type: :development
55
- - !ruby/object:Gem::Dependency
49
+ prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '2.0'
54
+ version: '1.5'
55
+ - !ruby/object:Gem::Dependency
61
56
  name: rubysl-prettyprint
62
- prerelease: false
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
61
  version: '2.0'
68
62
  type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
69
69
  description: Ruby standard library digest.
70
70
  email:
71
71
  - brixen@gmail.com
@@ -235,8 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubyforge_project:
239
- rubygems_version: 2.4.6
238
+ rubygems_version: 3.0.3
240
239
  signing_key:
241
240
  specification_version: 4
242
241
  summary: Ruby standard library digest.