-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy patheth.gemspec
More file actions
66 lines (49 loc) · 2.14 KB
/
eth.gemspec
File metadata and controls
66 lines (49 loc) · 2.14 KB
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
59
60
61
62
63
64
65
66
# 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@steveell.is", "ruby@q9f.cc"]
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", "< 5.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", "~> 3.3"
# base64 is required explicitly in Ruby >= 3.4
spec.add_dependency "base64", "~> 0.1"
# scrypt for encrypted key derivation
spec.add_dependency "scrypt", "~> 3.0"
# bls12-381 for BLS signatures and pairings
spec.add_dependency "bls12-381", "~> 0.3"
# httpx for HTTP/2 and persistent connections
spec.add_dependency "httpx", "~> 1.6"
end