p4ruby 2023.1.2544327-x86-mingw32 → 2024.1.2660526-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +13 -295
- data/ext/P4/extconf.rb +9 -2
- data/ext/P4/specmgr.cpp +236 -235
- data/lib/3.0/P4.so +0 -0
- data/lib/3.1/P4.so +0 -0
- data/lib/3.2/P4.so +0 -0
- data/lib/P4/version.rb +1 -1
- data/lib/P4.rb +3 -3
- data/lib/P4.so +0 -0
- metadata +2 -3
- data/lib/2.7/P4.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 802e242e21a1e136533b09887df893efa7f4d60dffe03ffa953869c3e9e768ac
|
4
|
+
data.tar.gz: 755f0d0d731befc789b364b5aeb5bfc62a47fe7caf6494f481e3ce6fbe3608ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb3409175f7d113680a3141d5e6e231221c659541dd300a6b116b4b2005344201f65ddcd85770c2b515415df6f144c89139a2c348caad9a603c4be5ac1c47ad3
|
7
|
+
data.tar.gz: 6df2a62fe66691e2668b44b784646da782c49484f82990111bb3878b5eb001b30fcccddefa3b5199f495b8774ef1ad766ff58e99dacec4888737ff15f68a2417
|
data/LICENSE.txt
CHANGED
@@ -32,7 +32,7 @@ this program.
|
|
32
32
|
|
33
33
|
P4/P4API License
|
34
34
|
-----------------------
|
35
|
-
Copyright (c) 1995-
|
35
|
+
Copyright (c) 1995-2024, Perforce Software, Inc.
|
36
36
|
All rights reserved.
|
37
37
|
|
38
38
|
Redistribution and use in source and binary forms, with or without
|
@@ -86,7 +86,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
86
86
|
control with that entity. For the purposes of this definition,
|
87
87
|
"control" means (i) the power, direct or indirect, to cause the
|
88
88
|
direction or management of such entity, whether by contract or
|
89
|
-
otherwise, or (ii) ownership of fifty percent (50
|
89
|
+
otherwise, or (ii) ownership of fifty percent (50) or more of the
|
90
90
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
91
91
|
|
92
92
|
"You" (or "Your") shall mean an individual or Legal Entity
|
@@ -242,304 +242,22 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
242
242
|
incurred by, or claims asserted against, such Contributor by reason
|
243
243
|
of your accepting any such warranty or additional liability.
|
244
244
|
|
245
|
-
END OF TERMS AND CONDITIONS
|
246
245
|
|
247
|
-
|
248
|
-
sol2 License
|
249
|
-
-----------------------
|
250
|
-
|
251
|
-
Copyright (c) 2013-2018 Rapptz, ThePhD, and contributors
|
252
|
-
|
253
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
254
|
-
a copy of this software and associated documentation files (the
|
255
|
-
"Software"), to deal in the Software without restriction, including
|
256
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
257
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
258
|
-
permit persons to whom the Software is furnished to do so, subject to
|
259
|
-
the following conditions:
|
260
|
-
|
261
|
-
The above copyright notice and this permission notice shall be
|
262
|
-
included in all copies or substantial portions of the Software.
|
263
|
-
|
264
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
265
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
266
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
267
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
268
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
269
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
270
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
271
|
-
|
272
|
-
|
273
|
-
Lua License
|
274
|
-
-----------------------
|
275
|
-
|
276
|
-
Copyright (c) 1994-2018 Lua.org, PUC-Rio.
|
277
|
-
|
278
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
279
|
-
a copy of this software and associated documentation files (the
|
280
|
-
"Software"), to deal in the Software without restriction, including
|
281
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
282
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
283
|
-
permit persons to whom the Software is furnished to do so, subject to
|
284
|
-
the following conditions:
|
285
|
-
|
286
|
-
The above copyright notice and this permission notice shall be
|
287
|
-
included in all copies or substantial portions of the Software.
|
288
|
-
|
289
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
290
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
291
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
292
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
293
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
294
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
295
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
296
|
-
|
297
|
-
|
298
|
-
cURL License
|
299
|
-
-----------------------
|
300
|
-
|
301
|
-
This code uses a permissive license. Please use the following
|
302
|
-
attribution in the documentation of the open source code.
|
303
|
-
|
304
|
-
Copyright (c) 1996 - 2018, Daniel Stenberg, daniel@haxx.se, and many
|
305
|
-
contributors, see the THANKS file.
|
306
|
-
|
307
|
-
All rights reserved.
|
308
|
-
|
309
|
-
Permission to use, copy, modify, and distribute this software for any
|
310
|
-
purpose with or without fee is hereby granted, provided that the above
|
311
|
-
copyright notice and this permission notice appear in all copies.
|
312
|
-
|
313
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
314
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
315
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
316
|
-
THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
317
|
-
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
318
|
-
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
319
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
320
|
-
SOFTWARE.
|
321
|
-
|
322
|
-
Except as contained in this notice, the name of a copyright holder shall
|
323
|
-
not be used in advertising or otherwise to promote the sale, use or
|
324
|
-
other dealings in this Software without prior written authorization of
|
325
|
-
the copyright holder.
|
326
|
-
|
327
|
-
|
328
|
-
Lua-cURLv3 License
|
246
|
+
CDC File Transfer
|
329
247
|
-----------------------
|
330
248
|
|
331
|
-
Copyright
|
249
|
+
Copyright 2022 Lutz Justen
|
332
250
|
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
337
|
-
distribute, sublicense, and/or sell copies of the Software, and to permit
|
338
|
-
persons to whom the Software is furnished to do so, subject to the
|
339
|
-
following conditions:
|
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
|
340
254
|
|
341
|
-
|
342
|
-
in all copies or substantial portions of the Software.
|
343
|
-
|
344
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
345
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
346
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
347
|
-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
348
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
349
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
350
|
-
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
351
|
-
|
352
|
-
|
353
|
-
LuaSQLite3 License
|
354
|
-
-----------------------
|
355
|
-
|
356
|
-
Copyright (C) 2002-2016 Tiago Dionizio, Doug Currie
|
357
|
-
All rights reserved.
|
358
|
-
Author : Tiago Dionizio <tiago.dionizio@ist.utl.pt>
|
359
|
-
Author : Doug Currie <doug.currie@alum.mit.edu>
|
360
|
-
Library : lsqlite3 - an SQLite 3 database binding for Lua 5
|
361
|
-
|
362
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
363
|
-
a copy of this software and associated documentation files (the
|
364
|
-
"Software"), to deal in the Software without restriction, including
|
365
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
366
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
367
|
-
permit persons to whom the Software is furnished to do so, subject to
|
368
|
-
the following conditions:
|
369
|
-
|
370
|
-
The above copyright notice and this permission notice shall be
|
371
|
-
included in all copies or substantial portions of the Software.
|
372
|
-
|
373
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
374
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
375
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
376
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
377
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
378
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
379
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
380
|
-
|
381
|
-
|
382
|
-
lua-cjson License
|
383
|
-
-----------------------
|
384
|
-
|
385
|
-
Copyright (c) 2010-2012 Mark Pulford <mark@kyne.com.au>
|
386
|
-
|
387
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
388
|
-
a copy of this software and associated documentation files (the
|
389
|
-
"Software"), to deal in the Software without restriction, including
|
390
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
391
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
392
|
-
permit persons to whom the Software is furnished to do so, subject to
|
393
|
-
the following conditions:
|
394
|
-
|
395
|
-
The above copyright notice and this permission notice shall be
|
396
|
-
included in all copies or substantial portions of the Software.
|
397
|
-
|
398
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
399
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
400
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
401
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
402
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
403
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
404
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
405
|
-
|
406
|
-
|
407
|
-
libc++ and libc++abi License
|
408
|
-
-----------------------
|
409
|
-
|
410
|
-
These libraries are dual-licensed:
|
411
|
-
|
412
|
-
The University of Illinois/NCSA Open Source License (NCSA)
|
413
|
-
Developed under the LLVM Project
|
414
|
-
|
415
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
416
|
-
copy of this software and associated documentation files (the
|
417
|
-
"Software"), to deal with the Software without restriction, including
|
418
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
419
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
420
|
-
permit persons to whom the Software is furnished to do so, subject to the
|
421
|
-
following conditions:
|
422
|
-
|
423
|
-
Redistributions of source code must retain the above copyright notice,
|
424
|
-
this list of conditions and the following disclaimers.
|
425
|
-
Redistributions in binary form must reproduce the above copyright
|
426
|
-
notice, this list of conditions and the following disclaimers in the
|
427
|
-
documentation and/or other materials provided with the distribution.
|
428
|
-
Neither the names of <Name of Development Group, Name of Institution>,
|
429
|
-
nor the names of its contributors may be used to endorse or promote
|
430
|
-
products derived from this Software without specific prior written
|
431
|
-
permission.
|
432
|
-
|
433
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
434
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
435
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
436
|
-
IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
437
|
-
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
438
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
439
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
|
440
|
-
|
441
|
-
MIT
|
442
|
-
Developed under the LLVM Project
|
443
|
-
|
444
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
445
|
-
copy of this software and associated documentation files (the
|
446
|
-
"Software"), to deal in the Software without restriction, including
|
447
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
448
|
-
distribute, sublicense, and/or sell copies of the Software, and to permit
|
449
|
-
persons to whom the Software is furnished to do so, subject to the
|
450
|
-
following conditions:
|
451
|
-
|
452
|
-
The above copyright notice and this permission notice shall be included
|
453
|
-
in all copies or substantial portions of the Software.
|
454
|
-
|
455
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
456
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
457
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
458
|
-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
459
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
460
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
461
|
-
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
462
|
-
|
463
|
-
|
464
|
-
jemalloc
|
465
|
-
-----------------------
|
466
|
-
|
467
|
-
Copyright (C) 2002-present Jason Evans <jasone@canonware.com>.
|
468
|
-
All rights reserved.
|
469
|
-
Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
|
470
|
-
Copyright (C) 2009-present Facebook, Inc. All rights reserved.
|
471
|
-
|
472
|
-
Redistribution and use in source and binary forms, with or without
|
473
|
-
modification, are permitted provided that the following conditions are met:
|
474
|
-
1. Redistributions of source code must retain the above copyright
|
475
|
-
notice(s), this list of conditions and the following disclaimer.
|
476
|
-
2. Redistributions in binary form must reproduce the above copyright
|
477
|
-
notice(s), this list of conditions and the following disclaimer in the
|
478
|
-
documentation and/or other materials provided with the distribution.
|
479
|
-
|
480
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
|
481
|
-
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
482
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
483
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
484
|
-
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
485
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
486
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
487
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
488
|
-
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
489
|
-
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
490
|
-
SUCH DAMAGE.
|
491
|
-
|
492
|
-
|
493
|
-
JSON for Modern C++
|
494
|
-
-----------------------
|
495
|
-
|
496
|
-
Copyright (c) 2013-2018 Niels Lohmann
|
497
|
-
|
498
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
499
|
-
a copy of this software and associated documentation files (the
|
500
|
-
"Software"), to deal in the Software without restriction, including
|
501
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
502
|
-
distribute, sublicense, and/or sell copies of the Software, and to permit
|
503
|
-
persons to whom the Software is furnished to do so, subject to the
|
504
|
-
following conditions:
|
505
|
-
|
506
|
-
The above copyright notice and this permission notice shall be included
|
507
|
-
in all copies or substantial portions of the Software.
|
508
|
-
|
509
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
510
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
511
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
512
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
513
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
|
514
|
-
OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
|
515
|
-
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
516
|
-
|
517
|
-
optional-lite and any-lite
|
518
|
-
Martin Moene
|
519
|
-
-----------------------
|
255
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
520
256
|
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
execute, and transmit the Software, and to prepare derivative works of the
|
527
|
-
Software, and to permit third-parties to whom the Software is furnished to
|
528
|
-
do so, all subject to the following:
|
529
|
-
|
530
|
-
The copyright notices in the Software and this entire statement, including
|
531
|
-
the above license grant, this restriction and the following disclaimer,
|
532
|
-
must be included in all copies of the Software, in whole or in part, and
|
533
|
-
all derivative works of the Software, unless such copies or derivative
|
534
|
-
works are solely in the form of machine-executable object code generated by
|
535
|
-
a source language processor.
|
536
|
-
|
537
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
538
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
539
|
-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
540
|
-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
541
|
-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
542
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
543
|
-
DEALINGS IN THE SOFTWARE.
|
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.
|
544
262
|
|
545
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
|
-
|
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,275 +53,276 @@ struct defaultspec {
|
|
53
53
|
const char *spec;
|
54
54
|
} speclist[] = {
|
55
55
|
{
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
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
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
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
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
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
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
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
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
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
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
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
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
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
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
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
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
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
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
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
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
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
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
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
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
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
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
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
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
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;;"
|
301
302
|
},
|
302
303
|
{
|
303
|
-
|
304
|
-
|
304
|
+
"triggers",
|
305
|
+
"Triggers;code:551;type:wlist;words:4;len:64;opt:default;z;;"
|
305
306
|
},
|
306
307
|
{
|
307
|
-
|
308
|
-
|
308
|
+
"typemap",
|
309
|
+
"TypeMap;code:601;fmt:C;type:wlist;words:2;len:64;opt:default;z;;"
|
309
310
|
},
|
310
311
|
{
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
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;;"
|
323
324
|
},
|
324
|
-
{ 0, 0
|
325
|
+
{ 0, 0}
|
325
326
|
};
|
326
327
|
|
327
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
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
|
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:
|
4
|
+
version: 2024.1.2660526
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Perforce Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
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
|