mgit 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/mgit/commands/status.rb +2 -2
- data/lib/mgit/output.rb +5 -1
- data/lib/mgit/registry.rb +1 -1
- data/lib/mgit/repository.rb +4 -1
- data/lib/mgit/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2QzMjEzYWZkYmUyZTU2NzIzNjg1MzliYjc1MTRlZjRiNmUyYTQ4MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2Y5YTRhNjgzYmM0NmZlYTYyNWNkMTUyYWI5MjkwZTJhZjZjMzhiZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWVlZjAyZjQ3YjQ2MjdkMmE2ZmJmMmJkMGI0MWNkYzM1Y2RjMGVlZmIyNTIw
|
10
|
+
MTJiYjcxYTg1YjgzZjE1MzUyYTk3MzIxOWUyZjQ1NzczNWVkMGFhZTkxNGIz
|
11
|
+
YTU1YzBmMWRiZjRjOWQ2ZTBjNGFmZGRiNWJhMjU0YmUwYTExMGE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWQ5YTZhMDVhZjNhMmViZmU1N2FkYjAwNTJiZjgzNDQ2YmNhMDBhMzI2ZWJk
|
14
|
+
MjZhNTY0YTg5MDdhNjMyZDI1ODkwYjk0NGMzYzZkOTFkODZjY2VjYzYwMjEx
|
15
|
+
YmU4NTk0NDNiZjJhOTI4MjMwMThjODQ0ZDllODdlZGVmNDQ3ODM=
|
data/lib/mgit/commands/status.rb
CHANGED
@@ -4,8 +4,8 @@ module MGit
|
|
4
4
|
class StatusCommand < Command
|
5
5
|
def execute(args)
|
6
6
|
t = []
|
7
|
-
Registry.chdir_each { |repo| t << [repo.name, flags(repo).to_a.join(', ')] }
|
8
|
-
ptable t, :columns => [24, nil]
|
7
|
+
Registry.chdir_each { |repo| t << [repo.name, repo.current_branch, flags(repo).to_a.join(', ')] }
|
8
|
+
ptable t, :columns => [24, nil, nil]
|
9
9
|
end
|
10
10
|
|
11
11
|
def arity
|
data/lib/mgit/output.rb
CHANGED
@@ -37,7 +37,11 @@ module MGit
|
|
37
37
|
end
|
38
38
|
|
39
39
|
table.map do |row|
|
40
|
-
row.map.with_index
|
40
|
+
row.map.with_index do |cell, i|
|
41
|
+
# Only justify the column if it is not the last one.
|
42
|
+
# This avoids too many line breaks.
|
43
|
+
i < (columns - 1) ? justify(cell, cw[i]) : cell
|
44
|
+
end.join(' | ')
|
41
45
|
end.join("\n")
|
42
46
|
end
|
43
47
|
|
data/lib/mgit/registry.rb
CHANGED
data/lib/mgit/repository.rb
CHANGED
data/lib/mgit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mgit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FlavourSys Technology GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: M[eta]Git let's you manage multiple git repositories simultaneously
|
56
70
|
email: technology@flavoursys.com
|
57
71
|
executables:
|