sqlui 0.1.72 → 0.1.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.release-version +1 -1
- data/app/github/tree_client.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af1f679e82d6851884496c2b3b0a15a79b33a61f134afef3dc71b56dc1a84299
|
4
|
+
data.tar.gz: 21e037e5fa3c5528c890217d025ee2d6fbe928b86f1446b1c36af74168280d01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef97c2b8e874d261325f4a9915e4453deab0f7804bef375f47d75a6ca6c1604237299b184cfab58bfd6845f8c8600bef605247e59008f8c452e51e1dff7f1b79
|
7
|
+
data.tar.gz: b657b26b717f8a377dc22dce2d765edf96096839564be96136b08c836edd50612a9f633b1fe39c64b9c731120465da2874d25a54d5daa5ddc73a5776880a438f
|
data/.release-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.73
|
data/app/github/tree_client.rb
CHANGED
@@ -110,14 +110,15 @@ module Github
|
|
110
110
|
]
|
111
111
|
}
|
112
112
|
)
|
113
|
-
|
113
|
+
basename = File.basename(path)
|
114
|
+
message = basename.size > 45 ? "Edit […]#{basename[-42..]}" : "Edit #{basename}"
|
114
115
|
commit_response = @client.post(
|
115
116
|
"https://api.github.com/repos/#{owner}/#{repo}/git/commits",
|
116
117
|
{
|
117
118
|
message: message,
|
118
119
|
author: {
|
119
|
-
name:
|
120
|
-
email:
|
120
|
+
name: author_name,
|
121
|
+
email: author_email,
|
121
122
|
date: Time.now.iso8601
|
122
123
|
},
|
123
124
|
parents: [
|