p4ruby 2023.2.2548030-x64-mingw-ucrt → 2024.1.2660526-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6f86e396ea07afdd33285a0a134c7b53a2a266a626d599f695d286a6e36852c
4
- data.tar.gz: '08e1b646c8fd48fabc23837465c3f424a7e09378766e63936b07dc6e5d2a6fc9'
3
+ metadata.gz: 4f68875f876735859676aa30a6b377fb48659542da96f6c86a27a24d1d8ad562
4
+ data.tar.gz: daaab18c3fd1b6943f0ee89b864cc71717a030e647f71b87f8b103a6ab899e4e
5
5
  SHA512:
6
- metadata.gz: 6fbdbc3975cd4dcec2466fa2a284630994cfc35c5cd005c2a86295d0e597f3f65b143ad02666ec1979d80dbb622927726a528bb57103d311d1d36f38990dc5b1
7
- data.tar.gz: 88533488174a8d3a3cbd99c61f131fa1878ec482c4a6548afc4881b7dadcb322d78e9449b21af0beb160d46d45a58eb4b0bd9d3b8817d9419b7a9f7773312d5c
6
+ metadata.gz: dcc1bd0ff13c6845f66bad10dcd578398f741c6bb37a294e3e124a35bbd7c011b0f786f5efbcf6477e41d7117e12753ae00143deb1710803433bd3c0c69da7fe
7
+ data.tar.gz: d86416b774e898e725ee875895af70cd04e491e21e72e031c23a39102d2530d1f341231e6eafe818d0650835c5166c24f1a37e017bd44de81bd77c348182180f
data/LICENSE.txt CHANGED
@@ -1,6 +1,29 @@
1
1
  Copyright (c) 2024, Perforce Software, Inc. All rights reserved.
2
2
 
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are met:
3
5
 
6
+ 1. Redistributions of source code must retain the above copyright notice, this
7
+ list of conditions and the following disclaimer.
8
+
9
+ 2. Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+
13
+ 3. Neither the name of the copyright holder nor the names of its contributors
14
+ may be used to endorse or promote products derived from this software without
15
+ specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
27
  -----------------------
5
28
 
6
29
  The following are the license statements for code used in
@@ -9,7 +32,7 @@ this program.
9
32
 
10
33
  P4/P4API License
11
34
  -----------------------
12
- Copyright (c) 1995-2023, Perforce Software, Inc.
35
+ Copyright (c) 1995-2024, Perforce Software, Inc.
13
36
  All rights reserved.
14
37
 
15
38
  Redistribution and use in source and binary forms, with or without
@@ -63,7 +86,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
63
86
  control with that entity. For the purposes of this definition,
64
87
  "control" means (i) the power, direct or indirect, to cause the
65
88
  direction or management of such entity, whether by contract or
66
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
89
+ otherwise, or (ii) ownership of fifty percent (50) or more of the
67
90
  outstanding shares, or (iii) beneficial ownership of such entity.
68
91
 
69
92
  "You" (or "Your") shall mean an individual or Legal Entity
@@ -219,330 +242,22 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
219
242
  incurred by, or claims asserted against, such Contributor by reason
220
243
  of your accepting any such warranty or additional liability.
221
244
 
222
- END OF TERMS AND CONDITIONS
223
-
224
-
225
- sol2 License
226
- -----------------------
227
-
228
- Copyright (c) 2013-2018 Rapptz, ThePhD, and contributors
229
-
230
- Permission is hereby granted, free of charge, to any person obtaining
231
- a copy of this software and associated documentation files (the
232
- "Software"), to deal in the Software without restriction, including
233
- without limitation the rights to use, copy, modify, merge, publish,
234
- distribute, sublicense, and/or sell copies of the Software, and to
235
- permit persons to whom the Software is furnished to do so, subject to
236
- the following conditions:
237
-
238
- The above copyright notice and this permission notice shall be
239
- included in all copies or substantial portions of the Software.
240
-
241
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
242
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
243
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
244
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
245
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
246
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
247
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
248
-
249
-
250
- Lua License
251
- -----------------------
252
-
253
- Copyright (c) 1994-2018 Lua.org, PUC-Rio.
254
-
255
- Permission is hereby granted, free of charge, to any person obtaining
256
- a copy of this software and associated documentation files (the
257
- "Software"), to deal in the Software without restriction, including
258
- without limitation the rights to use, copy, modify, merge, publish,
259
- distribute, sublicense, and/or sell copies of the Software, and to
260
- permit persons to whom the Software is furnished to do so, subject to
261
- the following conditions:
262
-
263
- The above copyright notice and this permission notice shall be
264
- included in all copies or substantial portions of the Software.
265
-
266
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
267
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
268
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
269
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
270
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
271
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
272
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
273
-
274
-
275
- cURL License
276
- -----------------------
277
-
278
- This code uses a permissive license. Please use the following
279
- attribution in the documentation of the open source code.
280
-
281
- Copyright (c) 1996 - 2018, Daniel Stenberg, daniel@haxx.se, and many
282
- contributors, see the THANKS file.
283
-
284
- All rights reserved.
285
-
286
- Permission to use, copy, modify, and distribute this software for any
287
- purpose with or without fee is hereby granted, provided that the above
288
- copyright notice and this permission notice appear in all copies.
289
-
290
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
291
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
292
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
293
- THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
294
- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
295
- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
296
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
297
- SOFTWARE.
298
-
299
- Except as contained in this notice, the name of a copyright holder shall
300
- not be used in advertising or otherwise to promote the sale, use or
301
- other dealings in this Software without prior written authorization of
302
- the copyright holder.
303
-
304
245
 
305
- Lua-cURLv3 License
246
+ CDC File Transfer
306
247
  -----------------------
307
248
 
