lib/rvt/engine.rb in rvt-1.0.0 vs lib/rvt/engine.rb in rvt-1.1.0
- old
+ new
@@ -20,12 +20,11 @@
# Rails 5 defaults on Puma as a web server, so we can be long polling by
# default.
c.timeout = 45.seconds if ::Rails.version >= '5.0.0'
c.style = ActiveSupport::OrderedOptions.new.tap do |s|
- s.colors = 'light'
- s.font = 'large Menlo, DejaVu Sans Mono, Liberation Mono, monospace'
+ s.font = 'large Menlo, DejaVu Sans Mono, Liberation Mono, monospace'
end
end
initializer 'rvt.add_default_route' do |app|
# While we don't need the route in the test environment, we define it
@@ -69,20 +68,9 @@
# Not all people created their Rails 4 applications with the Rails 4
# generator, so bin/rails may not be available.
if c.command.blank?
local_rails = Rails.root.join('bin/rails')
c.command = "#{local_rails.executable? ? local_rails : 'rails'} console"
- end
- end
- end
-
- initializer 'rvt.process_colors' do
- config.rvt.style.tap do |c|
- case colors = c.colors
- when Symbol, String
- c.colors = Colors[colors] || Colors.default
- else
- c.colors = Colors.new(colors)
end
end
end
end
end