Skip to content

Commit 8b62bb6

Browse files
committed
double quoted strings for hound
1 parent 60b9ebd commit 8b62bb6

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

lib/high_voltage.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
require 'high_voltage/configuration'
55
require 'high_voltage/constraints/root_route'
6-
require 'high_voltage/page_collector'
6+
require "high_voltage/page_collector"
77
require 'high_voltage/page_finder'
88
require 'high_voltage/route_drawers/default'
99
require 'high_voltage/route_drawers/root'

lib/high_voltage/configuration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def page_ids
4444
end
4545

4646
def full_path
47-
Rails.root.join('app', 'views', HighVoltage.content_path)
47+
Rails.root.join("app", "views", HighVoltage.content_path)
4848
end
4949

5050
def set_default_configuration

lib/high_voltage/page_collector.rb

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
module HighVoltage
2-
3-
require 'find'
2+
require "find"
43

54
class PageCollector
6-
75
attr_reader :page_ids, :content_path
86

97
def initialize(content_path)
@@ -23,7 +21,7 @@ def page_ids
2321
private
2422

2523
def url_path(f)
26-
f.gsub(content_path, '').gsub(file_pattern, '')
24+
f.gsub(content_path, "").gsub(file_pattern, "")
2725
end
2826

2927
def directory?(f)

0 commit comments

Comments
 (0)