308
- Copyright (c) 2014-2018 Alexey Melnichuk
309
-
310
- Permission is hereby granted, free of charge, to any person obtaining a
311
- copy of this software and associated documentation files (the
312
- "Software"), to deal in the Software without restriction, including
313
- without limitation the rights to use, copy, modify, merge, publish,
314
- distribute, sublicense, and/or sell copies of the Software, and to permit
315
- persons to whom the Software is furnished to do so, subject to the
316
- following conditions:
317
-
318
- The above copyright notice and this permission notice shall be included
319
- in all copies or substantial portions of the Software.
320
-
321
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
322
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
323
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
324
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
325
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
326
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
327
- USE OR OTHER DEALINGS IN THE SOFTWARE.
328
-
329
-
330
- LuaSQLite3 License
331
- -----------------------
332
-
333
- Copyright (C) 2002-2016 Tiago Dionizio, Doug Currie
334
- All rights reserved.
335
- Author : Tiago Dionizio <tiago.dionizio@ist.utl.pt>
336
- Author : Doug Currie <doug.currie@alum.mit.edu>
337
- Library : lsqlite3 - an SQLite 3 database binding for Lua 5
338
-
339
- Permission is hereby granted, free of charge, to any person obtaining
340
- a copy of this software and associated documentation files (the
341
- "Software"), to deal in the Software without restriction, including
342
- without limitation the rights to use, copy, modify, merge, publish,
343
- distribute, sublicense, and/or sell copies of the Software, and to
344
- permit persons to whom the Software is furnished to do so, subject to
345
- the following conditions:
346
-
347
- The above copyright notice and this permission notice shall be
348
- included in all copies or substantial portions of the Software.
349
-
350
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
351
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
352
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
353
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
354
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
355
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
356
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
357
-
358
-
359
- lua-cjson License
360
- -----------------------
361
-
362
- Copyright (c) 2010-2012 Mark Pulford <mark@kyne.com.au>
363
-
364
- Permission is hereby granted, free of charge, to any person obtaining
365
- a copy of this software and associated documentation files (the
366
- "Software"), to deal in the Software without restriction, including
367
- without limitation the rights to use, copy, modify, merge, publish,
368
- distribute, sublicense, and/or sell copies of the Software, and to
369
- permit persons to whom the Software is furnished to do so, subject to
370
- the following conditions:
371
-
372
- The above copyright notice and this permission notice shall be
373
- included in all copies or substantial portions of the Software.
374
-
375
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
376
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
377
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
378
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
379
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
380
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
381
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
382
-
383
-
384
- libc++ and libc++abi License
385
- -----------------------
386
-
387
- These libraries are dual-licensed:
388
-
389
- The University of Illinois/NCSA Open Source License (NCSA)
390
- Developed under the LLVM Project
391
-
392
- Permission is hereby granted, free of charge, to any person obtaining a
393
- copy of this software and associated documentation files (the
394
- "Software"), to deal with the Software without restriction, including
395
- without limitation the rights to use, copy, modify, merge, publish,
396
- distribute, sublicense, and/or sell copies of the Software, and to
397
- permit persons to whom the Software is furnished to do so, subject to the
398
- following conditions:
399
-
400
- Redistributions of source code must retain the above copyright notice,
401
- this list of conditions and the following disclaimers.
402
- Redistributions in binary form must reproduce the above copyright
403
- notice, this list of conditions and the following disclaimers in the
404
- documentation and/or other materials provided with the distribution.
405
- Neither the names of <Name of Development Group, Name of Institution>,
406
- nor the names of its contributors may be used to endorse or promote
407
- products derived from this Software without specific prior written
408
- permission.
409
-
410
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
411
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
412
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
413
- IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
414
- ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
415
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
416
- SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
417
-
418
- MIT
419
- Developed under the LLVM Project
420
-
421
- Permission is hereby granted, free of charge, to any person obtaining a
422
- copy of this software and associated documentation files (the
423
- "Software"), to deal in the Software without restriction, including
424
- without limitation the rights to use, copy, modify, merge, publish,
425
- distribute, sublicense, and/or sell copies of the Software, and to permit
426
- persons to whom the Software is furnished to do so, subject to the
427
- following conditions:
428
-
429
- The above copyright notice and this permission notice shall be included
430
- in all copies or substantial portions of the Software.
431
-
432
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
433
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
434
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
435
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
436
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
437
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
438
- USE OR OTHER DEALINGS IN THE SOFTWARE.
439
-
440
-
441
- jemalloc
442
- -----------------------
443
-
444
- Copyright (C) 2002-present Jason Evans <jasone@canonware.com>.
445
- All rights reserved.
446
- Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
447
- Copyright (C) 2009-present Facebook, Inc. All rights reserved.
448
-
449
- Redistribution and use in source and binary forms, with or without
450
- modification, are permitted provided that the following conditions are met:
451
- 1. Redistributions of source code must retain the above copyright
452
- notice(s), this list of conditions and the following disclaimer.
453
- 2. Redistributions in binary form must reproduce the above copyright
454
- notice(s), this list of conditions and the following disclaimer in the
455
- documentation and/or other materials provided with the distribution.
456
-
457
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
458
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
459
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
460
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
461
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
462
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
463
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
464
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
465
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
466
- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
467
- SUCH DAMAGE.
468
-
469
-
470
- JSON for Modern C++
471
- -----------------------
472
-
473
- Copyright (c) 2013-2018 Niels Lohmann
474
-
475
- Permission is hereby granted, free of charge, to any person obtaining
476
- a copy of this software and associated documentation files (the
477
- "Software"), to deal in the Software without restriction, including
478
- without limitation the rights to use, copy, modify, merge, publish,
479
- distribute, sublicense, and/or sell copies of the Software, and to permit
480
- persons to whom the Software is furnished to do so, subject to the
481
- following conditions:
482
-
483
- The above copyright notice and this permission notice shall be included
484
- in all copies or substantial portions of the Software.
485
-
486
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
487
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
488
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
489
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
490
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
491
- OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
492
- THE USE OR OTHER DEALINGS IN THE SOFTWARE.
493
-
494
-
495
- optional-lite and any-lite
496
- Martin Moene
497
- -----------------------
498
-
499
- Boost Software License - Version 1.0 - August 17th, 2003
500
-
501
- Permission is hereby granted, free of charge, to any person or organization
502
- obtaining a copy of the software and accompanying documentation covered by
503
- this license (the "Software") to use, reproduce, display, distribute,
504
- execute, and transmit the Software, and to prepare derivative works of the
505
- Software, and to permit third-parties to whom the Software is furnished to
506
- do so, all subject to the following:
507
-
508
- The copyright notices in the Software and this entire statement, including
509
- the above license grant, this restriction and the following disclaimer,
510
- must be included in all copies of the Software, in whole or in part, and
511
- all derivative works of the Software, unless such copies or derivative
512
- works are solely in the form of machine-executable object code generated by
513
- a source language processor.
514
-
515
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
516
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
517
- FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
518
- SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
519
- FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
520
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
521
- DEALINGS IN THE SOFTWARE.
522
-
523
-
524
- TinyXML-2
525
- -----------------------
526
-
527
- Copyright (c) 2019-present, Lee Thomason and contributors.
528
-
529
- This software is provided 'as-is', without any express or implied
530
- warranty. In no event will the authors be held liable for any
531
- damages arising from the use of this software.
532
-
533
- Permission is granted to anyone to use this software for any
534
- purpose, including commercial applications, and to alter it and
535
- redistribute it freely, subject to the following restrictions:
249
+ Copyright 2022 Lutz Justen
536
250
 
