-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseraph.gemspec
More file actions
41 lines (35 loc) · 1.63 KB
/
Copy pathseraph.gemspec
File metadata and controls
41 lines (35 loc) · 1.63 KB
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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'seraph/version'
require 'English'
Gem::Specification.new do |gem|
gem.name = 'seraph'
gem.version = Seraph::VERSION
gem.summary = 'A simple framework-agnostic library for authentication'
gem.description = "Looking for an authentication gem that doesn't make any assumptions about your setup? You've came to the right place."
gem.license = 'MIT'
gem.authors = ['Szymon Szeliga']
gem.email = '[email protected]'
gem.homepage = 'https://rubygems.org/gems/seraph'
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
`git submodule --quiet foreach --recursive pwd`.split($INPUT_RECORD_SEPARATOR).each do |submodule|
submodule.sub!("#{Dir.pwd}/", '')
Dir.chdir(submodule) do
`git ls-files`.split($INPUT_RECORD_SEPARATOR).map do |subpath|
gem.files << File.join(submodule, subpath)
end
end
end
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ['lib']
gem.add_runtime_dependency 'bcrypt', '>= 3.1'
gem.add_runtime_dependency 'fast_secure_compare', '>= 1.0.0'
gem.add_development_dependency 'rake', '~> 11.2'
gem.add_development_dependency 'rspec', '~> 3.0'
gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
gem.add_development_dependency 'fuubar', '~> 2.0'
gem.add_development_dependency 'pry', '~> 0.10'
gem.add_development_dependency 'codeclimate-test-reporter', '~> 0.1'
end