lib/standard/faker/plugin.rb in standard-faker-0.1.0 vs lib/standard/faker/plugin.rb in standard-faker-0.1.1

- old
+ new

@@ -6,11 +6,11 @@ def about LintRoller::About.new( name: "standard-faker", version: VERSION, homepage: "https://github.com/shilin-anton/standard-faker", - description: "Configuration for rubocop-faker rules" + description: "Configuration for rubocop-faker rules." ) end def supported?(context) true @@ -34,14 +34,14 @@ # but it will also monkey-patch RuboCop's default_configuration, which is # something that can't be undone for the lifetime of the process. # # See: https://github.com/koic/rubocop-faker/blob/master/lib/rubocop-faker.rb#L9 # - # As an alternative, standard-rspec loads the cops directly, and then + # As an alternative, standard-faker loads the cops directly, and then # simply tells the RuboCop config loader that it's been loaded. This is # taking advantage of a private API of an `attr_reader` that probably wasn't # meant to be mutated externally, but it's better than the `Inject` monkey - # patching that rubocop-rspec does (and many other RuboCop plugins do) + # patching that rubocop-faker does (and many other RuboCop plugins do) def trick_rubocop_into_thinking_we_required_rubocop_faker! without_warnings do require_relative "load_rubocop_faker_without_the_monkey_patch" end RuboCop::ConfigLoader.default_configuration.loaded_features.add("rubocop-faker")