whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit 866c410: Move require to module that uses it
Date Mon, 25 Jan 2016 17:24:54 GMT
Commit 866c41060ccaa22bbcbcb86d4a663954459e34cb:
    Move require to module that uses it


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@apache.org>

------------------------------------------------------------
www/roster/public_json_common.rb                             | ++ 
www/roster/public_nonldap_groups.rb                          |  -
------------------------------------------------------------
3 changes: 2 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/roster/public_json_common.rb b/www/roster/public_json_common.rb
index 60164c4..564ca60 100644
--- a/www/roster/public_json_common.rb
+++ b/www/roster/public_json_common.rb
@@ -11,6 +11,8 @@
 
 require 'whimsy/asf'
 
+require 'open3'
+
 GITINFO = ASF.library_gitinfo rescue '?'
 
 def public_json_output(info)
diff --git a/www/roster/public_nonldap_groups.rb b/www/roster/public_nonldap_groups.rb
index 21a3715..5c2d24c 100644
--- a/www/roster/public_nonldap_groups.rb
+++ b/www/roster/public_nonldap_groups.rb
@@ -21,7 +21,6 @@
 
 require 'net/http'
 require 'json'
-require 'open3'
 
 file = '/apache/infrastructure-puppet/deployment/modules/subversion_server/files/authorization/asf-authorization-template'
 http = Net::HTTP.new('raw.githubusercontent.com', 443)

Mime
View raw message