|
1 | 1 | lib = File.expand_path('lib', __dir__) |
2 | 2 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
3 | | -require 'omniauth-ethereum' |
4 | 3 |
|
5 | 4 | Gem::Specification.new do |spec| |
6 | | - spec.name = 'omniauth-ethereum' |
7 | | - spec.version = '0.0.1' |
8 | | - spec.summary = "OmniAuth Strategy for Ethereum" |
9 | | - spec.description = "Authentication Strategy for OmniAuth to authenticate a user with an Ethereum account" |
10 | | - spec.authors = ["Afri Schoedon"] |
11 | | - |
12 | | - spec.files = ["lib/omniauth-ethereum.rb"] |
13 | | - spec.homepage = 'https://github.com/byz-f/omniauth-ethereum' |
14 | | - spec.license = 'Apache-2.0' |
| 5 | + spec.name = 'omniauth-ethereum' |
| 6 | + spec.version = '0.1.0' |
| 7 | + spec.summary = "OmniAuth Strategy for Ethereum" |
| 8 | + spec.description = "Authentication Strategy for OmniAuth to authenticate a user with an Ethereum account" |
| 9 | + spec.authors = ["Afri Schoedon"] |
| 10 | + |
| 11 | + spec.homepage = 'https://github.com/q9f/omniauth-ethereum' |
| 12 | + spec.license = 'Apache-2.0' |
| 13 | + |
| 14 | + spec.metadata = { |
| 15 | + 'homepage_uri' => 'https://github.com/q9f/omniauth-ethereum', |
| 16 | + 'source_code_uri' => 'https://github.com/q9f/omniauth-ethereum', |
| 17 | + 'github_repo' => 'https://github.com/q9f/omniauth-ethereum', |
| 18 | + 'bug_tracker_uri' => 'https://github.com/q9f/omniauth-ethereum/issues', |
| 19 | + }.freeze |
| 20 | + |
| 21 | + spec.require_paths = ["lib"] |
| 22 | + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } |
| 23 | + |
| 24 | + spec.platform = Gem::Platform::RUBY |
| 25 | + spec.required_ruby_version = ">= 2.7", "< 4.0" |
| 26 | + |
| 27 | + # OmniAuth is what this strategy is providing |
| 28 | + spec.add_dependency 'omniauth', '~> 2.0' |
| 29 | + |
| 30 | + # Use Ruby-Eth for signature recovery |
| 31 | + spec.add_dependency 'eth', '~> 0.4.16' |
| 32 | + |
| 33 | + # Spec tests |
| 34 | + spec.add_development_dependency 'rspec', '~> 3.10' |
| 35 | + spec.add_development_dependency 'rack-test', '~> 1.1' |
15 | 36 | end |
0 commit comments