-
Notifications
You must be signed in to change notification settings - Fork 7
/
Rakefile
44 lines (38 loc) · 1.44 KB
/
Rakefile
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
44
require 'bundler/gem_tasks'
require 'rake/testtask'
task default: :test
task :gemspec do
gemspec = Gem::Specification.new do |spec|
spec.name = 'rails_ops'
spec.version = File.read('VERSION').chomp
spec.authors = ['Sitrox']
spec.summary = 'An operations service layer for rails projects.'
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = []
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.licenses = ['MIT']
spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'sqlite3', '<2.0.0'
spec.add_development_dependency 'cancancan'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'colorize'
spec.add_development_dependency 'rubocop', '1.45.1'
spec.add_development_dependency 'sprockets-rails'
spec.add_development_dependency 'simplecov'
spec.add_dependency 'active_type', '>= 1.3.0'
spec.add_dependency 'minitest'
spec.add_dependency 'rails'
spec.add_dependency 'request_store'
spec.add_dependency 'schemacop', '>= 3.0.0', '<= 3.1'
end
File.write('rails_ops.gemspec', gemspec.to_ruby.strip)
end
Rake::TestTask.new do |t|
t.pattern = 'test/unit/**/*_test.rb'
t.verbose = false
t.libs << 'test'
t.warning = false
end