mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-09 20:18:39 +02:00
[GEM] +naught for NullLogger
This commit is contained in:
parent
849c27a5aa
commit
4e6a3d2ed5
2
Gemfile
2
Gemfile
|
@ -36,6 +36,8 @@ gem 'bcrypt', '~> 3.1.7'
|
||||||
# Use ActiveStorage variant
|
# Use ActiveStorage variant
|
||||||
# gem 'mini_magick', '~> 4.8'
|
# gem 'mini_magick', '~> 4.8'
|
||||||
|
|
||||||
|
gem 'naught'
|
||||||
|
|
||||||
# Reduces boot times through caching; required in config/boot.rb
|
# Reduces boot times through caching; required in config/boot.rb
|
||||||
gem 'bootsnap', '>= 1.1.0', require: false
|
gem 'bootsnap', '>= 1.1.0', require: false
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,7 @@ GEM
|
||||||
msgpack (1.2.4)
|
msgpack (1.2.4)
|
||||||
multi_json (1.13.1)
|
multi_json (1.13.1)
|
||||||
mysql2 (0.5.1)
|
mysql2 (0.5.1)
|
||||||
|
naught (1.1.0)
|
||||||
net-scp (1.2.1)
|
net-scp (1.2.1)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
net-ssh (4.2.0)
|
net-ssh (4.2.0)
|
||||||
|
@ -295,6 +296,7 @@ DEPENDENCIES
|
||||||
letter_opener_web
|
letter_opener_web
|
||||||
listen (>= 3.0.5, < 3.2)
|
listen (>= 3.0.5, < 3.2)
|
||||||
mysql2 (>= 0.4.4, < 0.6.0)
|
mysql2 (>= 0.4.4, < 0.6.0)
|
||||||
|
naught
|
||||||
pry-byebug
|
pry-byebug
|
||||||
pry-rails
|
pry-rails
|
||||||
puma (~> 3.11)
|
puma (~> 3.11)
|
||||||
|
|
3
lib/null_logger.rb
Normal file
3
lib/null_logger.rb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
require "naught"
|
||||||
|
|
||||||
|
NullLogger = Naught.build
|
Loading…
Reference in a new issue