-
Notifications
You must be signed in to change notification settings - Fork 4
/
omniauth-ethereum.gemspec
36 lines (29 loc) · 1.31 KB
/
omniauth-ethereum.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
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = "omniauth-ethereum"
spec.version = "0.2.1"
spec.summary = "OmniAuth Strategy for Ethereum"
spec.description = "Authentication Strategy for OmniAuth to authenticate a user with an Ethereum account"
spec.authors = ["Afri Schoedon"]
spec.email = "gems@q9f.cc"
spec.homepage = "https://github.com/q9f/omniauth-ethereum.rb"
spec.license = "Apache-2.0"
spec.metadata = {
"homepage_uri" => "https://github.com/q9f/omniauth-ethereum.rb",
"source_code_uri" => "https://github.com/q9f/omniauth-ethereum.rb",
"github_repo" => "https://github.com/q9f/omniauth-ethereum.rb",
"bug_tracker_uri" => "https://github.com/q9f/omniauth-ethereum.rb/issues",
}.freeze
spec.require_paths = ["lib"]
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = ">= 3.0", "< 4.0"
# OmniAuth is what this strategy is providing
spec.add_dependency "omniauth", "~> 2.1"
# Use Ruby-Eth for signature recovery
spec.add_dependency "eth", "~> 0.5"
# Spec tests
spec.add_development_dependency "rspec", "~> 3.12"
spec.add_development_dependency "rack-test", "~> 1.1"
end