-
Notifications
You must be signed in to change notification settings - Fork 37
/
devise-passwordless.gemspec
43 lines (35 loc) · 1.74 KB
/
devise-passwordless.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
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "devise/passwordless/version"
Gem::Specification.new do |spec|
spec.name = "devise-passwordless"
spec.version = Devise::Passwordless::VERSION
spec.authors = ["Abe Voelker"]
spec.email = ["[email protected]"]
spec.summary = %q{Passwordless (email-only) login strategy for Devise}
#spec.description = %q{TODO: Write a longer description or delete this line.}
spec.homepage = "https://github.com/abevoelker/devise-passwordless"
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
#spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
#spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.files = Dir["{app,lib}/**/*", "CHANGELOG.md", "LICENSE.txt", "README.md", "UPGRADING.md"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.1.0"
spec.add_dependency "devise"
spec.add_dependency "globalid"
spec.add_development_dependency "timecop"
spec.post_install_message = %q{
Devise Passwordless v1.0 introduces major, backwards-incompatible changes!
Please see https://github.com/abevoelker/devise-passwordless/blob/master/UPGRADING.md
for a guide on upgrading, or CHANGELOG.md for a list of changes.
}
end