Skip to content

Commit 85fbb28

Browse files
committed
Fixed minor spelling mistakes
1 parent d3dc6a5 commit 85fbb28

15 files changed

Lines changed: 25 additions & 25 deletions

File tree

lib/github_api/api/arguments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
module Github
99
class API
10-
# A class responsible for handilng request arguments
10+
# A class responsible for handling request arguments
1111
class Arguments
1212
include Normalizer
1313
include ParameterFilter

lib/github_api/api/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def self.property_names
7373
property_set.properties.map(&:name)
7474
end
7575

76-
# Fetach all the properties and their values
76+
# Fetch all the properties and their values
7777
#
7878
# @return [Hash[Symbol]]
7979
#

lib/github_api/client/activity/starring.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def star(*args)
118118
# github.activity.starring.unstar 'user-name', 'repo-name'
119119
#
120120
# @example
121-
# github.activit.starring.unstar user: 'user-name', repo: 'repo-name'
121+
# github.activity.starring.unstar user: 'user-name', repo: 'repo-name'
122122
#
123123
# @api public
124124
def unstar(*args)

lib/github_api/client/activity/watching.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Client::Activity::Watching < API
1313
# @example
1414
# github = Github.new
1515
# github.activity.watching.list user: 'user-name', repo: 'repo-name'
16-
# github.activity.watching.list user: 'user-naem', repo: 'repo-name' { |watcher| ... }
16+
# github.activity.watching.list user: 'user-name', repo: 'repo-name' { |watcher| ... }
1717
#
1818
# @api public
1919
def list(*args)

lib/github_api/client/gists.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def create(*args)
143143
# Optional string
144144
# @option [Hash] :files
145145
# Optional hash - Files that make up this gist.
146-
# The key of which should be a optional string filename and
146+
# The key of which should be a optional string filename and
147147
# the value another optional hash with parameters:
148148
# @option [String] :content
149149
# Updated string - Update file contents.
@@ -213,7 +213,7 @@ def star(*args)
213213
#
214214
# @see https://developer.github.com/v3/gists/#unstar-a-gist
215215
#
216-
# @xample
216+
# @example
217217
# github = Github.new
218218
# github.gists.unstar 'gist-id'
219219
#

lib/github_api/client/gists/comments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def edit(*args)
8585
#
8686
# @see https://developer.github.com/v3/gists/comments/#delete-a-comment
8787
#
88-
# @xample
88+
# @example
8989
# github = Github.new
9090
# github.gists.comments.delete 'gist-id', 'comment-id'
9191
#

lib/github_api/client/markdown.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Github
66
class Client::Markdown < API
77

8-
# Render an arbritrary Markdown document
8+
# Render an arbitrary Markdown document
99
#
1010
# = Parameters
1111
# <tt>:text</tt> - Required string - The Markdown text to render

lib/github_api/client/orgs/teams.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get(*args)
7979
# * pull - team members can pull, but not push or
8080
# administor this repositories.
8181
# * push - team members can pull and push,
82-
# but not administor this repositores.
82+
# but not administer this repositores.
8383
# * admin - team members can pull, push and
8484
# administor these repositories.
8585
# Default: pull
@@ -125,9 +125,9 @@ def create(*args)
125125
# * pull - team members can pull, but not push or
126126
# administor this repositories.
127127
# * push - team members can pull and push,
128-
# but not administor this repositores.
128+
# but not administer this repositores.
129129
# * admin - team members can pull, push and
130-
# administor these repositories.
130+
# administer these repositories.
131131
# Default: pull
132132
#
133133
# @example

lib/github_api/client/repos.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_by_id(*args)
183183
end
184184
alias :find_by_id :get_by_id
185185

186-
# Create a new repository for the autheticated user.
186+
# Create a new repository for the authenticated user.
187187
#
188188
# @param [Hash] params
189189
# @option params [String] :name

lib/github_api/client/repos/branches/protections.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get(*args)
4040
# Required.
4141
# @input params [String] :required_pull_request_reviews
4242
# Required.
43-
# Look to the branch protection API t see how to use these
43+
# Look to the branch protection API to see how to use these
4444
# https://developer.github.com/v3/repos/branches/#update-branch-protection
4545
#
4646
# @example

0 commit comments

Comments
 (0)