gitlab_git 10.6.2 → 10.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gitlab_git/attributes.rb +12 -5
- 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: d7297d7f12907c147d8b039f91aa75a16487a906
|
4
|
+
data.tar.gz: 1de3808442341ecfad0353eef558ba61324f658c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9dfac728a81523ed04bdf3342e9e1a332348246db2ef10013f70f793170858c5900ed9add33c969d5f93031b402f157ec92cab2ad813e04dfb10205d51332b
|
7
|
+
data.tar.gz: 0ebaf2bd41d9ce8bf6babdc4d8a4859d6f80c233606cf108cc9dbdf57dc2685819afaea35f431a540f1eeeafc4d93c35fe2d2939e76405c2a7b8eef50247621e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.6.
|
1
|
+
10.6.3
|
@@ -57,28 +57,35 @@ module Gitlab
|
|
57
57
|
values = {}
|
58
58
|
dash = '-'
|
59
59
|
equal = '='
|
60
|
+
binary = 'binary'
|
60
61
|
|
61
62
|
string.split(/\s+/).each do |chunk|
|
62
63
|
# Data such as "foo = bar" should be treated as "foo" and "bar" being
|
63
64
|
# separate boolean attributes.
|
64
65
|
next if chunk == equal
|
65
66
|
|
67
|
+
key = chunk
|
68
|
+
|
66
69
|
# Input: "-foo"
|
67
70
|
if chunk.start_with?(dash)
|
68
71
|
key = chunk.byteslice(1, chunk.length - 1)
|
69
|
-
|
70
|
-
values[key] = false
|
72
|
+
value = false
|
71
73
|
|
72
74
|
# Input: "foo=bar"
|
73
75
|
elsif chunk.include?(equal)
|
74
76
|
key, value = chunk.split(equal, 2)
|
75
77
|
|
76
|
-
values[key] = value
|
77
|
-
|
78
78
|
# Input: "foo"
|
79
79
|
else
|
80
|
-
|
80
|
+
value = true
|
81
81
|
end
|
82
|
+
|
83
|
+
values[key] = value
|
84
|
+
|
85
|
+
# When the "binary" option is set the "diff" option should be set to
|
86
|
+
# the inverse. If "diff" is later set it should overwrite the
|
87
|
+
# automatically set value.
|
88
|
+
values['diff'] = false if key == binary && value
|
82
89
|
end
|
83
90
|
|
84
91
|
values
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.6.
|
4
|
+
version: 10.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Zaporozhets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-linguist
|