From bf4a846007811e9b77ce6b6d2b73b121ba54495a Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Thu, 7 Apr 2016 23:52:15 +0530 Subject: [PATCH] Fix typos at couple of places. --- History.txt | 8 ++++---- README.md | 2 +- docs/nginx.md | 4 ++-- lib/puma/binder.rb | 4 ++-- lib/puma/launcher.rb | 2 +- lib/puma/server.rb | 2 +- tools/jungle/init.d/puma | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/History.txt b/History.txt index 409e2d04c8..ad257e44f4 100644 --- a/History.txt +++ b/History.txt @@ -980,7 +980,7 @@ be added back in a future date when a java Puma::MiniSSL is added. === 1.5.0 / 2012-07-19 -* 7 contributers to this release: +* 7 contributors to this release: * Christian Mayer * DarĂ­o Javier Cravero * Dirkjan Bussink @@ -1028,7 +1028,7 @@ be added back in a future date when a java Puma::MiniSSL is added. * Only stop the status server if it's started. Fixes #84 * Set RACK_ENV early in cli also. Fixes #78 -* 1 new contributer: +* 1 new contributor: * Jesse Cooke === 1.2.2 / 2012-04-28 @@ -1064,9 +1064,9 @@ be added back in a future date when a java Puma::MiniSSL is added. * Fix reporting https only on a true SSL connection * Set the default content type to 'text/plain'. Fixes #63 * Use REUSEADDR. Fixes #60 - * Shutdown gracefull on SIGTERM. Fixes #53 + * Shutdown gracefully on SIGTERM. Fixes #53 - 2 new contributers: + 2 new contributors: * Seamus Abshere * Steve Richert diff --git a/README.md b/README.md index f5cdabcf81..482ec855b9 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,7 @@ Because of various platforms not being able to implement certain things, the fol Process monitors or supervisors will at minimum provide start of Puma on system boot. Modern process monitors like systemd or upstart -further provide continous monitoring and restarts for increased +further provide continuous monitoring and restarts for increased reliability in production environments: * [tools/jungle](https://github.com/puma/puma/tree/master/tools/jungle) for sysvinit (init.d) and upstart diff --git a/docs/nginx.md b/docs/nginx.md index ae8d1f7379..0917cec719 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -34,7 +34,7 @@ server { proxy_set_header Host $http_host; # If the file exists as a static file serve it directly without - # running all the other rewite tests on it + # running all the other rewrite tests on it if (-f $request_filename) { break; } @@ -50,7 +50,7 @@ server { # this is the meat of the rack page caching config # it adds .html to the end of the url and then checks # the filesystem for that file. If it exists, then we - # rewite the url to have explicit .html on the end + # rewrite the url to have explicit .html on the end # and then send it on its way to the next config rule. # if there is no file on the fs then it sets all the # necessary headers and proxies to our upstream pumas diff --git a/lib/puma/binder.rb b/lib/puma/binder.rb index 78fda84977..977d87f258 100644 --- a/lib/puma/binder.rb +++ b/lib/puma/binder.rb @@ -23,7 +23,7 @@ def initialize(events) "SCRIPT_NAME".freeze => ENV['SCRIPT_NAME'] || "", # I'd like to set a default CONTENT_TYPE here but some things - # depend on their not being a default set and infering + # depend on their not being a default set and inferring # it from the content. And so if i set it here, it won't # infer properly. @@ -230,7 +230,7 @@ def parse(binds, logger) end end - # Also close any unsued activated sockets + # Also close any unused activated sockets @activated_sockets.each do |key, sock| logger.log "* Closing unused activated socket: #{key.join ':'}" begin diff --git a/lib/puma/launcher.rb b/lib/puma/launcher.rb index 9d9fc9edd5..3ec3bbc149 100644 --- a/lib/puma/launcher.rb +++ b/lib/puma/launcher.rb @@ -12,7 +12,7 @@ require 'puma/commonlogger' module Puma - # Puam::Launcher is the single entry point for starting a Puma server based on user + # Puma::Launcher is the single entry point for starting a Puma server based on user # configuration. It is responsible for taking user supplied arguments and resolving them # with configuration in `config/puma.rb` or `config/puma/.rb`. # diff --git a/lib/puma/server.rb b/lib/puma/server.rb index 11a97f2628..ac424c5fe6 100644 --- a/lib/puma/server.rb +++ b/lib/puma/server.rb @@ -733,7 +733,7 @@ def fetch_status_code(status) end private :fetch_status_code - # Given the requset +env+ from +client+ and the partial body +body+ + # Given the request +env+ from +client+ and the partial body +body+ # plus a potential Content-Length value +cl+, finish reading # the body and return it. # diff --git a/tools/jungle/init.d/puma b/tools/jungle/init.d/puma index 446c71026e..cb1c8c680d 100755 --- a/tools/jungle/init.d/puma +++ b/tools/jungle/init.d/puma @@ -357,7 +357,7 @@ case "$1" in ;; add) if [ "$#" -lt 3 ]; then - echo "Please, specifiy the app's directory and the user that will run it at least." + echo "Please, specify the app's directory and the user that will run it at least." echo " Usage: $SCRIPTNAME add /path/to/app user /path/to/app/config/puma.rb /path/to/app/config/log/puma.log" echo " config and log are optionals." exit 1