git-delta 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/git-delta.rb CHANGED
@@ -1,8 +1,2 @@
1
1
  require "git-delta/version"
2
2
  require "git-delta/reporter"
3
-
4
- module Git
5
- module Delta
6
- # Your code goes here...
7
- end
8
- end
@@ -47,7 +47,6 @@ module Git
47
47
  def git_log
48
48
  extra = extra_args.join(' ')
49
49
  extra << "--author=#{`git config user.email`.strip}" unless extra.include? '--author='
50
- puts "git log --oneline --shortstat --no-merges #{extra} -- #{file_filter}"
51
50
  `git log --oneline --shortstat --no-merges #{extra} -- #{file_filter}`
52
51
  end
53
52
 
data/lib/git-delta/run.rb CHANGED
@@ -6,9 +6,9 @@ ext, paths, extra = [], [], []
6
6
  split = Hash.new{|h, k| h['path']}.merge!('.' => [], '-' => [], 'path' => [])
7
7
  ARGV.each{|a| split[a[0]] << a}
8
8
 
9
- CommitStatsReporter.new(*split.values_at('path', '.', '-'))
9
+ Git::Delta::Reporter.new(*split.values_at('path', '.', '-'))
10
10
  .instance_eval do
11
- excl = File.read('./.ignore_commits') rescue File.read('tmp/.ignore_commits') rescue ''
11
+ excl = (File.read('./.ignore_commits') rescue File.read('tmp/.ignore_commits') rescue '')
12
12
  filter_out(excl)
13
13
  report(verbose)
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Delta
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
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.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: