git_fame 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/git_fame.gemspec +1 -1
- data/lib/git_fame/silent_progressbar.rb +11 -9
- data/lib/git_fame/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4457590e41149791b0277d51f4dfb4df9cd33e67
|
4
|
+
data.tar.gz: 90a3b36ec7c4504a3482b52940d86aaed7b6f9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92fdb5e260070960d17f7f23ea416c1f588fb90f40e464012d734fe82c694e022bf77da0d59ac831d3de835409f4dbac092fbd5b49472d0ba0f5d391e4ae49a9
|
7
|
+
data.tar.gz: dd4ac0ecf1645e50bf985e794c3b5530470beb61d47aa69071c7c689c1711ccea78454e5667fde286457741b83ff2035c8451c545ec94eb882f844e5036c697e
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# GitFame
|
2
|
-
[![
|
3
|
-
[![
|
4
|
-
[![
|
2
|
+
[![Gem](https://img.shields.io/gem/dt/git_fame.svg)](https://rubygems.org/gems/git_fame)
|
3
|
+
[![Gitter](https://img.shields.io/gitter/room/oleander/git-fame-rb.svg)](https://gitter.im/oleander/git-fame-rb)
|
4
|
+
[![Travis](https://img.shields.io/travis/oleander/git-fame-rb.svg)](https://travis-ci.org/oleander/git-fame-rb)
|
5
|
+
[![Coveralls](https://img.shields.io/coveralls/oleander/git-fame-rb.svg)](https://coveralls.io/github/oleander/git-fame-rb)
|
5
6
|
|
6
7
|
Pretty-print collaborators sorted by contributions.
|
7
8
|
|
data/git_fame.gemspec
CHANGED
@@ -24,7 +24,7 @@ Generates data like:
|
|
24
24
|
gem.require_paths = ["lib"]
|
25
25
|
gem.version = GitFame::VERSION
|
26
26
|
|
27
|
-
gem.add_dependency("
|
27
|
+
gem.add_dependency("progressbar", "~> 0.21.0")
|
28
28
|
gem.add_dependency("trollop", "~> 2.1.2")
|
29
29
|
gem.add_dependency("hirb", "~> 0.7.3")
|
30
30
|
gem.add_dependency("scrub_rb", "~> 1.0.1")
|
@@ -1,18 +1,20 @@
|
|
1
|
-
require "
|
1
|
+
require "progressbar"
|
2
2
|
|
3
|
-
class SilentProgressbar
|
3
|
+
class SilentProgressbar
|
4
4
|
#
|
5
5
|
# @name String Name for progressbar
|
6
6
|
# @steps Fixnum Total number of steps
|
7
7
|
# @active Should progressbar be visible?
|
8
8
|
#
|
9
9
|
def initialize(name, steps, active = false)
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
@bp = ProgressBar.new(name, steps) if active
|
11
|
+
end
|
12
|
+
|
13
|
+
def finish
|
14
|
+
@bp && @bp.finish
|
15
|
+
end
|
16
|
+
|
17
|
+
def increment
|
18
|
+
@bp && @bp.inc
|
17
19
|
end
|
18
20
|
end
|
data/lib/git_fame/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_fame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Linus Oleander
|
@@ -11,19 +11,19 @@ cert_chain: []
|
|
11
11
|
date: 2016-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: progressbar
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.21.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.21.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: trollop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|