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 2ad1a79 Tidy
2ad1a79 is described below
commit 2ad1a7972e9e43744abc04497208b9fb04a4b310
Author: Sebb <[email protected]>
AuthorDate: Mon Nov 23 12:33:39 2020 +0000
Tidy
---
lib/whimsy/asf/committee.rb | 6 +++---
lib/whimsy/asf/config.rb | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 2021b43..89b2fa9 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -627,7 +627,7 @@ module ASF
# load committee metadata from <tt>committee-info.yaml</tt>. Will not
reparse
# if the file has already been parsed and the underlying file has not
changed.
- def self.load_committee_metadata()
+ def self.load_committee_metadata
board = ASF::SVN.find('board')
return unless board
file = File.join(board, 'committee-info.yaml')
@@ -646,13 +646,13 @@ module ASF
end
# website for this committee.
- def site()
+ def site
meta = ASF::Committee.metadata(name)
meta[:site] if meta
end
# description for this committee.
- def description()
+ def description
meta = ASF::Committee.metadata(name)
meta[:description] if meta
end
diff --git a/lib/whimsy/asf/config.rb b/lib/whimsy/asf/config.rb
index f2998ab..c8cfb94 100644
--- a/lib/whimsy/asf/config.rb
+++ b/lib/whimsy/asf/config.rb
@@ -87,6 +87,7 @@ module ASF
gem = Gem::Specification.find_by_name(name, version)
@config[:lib] += Dir[gem.lib_dirs_glob]
rescue Gem::LoadError
+ # ignored
end
end