-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtnql.gemspec
More file actions
46 lines (40 loc) · 2 KB
/
Copy pathtnql.gemspec
File metadata and controls
46 lines (40 loc) · 2 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
42
43
44
45
46
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'tnql/version'
# We list development dependencies for all Rails versions here.
# Rails version-specific dependencies can go in the relevant Gemfile.
# rubocop:disable Gemspec/DevelopmentDependencies
Gem::Specification.new do |spec|
spec.name = 'tnql'
spec.version = Tnql::VERSION
spec.authors = ['NHSD NDRS Development Team']
spec.email = []
spec.summary = 'Tumour Natural Query Language'
spec.description = 'Domain Specific Language for querying PHE NCRAS datastores'
spec.homepage = 'https://github.com/NHSDigital/tnql'
spec.license = 'MIT'
gem_files = %w[CHANGELOG.md CODE_OF_CONDUCT.md LICENSE.txt README.md Rakefile
SECURITY.md app config db lib]
spec.files = `git ls-files -z`.split("\x0").
select { |f| gem_files.include?(f.split('/')[0]) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 3.2'
spec.add_dependency 'activesupport', '>= 7.1', '< 8.1'
spec.add_dependency 'chronic', '~> 0.3'
spec.add_dependency 'ndr_support', '>= 3.0', '< 6'
# treetop 1.6.14 causes errors. I think this may be a buggy release and fixed soon,
# but I'll restrict the version we use for now.
spec.add_dependency 'treetop', '~> 1.6.12', '< 1.6.14'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'guard'
spec.add_development_dependency 'guard-minitest'
spec.add_development_dependency 'guard-rubocop'
spec.add_development_dependency 'minitest', '>= 5.0.0'
spec.add_development_dependency 'ndr_dev_support', '>= 6.0', '< 8.0'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'terminal-notifier-guard' if RUBY_PLATFORM =~ /darwin/
end
# rubocop:enable Gemspec/DevelopmentDependencies