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
diff --git a/app/models/entry.rb b/app/models/entry.rb | |
index ccc375a..3ad8240 100644 | |
--- a/app/models/entry.rb | |
+++ b/app/models/entry.rb | |
@@ -75,13 +75,12 @@ class Entry < Hash | |
end | |
def similar?(rhs) | |
- if self.identity == rhs.identity | |
- similar_title?(rhs) |
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
0% git diff app/controllers/entry_controller.rb | |
diff --git a/app/controllers/entry_controller.rb b/app/controllers/entry_controller.rb | |
index 296f596..568c7c8 100644 | |
--- a/app/controllers/entry_controller.rb | |
+++ b/app/controllers/entry_controller.rb | |
@@ -465,7 +465,7 @@ private | |
def redirect_to_list | |
if ctx = @ctx || session[:ctx] | |
- redirect_to ctx.list_opt |
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
Index: cgi.rb | |
=================================================================== | |
--- cgi.rb (リビジョン 22821) | |
+++ cgi.rb (作業コピー) | |
@@ -980,14 +980,24 @@ | |
# start multipart/form-data | |
stdinput.binmode if defined? stdinput.binmode | |
- boundary_size = boundary.size + EOL.size | |
- content_length -= boundary_size |
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
--- lib/action_controller/request.rb.org 2009-02-27 22:50:53.000000000 +0900 | |
+++ lib/action_controller/request.rb 2009-03-08 20:54:16.000000000 +0900 | |
@@ -647,12 +647,22 @@ EOM | |
body.string.force_encoding(Encoding::BINARY) if body.string.respond_to?(:force_encoding) | |
end | |
- boundary_size = boundary.size + EOL.size | |
- body_size -= boundary_size | |
- status = body.read(boundary_size) | |
- if nil == status | |
- raise EOFError, "no content body" |
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
--- sqlite3_api.i.org 2008-05-25 12:52:41.000000000 +0900 | |
+++ sqlite3_api.i 2009-03-16 20:45:51.000000000 +0900 | |
@@ -159,9 +159,9 @@ typedef void RUBY_VALBLOB; | |
} | |
-%typemap(in) (const char * sql,int,sqlite3_stmt**,const char**) (sqlite3_stmt *stmt, char *errmsg) { | |
+%typemap(in) (const char * sql,int,sqlite3_stmt**,const char**) (sqlite3_stmt *stmt, char *remainder = NULL) { | |
$1 = RSTRING_PTR($input); | |
$2 = RSTRING_LEN($input); | |
$3 = &stmt2; |
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
--- lib/jpmobile/trans_sid.rb.org 2009-03-24 23:16:07.000000000 +0900 | |
+++ lib/jpmobile/trans_sid.rb 2009-03-24 23:16:14.000000000 +0900 | |
@@ -26,5 +26,5 @@ module Jpmobile::TransSid #:nodoc: | |
return unless request # for test process | |
return unless apply_trans_sid? | |
- { session_key => session.id } | |
+ { session_key => request.session_options[:id] } | |
end | |
@@ -37,5 +37,5 @@ module Jpmobile::TransSid #:nodoc: |
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
require "httpclient" | |
module Net | |
class HTTP < Protocol | |
class << HTTP | |
def get(uri_or_host, path = nil, port = nil) | |
raise if path or port | |
HTTPClient.get_content(uri_or_host) | |
end | |
Response = Struct.new(:body) |
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
% ruby -Ilib bin/pgpdump.rb yutaka-oiwa-pubkey-2008.asc | |
Old: Public Key Packet(tag 6)(1198 bytes) | |
Algorithm: DSA (Digital Signature Standard)(17) | |
Key Created: Mon Jun 23 16:02:21 +0900 2008 | |
DSA Key (256 bits) | |
p (3072 bits) | |
q (256 bits) | |
g (3072 bits) | |
y (3071 bits) | |
Old: User ID Packet(tag 13)(28 bytes) |
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
Index: lib/monitor.rb | |
=================================================================== | |
--- lib/monitor.rb (revision 23996) | |
+++ lib/monitor.rb (working copy) | |
@@ -288,11 +288,15 @@ | |
@mon_owner = Thread.current | |
end | |
+ # mon_release requires Thread.critical == true | |
def mon_release |
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
subject=野村総合研究所主催 GranArchセミナー 申込みフォーム | |
body=●希望日:7/24(金) | |
●貴社名: | |
●貴社住所: | |
●部署名: |
OlderNewer