linecache 0.43-mswin32 → 0.45-mswin32
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.
- data/ChangeLog +329 -31
- data/NEWS +8 -2
- data/README +14 -2
- data/Rakefile +64 -45
- data/ext/trace_nums.c +17 -3
- data/ext/trace_nums.h +1 -1
- data/lib/linecache.rb +237 -69
- data/lib/trace_nums.so +0 -0
- data/lib/tracelines.rb +0 -0
- data/lib/version.rb +3 -0
- data/test/data/block1.rb +0 -0
- data/test/lnum-diag.rb +0 -0
- data/test/parse-show.rb +0 -0
- data/test/test-linecache.rb +2 -2
- data/test/test-lnum.rb +0 -0
- data/test/test-tracelines.rb +0 -0
- metadata +89 -64
- data/VERSION +0 -1
data/lib/trace_nums.so
CHANGED
Binary file
|
data/lib/tracelines.rb
CHANGED
File without changes
|
data/lib/version.rb
ADDED
data/test/data/block1.rb
CHANGED
File without changes
|
data/test/lnum-diag.rb
CHANGED
File without changes
|
data/test/parse-show.rb
CHANGED
File without changes
|
data/test/test-linecache.rb
CHANGED
@@ -127,7 +127,7 @@ class TestLineCache < Test::Unit::TestCase
|
|
127
127
|
|
128
128
|
def test_path
|
129
129
|
assert_equal(nil, LineCache::path(__FILE__),
|
130
|
-
"path for #{__FILE__}
|
130
|
+
"path for #{__FILE__} should be nil - just cleared cache.")
|
131
131
|
path = LineCache::cache(__FILE__)
|
132
132
|
assert path
|
133
133
|
assert_equal(path, LineCache::path(__FILE__),
|
@@ -144,7 +144,7 @@ class TestLineCache < Test::Unit::TestCase
|
|
144
144
|
def test_sha1
|
145
145
|
test_file = File.join(@@TEST_DIR, 'short-file')
|
146
146
|
LineCache::cache(test_file)
|
147
|
-
assert_equal('
|
147
|
+
assert_equal('3e1d87f3399fc73ae5683e106bce1b5ba823fc50',
|
148
148
|
LineCache::sha1(test_file))
|
149
149
|
end
|
150
150
|
|
data/test/test-lnum.rb
CHANGED
File without changes
|
data/test/test-tracelines.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,33 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: linecache
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
-
|
11
|
-
|
12
|
-
homepage: http://rubyforge.org/projects/rocky-hacks/linecache
|
13
|
-
rubyforge_project: rocky-hacks
|
14
|
-
description: LineCache is a module for reading and caching lines. This may be useful for example in a debugger where the same lines are shown many times.
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.8.2
|
24
|
-
version:
|
4
|
+
hash: 81
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 45
|
9
|
+
version: "0.45"
|
25
10
|
platform: mswin32
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
11
|
authors:
|
30
12
|
- R. Bernstein
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-06-10 00:00:00 -04:00
|
18
|
+
default_executable:
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: |
|
22
|
+
LineCache is a module for reading and caching lines. This may be useful for
|
23
|
+
example in a debugger where the same lines are shown many times.
|
24
|
+
|
25
|
+
email: rockyb@rubyforge.net
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- README
|
32
|
+
- lib/linecache.rb
|
33
|
+
- lib/tracelines.rb
|
31
34
|
files:
|
32
35
|
- AUTHORS
|
33
36
|
- COPYING
|
@@ -35,65 +38,87 @@ files:
|
|
35
38
|
- NEWS
|
36
39
|
- README
|
37
40
|
- Rakefile
|
38
|
-
- VERSION
|
39
41
|
- ext/trace_nums.c
|
40
42
|
- ext/trace_nums.h
|
41
43
|
- ext/extconf.rb
|
44
|
+
- lib/version.rb
|
42
45
|
- lib/tracelines.rb
|
43
46
|
- lib/linecache.rb
|
47
|
+
- test/parse-show.rb
|
48
|
+
- test/lnum-diag.rb
|
44
49
|
- test/rcov-bug.rb
|
45
|
-
- test/test-tracelines.rb
|
46
50
|
- test/test-lnum.rb
|
47
51
|
- test/test-linecache.rb
|
48
|
-
- test/
|
49
|
-
- test/
|
50
|
-
- test/data/for1.rb
|
51
|
-
- test/data/if6.rb
|
52
|
+
- test/test-tracelines.rb
|
53
|
+
- test/data/if1.rb
|
52
54
|
- test/data/comments1.rb
|
53
|
-
- test/data/if3.rb
|
54
|
-
- test/data/if5.rb
|
55
|
-
- test/data/begin3.rb
|
56
|
-
- test/data/end.rb
|
57
|
-
- test/data/case1.rb
|
58
|
-
- test/data/match.rb
|
59
|
-
- test/data/begin2.rb
|
60
|
-
- test/data/match3.rb
|
61
|
-
- test/data/case5.rb
|
62
55
|
- test/data/not-lit.rb
|
63
|
-
- test/data/
|
64
|
-
- test/data/if7.rb
|
65
|
-
- test/data/if4.rb
|
66
|
-
- test/data/case2.rb
|
56
|
+
- test/data/begin2.rb
|
67
57
|
- test/data/block2.rb
|
58
|
+
- test/data/if6.rb
|
59
|
+
- test/data/end.rb
|
60
|
+
- test/data/case4.rb
|
68
61
|
- test/data/begin1.rb
|
69
|
-
- test/data/
|
70
|
-
- test/data/
|
62
|
+
- test/data/for1.rb
|
63
|
+
- test/data/match.rb
|
64
|
+
- test/data/match3a.rb
|
71
65
|
- test/data/class1.rb
|
72
|
-
- test/data/
|
66
|
+
- test/data/if3.rb
|
67
|
+
- test/data/if5.rb
|
68
|
+
- test/data/case1.rb
|
69
|
+
- test/data/def1.rb
|
70
|
+
- test/data/if7.rb
|
73
71
|
- test/data/block1.rb
|
72
|
+
- test/data/begin3.rb
|
74
73
|
- test/data/case3.rb
|
74
|
+
- test/data/case2.rb
|
75
75
|
- test/data/each1.rb
|
76
|
-
- test/data/
|
76
|
+
- test/data/if2.rb
|
77
|
+
- test/data/match3.rb
|
78
|
+
- test/data/if4.rb
|
79
|
+
- test/data/case5.rb
|
77
80
|
- test/short-file
|
78
81
|
- lib/trace_nums.so
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
- test/test-lnum.rb
|
83
|
-
- test/test-linecache.rb
|
84
|
-
- test/parse-show.rb
|
85
|
-
- test/lnum-diag.rb
|
86
|
-
rdoc_options: []
|
87
|
-
|
88
|
-
extra_rdoc_files:
|
89
|
-
- README
|
90
|
-
- lib/linecache.rb
|
91
|
-
- lib/tracelines.rb
|
92
|
-
executables: []
|
82
|
+
has_rdoc: true
|
83
|
+
homepage: http://rubyforge.org/projects/rocky-hacks/linecache
|
84
|
+
licenses: []
|
93
85
|
|
94
|
-
|
86
|
+
post_install_message:
|
87
|
+
rdoc_options: []
|
95
88
|
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: 51
|
97
|
+
segments:
|
98
|
+
- 1
|
99
|
+
- 8
|
100
|
+
- 2
|
101
|
+
version: 1.8.2
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
hash: 3
|
108
|
+
segments:
|
109
|
+
- 0
|
110
|
+
version: "0"
|
96
111
|
requirements: []
|
97
112
|
|
98
|
-
|
99
|
-
|
113
|
+
rubyforge_project: rocky-hacks
|
114
|
+
rubygems_version: 1.6.1
|
115
|
+
signing_key:
|
116
|
+
specification_version: 3
|
117
|
+
summary: Read file with caching
|
118
|
+
test_files:
|
119
|
+
- test/parse-show.rb
|
120
|
+
- test/lnum-diag.rb
|
121
|
+
- test/rcov-bug.rb
|
122
|
+
- test/test-lnum.rb
|
123
|
+
- test/test-linecache.rb
|
124
|
+
- test/test-tracelines.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.43
|