sqlui 0.1.73 → 0.1.75
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 -2
- data/app/server.rb +1 -1
- data/client/resources/sqlui.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df0244707a48d2948765f88aa67463d0fb42b4e0d34f09e8982ff0c3c42b1c92
|
4
|
+
data.tar.gz: 6b3f8cf14de9d19e16ed28facb0fcdcfae161bfababed391f7fc273759dab8c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dd21134e7dc588bbde8993e7729107e5d615b4b71b93f8f2cdc3a830ef20274e1d470c6962c5a944eded5c3b40e357a78706c25df27bb41a2510a87cbc2bc14
|
7
|
+
data.tar.gz: 9b5fa09c497cd5ded3193916ef0c732c5bb33e3f8f159d48d0f15c04928504fbdf048578b159014272e8e1835fd84fea12d054b12370820bf4a8710a167b85d0
|
data/.release-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.75
|
data/app/github/tree_client.rb
CHANGED
@@ -110,12 +110,14 @@ module Github
|
|
110
110
|
]
|
111
111
|
}
|
112
112
|
)
|
113
|
-
basename = File.basename(path)
|
114
|
-
message = basename.size
|
113
|
+
basename = ::File.basename(path)
|
114
|
+
message = basename.size <= 45 ? "Edit #{basename}" : "Edit #{basename[0...44]}…"
|
115
|
+
description = basename.size <= 45 ? nil : "…#{basename[45..]}"
|
115
116
|
commit_response = @client.post(
|
116
117
|
"https://api.github.com/repos/#{owner}/#{repo}/git/commits",
|
117
118
|
{
|
118
119
|
message: message,
|
120
|
+
description: description,
|
119
121
|
author: {
|
120
122
|
name: author_name,
|
121
123
|
email: author_email,
|
data/app/server.rb
CHANGED
@@ -315,7 +315,7 @@ class Server < Sinatra::Base
|
|
315
315
|
raise ClientError, 'missing path' if (params[:path] || '').strip.empty?
|
316
316
|
raise ClientError, 'missing content' if params[:path].nil?
|
317
317
|
|
318
|
-
branch = "sqlui
|
318
|
+
branch = "sqlui/#{Pigs.generate_phrase}"
|
319
319
|
tree_client = Github::TreeClient.new(
|
320
320
|
access_token: database.saved_config.token,
|
321
321
|
cache: github_cache,
|
data/client/resources/sqlui.js
CHANGED
@@ -24050,7 +24050,7 @@
|
|
24050
24050
|
editorKeymap,
|
24051
24051
|
sqlExtension,
|
24052
24052
|
fixedHeightEditor,
|
24053
|
-
placeholder('Let\'s
|
24053
|
+
placeholder('Let\'s squeal!')
|
24054
24054
|
]
|
24055
24055
|
}),
|
24056
24056
|
parent
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.75
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Dower
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|