Skip to content

Instantly share code, notes, and snippets.

View goyox86's full-sized avatar

Jose Narvaez goyox86

View GitHub Profile
From 66f823b959e500161e0e6c6c07f2fdb45963e3f4 Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Tue, 29 Jun 2010 18:30:36 -0430
Subject: [PATCH] Fix File#size to conform to specs
---
kernel/common/file.rb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/kernel/common/file.rb b/kernel/common/file.rb
From 4e9139b57ddd5920e7e993fad0d9e59f36ab18aa Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Tue, 13 Jul 2010 20:29:11 -0430
Subject: [PATCH] File#truncate now raises an IOError if file is not opened for writing
---
kernel/common/file.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/common/file.rb b/kernel/common/file.rb
From a64dc1c80d4cee38e9c967979d2609895f38559a Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Sun, 18 Jul 2010 14:58:34 -0430
Subject: [PATCH 2/2] Kernel.extend now raises a TypeError, when called on a frozen object
---
kernel/common/kernel.rb | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/kernel/common/kernel.rb b/kernel/common/kernel.rb
From 39899b7c48c272a6c049d2baf7411ed13eaed880 Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Sun, 18 Jul 2010 16:03:12 -0430
Subject: [PATCH 2/2] Kernel.extend now raises a TypeError, when called on a frozen object
---
kernel/common/kernel.rb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
From dc004b2f1627222b59ee3e94bb55a800ddb29377 Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Mon, 19 Jul 2010 14:35:56 -0430
Subject: [PATCH] Remove tag for passing Kernel.extend specs
---
spec/tags/ruby/core/kernel/extend_tags.txt | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/spec/tags/ruby/core/kernel/extend_tags.txt b/spec/tags/ruby/core/kernel/extend_tags.txt
From f3a7b40a3e53bde9dd917971fd1e81f922d93b7a Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Wed, 21 Jul 2010 18:46:07 -0430
Subject: [PATCH] Module#class_variable_set now raises a TypeError when self is frozen
---
vm/builtin/module.cpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/vm/builtin/module.cpp b/vm/builtin/module.cpp
From 67bc1f20814ed6ce9a40fba020dcee1f9d2dbcbe Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Thu, 22 Jul 2010 11:21:08 -0430
Subject: [PATCH] Module#class_variable_set now raises a TypeError when self is frozen
---
vm/builtin/module.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/vm/builtin/module.cpp b/vm/builtin/module.cpp
From 7c56497e497ee38c290b091fadb31f0455874b95 Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Wed, 21 Jul 2010 19:31:45 -0430
Subject: [PATCH] Remove tag for passing Module.class_variable_set specs
---
.../ruby/core/module/class_variable_set_tags.txt | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
delete mode 100644 spec/tags/ruby/core/module/class_variable_set_tags.txt
From 308c6a2d41ab0a4dfa4fb9dc7ff07fa9df01e8a0 Mon Sep 17 00:00:00 2001
From: Jose Narvaez <[email protected]>
Date: Sat, 24 Jul 2010 17:16:27 -0430
Subject: [PATCH] Fix MatchData#string returns a frozen copy of the match string
---
kernel/common/regexp.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/common/regexp.rb b/kernel/common/regexp.rb