rak-eugeneching 1.5 → 1.5.1
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.
- checksums.yaml +4 -4
- data/README.md +9 -2
- data/bin/rak +16 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de1e283c5441a983d918e42b0757f1e1ede66537
|
4
|
+
data.tar.gz: d91542dfe592939e1f958c6bd99b5160c439719b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9789667d61145c893bf0e93db5c8cff5465aa404e67f1c5a601100077205fbd0e28d80483f81a7ebcb6fb221e1e3ce300f4c3c94a96724d51603cea54f26665e
|
7
|
+
data.tar.gz: 34ccf2c079cf20f89f75dad7d068faa3a97581ed5b1fc3a0f3e66f010a0edf9babcb3f4c38cf1828e9db412bb9e962244686d2685f04edd077c097fbbec76024
|
data/README.md
CHANGED
@@ -22,10 +22,17 @@ ignore-case mode is default, as I feel that such a case is more common.
|
|
22
22
|
|
23
23
|
### Gem and Installation
|
24
24
|
|
25
|
-
This is released as a Gem under eugeneching
|
25
|
+
This is released as a Gem under rak-eugeneching. Hence, the easiest
|
26
26
|
way to install this fork of Rak is to do a:
|
27
27
|
|
28
|
-
gem install eugeneching
|
28
|
+
gem install rak-eugeneching
|
29
|
+
|
30
|
+
Alternatively, you may clone this Github project, and do a
|
31
|
+
|
32
|
+
gem build rak.gemspec
|
33
|
+
gem install rak-eugeneching-1.5.gem
|
34
|
+
|
35
|
+
to use the Gem by builing and installing it locally.
|
29
36
|
|
30
37
|
### Features
|
31
38
|
|
data/bin/rak
CHANGED
@@ -17,8 +17,10 @@
|
|
17
17
|
# stability, as well as UI improvements. I also added column handling so
|
18
18
|
# that editors interacting with Rak, or otherwise, may point directly to
|
19
19
|
# the line and word that was Rak'ed for. Column is only shown for the first
|
20
|
-
# matching word, if there are multiple, for a given line.
|
21
|
-
#
|
20
|
+
# matching word, if there are multiple, for a given line.
|
21
|
+
#
|
22
|
+
# Behaviour changes:
|
23
|
+
# - ignore-case mode is default, as I feel that such a case is more common.
|
22
24
|
#
|
23
25
|
# -- Author
|
24
26
|
#
|
@@ -60,15 +62,17 @@ class String
|
|
60
62
|
end
|
61
63
|
|
62
64
|
class Rak
|
63
|
-
VERSION = "1.
|
65
|
+
VERSION = "1.5"
|
64
66
|
VERSION_INFO=<<END
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
67
|
+
Rak #{VERSION}
|
68
|
+
Copyright 2013 - #{Time.now.year} Eugene Ching, all rights reserved.
|
69
|
+
Based on the original Rak tool, credits below.
|
70
|
+
|
71
|
+
Original Credits:
|
72
|
+
Copyright 2008-#{Time.now.year} Daniel Lucraft, all rights reserved.
|
73
|
+
Based on the perl tool 'ack' by Andy Lester. This program is free
|
74
|
+
software; you can redistribute it and/or modify it under the same
|
75
|
+
terms as Ruby.
|
72
76
|
END
|
73
77
|
|
74
78
|
FILE_TYPES = {
|
@@ -115,7 +119,7 @@ END
|
|
115
119
|
:sql => %w( .ctl .sql ),
|
116
120
|
:tcl => %w( .itcl .itk .tcl ),
|
117
121
|
:tex => %w( .cls .sty .tex ),
|
118
|
-
:text => %w( .text .txt README ),
|
122
|
+
:text => %w( .text .txt README .md .config .markdown .otl .votl ),
|
119
123
|
:tt => %w( .tt .tt2 .ttml ),
|
120
124
|
:vala => %w( .vala .vapi ),
|
121
125
|
:vb => %w( .bas .cls .ctl .frm .resx .vb ),
|
@@ -123,6 +127,7 @@ END
|
|
123
127
|
:vim => %w( .vim ),
|
124
128
|
:xml => %w( .dtd .ent .xml .xslt ),
|
125
129
|
:yaml => %w( .yaml .yml ),
|
130
|
+
:everything => %w( . ),
|
126
131
|
}
|
127
132
|
|
128
133
|
VC_DIRS = %w(blib CVS _darcs .git .pc RCS SCCS .svn pkg)
|