Add more gems

This commit is contained in:
Alex Kotov 2023-05-10 14:31:40 +04:00
parent d646d9eb6b
commit f958347563
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 6 additions and 15 deletions

View file

@ -43,8 +43,11 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename f }
spec.add_runtime_dependency 'connection_pool', '~> 2.4'
spec.add_runtime_dependency 'erb', '~> 4.0', '>= 4.0.2'
spec.add_runtime_dependency 'json', '~> 2.6', '>= 2.6.3'
spec.add_runtime_dependency 'logger', '~> 1.5', '>= 1.5.3'
spec.add_runtime_dependency 'pathname', '~> 0.2.1'
spec.add_runtime_dependency 'puma', '~> 6.2', '>= 6.2.2'
spec.add_runtime_dependency 'rack', '~> 2.2', '>= 2.2.7'
spec.add_runtime_dependency 'rack-protection', '~> 3.0', '>= 3.0.6'

View file

@ -1,27 +1,15 @@
# frozen_string_literal: true
####################
# Standard library #
####################
require 'logger'
require 'pathname'
########
# Gems #
########
require 'connection_pool'
require 'erb'
require 'json'
require 'logger'
require 'pathname'
require 'puma'
require 'rack'
require 'rack/handler/puma'
require 'rack/protection'
################
# Own requires #
################
require_relative 'diversipub/main'
require_relative 'diversipub/puma_task'
require_relative 'diversipub/rack_app'