forked from settingslogic/settingslogic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettingslogic.gemspec
More file actions
47 lines (40 loc) · 2.13 KB
/
settingslogic.gemspec
File metadata and controls
47 lines (40 loc) · 2.13 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
# frozen_string_literal: true
require_relative 'lib/settingslogic/version'
Gem::Specification.new do |spec|
spec.name = 'mitre-settingslogic'
spec.version = Settingslogic::VERSION
spec.platform = Gem::Platform::RUBY
spec.authors = ['Ben Johnson', 'MITRE SAF Team']
spec.email = ['saf@mitre.org']
spec.homepage = 'https://github.com/mitre/settingslogic'
spec.summary = 'A simple settings solution using YAML and a singleton pattern'
spec.description = 'A simple and straightforward settings solution that uses an ERB enabled YAML file and ' \
'a singleton design pattern. This is a MITRE-maintained fork with Ruby 3.x and ' \
'Rails 7.x compatibility.'
spec.license = 'Apache-2.0'
spec.required_ruby_version = '>= 2.7.0'
# Runtime dependencies
# BigDecimal is required for YAML safe_load permitted classes
# In Ruby 3.4+, bigdecimal is no longer bundled by default
spec.add_dependency 'bigdecimal', '~> 3.1'
spec.metadata = {
'homepage_uri' => spec.homepage,
'source_code_uri' => spec.homepage,
'changelog_uri' => "#{spec.homepage}/blob/main/CHANGELOG.md",
'bug_tracker_uri' => "#{spec.homepage}/issues",
'documentation_uri' => 'https://mitre.github.io/settingslogic/',
'rubygems_mfa_required' => 'true'
}
# Development Dependencies - All verified for security
spec.add_development_dependency 'bundler-audit', '~> 0.9' # Security auditing
spec.add_development_dependency 'rake', '~> 13.2' # CVE-2020-8130 fixed in 12.3.3+
spec.add_development_dependency 'rspec', '~> 3.13' # Latest stable
spec.add_development_dependency 'rubocop', '~> 1.65' # Latest 1.x stable
spec.add_development_dependency 'rubocop-performance', '~> 1.21' # Performance cops
spec.add_development_dependency 'rubocop-rspec', '~> 3.0' # RSpec-specific cops
spec.add_development_dependency 'simplecov', '~> 0.22' # Current stable
# Files
spec.files = Dir.glob('lib/**/*') + ['README.md', 'LICENSE.md', 'CHANGELOG.md',
'ROADMAP.md', 'SECURITY.md', 'CONTRIBUTING.md']
spec.require_paths = ['lib']
end