linecache 0.42 → 0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/ChangeLog +9 -22
  2. data/NEWS +5 -1
  3. data/VERSION +1 -1
  4. data/lib/tracelines.rb +8 -3
  5. metadata +2 -2
data/ChangeLog CHANGED
@@ -277,54 +277,41 @@
277
277
 
278
278
  2007-12-10 16:24 Rocky Bernstein
279
279
 
280
- * linecache/linecache: release 0.1
280
+ * : release 0.1
281
281
 
282
282
  2007-12-09 17:47 Rocky Bernstein
283
283
 
284
- * linecache/trunk/lib/linecache.rb: Make Ruby 1.9 compatible.
284
+ * : Make Ruby 1.9 compatible.
285
285
 
286
286
  2007-12-09 17:17 Rocky Bernstein
287
287
 
288
- * linecache/trunk/ChangeLog, linecache/trunk/Rakefile,
289
- linecache/trunk/lib/linecache.rb,
290
- linecache/trunk/test/test-linecache.rb: Better tests mean more
291
- bugs found. "rake" defaults now to "test".
288
+ * : Better tests mean more bugs found. "rake" defaults now to
289
+ "test".
292
290
 
293
291
  2007-12-09 14:10 Rocky Bernstein
294
292
 
295
- * linecache/trunk/Rakefile: Add VERSION to gem.
293
+ * : Add VERSION to gem.
296
294
 
297
295
  2007-12-09 14:09 Rocky Bernstein
298
296
 
299
- * linecache/trunk/test/test-linecache.rb: Change classname to
300
- something more appropriate.
297
+ * : Change classname to something more appropriate.
301
298
 
302
299
  2007-12-09 13:41 Rocky Bernstein
303
300
 
304
- * linecache/trunk, linecache/trunk/Rakefile: . : ignore doc and pkg
301
+ * : . : ignore doc and pkg
305
302
  Rakefile: clean now does clobber_rdoc and clobber_package, i.e.
306
303
  removes
307
304
  the doc and pkg directories.
308
305
 
309
306
  2007-12-09 13:15 Rocky Bernstein
310
307
 
311
- * linecache/trunk/ChangeLog, linecache/trunk/NEWS,
312
- linecache/trunk/README, linecache/trunk/Rakefile,
313
- linecache/trunk/lib/linecache.rb,
314
- linecache/trunk/test/test-linecache.rb: NEWS, README,
315
- linecache.rb: Add $Id$ line
308
+ * : NEWS, README, linecache.rb: Add $Id$ line
316
309
  test-linecache.rb: make executable
317
310
  Rakefile: Correct documentation
318
311
 
319
312
  2007-12-09 12:58 Rocky Bernstein
320
313
 
321
- * linecache, linecache/trunk, linecache/trunk/AUTHORS,
322
- linecache/trunk/COPYING, linecache/trunk/ChangeLog,
323
- linecache/trunk/NEWS, linecache/trunk/README,
324
- linecache/trunk/Rakefile, linecache/trunk/VERSION,
325
- linecache/trunk/lib, linecache/trunk/lib/linecache.rb,
326
- linecache/trunk/test, linecache/trunk/test/test-linecache.rb:
327
- Initial import of LineCache, a module for reading and caching
314
+ * : Initial import of LineCache, a module for reading and caching
328
315
  lines.
329
316
  This time to trunk.
330
317
 
data/NEWS CHANGED
@@ -1,3 +1,7 @@
1
+ 0.43
2
+ 06-12-08
3
+ - tolerance for finding windows extension in lib rather than ext.
4
+
1
5
  0.41
2
6
  - add test/data/* to gem.
3
7
 
@@ -22,4 +26,4 @@
22
26
 
23
27
  - Initial release of LineCache, a module for reading and caching lines.
24
28
 
25
- $Id: NEWS 119 2008-04-10 20:06:39Z rockyb $
29
+ $Id: NEWS 144 2008-06-12 11:29:53Z rockyb $
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.42
1
+ 0.43
data/lib/tracelines.rb CHANGED
@@ -1,11 +1,16 @@
1
1
  #!/usr/bin/env ruby
2
- # $Id: tracelines.rb 36 2008-01-23 12:07:02Z rockyb $
2
+ # $Id: tracelines.rb 143 2008-06-12 00:04:43Z rockyb $
3
3
  begin require 'rubygems' rescue LoadError end
4
- # require 'ruby-debug' ; Debugger.start
4
+ # require 'ruby-debug' ; Debugger.start(:post-mortem => true)
5
5
 
6
6
  module TraceLineNumbers
7
7
  @@SRC_DIR = File.expand_path(File.dirname(__FILE__))
8
- require File.join(@@SRC_DIR, '..', 'ext', 'trace_nums')
8
+ begin
9
+ require File.join(@@SRC_DIR, '..', 'ext', 'trace_nums')
10
+ rescue LoadError
11
+ # MSWindows seems to put this in lib rather than ext.
12
+ require File.join(@@SRC_DIR, '..', 'lib', 'trace_nums')
13
+ end
9
14
 
10
15
  # Return an array of lines numbers that could be
11
16
  # stopped at given a file name of a Ruby program.
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: linecache
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.42"
7
- date: 2008-04-10 00:00:00 -04:00
6
+ version: "0.43"
7
+ date: 2008-06-12 00:00:00 -04:00
8
8
  summary: Read file with caching
9
9
  require_paths:
10
10
  - lib