537
- 1. The origin of this software must not be misrepresented; you must
538
- not claim that you wrote the original software. If you use this
539
- software in a product, an acknowledgment in the product documentation
540
- would be appreciated but is not required.
251
+ Licensed under the Apache License, Version 2.0 (the "License");
252
+ you may not use this file except in compliance with the License.
253
+ You may obtain a copy of the License at
541
254
 
542
- 2. Altered source versions must be plainly marked as such, and
543
- must not be misrepresented as being the original software.
255
+ http://www.apache.org/licenses/LICENSE-2.0
544
256
 
545
- 3. This notice may not be removed or altered from any source
546
- distribution.
257
+ Unless required by applicable law or agreed to in writing, software
258
+ distributed under the License is distributed on an "AS IS" BASIS,
259
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
260
+ See the License for the specific language governing permissions and
261
+ limitations under the License.
547
262
 
548
263
 
data/ext/P4/extconf.rb CHANGED
@@ -488,8 +488,15 @@ def filename
488
488
  filename = 'p4api-openssl3.zip'
489
489
  end
490
490
  end
491
- elsif RbConfig::CONFIG['target_os'].downcase =~ /darwin19|darwin[2-9][0-9]/
492
- filename = 'p4api-openssl1.1.1.tgz'
491
+ elsif RbConfig::CONFIG['target_os'].downcase =~ /darwin19|darwin[2-9][0-9]/ || RbConfig::CONFIG['host_cpu'] =~ /aarch64|arm64/
492
+ if !openssl_number.to_s.empty?
493
+ case openssl_number.to_s
494
+ when /1.1/
495
+ filename = 'p4api-openssl1.1.1.tgz'
496
+ when /3.0/
497
+ filename = 'p4api-openssl3.tgz'
498
+ end
499
+ end
493
500
  else
494
501
  filename = 'p4api.tgz'
495
502
  if !openssl_number.to_s.empty?
