git-delta 0.1.0 → 0.1.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.
- data/README.md +3 -0
- data/lib/git-delta/run.rb +4 -1
- data/lib/git-delta/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -7,6 +7,7 @@ It sums the net change for each commit and output the sum of positive and negati
|
|
7
7
|
$ git-delta
|
8
8
|
123 - 100 = 23
|
9
9
|
|
10
|
+
The commits that made net contributions totalled 123 extra lines. The commits that made net code reductions removed a total of 100 lines.
|
10
11
|
Net lines added: 23
|
11
12
|
|
12
13
|
## Installation
|
@@ -22,6 +23,8 @@ Net lines added: 23
|
|
22
23
|
$ git-delta -v
|
23
24
|
$ git-delta -rails
|
24
25
|
|
26
|
+
Other options starting with `-` are passed on to `git`.
|
27
|
+
|
25
28
|
## Contributing
|
26
29
|
|
27
30
|
1. Fork it
|
data/lib/git-delta/run.rb
CHANGED
@@ -2,8 +2,11 @@ require_relative "../git-delta"
|
|
2
2
|
|
3
3
|
class Git::Delta::Runner
|
4
4
|
def run(argv = ARGV)
|
5
|
-
|
5
|
+
case ARGV.first
|
6
|
+
when '-rails'
|
6
7
|
rails
|
8
|
+
when '-h', '--help'
|
9
|
+
puts "This is just a quick script, check the readme or the source code"
|
7
10
|
else
|
8
11
|
Git::Delta::Reporter.new(*parse_arg(argv)).filter_out(exclude).report(@verbose)
|
9
12
|
end
|
data/lib/git-delta/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-delta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Calculate the number of lines added/subtracted in a git directory
|
15
15
|
email:
|