This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.rest | |
def values = [:] | |
params.each { name, value -> values[name] = value } | |
headers.each { name, value -> values[name] = value } | |
cookies.each { name, value -> values[name] = value } | |
sessionAttributes.each { name, value -> values[name] = value } | |
return values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/ruby | |
# First stab at a svn log watcher for user ohnojoe. | |
# SvnRecord also allows you to easily extend the script to match on certain file names/package names | |
# that you want to watch. | |
SVN_CMD = 'svn log -l 30 -v https://my.svn.server.com/Project/branches/' | |
FILE_MATCH = '\/branches\/.*' | |
USERS_WATCHED = %w{ ohnojoe } |