This file is indexed.

/usr/share/tdiary/contrib/plugin/development.rb is in tdiary-contrib 5.0.8-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# development.rb - utility methods for plugin developers
#
# Copyright (c) 2011 MATSUOKA Kohei <kmachu@gmail.com>
# You can redistribute it and/or modify it under GPL2.
#

# load standard version jquery.js instead of jquery.min.js
alias :jquery_tag_original :jquery_tag
def jquery_tag
	jquery_tag_original.gsub(/\.min/, '')
end

# js cache clear by seconds.
def script_tag_query_string
	"?#{TDIARY_VERSION}#{Time::now.strftime('%Y%m%d%H%M%S')}"
end