-
Notifications
You must be signed in to change notification settings - Fork 42
/
devise-token_authenticatable.gemspec
41 lines (35 loc) · 1.9 KB
/
devise-token_authenticatable.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'devise/token_authenticatable/version'
Gem::Specification.new do |spec|
spec.name = "devise-token_authenticatable"
spec.version = Devise::TokenAuthenticatable::VERSION.dup
spec.platform = Gem::Platform::RUBY
spec.authors = ["Sebastian Oelke"]
spec.email = ["[email protected]"]
spec.description = %q{This gem provides the extracted Token Authenticatable module of devise.
It enables the user to sign in via an authentication token. This token
can be given via a query string or HTTP Basic Authentication.}
spec.summary = %q{Provides authentication based on an authentication token for devise 3.2 and up.}
spec.homepage = "https://github.com/baschtl/devise-token_authenticatable"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "devise", ">= 4.0.0", "< 5.0.0"
spec.add_development_dependency "rails", "~> 4.2"
spec.add_development_dependency "rspec-rails", "~> 3.0"
spec.add_development_dependency "pry", "~> 0.10"
spec.add_development_dependency "factory_girl_rails", "~> 4.4"
spec.add_development_dependency "timecop", "~> 0.7"
spec.add_development_dependency "bundler", "~> 1.17"
# Fix database connection with sqlite3 and jruby
if RUBY_ENGINE == 'ruby'
# Match rails's expected version constraint
spec.add_development_dependency "sqlite3", "~> 1.3.6"
elsif RUBY_ENGINE == 'jruby'
spec.add_development_dependency "activerecord-jdbcsqlite3-adapter"
end
end