git_spelunk 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/git_spelunk/ui/pager.rb +2 -1
- data/lib/git_spelunk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzE5OGIzZGI1MDgwNWU1NzYwYWU0ZTU5ZGQ3MWE3YmNlNDBiZjM4ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGU0MjkzZWZlYjZiZGNmZDJjNTBiN2FmODZjNGY3ZmVhMzcwOTg0OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDQ3OTdiYTA0MTkwNTE5ZWVkNmQyN2EwYjYyODFkMzg1M2FkZTBjNjEzOWJj
|
10
|
+
YzcwNjY4NmE5MDIyNjIyYzUyMzYzY2U0NDNkMzEzYmI5OGY3MTVmMWM5MThi
|
11
|
+
ODQ0Y2U3MjVmNjNhMWE4ZjNmM2NhOTY1MGU2ODllZGFjYjE4Nzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWQ2MTdkNGFjYzQ0Njk0Y2RlZDY3YzE1Mjk1MDRhNzdlYTc0YTE4YmZhMWE1
|
14
|
+
ZjUzNTU3OTNlZTQxMGFjNzljYzBlNmRlYjQyOWMzMDMxZTRjNjYzZWVhODVh
|
15
|
+
NGQ3M2U0MjQ0YTYyYzU0Yzk4YTI0NmUxNjYzNDNkY2E5YTZhZmE=
|
data/lib/git_spelunk/ui/pager.rb
CHANGED
@@ -36,7 +36,6 @@ module GitSpelunk
|
|
36
36
|
sha, content = b.sha, b.content
|
37
37
|
|
38
38
|
line_number = i + @top
|
39
|
-
content_start = (sha.size + line_number_width + 2)
|
40
39
|
|
41
40
|
if sha == active_sha && highlight_sha
|
42
41
|
styles.add(ACTIVE_SHA_COLOR, i, 0...999)
|
@@ -52,6 +51,8 @@ module GitSpelunk
|
|
52
51
|
line << " %*s " % [line_number_width, line_number]
|
53
52
|
line << content
|
54
53
|
|
54
|
+
content_start = (sha_abbrev.size + line_number_width + 2)
|
55
|
+
|
55
56
|
if @search_term
|
56
57
|
Dispel::Tools.indexes(content, @search_term).each do |found|
|
57
58
|
found = content_start + found
|
data/lib/git_spelunk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_spelunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Osheroff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: grit
|