-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathndr_error.gemspec
More file actions
62 lines (48 loc) · 2.41 KB
/
ndr_error.gemspec
File metadata and controls
62 lines (48 loc) · 2.41 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
$LOAD_PATH.push File.expand_path('lib', __dir__)
# Maintain your gem's version:
require 'ndr_error/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 |s|
s.name = 'ndr_error'
s.version = NdrError::VERSION
s.authors = ['NCRS Development Team']
s.email = []
s.summary = 'Rails exception logging'
s.description = 'Mountable engine for exception logging and fingerprinting'
s.homepage = 'https://github.com/NHSDigital/ndr_error'
s.license = 'MIT'
s.files = Dir['{app,config,db,lib}/**/*', 'CHANGELOG.md', 'CODE_OF_CONDUCT.md',
'MIT-LICENSE', 'Rakefile', 'README.md'] - ['.travis.yml']
s.required_ruby_version = '>= 3.0'
s.add_dependency 'rails', '>= 6.1', '< 8.1'
# Support rails 6.1 with Ruby 3.1
s.add_dependency 'net-imap'
s.add_dependency 'net-pop'
s.add_dependency 'net-smtp'
s.add_dependency 'will_paginate'
s.add_dependency 'ndr_ui', '>= 5.0'
s.add_development_dependency 'pry'
s.add_development_dependency 'puma'
# Rails 6.1 and 7.0 do not support sqlite3 2.x; they specify gem "sqlite3", "~> 1.4"
# in lib/active_record/connection_adapters/sqlite3_adapter.rb
# cf. gemfiles/Gemfile.rails70
s.add_development_dependency 'sqlite3'
# Workaround build issue on GitHub Actions with ruby <= 3.1 when installing sass-embedded
# gem version 1.81.0: NoMethodError: undefined method `parse' for #<Psych::Parser...>
# https://bugs.ruby-lang.org/issues/19371
s.add_development_dependency 'psych', '< 5'
# Workaround build issue on GitHub Actions with ruby <= 3.1 when installing sass-embedded
# Versions 1.77.0 and above require ruby >= 3.2 for packaged x86_64-linux binaries
# but say they're compatible with ruby 3.1.
# 1.76.0 has a bug that was fixed in 1.77.1, which we can't use yet.
# https://github.com/sass/dart-sass/issues/2239
s.add_development_dependency 'sass-embedded', '~> 1.75.0' if RUBY_VERSION.start_with?('3.1') # rubocop:disable Gemspec/RubyVersionGlobalsUsage
s.add_development_dependency 'mocha'
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency 'database_cleaner'
s.add_development_dependency 'ndr_dev_support', '>= 5.10'
s.add_development_dependency 'simplecov'
end
# rubocop:enable Gemspec/DevelopmentDependencies