sqlui 0.1.74 → 0.1.76
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/.release-version +1 -1
- data/app/github/tree_client.rb +2 -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: c8a1521fc269ae7ca6ff4686c9697e2b52138a893c8088543a557f99381edb76
|
|
4
|
+
data.tar.gz: 963fac5e9aca7948f24d29ab7be3a053c89510c079c5ad4a78de6f7b1b1030e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce2b404e42b73506ac2acfc4e6bff1b804e08089c9bbf3e4951bae9df4098f5ee7356f978551343c6b724280e9cbef3b0fb7669355fa6a517e6b89a5ef3e76db
|
|
7
|
+
data.tar.gz: 062de95c20aca88831dd9789109881a816dd18692feb5e87a6b881c392c406c27c794e83bd132fcd5bc09486f9320d69e26ee1326c804585688b98fa65cd13f2
|
data/.release-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.76
|
data/app/github/tree_client.rb
CHANGED
|
@@ -27,7 +27,7 @@ module Github
|
|
|
27
27
|
DEFAULT_MAX_TREE_CACHE_AGE_SECONDS = 60 * 5 # 5 minutes
|
|
28
28
|
DEFAULT_MAX_FILE_CACHE_AGE_SECONDS = 60 * 60 * 24 * 7 # 1 week
|
|
29
29
|
|
|
30
|
-
MAX_TREE_SIZE =
|
|
30
|
+
MAX_TREE_SIZE = 100
|
|
31
31
|
private_constant :MAX_TREE_SIZE
|
|
32
32
|
|
|
33
33
|
def initialize(access_token:, cache:, logger: Logger.new($stdout))
|
|
@@ -64,7 +64,7 @@ module Github
|
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
latch.await(timeout:
|
|
67
|
+
latch.await(timeout: 20)
|
|
68
68
|
raise 'failed to load saved files' unless response['tree'].all? { |blob| blob['content'] }
|
|
69
69
|
|
|
70
70
|
Tree.for(owner: owner, repo: repo, ref: ref, tree_response: response)
|
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.76
|
|
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-
|
|
11
|
+
date: 2023-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|