From b20328d04abb84a8e551330952e53d00ec0c4c09 Mon Sep 17 00:00:00 2001 From: hakeda Date: Mon, 22 Dec 2014 14:41:26 +0000 Subject: [PATCH] Fix typos and misspellings --- command-reference.md | 2 +- patterns.md | 2 +- rubygems-org-api.md | 4 ++-- security.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/command-reference.md b/command-reference.md index 6e6826fe..a73ad0a2 100644 --- a/command-reference.md +++ b/command-reference.md @@ -1758,7 +1758,7 @@ via the webhooks. If you accidentally pushed passwords or other sensitive data you will need to change them immediately and yank your gem. If you are yanking a gem due to intellectual property reasons contact -http://help.rubygems.org for permanant removal. Be sure to mention this +http://help.rubygems.org for permanent removal. Be sure to mention this as the reason for the removal request. diff --git a/patterns.md b/patterns.md index 63ad958e..bed62240 100644 --- a/patterns.md +++ b/patterns.md @@ -66,7 +66,7 @@ an "irrational" policy will only be a disservice to those in the community who use your gems. Suppose you have a 'stack' gem that holds a `Stack` class with both `push` and -`pop` functionalty. Your `CHANGELOG` might look like this if you use +`pop` functionality. Your `CHANGELOG` might look like this if you use semantic versioning: * **Version 0.0.1**: The initial `Stack` class is released. diff --git a/rubygems-org-api.md b/rubygems-org-api.md index 9d53c19f..c6cf349e 100644 --- a/rubygems-org-api.md +++ b/rubygems-org-api.md @@ -177,7 +177,7 @@ site. Returns an array of the XML or JSON representation of gems that match. The results are paginated so the API call will return only the first 30 matched gems. To get subsequent results, use the page query parameter until an empty -reponse is received. +response is received. $ curl 'https://rubygems.org/api/v1/search.json?query=cucumber&page=2' @@ -261,7 +261,7 @@ Returns an object containing the total number of downloads on RubyGems. ### GET - `/api/v1/downloads/[GEM NAME]-[GEM VERSION].(json|xml|yaml)` -Returns an object containing the total number of downloads for a paritcular gem +Returns an object containing the total number of downloads for a particular gem as well as the total number of downloads for the specified version. $ curl https://rubygems.org/api/v1/downloads/rails_admin-0.0.0.json diff --git a/security.md b/security.md index 1140c83a..1cce3fa2 100644 --- a/security.md +++ b/security.md @@ -165,7 +165,7 @@ is no single place to broadcast this information but a good place to start might be to: - Send an email to the Ruby Talk mailing list (ruby-talk@ruby-lang.org) - with the subject prefix \[ANN]\[Security] outlining the vulnerabilty, + with the subject prefix \[ANN]\[Security] outlining the vulnerability, which versions of your gem it affects and what actions those depending on the gem should take.