Permalink
Browse files

renamed trace_nums.so to trace_nums19.so to prevent conflicts with ol…

…d linecache
  • Loading branch information...
1 parent 23d6e3c commit 3ac18808408fd7280b74ea86d7f851e3cc017fda @mark-moseley committed Aug 17, 2009
@@ -39,7 +39,7 @@
# source lines.
#
#
-# require 'linecache'
+# require 'linecache19'
# lines = LineCache::getlines('/tmp/myruby.rb')
# # The following lines have same effect as the above.
# $: << '/tmp'
@@ -66,7 +66,7 @@
require 'set'
begin require 'rubygems' rescue LoadError end
-require 'tracelines'
+require 'tracelines19'
# require 'ruby-debug' ; Debugger.start
# = module LineCache
File renamed without changes.
View
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{linecache}
- s.version = "0.5.8"
+ s.version = "0.5.9"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["R. Bernstein"]
@@ -13,8 +13,8 @@ example in a debugger where the same lines are shown many times.
s.email = %q{rockyb@rubyforge.net}
s.extra_rdoc_files = [
"README",
- "lib/linecache.rb",
- "lib/tracelines.rb"
+ "lib/linecache19.rb",
+ "lib/tracelines19.rb"
]
s.files = [
"AUTHORS",
@@ -27,8 +27,8 @@ example in a debugger where the same lines are shown many times.
"ext/trace_nums/extconf.rb",
"ext/trace_nums/trace_nums.c",
"ext/trace_nums/trace_nums.h",
- "lib/linecache.rb",
- "lib/tracelines.rb",
+ "lib/linecache19.rb",
+ "lib/tracelines19.rb",
"test/short-file",
"test/lnum-diag.rb",
"test/parse-show.rb",
View
@@ -5,7 +5,7 @@
TEST_DIR = File.expand_path(File.dirname(__FILE__))
TOP_SRC_DIR = File.join(TEST_DIR, '..')
-require File.join(TOP_SRC_DIR, 'lib', 'tracelines.rb')
+require File.join(TOP_SRC_DIR, 'lib', 'tracelines19.rb')
def dump_file(file, opts)
puts file
View
@@ -11,7 +11,7 @@
class TestLineCache < Test::Unit::TestCase
@@TEST_DIR = File.expand_path(File.dirname(__FILE__))
@@TOP_SRC_DIR = File.join(@@TEST_DIR, '..', 'lib')
- require File.join(@@TOP_SRC_DIR, 'linecache.rb')
+ require File.join(@@TOP_SRC_DIR, 'linecache19.rb')
def setup
LineCache::clear_file_cache
View
@@ -9,7 +9,7 @@
class TestLineNumbers2 < Test::Unit::TestCase
@@TEST_DIR = File.expand_path(File.dirname(__FILE__))
@@TOP_SRC_DIR = File.join(@@TEST_DIR, '..')
- require File.join(@@TOP_SRC_DIR, 'lib', 'tracelines.rb')
+ require File.join(@@TOP_SRC_DIR, 'lib', 'tracelines19.rb')
def test_all_lnum_data
test_dir = File.join(@@TEST_DIR, 'data')
View
@@ -13,7 +13,7 @@ class TestLineNumbers1 < Test::Unit::TestCase
@@TEST_DIR = File.expand_path(File.dirname(__FILE__))
@@TOP_SRC_DIR = File.join(@@TEST_DIR, '..', 'lib')
- require File.join(@@TOP_SRC_DIR, 'tracelines.rb')
+ require File.join(@@TOP_SRC_DIR, 'tracelines19.rb')
@@rcov_file = File.join(@@TEST_DIR, 'rcov-bug.rb')
File.open(@@rcov_file, 'r') {|fp|

0 comments on commit 3ac1880

Please sign in to comment.