diff --git a/lib/jekyll-seo-tag.rb b/lib/jekyll-seo-tag.rb index a89da72..696daa6 100644 --- a/lib/jekyll-seo-tag.rb +++ b/lib/jekyll-seo-tag.rb @@ -30,7 +30,7 @@ module Jekyll def options { "version" => Jekyll::SeoTag::VERSION, - "title" => title? + "title" => title?, } end @@ -39,7 +39,7 @@ module Jekyll "page" => context.registers[:page], "site" => context.registers[:site].site_payload["site"], "paginator" => context["paginator"], - "seo_tag" => options + "seo_tag" => options, } end @@ -50,7 +50,7 @@ module Jekyll def info { :registers => context.registers, - :filters => [Jekyll::Filters] + :filters => [Jekyll::Filters], } end diff --git a/spec/jekyll_seo_tag_spec.rb b/spec/jekyll_seo_tag_spec.rb index d273a26..b4f8b9c 100644 --- a/spec/jekyll_seo_tag_spec.rb +++ b/spec/jekyll_seo_tag_spec.rb @@ -29,7 +29,7 @@ describe Jekyll::SeoTag do site.process options = { :check_html => true, - :checks_to_ignore => %w(ScriptCheck LinkCheck ImageCheck) + :checks_to_ignore => %w(ScriptCheck LinkCheck ImageCheck), } status = HTML::Proofer.new(dest_dir, options).run expect(status).to eql(true) @@ -225,7 +225,7 @@ EOS { "title" => "post", "description" => "description", - "image" => "/img.png" + "image" => "/img.png", } end let(:page) { make_post(meta) } @@ -255,7 +255,7 @@ EOS { "admins" => "jekyllrb-fb-admins", "app_id" => "jekyllrb-fb-app_id", - "publisher" => "jekyllrb-fb-publisher" + "publisher" => "jekyllrb-fb-publisher", } end @@ -377,8 +377,8 @@ EOS { "permalink" => "/", "seo" => { - "type" => "person" - } + "type" => "person", + }, } end @@ -448,7 +448,7 @@ EOS "google" => "foo", "bing" => "bar", "alexa" => "baz", - "yandex" => "bat" + "yandex" => "bat", } end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index db30693..a68ada5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,7 @@ end CONFIG_DEFAULTS = { "source" => source_dir, "destination" => dest_dir, - "gems" => ["jekyll-seo-tag"] + "gems" => ["jekyll-seo-tag"], }.freeze def make_page(options = {})