p4ruby 2024.2.2736761-x64-mingw-ucrt → 2025.1.2767474-x64-mingw-ucrt

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3cee2f08dfcde4d6ae019007cc9d9973b9dccac63ebe39c656209a7cbb2a035
4
- data.tar.gz: 9a7695fa346398aa0956b1f9fb9a9b5ed6e12619b956783e5d8519c2962d674d
3
+ metadata.gz: 661ac15f3865ae69c60f6ae874d29a1b753b87ce367af6ab52067317c76e20f2
4
+ data.tar.gz: b78974b64285efefdeca3d704b64f08814c810a5249de4391699140f6080d119
5
5
  SHA512:
6
- metadata.gz: 628eae1eac5ba38de0f3a955bbf841b58ea272e7bed7c000d0b31414c76b252c846e6c2ece334917ee0e528fb0177cc70bfec1d2e456587020cac42b259b4c0c
7
- data.tar.gz: 848e3c9bbe25999940aada9f38f4337e5b7a72f6f93bbdb7ee3ddc2b18733fb1be4823ad090175f451c30d319ac3f6e8f1a52d112162b15b23915ecb14fdb2fc
6
+ metadata.gz: ffcedfd5b63734724a086661607816050d65a3816677aaa8181acc0fd1ba8023269a5d33330e06e5767c21097b109fe1d8127a0004de559717e7cc7d2a106e9a
7
+ data.tar.gz: 24364413bc16b604495262838c806bd19fe290d8ab467ac38824e047975799dfacc8b63f89cf0221485624d29472f50f2e3c696b89c33cb05be143734e16db0a
@@ -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) {
@@ -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/3.2/P4.so CHANGED
Binary file
data/lib/3.3/P4.so CHANGED
Binary file
data/lib/3.4/P4.so CHANGED
Binary file
data/lib/P4/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class P4
2
- Version = VERSION = '2024.2.2736761'
2
+ Version = VERSION = '2025.1.2767474'
3
3
  end
data/lib/P4.so CHANGED
Binary file
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: 2024.2.2736761
4
+ version: 2025.1.2767474
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Perforce Software, Inc.
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-19 00:00:00.000000000 Z
10
+ date: 2025-05-22 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Ruby extensions to the C++ Perforce API.
13
13
  email: support@perforce.com
@@ -42,7 +42,6 @@ files:
42
42
  - ext/P4/specmgr.cpp
43
43
  - ext/P4/specmgr.h
44
44
  - ext/P4/undefdups.h
45
- - lib/3.1/P4.so
46
45
  - lib/3.2/P4.so
47
46
  - lib/3.3/P4.so
48
47
  - lib/3.4/P4.so
data/lib/3.1/P4.so DELETED
Binary file