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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 910e5f4fc5bc61dab363293a7015cf5f1376892608a882330d460f4f57356241
4
- data.tar.gz: af44131f64be90767cafa778fb5cd5d83d6fd95fd18d86fb8ca20bcfdc98039a
3
+ metadata.gz: 0307b671a550e781f0a851beb0fadefc24ef5f6c54376a7f127092d94f6d14ec
4
+ data.tar.gz: 5d5565ed62c3da9a8e3f204c7491d51c1ac91bcca4a1fb063e9a483bdd778ad9
5
5
  SHA512:
6
- metadata.gz: 464ebd340513b8404852b745ffe7c32e77e401b394de0cc714a88384cc64061464fd3806ea1f606957c5321fe15ba896de7a37e0bb9aa57b105456856f7d76f7
7
- data.tar.gz: cc10d024bd6b63db5f3d93dfc723d217e88945fc412472bbe662998f906b44427b323f75e35d74eafb3306e7a5ec73e4315aaa6ae30fcf91a268d2f553422884
6
+ metadata.gz: 12c98c84a32c2524de2372f576a7956c91d18dec6a063b14908b150d45f59d557f44bb5e8c41a8356afeca920a6bc4ef0daca62945565d110efd36c687bb28d2
7
+ data.tar.gz: bf259c68b339a26612dc025a66cf9d51ff760398fd839f514a438c1a2f7ab1c55ade66a6a27c12d8c2820cc23ae0acf98b9e4175e6cac56bd27cb097a6c1d82c
@@ -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/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
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: ruby
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: 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.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: []