-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* RuboCop: Style/StringLiterals * RuboCop: RequireOrder
- Loading branch information
1 parent
445984f
commit 9a405bf
Showing
5 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'thor' | ||
require 'webmention' | ||
require "thor" | ||
require "webmention" | ||
|
||
require_relative 'cli/version' | ||
require_relative 'cli/runner' | ||
require_relative "cli/version" | ||
|
||
require_relative "cli/runner" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
module Webmention | ||
module CLI | ||
VERSION = '2.0.0' | ||
VERSION = "2.0.0" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
RSpec.describe Webmention::CLI::Runner, '#version' do | ||
RSpec.describe Webmention::CLI::Runner, "#version" do | ||
subject(:cmd) { described_class.new.version } | ||
|
||
it 'prints version information' do | ||
it "prints version information" do | ||
expect { cmd }.to output("webmention-cli version #{Webmention::CLI::VERSION}\n").to_stdout | ||
end | ||
end |