summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pty/lib/expect.rb2
-rw-r--r--version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pty/lib/expect.rb b/ext/pty/lib/expect.rb
index 06f4243993..c3f3925be7 100644
--- a/ext/pty/lib/expect.rb
+++ b/ext/pty/lib/expect.rb
@@ -37,7 +37,7 @@ class IO
when Regexp
e_pat = pat
else
- raise TypeError, "unsupported pattern class: #{pattern.class}"
+ raise TypeError, "unsupported pattern class: #{pat.class}"
end
@unusedBuf ||= ''
while true
diff --git a/version.h b/version.h
index 09f0cf0123..5082120972 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2013-04-16"
-#define RUBY_PATCHLEVEL 141
+#define RUBY_PATCHLEVEL 142
#define RUBY_RELEASE_YEAR 2013
#define RUBY_RELEASE_MONTH 4