-
Notifications
You must be signed in to change notification settings - Fork 3
/
vulneruby_engine.gemspec
81 lines (73 loc) · 2.83 KB
/
vulneruby_engine.gemspec
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# frozen_string_literal: true
$LOAD_PATH.push(::File.expand_path('lib', __dir__))
# Maintain your gem's version:
require('vulneruby_engine/version')
# Add those dependencies required to develop or test the project
def self.add_dev_dependencies spec
spec.add_development_dependency('capybara')
spec.add_development_dependency('rails-controller-testing')
spec.add_development_dependency('rspec', '~> 3.0')
spec.add_development_dependency('rspec-rails')
spec.add_development_dependency 'rspec_junit_formatter', '0.3.0'
spec.add_development_dependency('selenium-webdriver')
spec.add_development_dependency('simplecov', '~> 0.18.5')
spec.add_development_dependency('sqlite3')
spec.add_development_dependency('warning')
spec.add_development_dependency('watir')
end
def self.add_lint_dependencies spec
spec.add_development_dependency('debride')
spec.add_development_dependency('fasterer')
spec.add_development_dependency('flay')
spec.add_development_dependency('rubocop', '1.22.3')
spec.add_development_dependency('rubocop-performance', '1.12.0')
spec.add_development_dependency('rubocop-rspec', '2.6.0')
end
# Add those dependencies required to run the project
def self.add_dependencies spec
spec.add_dependency('rails', '~> 7.0.3')
spec.add_dependency('sprockets-rails')
spec.add_dependency('rake', '~> 12.3.0')
spec.add_dependency('sinatra', '~> 2.0')
spec.add_dependency('grape', '~> 1.5.3')
spec.add_dependency('sidekiq', '6.5.7')
# spec.add_dependency('sidekiq-status', '~> 2.1')
spec.add_dependency('nokogiri', '>= 1.13.6')
spec.add_dependency('rack', '>= 2.2.3.1')
spec.add_dependency('google-protobuf')
spec.add_dependency('mongoid')
spec.add_dependency('webpacker')
spec.add_dependency('cucumber')
end
# Describe your gem and declare its dependencies:
::Gem::Specification.new do |spec|
spec.name = 'vulneruby_engine'
spec.version = ::VulnerubyEngine::VERSION
spec.authors = ['Donald Propst']
spec.email = ['[email protected]']
spec.homepage = 'https://github.com'
spec.summary = 'Summary of VulnerubyEngine.'
spec.description = 'Description of VulnerubyEngine.'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.0.0'
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the
# 'allowed_push_host' to allow pushing to a single host or delete this
# section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'http://mygemserver.com'
else
raise(
::StandardError,
'RubyGems 2.0 or newer is required to protect against public gem '\
'pushes.')
end
spec.files = ::Dir[
'{app,config,db,lib}/**/*',
'MIT-LICENSE',
'Rakefile',
'README.md'
]
add_dev_dependencies(spec)
add_lint_dependencies(spec)
add_dependencies(spec)
end