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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2760c0ff60fc7835d8f6fe11af1121a9b87b5dce
4
- data.tar.gz: fdfb54e749546fc4b36a02d2dac64a330ed1c8e9
3
+ metadata.gz: a3e46a886eb70a83525ea9fe099720d26528ffee
4
+ data.tar.gz: 602e8bf8edcf4717b8497af2fc7409a06fbff15a
5
5
  SHA512:
6
- metadata.gz: f344ff90fdb42821e67157c357bda9d9a5a1a70170dd010b2b72370e820ecf06f89bb28e231dae9fa3c42290b316226ddc8063e5b2087c93cd43b6e7a4eb33d0
7
- data.tar.gz: a3ebc0a2c332e28dc3996213358063afde5647247aca4e711dab1632a9cc3ae7e9f130a5af7904b1c3bde2b00106860fe64f33d6c838f29d28a5e6d40799ad47
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
@@ -1,3 +1,3 @@
1
1
  module GitLeft
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/git_left.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require_relative "git/lib"
1
2
  require_relative "git_left/version"
2
3
  require_relative "git_left/branch"
3
4
  require_relative "git_left/branch_reporter"
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
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-05-27 00:00:00.000000000 Z
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