-
Notifications
You must be signed in to change notification settings - Fork 92
/
eth.gemspec
57 lines (43 loc) · 1.89 KB
/
eth.gemspec
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
# frozen_string_literal: true
# coding: utf-8
lib = File.expand_path("lib", __dir__).freeze
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
require "eth/version"
Gem::Specification.new do |spec|
spec.name = "eth"
spec.version = Eth::VERSION
spec.authors = ["Steve Ellis", "Afri Schoedon"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = %q{Ruby Ethereum library.}
spec.description = %q{Library to handle Ethereum accounts, messages, and transactions.}
spec.homepage = "https://github.com/q9f/eth.rb"
spec.license = "Apache-2.0"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/q9f/eth.rb/issues",
"changelog_uri" => "https://github.com/q9f/eth.rb/blob/main/CHANGELOG.md",
"documentation_uri" => "https://q9f.github.io/eth.rb/",
"github_repo" => "https://github.com/q9f/eth.rb",
"source_code_uri" => "https://github.com/q9f/eth.rb",
}.freeze
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib", "abis"]
spec.test_files = spec.files.grep %r{^(test|spec|features)/}
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = ">= 3.0", "< 4.0"
# bigdecimal for big decimals ;)
spec.add_dependency "bigdecimal", "~> 3.1"
# forwardable for contracts meta programming
spec.add_dependency "forwardable", "~> 1.3"
# keccak for hashing everything in ethereum
spec.add_dependency "keccak", "~> 1.3"
# konstructor gem for overloading constructors
spec.add_dependency "konstructor", "~> 1.0"
# rbsecp256k1 for key-pairs and signatures
spec.add_dependency "rbsecp256k1", "~> 6.0"
# openssl for encrypted key derivation
spec.add_dependency "openssl", ">= 2.2", "< 4.0"
# scrypt for encrypted key derivation
spec.add_dependency "scrypt", "~> 3.0"
end