p4ruby 2024.2.2736761 → 2025.1.2767474
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/ext/P4/clientuserruby.cpp +12 -0
- data/ext/P4/clientuserruby.h +1 -0
- data/ext/P4/specmgr.cpp +1 -0
- data/lib/P4/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0307b671a550e781f0a851beb0fadefc24ef5f6c54376a7f127092d94f6d14ec
|
4
|
+
data.tar.gz: 5d5565ed62c3da9a8e3f204c7491d51c1ac91bcca4a1fb063e9a483bdd778ad9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12c98c84a32c2524de2372f576a7956c91d18dec6a063b14908b150d45f59d557f44bb5e8c41a8356afeca920a6bc4ef0daca62945565d110efd36c687bb28d2
|
7
|
+
data.tar.gz: bf259c68b339a26612dc025a66cf9d51ff760398fd839f514a438c1a2f7ab1c55ade66a6a27c12d8c2820cc23ae0acf98b9e4175e6cac56bd27cb097a6c1d82c
|
data/ext/P4/clientuserruby.cpp
CHANGED
@@ -251,6 +251,18 @@ void ClientUserRuby::Message(Error *e) {
|
|
251
251
|
ProcessMessage(e);
|
252
252
|
}
|
253
253
|
|
254
|
+
void ClientUserRuby::HandleError(Error *e) {
|
255
|
+
if (P4RDB_CALLS) fprintf(stderr, "[P4] Message()\n");
|
256
|
+
|
257
|
+
if (P4RDB_DATA) {
|
258
|
+
StrBuf t;
|
259
|
+
e->Fmt(t, EF_PLAIN);
|
260
|
+
fprintf(stderr, "... [%s] %s\n", e->FmtSeverity(), t.Text());
|
261
|
+
}
|
262
|
+
|
263
|
+
ProcessMessage(e);
|
264
|
+
}
|
265
|
+
|
254
266
|
void ClientUserRuby::OutputBinary(const char *data, int length) {
|
255
267
|
if (P4RDB_CALLS) fprintf(stderr, "[P4] OutputBinary()\n");
|
256
268
|
if (P4RDB_DATA) {
|
data/ext/P4/clientuserruby.h
CHANGED
@@ -49,6 +49,7 @@ public:
|
|
49
49
|
// Client User methods overridden here
|
50
50
|
void OutputText(const char *data, int length);
|
51
51
|
void Message(Error *e);
|
52
|
+
void HandleError(Error *e);
|
52
53
|
void OutputStat(StrDict *values);
|
53
54
|
void OutputBinary(const char *data, int length);
|
54
55
|
void InputData(StrBuf *strbuf, Error *e);
|
data/ext/P4/specmgr.cpp
CHANGED
@@ -131,6 +131,7 @@ struct defaultspec {
|
|
131
131
|
"MaxOpenFiles;code:413;type:word;len:12;;"
|
132
132
|
"MaxMemory;code:NNN;type:word;len:12;;"
|
133
133
|
"Timeout;code:406;type:word;len:12;;"
|
134
|
+
"IdleTimeout;code:NNN;type:word;len:12;;"
|
134
135
|
"PasswordTimeout;code:409;type:word;len:12;;"
|
135
136
|
"LdapConfig;code:410;type:line;len:128;;"
|
136
137
|
"LdapSearchQuery;code:411;type:line;len:128;;"
|
data/lib/P4/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: p4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2025.1.2767474
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Perforce Software, Inc.
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: Ruby extensions to the C++ Perforce API.
|
13
13
|
email: support@perforce.com
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
requirements: []
|
67
|
-
rubygems_version: 3.6.
|
67
|
+
rubygems_version: 3.6.9
|
68
68
|
specification_version: 4
|
69
69
|
summary: Ruby extensions to the C++ Perforce API
|
70
70
|
test_files: []
|