diff --git a/lib/rackstash/adapters/file.rb b/lib/rackstash/adapters/file.rb index b0f41e2..67ea5ae 100644 --- a/lib/rackstash/adapters/file.rb +++ b/lib/rackstash/adapters/file.rb @@ -34,8 +34,9 @@ module Rackstash # # Rackstash::Adapters::File.new('/var/log/rackstash/my_app.log') # - # you can rotate the file with a config for the the standard - # [logrotate](https://github.com/logrotate/logrotate) utility like this: + # you can rotate the file with a config for the standard + # [logrotate](https://github.com/logrotate/logrotate) utility similar to + # this example: # # /var/log/rackstash/my_app.log { # daily diff --git a/lib/rackstash/fields/abstract_collection.rb b/lib/rackstash/fields/abstract_collection.rb index 633a884..864715a 100644 --- a/lib/rackstash/fields/abstract_collection.rb +++ b/lib/rackstash/fields/abstract_collection.rb @@ -19,7 +19,7 @@ module Rackstash class AbstractCollection include Rackstash::Helpers::UTF8 - # Equality -- Two collections are equal if they are of exactly the same + # Equality - Two collections are equal if they are of exactly the same # class and contain the same raw data according to `Object#==`. # # @return [Boolean] `true` if `other` is an object of the same class and diff --git a/lib/rackstash/logger.rb b/lib/rackstash/logger.rb index 9bad2e6..86aff6a 100644 --- a/lib/rackstash/logger.rb +++ b/lib/rackstash/logger.rb @@ -420,11 +420,11 @@ module Rackstash # buffer.flush if buffer # end # - # By using the `begin ... ensure` block, you can enfore that the buffer is - # actually poped and flushed afte the execution leaves your environment, - # even in an Exception is raised. If you omit to pop the Buffer from the + # By using the `begin ... ensure` block, you can enforce that the buffer is + # actually poped and flushed after the execution leaves your environment, + # even if an Exception is raised. If you omit to pop the Buffer from the # stack, weird things can happen and your logs will probably end up not - # being consistent or even flushed. + # being consistent or not even flushed at all. # # @see #pop_buffer #