Skip to content

Commit 573d294

Browse files
committed
style: safe-auto-correct
1 parent b34fff5 commit 573d294

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
source "https://rubygems.org"
44
gemspec
55

6-
if ENV["GH_PAGES"]
7-
gem "github-pages"
8-
end
6+
gem "github-pages" if ENV["GH_PAGES"]

spec/jekyll_redirect_from/generator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142

143143
it "doesn't overwrite redirets.json" do
144144
expect(path).to exist
145-
expect(redirects).to eql({ "foo" => "bar" })
145+
expect(redirects).to eql("foo" => "bar")
146146
end
147147
end
148148
end

spec/spec_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def dest_dir(*paths)
3434
end
3535

3636
def config
37-
Jekyll.configuration({
37+
Jekyll.configuration(
3838
"source" => fixtures_path.to_s,
3939
"destination" => fixtures_path.join("_site").to_s,
4040
"collections" => {
@@ -49,8 +49,8 @@ def config
4949
"defaults" => [{
5050
"scope" => { "path" => "" },
5151
"values" => { "layout" => "layout" },
52-
},],
53-
}).backwards_compatibilize
52+
}]
53+
).backwards_compatibilize
5454
end
5555

5656
def site

0 commit comments

Comments
 (0)