git_reflow 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/git_reflow/config.rb +2 -2
- data/lib/git_reflow/logger.rb +3 -1
- data/lib/git_reflow/sandbox.rb +1 -1
- data/lib/git_reflow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbb6ad0038f32929e7db34cbde9ee380bcaad851
|
4
|
+
data.tar.gz: 07f77365c95b2a1586abd7f5c41e683ff2c75f10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 490eedcf13742ddd4eafec6054227431ad3db58eff77ef112cf167bf0325e57a6e607632e2cd26d758b603c9fb1f7047052aeeb1d1bd0b78b1e7c390cce098db
|
7
|
+
data.tar.gz: baca2ceada8961f1aa923156e9b328f1f363a9b361e312ad2452a639a761515b770ee92a786987a7bd7354d58ef34c9b7dc9906498f0dec4d015ccd19125ffdd
|
data/Gemfile.lock
CHANGED
data/lib/git_reflow/config.rb
CHANGED
@@ -10,9 +10,9 @@ module GitReflow
|
|
10
10
|
else
|
11
11
|
local = local ? '--local ' : ''
|
12
12
|
if all
|
13
|
-
new_value = GitReflow::Sandbox.run
|
13
|
+
new_value = GitReflow::Sandbox.run("git config #{local}--get-all #{key}", loud: false, blocking: false)
|
14
14
|
else
|
15
|
-
new_value = GitReflow::Sandbox.run
|
15
|
+
new_value = GitReflow::Sandbox.run("git config #{local}--get #{key}", loud: false, blocking: false)
|
16
16
|
end
|
17
17
|
instance_variable_set(:"@#{key.tr('.-', '_')}", new_value.strip)
|
18
18
|
end
|
data/lib/git_reflow/logger.rb
CHANGED
@@ -36,7 +36,9 @@ module GitReflow
|
|
36
36
|
def log_file_path
|
37
37
|
return @log_file_path if "#{@log_file_path}".length > 0
|
38
38
|
|
39
|
-
|
39
|
+
# Here we have to run the command in isolation to avoid a recursive loop
|
40
|
+
# to log this command run to fetch the config setting.
|
41
|
+
configured_log_file_path = %x{git config --get reflow.log-file-path}
|
40
42
|
|
41
43
|
if configured_log_file_path.length > 0
|
42
44
|
@log_file_path = configured_log_file_path
|
data/lib/git_reflow/sandbox.rb
CHANGED
data/lib/git_reflow/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_reflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentino Stoll
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-04-
|
13
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: appraisal
|