data/ext/P4/specmgr.cpp CHANGED
@@ -53,276 +53,276 @@ struct defaultspec {
53
53
  const char *spec;
54
54
  } speclist[] = {
55
55
  {
56
- "branch",
57
- "Branch;code:301;rq;ro;fmt:L;len:32;;"
58
- "Update;code:302;type:date;ro;fmt:L;len:20;;"
59
- "Access;code:303;type:date;ro;fmt:L;len:20;;"
60
- "Owner;code:304;fmt:R;len:32;;"
61
- "Description;code:306;type:text;len:128;;"
62
- "Options;code:309;type:line;len:32;val:"
63
- "unlocked/locked;;"
64
- "View;code:311;type:wlist;words:2;len:64;;"
56
+ "branch",
57
+ "Branch;code:301;rq;ro;fmt:L;len:32;;"
58
+ "Update;code:302;type:date;ro;fmt:L;len:20;;"
59
+ "Access;code:303;type:date;ro;fmt:L;len:20;;"
60
+ "Owner;code:304;fmt:R;len:32;;"
61
+ "Description;code:306;type:text;len:128;;"
62
+ "Options;code:309;type:line;len:32;val:"
63
+ "unlocked/locked;;"
64
+ "View;code:311;fmt:C;type:wlist;words:2;len:64;;"
65
65
  },
66
66
  {
67
- "change",
68
- "Change;code:201;rq;ro;fmt:L;seq:1;len:10;;"
69
- "Date;code:202;type:date;ro;fmt:R;seq:3;len:20;;"
70
- "Client;code:203;ro;fmt:L;seq:2;len:32;;"
71
- "User;code:204;ro;fmt:L;seq:4;len:32;;"
72
- "Status;code:205;ro;fmt:R;seq:5;len:10;;"
73
- "Type;code:211;seq:6;type:select;fmt:L;len:10;"
74
- "val:public/restricted;;"
75
- "ImportedBy;code:212;type:line;ro;fmt:L;len:32;;"
76
- "Identity;code:213;type:line;;"
77
- "Description;code:206;type:text;rq;seq:7;;"
78
- "JobStatus;code:207;fmt:I;type:select;seq:9;;"
79
- "Jobs;code:208;type:wlist;seq:8;len:32;;"
80
- "Stream;code:214;type:line;len:64;;"
81
- "Files;code:210;type:llist;len:64;;"
67
+ "change",
68
+ "Change;code:201;rq;ro;fmt:L;seq:1;len:10;;"
69
+ "Date;code:202;type:date;ro;fmt:R;seq:3;len:20;;"
70
+ "Client;code:203;ro;fmt:L;seq:2;len:32;;"
71
+ "User;code:204;ro;fmt:L;seq:4;len:32;;"
72
+ "Status;code:205;ro;fmt:R;seq:5;len:10;;"
73
+ "Type;code:211;seq:6;type:select;fmt:L;len:10;"
74
+ "val:public/restricted;;"
75
+ "ImportedBy;code:212;type:line;ro;fmt:L;len:32;;"
76
+ "Identity;code:213;type:line;;"
77
+ "Description;code:206;type:text;rq;seq:7;;"
78
+ "JobStatus;code:207;fmt:I;type:select;seq:9;;"
79
+ "Jobs;code:208;type:wlist;seq:8;len:32;;"
80
+ "Stream;code:214;type:line;len:64;;"
81
+ "Files;code:210;type:llist;len:64;;"
82
82
  },
83
83
  {
84
- "client",
85
- "Client;code:301;rq;ro;seq:1;len:32;;"
86
- "Update;code:302;type:date;ro;seq:2;fmt:L;len:20;;"
87
- "Access;code:303;type:date;ro;seq:4;fmt:L;len:20;;"
88
- "Owner;code:304;seq:3;fmt:R;len:32;;"
89
- "Host;code:305;seq:5;fmt:R;len:32;;"
90
- "Description;code:306;type:text;len:128;;"
91
- "Root;code:307;rq;type:line;len:64;;"
92
- "AltRoots;code:308;type:llist;len:64;;"
93
- "Options;code:309;type:line;len:64;val:"
94
- "noallwrite/allwrite,noclobber/clobber,nocompress/compress,"
95
- "unlocked/locked,nomodtime/modtime,normdir/rmdir,"
96
- "noaltsync/altsync;;"
97
- "SubmitOptions;code:313;type:select;fmt:L;len:25;val:"
98
- "submitunchanged/submitunchanged+reopen/revertunchanged/"
99
- "revertunchanged+reopen/leaveunchanged/leaveunchanged+reopen;;"
100
- "LineEnd;code:310;type:select;fmt:L;len:12;val:"
101
- "local/unix/mac/win/share;;"
102
- "Stream;code:314;type:line;len:64;;"
103
- "StreamAtChange;code:316;type:line;len:64;;"
104
- "ServerID;code:315;type:line;ro;len:64;;"
105
- "Type;code:318;type:select;len:10;val:"
106
- "writeable/readonly/graph/partitioned;;"
107
- "Backup;code:319;type:select;len:10;val:enable/disable;;"
108
- "View;code:311;type:wlist;words:2;len:64;;"
109
- "ChangeView;code:317;type:llist;len:64;;"
84
+ "client",
85
+ "Client;code:301;rq;ro;seq:1;len:32;;"
86
+ "Update;code:302;type:date;ro;seq:2;fmt:L;len:20;;"
87
+ "Access;code:303;type:date;ro;seq:4;fmt:L;len:20;;"
88
+ "Owner;code:304;seq:3;fmt:R;len:32;;"
89
+ "Host;code:305;seq:5;fmt:R;len:32;;"
90
+ "Description;code:306;type:text;len:128;;"
91
+ "Root;code:307;rq;type:line;len:64;;"
92
+ "AltRoots;code:308;type:llist;len:64;;"
93
+ "Options;code:309;type:line;len:64;val:"
94
+ "noallwrite/allwrite,noclobber/clobber,nocompress/compress,"
95
+ "unlocked/locked,nomodtime/modtime,normdir/rmdir,"
96
+ "noaltsync/altsync;;"
97
+ "SubmitOptions;code:313;type:select;fmt:L;len:25;val:"
98
+ "submitunchanged/submitunchanged+reopen/revertunchanged/"
99
+ "revertunchanged+reopen/leaveunchanged/leaveunchanged+reopen;;"
100
+ "LineEnd;code:310;type:select;fmt:L;len:12;val:"
101
+ "local/unix/mac/win/share;;"
102
+ "Stream;code:314;type:line;len:64;;"
103
+ "StreamAtChange;code:316;type:line;len:64;;"
104
+ "ServerID;code:315;type:line;ro;len:64;;"
105
+ "Type;code:318;type:select;len:10;val:"
106
+ "writeable/readonly/graph/partitioned/partitioned-jnl;;"
107
+ "Backup;code:319;type:select;len:10;val:enable/disable;;"
108
+ "View;code:311;fmt:C;type:wlist;words:2;len:64;;"
109
+ "ChangeView;code:317;type:llist;len:64;;"
110
110
  },
111
111
  {
112
- "depot",
113
- "Depot;code:251;rq;ro;len:32;;"
114
- "Owner;code:252;len:32;;"
115
- "Date;code:253;type:date;ro;len:20;;"
116
- "Description;code:254;type:text;len:128;;"
117
- "Type;code:255;rq;len:10;;"
118
- "Address;code:256;len:64;;"
119
- "Suffix;code:258;len:64;;"
120
- "StreamDepth;code:260;len:64;;"
121
- "Map;code:257;rq;len:64;;"
122
- "SpecMap;code:259;type:wlist;len:64;;"
112
+ "depot",
113
+ "Depot;code:251;rq;ro;len:32;;"
114
+ "Owner;code:252;len:32;;"
115
+ "Date;code:253;type:date;ro;len:20;;"
116
+ "Description;code:254;type:text;len:128;;"
117
+ "Type;code:255;rq;len:10;;"
118
+ "Address;code:256;len:64;;"
119
+ "Suffix;code:258;len:64;;"
120
+ "StreamDepth;code:260;len:64;;"
121
+ "Map;code:257;rq;len:64;;"
122
+ "SpecMap;code:259;type:wlist;len:64;;"
123
123
  },
124
124
  {
125
- "group",
126
- "Group;code:401;rq;ro;len:32;;"
127
- "Description;code:NNN;type:text;fmt:L:len:128;;"
128
- "MaxResults;code:402;type:word;len:12;;"
129
- "MaxScanRows;code:403;type:word;len:12;;"
130
- "MaxLockTime;code:407;type:word;len:12;;"
131
- "MaxOpenFiles;code:413;type:word;len:12;;"
132
- "MaxMemory;code:NNN;type:word;len:12;;"
133
- "Timeout;code:406;type:word;len:12;;"
134
- "PasswordTimeout;code:409;type:word;len:12;;"
135
- "LdapConfig;code:410;type:line;len:128;;"
136
- "LdapSearchQuery;code:411;type:line;len:128;;"
137
- "LdapUserAttribute;code:412;type:line;len:128;;"
138
- "LdapUserDNAttribute;code:414;type:line;len:128;;"
139
- "Subgroups;code:404;type:wlist;len:32;opt:default;;"
140
- "Owners;code:408;type:wlist;len:32;opt:default;;"
141
- "Users;code:405;type:wlist;len:32;opt:default;;"
125
+ "group",
126
+ "Group;code:401;rq;ro;len:32;;"
127
+ "Description;code:NNN;type:text;fmt:L:len:128;;"
128
+ "MaxResults;code:402;type:word;len:12;;"
129
+ "MaxScanRows;code:403;type:word;len:12;;"
130
+ "MaxLockTime;code:407;type:word;len:12;;"
131
+ "MaxOpenFiles;code:413;type:word;len:12;;"
132
+ "MaxMemory;code:NNN;type:word;len:12;;"
133
+ "Timeout;code:406;type:word;len:12;;"
134
+ "PasswordTimeout;code:409;type:word;len:12;;"
135
+ "LdapConfig;code:410;type:line;len:128;;"
136
+ "LdapSearchQuery;code:411;type:line;len:128;;"
137
+ "LdapUserAttribute;code:412;type:line;len:128;;"
138
+ "LdapUserDNAttribute;code:414;type:line;len:128;;"
139
+ "Subgroups;code:404;type:wlist;len:32;opt:default;;"
140
+ "Owners;code:408;type:wlist;len:32;opt:default;;"
141
+ "Users;code:405;type:wlist;len:32;opt:default;;"
142
142
  },
143
143
  {
144
- "job",
145
- "Job;code:101;rq;len:32;;"
146
- "Status;code:102;type:select;rq;len:10;"
147
- "pre:open;val:open/suspended/closed;;"
148
- "User;code:103;rq;len:32;pre:$user;;"
149
- "Date;code:104;type:date;ro;len:20;pre:$now;;"
150
- "Description;code:105;type:text;rq;pre:$blank;;"
144
+ "job",
145
+ "Job;code:101;rq;len:32;;"
146
+ "Status;code:102;type:select;rq;len:10;"
147
+ "pre:open;val:open/suspended/closed;;"
148
+ "User;code:103;rq;len:32;pre:$user;;"
149
+ "Date;code:104;type:date;ro;len:20;pre:$now;;"
150
+ "Description;code:105;type:text;rq;pre:$blank;;"
151
151
  },
152
152
  {
153
- "label",
154
- "Label;code:301;rq;ro;fmt:L;len:32;;"
155
- "Update;code:302;type:date;ro;fmt:L;len:20;;"
156
- "Access;code:303;type:date;ro;fmt:L;len:20;;"
157
- "Owner;code:304;fmt:R;len:32;;"
158
- "Description;code:306;type:text;len:128;;"
159
- "Options;code:309;type:line;len:64;val:"
160
- "unlocked/locked,noautoreload/autoreload;;"
161
- "Revision;code:312;type:word;words:1;len:64;;"
162
- "ServerID;code:315;type:line;ro;len:64;;"
163
- "View;code:311;type:wlist;len:64;;"
153
+ "label",
154
+ "Label;code:301;rq;ro;fmt:L;len:32;;"
155
+ "Update;code:302;type:date;ro;fmt:L;len:20;;"
156
+ "Access;code:303;type:date;ro;fmt:L;len:20;;"
157
+ "Owner;code:304;fmt:R;len:32;;"
158
+ "Description;code:306;type:text;len:128;;"
159
+ "Options;code:309;type:line;len:64;val:"
160
+ "unlocked/locked,noautoreload/autoreload;;"
161
+ "Revision;code:312;type:word;words:1;len:64;;"
162
+ "ServerID;code:315;type:line;ro;len:64;;"
163
+ "View;code:311;fmt:C;type:wlist;len:64;;"
164
164
  },
165
165
  {
166
- "ldap",
167
- "Name;code:801;rq;len:32;;"
168
- "Host;code:802;rq;type:word;words:1;len:128;;"
169
- "Port;code:803;rq;type:word;words:1;len:5;;"
170
- "Encryption;code:804;rq;len:10;val:"
171
- "none/ssl/tls;;"
172
- "BindMethod;code:805;rq;len:10;val:"
173
- "simple/search/sasl;;"
174
- "Options;code:816;type:line;len:64;val:"
175
- "nodowncase/downcase,nogetattrs/getattrs,"
176
- "norealminusername/realminusername;;"
177
- "SimplePattern;code:806;type:line;len:128;;"
178
- "SearchBaseDN;code:807;type:line;len:128;;"
179
- "SearchFilter;code:808;type:line;len:128;;"
180
- "SearchScope;code:809;len:10;val:"
181
- "baseonly/children/subtree;;"
182
- "SearchBindDN;code:810;type:line;len:128;;"
183
- "SearchPasswd;code:811;type:line;len:128;;"
184
- "SaslRealm;code:812;type:word;words:1;len:128;;"
185
- "GroupBaseDN;code:813;type:line;len:128;;"
186
- "GroupSearchFilter;code:814;type:line;len:128;;"
187
- "GroupSearchScope;code:815;len:10;val:"
188
- "baseonly/children/subtree;;"
189
- "AttributeUid;code:817;type:word;len:128;;"
190
- "AttributeName;code:818;type:line;len:128;;"
191
- "AttributeEmail;code:819;type:word;len:128;;"
166
+ "ldap",
167
+ "Name;code:801;rq;len:32;;"
168
+ "Host;code:802;rq;type:word;words:1;len:128;;"
169
+ "Port;code:803;rq;type:word;words:1;len:5;;"
170
+ "Encryption;code:804;rq;len:10;val:"
171
+ "none/ssl/tls;;"
172
+ "BindMethod;code:805;rq;len:10;val:"
173
+ "simple/search/sasl;;"
174
+ "Options;code:816;type:line;len:64;val:"
175
+ "nodowncase/downcase,nogetattrs/getattrs,"
176
+ "norealminusername/realminusername;;"
177
+ "SimplePattern;code:806;type:line;len:128;;"
178
+ "SearchBaseDN;code:807;type:line;len:128;;"
179
+ "SearchFilter;code:808;type:line;len:128;;"
180
+ "SearchScope;code:809;len:10;val:"
181
+ "baseonly/children/subtree;;"
182
+ "SearchBindDN;code:810;type:line;len:128;;"
183
+ "SearchPasswd;code:811;type:line;len:128;;"
184
+ "SaslRealm;code:812;type:word;words:1;len:128;;"
185
+ "GroupBaseDN;code:813;type:line;len:128;;"
186
+ "GroupSearchFilter;code:814;type:line;len:128;;"
187
+ "GroupSearchScope;code:815;len:10;val:"
188
+ "baseonly/children/subtree;;"
189
+ "AttributeUid;code:817;type:word;len:128;;"
190
+ "AttributeName;code:818;type:line;len:128;;"
191
+ "AttributeEmail;code:819;type:word;len:128;;"
192
192
  },
193
193
  {
194
- "license",
195
- "License;code:451;len:32;;"
196
- "License-Expires;code:452;len:10;;"
197
- "Support-Expires;code:453;len:10;;"
198
- "Customer;code:454;type:line;len:128;;"
199
- "Application;code:455;len:32;;"
200
- "IPaddress;code:456;len:24;;"
201
- "IPservice;code:461;type:wlist;len:24;;"
202
- "Platform;code:457;len:32;;"
203
- "Clients;code:458;len:8;;"
204
- "Users;code:459;len:8;;"
205
- "Files;code:460;len:8;;"
206
- "Repos;code:462;len:8;;"
207
- "ExtraCapabilities;code:463;type:llist;len:512;;"
208
- },
194
+ "license",
195
+ "License;code:451;len:32;;"
196
+ "License-Expires;code:452;len:10;;"
197
+ "Support-Expires;code:453;len:10;;"
198
+ "Customer;code:454;type:line;len:128;;"
199
+ "Application;code:455;len:32;;"
200
+ "IPaddress;code:456;len:24;;"
201
+ "IPservice;code:461;type:wlist;len:24;;"
202
+ "Platform;code:457;len:32;;"
203
+ "Clients;code:458;len:8;;"
204
+ "Users;code:459;len:8;;"
205
+ "Files;code:460;len:8;;"
206
+ "Repos;code:462;len:8;;"
207
+ "ExtraCapabilities;code:463;type:llist;len:512;;"
208
+ },
209
209
  {
210
- "protect",
211
- "SubPath;code:502;ro;len:64;;"
212
- "Update;code:503;type:date;ro;fmt:L;len:20;;"
213
- "Protections;code:501;fmt:C;type:wlist;words:5;opt:default;z;len:64;;"
210
+ "protect",
211
+ "SubPath;code:502;ro;len:64;;"
212
+ "Update;code:503;type:date;ro;fmt:L;len:20;;"
213
+ "Protections;code:501;fmt:C;type:wlist;words:5;opt:default;z;len:64;;"
214
214
  },
