forked from baschtl/devise-token_authenticatable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devise-token_authenticatable.gemspec
40 lines (34 loc) · 1.85 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
# 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 = ["dev@soelke.de"]
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", "< 4.4.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.15"
# Fix database connection with sqlite3 and jruby
if RUBY_ENGINE == 'ruby'
spec.add_development_dependency "sqlite3", "~> 1.3"
elsif RUBY_ENGINE == 'jruby'
spec.add_development_dependency "activerecord-jdbcsqlite3-adapter"
end
end