Skip to content

Commit

Permalink
Rename config from development to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
makicamel committed Oct 9, 2023
1 parent 2c75c35 commit c533554
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/bulletmark_repairer/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
module BulletmarkRepairer
class Configration
attr_accessor :skip_file_list, :logger
attr_writer :development
attr_writer :debug

def initialize
@development = false
@debug = false
@skip_file_list = []
@logger = Logger.new("#{Rails.root}/log/bulletmark_repairer.log")
end

def development?
@development
def debug?
@debug
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/bulletmark_repairer/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def call(env)
)
end
rescue StandardError => e
raise e if BulletmarkRepairer.config.development?
raise e if BulletmarkRepairer.config.debug?
end
end
end
Expand Down

0 comments on commit c533554

Please sign in to comment.