215
215
  {
216
- "remote",
217
- "RemoteID;code:851;rq;ro;fmt:L;len:32;;"
218
- "Address;code:852;rq;type:line;len:32;;"
219
- "Owner;code:853;fmt:R;len:32;;"
220
- "RemoteUser;code:861;fmt:R;len:32;;"
221
- "Options;code:854;type:line;len:32;val:"
222
- "unlocked/locked,nocompress/compress,copyrcs/nocopyrcs;;"
223
- "Update;code:855;type:date;ro;fmt:L;len:20;;"
224
- "Access;code:856;type:date;ro;fmt:L;len:20;;"
225
- "Description;code:857;type:text;len:128;;"
226
- "LastFetch;code:858;fmt:L;len:10;;"
227
- "LastPush;code:859;fmt:L;len:10;;"
228
- "DepotMap;code:860;type:wlist;words:2;len:64;;"
229
- "ArchiveLimits;code:862;type:wlist;words:2;len:64;;"
216
+ "remote",
217
+ "RemoteID;code:851;rq;ro;fmt:L;len:32;;"
218
+ "Address;code:852;rq;type:line;len:32;;"
219
+ "Owner;code:853;fmt:R;len:32;;"
220
+ "RemoteUser;code:861;fmt:R;len:32;;"
221
+ "Options;code:854;type:line;len:32;val:"
222
+ "unlocked/locked,nocompress/compress,copyrcs/nocopyrcs;;"
223
+ "Update;code:855;type:date;ro;fmt:L;len:20;;"
224
+ "Access;code:856;type:date;ro;fmt:L;len:20;;"
225
+ "Description;code:857;type:text;len:128;;"
226
+ "LastFetch;code:858;fmt:L;len:10;;"
227
+ "LastPush;code:859;fmt:L;len:10;;"
228
+ "DepotMap;code:860;type:wlist;words:2;len:64;;"
229
+ "ArchiveLimits;code:862;type:wlist;words:2;len:64;;"
230
230
  },
