git_left 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git/lib.rb +17 -0
- data/lib/git_left/version.rb +1 -1
- data/lib/git_left.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e46a886eb70a83525ea9fe099720d26528ffee
|
4
|
+
data.tar.gz: 602e8bf8edcf4717b8497af2fc7409a06fbff15a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf5b45b759a77eae2e2d1755a8f281b82269e8738cbf99ba6b4954b522fded24586f3759e47c9390a798aa2d718e788507a2684915f13b610cf3b13bd45bdd10
|
7
|
+
data.tar.gz: 13b33a9e951ec6f0ba12f79fc1cb6ea3a5043faeed836d76a37dcefdecfa24280725d9a18f83fd52f24853618a0fe289b14f16d78f66e00dc38b17e02f2c19be
|
data/lib/git/lib.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
module Git
|
2
|
+
class Lib
|
3
|
+
def config_list
|
4
|
+
build_list = lambda do |path|
|
5
|
+
parse_config_list command_lines('config', ['--list'])
|
6
|
+
end
|
7
|
+
|
8
|
+
@config_list ||= begin
|
9
|
+
if @git_dir
|
10
|
+
Dir.chdir(@git_dir, &build_list)
|
11
|
+
else
|
12
|
+
build_list.call
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/git_left/version.rb
CHANGED
data/lib/git_left.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_left
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chuck Callebs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -113,6 +113,7 @@ files:
|
|
113
113
|
- bin/git_left
|
114
114
|
- bin/setup
|
115
115
|
- git_left.gemspec
|
116
|
+
- lib/git/lib.rb
|
116
117
|
- lib/git_left.rb
|
117
118
|
- lib/git_left/branch.rb
|
118
119
|
- lib/git_left/branch_reporter.rb
|