Changeset 15033
- Timestamp:
- 07/02/08 07:37:40 (6 months ago)
- Location:
- lang/ruby/misc
- Files:
-
- 2 modified
-
as-antispam.rb (modified) (1 diff)
-
tp-antispam.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/misc/as-antispam.rb
r15032 r15033 14 14 @key = key 15 15 @charset = charset 16 self.blog = 'http://blog.example.com/' # ブログのURL17 self.permalink = 'http://blog.example.com/entry-1.html' # エントリのURL18 self.article_date = '2008-05-31 01:24:00' # エントリの日付19 self.user_ip = '192.168.0.1' # コメント投稿者のIPアドレス20 self.comment_type = 'comment' # commentまたはtrackback21 self.comment_author = 'foo' # コメント投稿者の名前22 self.comment_author_email = 'foo@bar.com' # コメント投稿者のメールアドレス23 self.comment_author_url = 'http://blog.bar.com/' # コメント投稿者のURL24 self.comment_content = 'Hello!'# コメントの内容16 self.blog = 'http://blog.example.com/' # ブログのURL 17 self.permalink = 'http://blog.example.com/entry-1.html' # エントリのURL 18 self.article_date = '2008-05-31 01:24:00' # エントリの日付 19 self.user_ip = '192.168.0.1' # コメント投稿者のIPアドレス 20 self.comment_type = 'comment' # commentまたはtrackback 21 self.comment_author = 'foo' # コメント投稿者の名前 22 self.comment_author_email = 'foo@bar.com' # コメント投稿者のメールアドレス 23 self.comment_author_url = 'http://blog.bar.com/' # コメント投稿者のURL 24 self.comment_content = 'Hello!' # コメントの内容 25 25 end 26 26 -
lang/ruby/misc/tp-antispam.rb
r15032 r15033 6 6 require 'net/http' 7 7 8 TYPEPADANTISPAM_VERSION = '1.0'8 TYPEPADANTISPAM_VERSION = '1.0' 9 9 TYPEPADANTISPAM_API_VERSION = '1.1' 10 10 TYPEPADANTISPAM_SIG = %w|blog user_ip user_agent article_date permalink comment_type comment_author comment_author_email comment_author_url comment_content| … … 14 14 @key = key 15 15 @charset = charset 16 self.blog = 'http://blog.example.com/' # ブログのURL17 self.permalink = 'http://blog.example.com/entry-1.html'# エントリのURL18 self.article_date = '2008-05-31 01:24:00'# エントリの日付19 self.user_ip = '192.168.0.1'# コメント投稿者のIPアドレス20 self.comment_type = 'comment'# commentまたはtrackback21 self.comment_author = 'foo'# コメント投稿者の名前22 self.comment_author_email = 'foo@bar.com'# コメント投稿者のメールアドレス23 self.comment_author_url = 'http://blog.bar.com/'# コメント投稿者のURL24 self.comment_content = 'Hello!'# コメントの内容16 self.blog = 'http://blog.example.com/' # ブログのURL 17 self.permalink = 'http://blog.example.com/entry-1.html' # エントリのURL 18 self.article_date = '2008-05-31 01:24:00' # エントリの日付 19 self.user_ip = '192.168.0.1' # コメント投稿者のIPアドレス 20 self.comment_type = 'comment' # commentまたはtrackback 21 self.comment_author = 'foo' # コメント投稿者の名前 22 self.comment_author_email = 'foo@bar.com' # コメント投稿者のメールアドレス 23 self.comment_author_url = 'http://blog.bar.com/' # コメント投稿者のURL 24 self.comment_content = 'Hello!' # コメントの内容 25 25 end 26 26
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)