231
231
  {
232
- "repo",
233
- "Repo;code:1001;rq;ro;fmt:L;len:128;;"
234
- "Owner;code:1002;fmt:R;len:32;;"
235
- "Created;code:1003;type:date;ro;fmt:L;len:20;;"
236
- "Pushed;code:1004;type:date;ro;fmt:R;len:20;;"
237
- "ForkedFrom;code:1005;ro;fmt:L;len:128;;"
238
- "Description;code:1006;type:text;len:128;;"
239
- "DefaultBranch;code:1007;fmt:L;len:32;;"
240
- "MirroredFrom;code:1008;fmt:R;len:32;;"
241
- "Options;code:1009;type:select;len:10;val:lfs/nolfs;;"
242
- "GconnMirrorServerId;code:1010;fmt:L;len:32;;"
243
- "GconnMirrorSecretToken;code:NNN;len:36;;"
244
- "GconnMirrorStatus;code:NNN;len:8;;"
245
- "GconnMirrorExcludedBranches;code:NNN;len:256;;"
246
- "GconnMirrorHideFetchUrl;code:NNN;len:5;;"
232
+ "repo",
233
+ "Repo;code:1001;rq;ro;fmt:L;len:128;;"
234
+ "Owner;code:1002;fmt:R;len:32;;"
235
+ "Created;code:1003;type:date;ro;fmt:L;len:20;;"
236
+ "Pushed;code:1004;type:date;ro;fmt:R;len:20;;"
237
+ "ForkedFrom;code:1005;ro;fmt:L;len:128;;"
238
+ "Description;code:1006;type:text;len:128;;"
239
+ "DefaultBranch;code:1007;fmt:L;len:32;;"
240
+ "MirroredFrom;code:1008;fmt:R;len:32;;"
241
+ "Options;code:1009;type:select;len:10;val:lfs/nolfs;;"
242
+ "GconnMirrorServerId;code:1010;fmt:L;len:32;;"
243
+ "GconnMirrorSecretToken;code:NNN;len:36;;"
244
+ "GconnMirrorStatus;code:NNN;len:8;;"
245
+ "GconnMirrorExcludedBranches;code:NNN;len:256;;"
246
+ "GconnMirrorHideFetchUrl;code:NNN;len:5;;"
247
247
  },
