git-newline-at-eof 0.1.1 → 0.1.2
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/lib/git-newline-at-eof.rb +3 -2
- data/lib/git-newline-at-eof/version.rb +1 -1
- 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: 36c6e6d61f60fe176e7572301535d5368577d4e1
|
|
4
|
+
data.tar.gz: 3f5c8d4371cbed33fbb57228215af0a1489471b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bdccffa9f74e689fb437770c6f0143bc9b608e24ddf759095281b7d54347462ec482ee7da9bda43dbd25c5ffe284344db5f3aef340b0ae019a4b15bbd42d284
|
|
7
|
+
data.tar.gz: f1d4d448f5d2c9d81d79902502931504d517e1f23b31bcff7cf3af87505532af8c187c47afe45921834762642388f73017c755124fe68c9d6db3b86dbae833e5
|
data/lib/git-newline-at-eof.rb
CHANGED
|
@@ -16,7 +16,7 @@ module GitNewlineAtEof
|
|
|
16
16
|
[
|
|
17
17
|
[
|
|
18
18
|
'-f', '--feed-last-line',
|
|
19
|
-
'Add newline to
|
|
19
|
+
'Add newline to not terminated line at end of file.',
|
|
20
20
|
proc { |v|
|
|
21
21
|
@options[:feed_last_line] = true
|
|
22
22
|
@options[:opted] = true
|
|
@@ -34,7 +34,7 @@ module GitNewlineAtEof
|
|
|
34
34
|
[
|
|
35
35
|
'-a',
|
|
36
36
|
'--treat-all',
|
|
37
|
-
'This is identical with
|
|
37
|
+
'This is identical with -f -d.',
|
|
38
38
|
proc { |v|
|
|
39
39
|
@options[:treat_all] = true
|
|
40
40
|
@options[:opted] = true
|
|
@@ -72,6 +72,7 @@ module GitNewlineAtEof
|
|
|
72
72
|
end
|
|
73
73
|
@opt.program_name = 'git newline-at-eof'
|
|
74
74
|
@opt.version = GitNewlineAtEof::VERSION
|
|
75
|
+
@opt.summary_width = 27
|
|
75
76
|
@opt.parse!(argv)
|
|
76
77
|
end
|
|
77
78
|
|