p4ruby 2017.1.1699426 → 2019.1.1873991
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/P4/extconf.rb +8 -2
- data/ext/P4/specmgr.cpp +89 -28
- data/lib/P4.rb +1 -1
- data/lib/P4/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dc6c6adb6935f0ef33af6ccf75f4d9cc93b37b6cd6425dec8c9450164224ce5a
|
4
|
+
data.tar.gz: 032f6179c0a3a4860a50bbdec0c3a2d114b4853291296daf0f8d1b5a33f6382f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 734d2d4d99d9980830de784d0184b9dbf577578c0e51a4cd53cadc5276fd7d45d763eb8b9b4a48852f489e160f67d1c008ba64c6b878737db53a9dfcbd0fb0ce
|
7
|
+
data.tar.gz: 99cd9fe1f32dc810e7736d95b22b46882366d84a922ae289c6405464ae9bf1edcff99d6cbe406ef4bd5e48f44c8f62564e7902473677b96231b47a5b8fcd385f
|
data/ext/P4/extconf.rb
CHANGED
@@ -9,7 +9,7 @@ require 'rbconfig'
|
|
9
9
|
|
10
10
|
# Set this to the main version directory we look up in ftp.perforce.com for the P4API
|
11
11
|
# This is ignored if you specify the version on the command line.
|
12
|
-
P4API_VERSION_DIR = '
|
12
|
+
P4API_VERSION_DIR = 'r19.1'
|
13
13
|
|
14
14
|
#==============================================================================
|
15
15
|
# Provide platform variables in P4-specific format
|
@@ -214,6 +214,7 @@ def set_platform_libs
|
|
214
214
|
$LDFLAGS += ' -framework CoreFoundation -framework Foundation'
|
215
215
|
end
|
216
216
|
when 'LINUX', 'MINGW32'
|
217
|
+
$LDFLAGS += ' -Wl,--allow-multiple-definition'
|
217
218
|
have_library('supc++')
|
218
219
|
end
|
219
220
|
end
|
@@ -554,6 +555,7 @@ resolve_ssl_dirs
|
|
554
555
|
# If we happen to need SSL on Windows, we also need gdi32
|
555
556
|
if RbConfig::CONFIG['target_os'].downcase =~ /mingw/
|
556
557
|
have_library('gdi32') or raise
|
558
|
+
have_library('ole32') or raise
|
557
559
|
end
|
558
560
|
|
559
561
|
do_ssl = have_library('crypto') and have_library('ssl')
|
@@ -563,6 +565,10 @@ unless do_ssl
|
|
563
565
|
end
|
564
566
|
|
565
567
|
have_library('supp') or raise
|
568
|
+
have_library('p4script_sqlite') or raise
|
569
|
+
have_library('p4script_curl') or raise
|
570
|
+
have_library('p4script') or raise
|
571
|
+
have_library('p4script_c') or raise
|
566
572
|
have_library('rpc') or raise
|
567
573
|
have_library('client') or raise
|
568
574
|
|
@@ -577,4 +583,4 @@ create_p4rubyconf_header(version_info, $libs)
|
|
577
583
|
# don't believe we need to rely on actually.
|
578
584
|
create_header
|
579
585
|
|
580
|
-
create_makefile('P4')
|
586
|
+
create_makefile('P4')
|
data/ext/P4/specmgr.cpp
CHANGED
@@ -76,6 +76,7 @@ struct defaultspec {
|
|
76
76
|
"Identity;code:213;type:line;;"
|
77
77
|
"Description;code:206;type:text;rq;;"
|
78
78
|
"Jobs;code:209;type:wlist;words:2;len:32;;"
|
79
|
+
"Stream;code:214;type:line;len:64;;"
|
79
80
|
"Files;code:210;type:llist;len:64;;"
|
80
81
|
},
|
81
82
|
{
|
@@ -92,6 +93,7 @@ struct defaultspec {
|
|
92
93
|
"Description;code:206;type:text;rq;seq:7;;"
|
93
94
|
"JobStatus;code:207;fmt:I;type:select;seq:9;;"
|
94
95
|
"Jobs;code:208;type:wlist;seq:8;len:32;;"
|
96
|
+
"Stream;code:214;type:line;len:64;;"
|
95
97
|
"Files;code:210;type:llist;len:64;;"
|
96
98
|
},
|
97
99
|
{
|
@@ -115,7 +117,8 @@ struct defaultspec {
|
|
115
117
|
"Stream;code:314;type:line;len:64;;"
|
116
118
|
"StreamAtChange;code:316;type:line;len:64;;"
|
117
119
|
"ServerID;code:315;type:line;ro;len:64;;"
|
118
|
-
"Type;code:318;type:select;len:10;val:
|
120
|
+
"Type;code:318;type:select;len:10;val:"
|
121
|
+
"writeable/readonly/graph/partitioned;;"
|
119
122
|
"Backup;code:319;type:select;len:10;val:enable/disable;;"
|
120
123
|
"View;code:311;type:wlist;words:2;len:64;;"
|
121
124
|
"ChangeView;code:317;type:llist;len:64;;"
|
@@ -169,17 +172,53 @@ struct defaultspec {
|
|
169
172
|
"Map;code:257;rq;len:64;;"
|
170
173
|
"SpecMap;code:259;type:wlist;len:64;;"
|
171
174
|
},
|
175
|
+
{
|
176
|
+
"extensionGbl",
|
177
|
+
"ExtName;code:901;type:line;opt:once;len:64;;"
|
178
|
+
"ExtDescription;code:902;type:text;opt:once;len:128;;"
|
179
|
+
"ExtVersion;code:903;type:line;opt:once;len:32;;"
|
180
|
+
"ExtUUID;code:904;type:line;opt:once;len:36;;"
|
181
|
+
"ExtRev;code:905;type:word;opt:once;len:20;;"
|
182
|
+
"ExtMaxScriptTime;code:913;type:word;len:12;;"
|
183
|
+
"ExtMaxScriptMem;code:914;type:word;len:12;;"
|
184
|
+
"ExtAllowedGroups;code:915;type:wlist;len:32;opt:default;;"
|
185
|
+
"ExtEnabled;code:916;type:word;opt:default;len:12;;"
|
186
|
+
"ExtP4USER;code:917;type:word;opt:default;len:12;;"
|
187
|
+
"Name;code:906;type:line;opt:default;len:32;;"
|
188
|
+
"Owner;code:907;type:word;opt:default;len:36;;"
|
189
|
+
"Update;code:908;type:date;opt:always;fmt:L;len:20;;"
|
190
|
+
"Description;code:909;type:text;opt:required;len:128;;"
|
191
|
+
"ExtConfig;code:912;type:text;opt:required;len:256;;"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"extensionIns",
|
195
|
+
"ExtName;code:901;type:line;opt:once;len:64;;"
|
196
|
+
"ExtDescription;code:902;type:text;opt:once;len:128;;"
|
197
|
+
"ExtVersion;code:903;type:line;opt:once;len:32;;"
|
198
|
+
"ExtUUID;code:904;type:line;opt:once;len:36;;"
|
199
|
+
"ExtRev;code:905;type:word;opt:once;len:20;;"
|
200
|
+
"ExtMaxScriptTime;code:913;type:word;len:12;;"
|
201
|
+
"ExtMaxScriptMem;code:914;type:word;len:12;;"
|
202
|
+
"ExtEnabled;code:916;type:word;opt:default;len:12;;"
|
203
|
+
"Name;code:906;type:line;opt:default;len:32;;"
|
204
|
+
"Owner;code:907;type:word;opt:default;len:36;;"
|
205
|
+
"Update;code:908;type:date;opt:always;fmt:L;len:20;;"
|
206
|
+
"Description;code:909;type:text;opt:required;len:128;;"
|
207
|
+
"ExtConfig;code:912;type:text;opt:required;len:256;;"
|
208
|
+
},
|
172
209
|
{
|
173
210
|
"group",
|
174
211
|
"Group;code:401;rq;ro;len:32;;"
|
175
212
|
"MaxResults;code:402;type:word;len:12;;"
|
176
213
|
"MaxScanRows;code:403;type:word;len:12;;"
|
177
214
|
"MaxLockTime;code:407;type:word;len:12;;"
|
215
|
+
"MaxOpenFiles;code:413;type:word;len:12;;"
|
178
216
|
"Timeout;code:406;type:word;len:12;;"
|
179
217
|
"PasswordTimeout;code:409;type:word;len:12;;"
|
180
218
|
"LdapConfig;code:410;type:line;len:128;;"
|
181
219
|
"LdapSearchQuery;code:411;type:line;len:128;;"
|
182
220
|
"LdapUserAttribute;code:412;type:line;len:128;;"
|
221
|
+
"LdapUserDNAttribute;code:414;type:line;len:128;;"
|
183
222
|
"Subgroups;code:404;type:wlist;len:32;opt:default;;"
|
184
223
|
"Owners;code:408;type:wlist;len:32;opt:default;;"
|
185
224
|
"Users;code:405;type:wlist;len:32;opt:default;;"
|
@@ -247,25 +286,60 @@ struct defaultspec {
|
|
247
286
|
"Clients;code:458;len:8;;"
|
248
287
|
"Users;code:459;len:8;;"
|
249
288
|
"Files;code:460;len:8;;"
|
289
|
+
"Repos;code:462;len:8;;"
|
250
290
|
},
|
251
291
|
{
|
252
292
|
"protect",
|
253
|
-
|
293
|
+
"SubPath;code:502;ro;len:64;;"
|
294
|
+
"Update;code:503;type:date;ro;fmt:L;len:20;;"
|
295
|
+
"Protections;code:501;fmt:C;type:wlist;words:5;opt:default;z;len:64;;"
|
254
296
|
},
|
255
297
|
{
|
256
298
|
"remote",
|
257
|
-
"RemoteID;code:851;rq;ro;len:32;;"
|
299
|
+
"RemoteID;code:851;rq;ro;fmt:L;len:32;;"
|
258
300
|
"Address;code:852;rq;type:line;len:32;;"
|
259
301
|
"Owner;code:853;fmt:R;len:32;;"
|
260
302
|
"RemoteUser;code:861;fmt:R;len:32;;"
|
261
303
|
"Options;code:854;type:line;len:32;val:"
|
262
|
-
"unlocked/
|
304
|
+
"unlocked/locked,nocompress/compress,copyrcs/nocopyrcs;;"
|
263
305
|
"Update;code:855;type:date;ro;fmt:L;len:20;;"
|
264
306
|
"Access;code:856;type:date;ro;fmt:L;len:20;;"
|
265
307
|
"Description;code:857;type:text;len:128;;"
|
266
308
|
"LastFetch;code:858;fmt:L;len:10;;"
|
267
309
|
"LastPush;code:859;fmt:L;len:10;;"
|
268
310
|
"DepotMap;code:860;type:wlist;words:2;len:64;;"
|
311
|
+
"ArchiveLimits;code:862;type:wlist;words:2;len:64;;"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"repo",
|
315
|
+
"Repo;code:1001;rq;ro;len:128;;"
|
316
|
+
"Owner;code:1002;len:32;;"
|
317
|
+
"Created;code:1003;type:date;ro;fmt:L;len:20;;"
|
318
|
+
"Pushed;code:1004;type:date;ro;fmt:L;len:20;;"
|
319
|
+
"ForkedFrom;code:1005;ro;len:128;;"
|
320
|
+
"Description;code:1006;type:text;len:128;;"
|
321
|
+
"DefaultBranch;code:1007;len:32;;"
|
322
|
+
"MirroredFrom;code:1008;len:32;;"
|
323
|
+
"Options;code:1009;type:select;len:10;val:lfs/nolfs;;"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"server",
|
327
|
+
"ServerID;code:751;rq;ro;len:32;;"
|
328
|
+
"Type;code:752;rq;len:32;;"
|
329
|
+
"Name;code:753;type:line;len:32;;"
|
330
|
+
"Address;code:754;type:line;len:32;;"
|
331
|
+
"ExternalAddress;code:755;type:line;len:32;;"
|
332
|
+
"Services;code:756;rq;len:128;;"
|
333
|
+
"Options;code:764;type:line;len:32;val:"
|
334
|
+
"nomandatory/mandatory;;"
|
335
|
+
"ReplicatingFrom;code:765;type:line;len:32;;"
|
336
|
+
"Description;code:757;type:text;len:128;;"
|
337
|
+
"User;code:761;type:line;len:64;;"
|
338
|
+
"AllowedAddresses;code:763;type:wlist;len:64;;"
|
339
|
+
"ClientDataFilter;code:758;type:wlist;len:64;;"
|
340
|
+
"RevisionDataFilter;code:759;type:wlist;len:64;;"
|
341
|
+
"ArchiveDataFilter;code:760;type:wlist;len:64;;"
|
342
|
+
"DistributedConfig;code:762;type:text;len:128;;"
|
269
343
|
},
|
270
344
|
{
|
271
345
|
"specW",
|
@@ -293,28 +367,28 @@ struct defaultspec {
|
|
293
367
|
"Stream;code:701;rq;ro;len:64;;"
|
294
368
|
"Update;code:705;type:date;ro;fmt:L;len:20;;"
|
295
369
|
"Access;code:706;type:date;ro;fmt:L;len:20;;"
|
296
|
-
"Owner;code:704;len:32;;"
|
297
|
-
"Name;code:703;rq;type:line;len:32;;"
|
370
|
+
"Owner;code:704;len:32;open:isolate;;"
|
371
|
+
"Name;code:703;rq;type:line;len:32;open:isolate;;"
|
298
372
|
"Parent;code:702;rq;len:64;open:isolate;;"
|
299
373
|
"Type;code:708;rq;len:32;open:isolate;;"
|
300
|
-
"Description;code:709;type:text;len:128;;"
|
374
|
+
"Description;code:709;type:text;len:128;open:isolate;;"
|
301
375
|
"Options;code:707;type:line;len:64;val:"
|
302
376
|
"allsubmit/ownersubmit,unlocked/locked,"
|
303
377
|
"toparent/notoparent,fromparent/nofromparent,"
|
304
|
-
"mergedown/mergeany;;"
|
305
|
-
"Paths;code:710;rq;type:wlist;words:2;maxwords:3;len:64;open:
|
306
|
-
"Remapped;code:711;type:wlist;words:2;len:64;open:
|
307
|
-
"Ignored;code:712;type:wlist;words:1;len:64;open:
|
378
|
+
"mergedown/mergeany;open:isolate;;"
|
379
|
+
"Paths;code:710;rq;type:wlist;words:2;maxwords:3;len:64;open:propagate;;"
|
380
|
+
"Remapped;code:711;type:wlist;words:2;len:64;open:propagate;;"
|
381
|
+
"Ignored;code:712;type:wlist;words:1;len:64;open:propagate;;"
|
308
382
|
"View;code:713;type:wlist;words:2;len:64;;"
|
309
383
|
"ChangeView;code:714;type:llist;ro;len:64;;"
|
310
384
|
},
|
311
385
|
{
|
312
386
|
"triggers",
|
313
|
-
"Triggers;code:551;type:wlist;words:4;len:64;opt:default;"
|
387
|
+
"Triggers;code:551;type:wlist;words:4;len:64;opt:default;z;;"
|
314
388
|
},
|
315
389
|
{
|
316
390
|
"typemap",
|
317
|
-
"TypeMap;code:601;type:wlist;words:2;len:64;opt:default;"
|
391
|
+
"TypeMap;code:601;type:wlist;words:2;len:64;opt:default;z;;"
|
318
392
|
},
|
319
393
|
{
|
320
394
|
"user",
|
@@ -326,23 +400,10 @@ struct defaultspec {
|
|
326
400
|
"FullName;code:655;fmt:R;type:line;rq;len:32;;"
|
327
401
|
"JobView;code:656;type:line;len:64;;"
|
328
402
|
"Password;code:657;len:32;;"
|
329
|
-
"AuthMethod;code:662;fmt:L;len:10;val:
|
403
|
+
"AuthMethod;code:662;fmt:L;len:10;val:"
|
404
|
+
"perforce/perforce+2fa/ldap/ldap+2fa;;"
|
330
405
|
"Reviews;code:658;type:wlist;len:64;;"
|
331
406
|
},
|
332
|
-
{
|
333
|
-
"server",
|
334
|
-
"ServerID;code:751;rq;ro;len:32;;"
|
335
|
-
"Type;code:752;rq;len:32;;"
|
336
|
-
"Name;code:753;type:line;len:32;;"
|
337
|
-
"Address;code:754;type:line;len:32;;"
|
338
|
-
"ExternalAddress;code:755;type:line;len:32;;"
|
339
|
-
"Services;code:756;rq;len:128;;"
|
340
|
-
"Description;code:757;type:text;len:128;;"
|
341
|
-
"User;code:761;type:line;len:64;;"
|
342
|
-
"ClientDataFilter;code:758;type:wlist;len:64;;"
|
343
|
-
"RevisionDataFilter;code:759;type:wlist;len:64;;"
|
344
|
-
"ArchiveDataFilter;code:760;type:wlist;len:64;;"
|
345
|
-
},
|
346
407
|
{ 0, 0 }
|
347
408
|
};
|
348
409
|
|
data/lib/P4.rb
CHANGED
data/lib/P4/version.rb
CHANGED
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: 2019.1.1873991
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Perforce Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby extensions to the C++ Perforce API.
|
14
14
|
email: support@perforce.com
|
@@ -56,17 +56,16 @@ require_paths:
|
|
56
56
|
- lib
|
57
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
|
69
|
-
rubygems_version: 2.4.8
|
68
|
+
rubygems_version: 3.0.6
|
70
69
|
signing_key:
|
71
70
|
specification_version: 4
|
72
71
|
summary: Ruby extensions to the C++ Perforce API
|