248
248
  {
249
- "server",
250
- "ServerID;code:751;rq;ro;len:32;;"
251
- "Type;code:752;rq;len:32;;"
252
- "Name;code:753;type:line;len:32;;"
253
- "Address;code:754;type:line;len:32;;"
254
- "ExternalAddress;code:755;type:line;len:32;;"
255
- "Services;code:756;rq;len:128;;"
256
- "Options;code:764;type:line;len:32;val:"
257
- "nomandatory/mandatory;;"
258
- "ReplicatingFrom;code:765;type:line;len:32;;"
259
- "Description;code:757;type:text;len:128;;"
260
- "User;code:761;type:line;len:64;;"
261
- "AllowedAddresses;code:763;type:wlist;len:64;;"
262
- "UpdateCachedRepos;code:766;type:wlist;len:64;;"
263
- "ClientDataFilter;code:758;type:wlist;len:64;;"
264
- "RevisionDataFilter;code:759;type:wlist;len:64;;"
265
- "ArchiveDataFilter;code:760;type:wlist;len:64;;"
266
- "DistributedConfig;code:762;type:text;len:128;;"
249
+ "server",
250
+ "ServerID;code:751;rq;ro;len:32;;"
251
+ "Type;code:752;rq;len:32;;"
252
+ "Name;code:753;type:line;len:32;;"
253
+ "Address;code:754;type:line;len:32;;"
254
+ "ExternalAddress;code:755;type:line;len:32;;"
255
+ "Services;code:756;rq;len:128;;"
256
+ "Options;code:764;type:line;len:32;val:"
257
+ "nomandatory/mandatory;;"
258
+ "ReplicatingFrom;code:765;type:line;len:32;;"
259
+ "Description;code:757;type:text;len:128;;"
260
+ "User;code:761;type:line;len:64;;"
261
+ "AllowedAddresses;code:763;type:wlist;len:64;;"
262
+ "UpdateCachedRepos;code:766;type:wlist;len:64;;"
263
+ "ClientDataFilter;code:758;type:wlist;len:64;;"
264
+ "RevisionDataFilter;code:759;type:wlist;len:64;;"
265
+ "ArchiveDataFilter;code:760;type:wlist;len:64;;"
266
+ "DistributedConfig;code:762;type:text;len:128;;"
267
267
  },
268
268
  {
269
- "spec",
270
- "Fields;code:351;type:wlist;words:5;rq;;"
271
- "Words;code:352;type:wlist;words:2;;"
272
- "Formats;code:353;type:wlist;words:3;;"
273
- "Values;code:354;type:wlist;words:2;;"
274
- "Presets;code:355;type:wlist;words:2;;"
275
- "Openable;code:362;type:wlist;words:2;;"
276
- "Maxwords;code:361;type:wlist;words:2;;"
277
- "Comments;code:356;type:text;;"
269
+ "spec",
270
+ "Fields;code:351;type:wlist;words:5;rq;;"
271
+ "Words;code:352;type:wlist;words:2;;"
272
+ "Formats;code:353;type:wlist;words:3;;"
273
+ "Values;code:354;type:wlist;words:2;;"
274
+ "Presets;code:355;type:wlist;words:2;;"
275
+ "Openable;code:362;type:wlist;words:2;;"
276
+ "Maxwords;code:361;type:wlist;words:2;;"
277
+ "Comments;code:356;type:text;;"
278
278
  },
