lib/site_hook.rb in site_hook-0.6.9 vs lib/site_hook.rb in site_hook-0.6.10
- old
+ new
@@ -17,11 +17,10 @@
module SiteHook
autoload :Logs, 'site_hook/log'
autoload :Gem, 'site_hook/gem'
autoload :Paths, 'site_hook/paths'
- # rubocop:disable Metrics/ClassLength, Metrics/LineLength, MethodLength, BlockLength
# class SassHandler (inherits from Sinatra::Base)
class SassHandler < Sinatra::Base
set :views, Pathname(app_file).dirname.join('site_hook', 'static', 'sass').to_s
get '/css/*.css' do
filename = params[:splat].first
@@ -34,9 +33,6 @@
get '/js/*.js' do
filename = params[:splat].first
coffee filename.to_sym
end
end
- # class Webhook (inherits from Sinatra::Base)
-
- # rubocop:enable Metrics/ClassLength, Metrics/LineLength, MethodLength, BlockLength
end