summaryrefslogtreecommitdiff
path: root/ext/digest/digest.gemspec
blob: 381df927614ad328186ddb25092f93151a0feab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# coding: utf-8
# frozen_string_literal: true

Gem::Specification.new do |spec|
  spec.name          = "digest"
  spec.version       = "3.0.1.pre"
  spec.authors       = ["Akinori MUSHA"]
  spec.email         = ["knu@idaemons.org"]

  spec.summary       = %q{Provides a framework for message digest libraries.}
  spec.description   = %q{Provides a framework for message digest libraries.}
  spec.homepage      = "https://github.com/ruby/digest"
  spec.licenses      = ["Ruby", "BSD-2-Clause"]

  spec.files         = [
    "LICENSE.txt", "README.md",

    "ext/digest/defs.h", "ext/digest/digest.c", "ext/digest/digest.h",
    "ext/digest/digest_conf.rb", "ext/digest/extconf.rb",
    "ext/digest/lib/digest.rb",

    "ext/digest/bubblebabble/bubblebabble.c",
    "ext/digest/bubblebabble/extconf.rb",

    "ext/digest/md5/extconf.rb", "ext/digest/md5/md5.c",
    "ext/digest/md5/md5.h", "ext/digest/md5/md5cc.h",
    "ext/digest/md5/md5init.c",

    "ext/digest/rmd160/extconf.rb", "ext/digest/rmd160/rmd160.c",
    "ext/digest/rmd160/rmd160.h", "ext/digest/rmd160/rmd160init.c",

    "ext/digest/sha1/extconf.rb", "ext/digest/sha1/sha1.c",
    "ext/digest/sha1/sha1.h", "ext/digest/sha1/sha1cc.h",
    "ext/digest/sha1/sha1init.c",

    "ext/digest/sha2/extconf.rb", "ext/digest/sha2/lib/sha2.rb",
    "ext/digest/sha2/sha2.c", "ext/digest/sha2/sha2.h",
    "ext/digest/sha2/sha2cc.h", "ext/digest/sha2/sha2init.c",

    "ext/openssl/deprecation.rb",
    "ext/digest/test.sh",
  ]

  spec.required_ruby_version = ">= 2.5.0"

  spec.bindir        = "exe"
  spec.executables   = []
  spec.require_paths = ["lib"]
  spec.extensions    = %w[
    ext/digest/extconf.rb
    ext/digest/bubblebabble/extconf.rb
    ext/digest/md5/extconf.rb
    ext/digest/rmd160/extconf.rb
    ext/digest/sha1/extconf.rb
    ext/digest/sha2/extconf.rb
  ]
  spec.metadata["msys2_mingw_dependencies"] = "openssl"
end