This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 3f15d5f6 Fix spelling (#147)
3f15d5f6 is described below
commit 3f15d5f6afd30de72092a7092a895739ec6c41da
Author: John Bampton <[email protected]>
AuthorDate: Sat May 14 20:05:38 2022 +1000
Fix spelling (#147)
---
lib/whimsy/asf/board.rb | 2 +-
lib/whimsy/asf/committee.rb | 4 ++--
lib/whimsy/asf/ldap.rb | 4 ++--
lib/whimsy/asf/memapps.rb | 2 +-
lib/whimsy/asf/member-files.rb | 2 +-
lib/whimsy/asf/rack.rb | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/whimsy/asf/board.rb b/lib/whimsy/asf/board.rb
index 1f0af39d..e7944748 100644
--- a/lib/whimsy/asf/board.rb
+++ b/lib/whimsy/asf/board.rb
@@ -139,7 +139,7 @@ module ASF
end
end
- # Does the uid have an entry in the director intials table?
+ # Does the uid have an entry in the director initials table?
def self.directorHasId?(id)
DIRECTOR_MAP[id]
end
diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 7ad94ced..7e1db50b 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -36,7 +36,7 @@ module ASF
# when this committee is next expected to report. May be a string
# containing values such as "Next month: missing in May", "Next month: new,
- # montly through July". Data is obtained from <tt>committee-info.txt</tt>.
+ # monthly through July". Data is obtained from
<tt>committee-info.txt</tt>.
attr_writer :report
# list of members for this committee. Returned as a list of hash
@@ -593,7 +593,7 @@ module ASF
# when this committee is next expected to report. May be a string
# containing values such as "Next month: missing in May", "Next month: new,
- # montly through July". Or may be a list of months, separated by commas.
+ # monthly through July". Or may be a list of months, separated by commas.
# Data is obtained from <tt>committee-info.txt</tt>.
def report
@report || @schedule
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 17c3ae43..9cbfb768 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -242,7 +242,7 @@ module ASF
File.write(ldap_conf, content) unless content == File.read(ldap_conf)
end
- # determine if ldap has been configured atleast once
+ # determine if ldap has been configured at least once
def self.configured?
return File.read("#{ETCLDAP}/ldap.conf").include? "asf-ldap-client.pem"
end
@@ -864,7 +864,7 @@ module ASF
"uid=#{name},#{ASF::Person.base}"
end
- # Allow arbitrary LDAP attibutes to be referenced as object properties.
+ # Allow arbitrary LDAP attributes to be referenced as object properties.
# Example: <tt>ASF::Person.find('rubys').cn</tt>. Can also be used
# to modify an LDAP attribute.
def method_missing(name, *args)
diff --git a/lib/whimsy/asf/memapps.rb b/lib/whimsy/asf/memapps.rb
index 5e048a62..0ba16465 100644
--- a/lib/whimsy/asf/memapps.rb
+++ b/lib/whimsy/asf/memapps.rb
@@ -27,7 +27,7 @@ module ASF
end
def self.sanitize(name)
- # Don't transform punctation into '-'
+ # Don't transform punctuation into '-'
ASF::Person.asciize(name.strip.downcase.gsub(/[.,()"]/, ''))
end
diff --git a/lib/whimsy/asf/member-files.rb b/lib/whimsy/asf/member-files.rb
index e3e3fe6c..b9fc5d3c 100644
--- a/lib/whimsy/asf/member-files.rb
+++ b/lib/whimsy/asf/member-files.rb
@@ -94,7 +94,7 @@ module ASF
def self.board_nominees
nominees = {}
ASF::MemberFiles.parse_file('board_nominations.txt') do |hdr, nominee|
- # for board, the header currentl looks like this:
+ # for board, the header currently looks like this:
# <PUBLIC NAME>
id = ASF::Person.find_by_name!(hdr) || hdr # default to full name
nominee['Public Name'] = hdr # the board file does not have ids
diff --git a/lib/whimsy/asf/rack.rb b/lib/whimsy/asf/rack.rb
index e8b2ecf6..f4f85729 100644
--- a/lib/whimsy/asf/rack.rb
+++ b/lib/whimsy/asf/rack.rb
@@ -225,7 +225,7 @@ module ASF
# Apache httpd on the original whimsy-vm was behind a proxy that converts
# https requests into http requests. Update the environment variables to
- # match. This middleware is likely now obsolte.
+ # match. This middleware is likely now obsolete.
class HTTPS_workarounds
# capture the app
def initialize(app)