279
279
  {
280
- "stream",
281
- "Stream;code:701;rq;ro;len:64;;"
282
- "Update;code:705;type:date;ro;fmt:L;len:20;;"
283
- "Access;code:706;type:date;ro;fmt:L;len:20;;"
284
- "Owner;code:704;len:32;open:isolate;;"
285
- "Name;code:703;rq;type:line;len:32;open:isolate;;"
286
- "Parent;code:702;rq;len:64;open:isolate;;"
287
- "Type;code:708;rq;type:select;len:32;open:isolate;"
288
- "val:mainline/virtual/development/release/task;;"
289
- "Description;code:709;type:text;len:128;open:isolate;;"
290
- "Options;code:707;type:line;len:64;val:"
291
- "allsubmit/ownersubmit,unlocked/locked,"
292
- "toparent/notoparent,fromparent/nofromparent,"
293
- "mergedown/mergeany;open:isolate;;"
294
- "ParentView;code:NNN;rq;open:isolate;"
295
- "pre:inherit;val:noinherit/inherit;;"
296
- "Components;code:NNN;type:wlist;words:3;maxwords:4;len:64;open:propagate;fmt:C;;"
297
- "Paths;code:710;rq;type:wlist;words:2;maxwords:3;len:64;open:propagate;fmt:C;;"
298
- "Remapped;code:711;type:wlist;words:2;len:64;open:propagate;fmt:C;;"
299
- "Ignored;code:712;type:wlist;words:1;len:64;open:propagate;fmt:C;;"
300
- "View;code:713;type:wlist;words:2;len:64;;"
301
- "ChangeView;code:714;type:llist;ro;len:64;;"
280
+ "stream",
281
+ "Stream;code:701;rq;ro;len:64;;"
282
+ "Update;code:705;type:date;ro;fmt:L;len:20;;"
283
+ "Access;code:706;type:date;ro;fmt:L;len:20;;"
284
+ "Owner;code:704;len:32;open:isolate;;"
285
+ "Name;code:703;rq;type:line;len:32;open:isolate;;"
286
+ "Parent;code:702;rq;len:64;open:isolate;;"
287
+ "Type;code:708;rq;type:select;len:32;open:isolate;"
288
+ "val:mainline/virtual/development/release/task/sparsedev/sparserel;;"
289
+ "Description;code:709;type:text;len:128;open:isolate;;"
290
+ "Options;code:707;type:line;len:64;val:"
291
+ "allsubmit/ownersubmit,unlocked/locked,"
292
+ "toparent/notoparent,fromparent/nofromparent,"
293
+ "mergedown/mergeany;open:isolate;;"
294
+ "ParentView;code:NNN;rq;open:isolate;"
295
+ "pre:inherit;val:noinherit/inherit;;"
296
+ "Components;code:NNN;type:wlist;words:3;maxwords:4;len:64;open:propagate;fmt:C;;"
297
+ "Paths;code:710;rq;type:wlist;words:2;maxwords:3;len:64;open:propagate;fmt:C;;"
298
+ "Remapped;code:711;type:wlist;words:2;len:64;open:propagate;fmt:C;;"
299
+ "Ignored;code:712;type:wlist;words:1;len:64;open:propagate;fmt:C;;"
300
+ "View;code:713;type:wlist;words:2;len:64;;"
301
+ "ChangeView;code:714;type:llist;ro;len:64;;"
302
302
  },
303
303
  {
304
- "triggers",
305
- "Triggers;code:551;type:wlist;words:4;len:64;opt:default;z;;"
304
+ "triggers",
305
+ "Triggers;code:551;type:wlist;words:4;len:64;opt:default;z;;"
306
306
  },
307
307
  {
308
- "typemap",
309
- "TypeMap;code:601;type:wlist;words:2;len:64;opt:default;z;;"
308
+ "typemap",
309
+ "TypeMap;code:601;fmt:C;type:wlist;words:2;len:64;opt:default;z;;"
310
310
  },
311
311
  {
312
- "user",
313
- "User;code:651;rq;ro;seq:1;len:32;;"
314
- "Type;code:659;ro;fmt:R;len:10;;"
315
- "Email;code:652;fmt:R;rq;seq:3;len:32;;"
316
- "Update;code:653;fmt:L;type:date;ro;seq:2;len:20;;"
317
- "Access;code:654;fmt:L;type:date;ro;len:20;;"
318
- "FullName;code:655;fmt:R;type:line;rq;len:32;;"
319
- "JobView;code:656;type:line;len:64;;"
320
- "Password;code:657;len:32;;"
321
- "AuthMethod;code:662;fmt:L;len:10;val:"
322
- "perforce/perforce+2fa/ldap/ldap+2fa;;"
323
- "Reviews;code:658;type:wlist;len:64;;"
312
+ "user",
313
+ "User;code:651;rq;ro;seq:1;len:32;;"
314
+ "Type;code:659;ro;fmt:R;len:10;;"
315
+ "Email;code:652;fmt:R;rq;seq:3;len:32;;"
316
+ "Update;code:653;fmt:L;type:date;ro;seq:2;len:20;;"
317
+ "Access;code:654;fmt:L;type:date;ro;len:20;;"
318
+ "FullName;code:655;fmt:R;type:line;rq;len:32;;"
319
+ "JobView;code:656;type:line;len:64;;"
320
+ "Password;code:657;len:32;;"
321
+ "AuthMethod;code:662;fmt:L;len:10;val:"
322
+ "perforce/perforce+2fa/ldap/ldap+2fa;;"
323
+ "Reviews;code:658;type:wlist;len:64;;"
324
324
  },
325
- { 0, 0 }
325
+ { 0, 0}
326
326
  };
327
327
 
328
328
  SpecMgr::SpecMgr()
data/lib/3.0/P4.so CHANGED
Binary file
data/lib/3.1/P4.so CHANGED
Binary file
data/lib/3.2/P4.so CHANGED
Binary file
data/lib/P4/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class P4
2
- Version = VERSION = '2023.2.2548030'
2
+ Version = VERSION = '2024.1.2660526'
3
3
  end
data/lib/P4.rb CHANGED
@@ -363,8 +363,6 @@ class P4
363
363
  next unless( value.kind_of?( Array ) )
364
364
  next unless value[ n ]
365
365
  next if( value[ n ].kind_of?( Array ) )
366
- # If the field is the revision time, convert it to a Time object
367
- value[ n ] = Time.at( value[ n ].to_i ) if key == "time"
368
366
  r.set_attribute( key, value[ n ] )
369
367
  end
370
368
 
@@ -564,8 +562,10 @@ class P4
564
562
 
565
563
  def set_attribute( name, value )
566
564
  name = name.downcase
567
- if( value.to_s =~ /^\d+$/ )
565
+ if ["rev", "change", "filesize"].include?(name)
568
566
  @attributes[ name ] = value.to_i
567
+ elsif name == "time" # If the field is the revision time, convert it to a Time object
568
+ @attributes[ name ] = Time.at( value.to_i )
569
569
  else
570
570
  @attributes[ name ] = value
571
571
  end
data/lib/P4.so CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: p4ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2023.2.2548030
4
+ version: 2024.1.2660526
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Perforce Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby extensions to the C++ Perforce API.
14
14
  email: support@perforce.com
@@ -43,7 +43,6 @@ files:
43
43
  - ext/P4/specmgr.cpp
44
44
  - ext/P4/specmgr.h
45
45
  - ext/P4/undefdups.h
46
- - lib/2.7/P4.so
47
46
  - lib/3.0/P4.so
48
47
  - lib/3.1/P4.so
49
48
  - lib/3.2/P4.so
data/lib/2.7/P4.so DELETED
Binary file