p4ruby 2017.1.1699426-x64-mingw32 → 2019.1.1873991-x64-mingw32

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
- SHA1:
3
- metadata.gz: 36f8bde687d65b850de2976e50f2bf71b0c95dc5
4
- data.tar.gz: e7f3843eed5cdc4194a19a8998df2ac2dea8f0fb
2
+ SHA256:
3
+ metadata.gz: 67d53a5a19b07bc52843b9951efeb69128f5e38c0e4e703a8a7e0be244275af1
4
+ data.tar.gz: 535af96f8e139956c683122af30218ec3fb43d2a03cf73ba9cea7eb54b9e628e
5
5
  SHA512:
6
- metadata.gz: 433a3100da4c43f52e1b8bbbfb024d46983cb95ea83a58d6407034defe0a268f18de5e5b033ab752ba612e18cb38103b2f945759b7dd6733e6c3e319527d43a9
7
- data.tar.gz: cb21c87b6b20f4570ff67393eed39fcdc7c600c4f5ab7907c7a7d5124fb927ce7d86f8dc7cf91bd19933fc15df7e7a14047a03a755e839b9c31b511993707d2b
6
+ metadata.gz: 0a039f41240223b3735da7a51245c7e7e9f42cde1463d9e1f95179382dd8a180d5177b557d958401d7409d47547a9f0e18218f6dc6041b2736f7b503c9237d8e
7
+ data.tar.gz: acb39e0797e8e6d83d8a87a84662a42c11494ca7a4fddb8f83c88230295bb8bfef12ab8fab0db998ccbfe19d823b44c01a95c88b9837f23174a3661b5f1c57f5
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 = 'r17.2'
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:writeable/readonly;;"
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
- "Protections;code:501;fmt:C;type:wlist;words:5;opt:default;len:64;;"
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/lockednocompress/compress;;"
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:isolate;;"
306
- "Remapped;code:711;type:wlist;words:2;len:64;open:isolate;;"
307
- "Ignored;code:712;type:wlist;words:1;len:64;open:isolate;;"
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:perforce/ldap;;"
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/2.3/P4.so CHANGED
Binary file
data/lib/2.4/P4.so CHANGED
Binary file
data/lib/2.5/P4.so ADDED
Binary file
data/lib/2.6/P4.so ADDED
Binary file
data/lib/P4/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class P4
2
- Version = VERSION = '2017.1.1699426'
2
+ Version = VERSION = '2019.1.1873991'
3
3
  end
data/lib/P4.rb CHANGED
@@ -557,7 +557,7 @@ class P4
557
557
 
558
558
  def set_attribute( name, value )
559
559
  name = name.downcase
560
- if( value =~ /^\d+$/ )
560
+ if( value.to_s =~ /^\d+$/ )
561
561
  @attributes[ name ] = value.to_i
562
562
  else
563
563
  @attributes[ name ] = value
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: 2017.1.1699426
4
+ version: 2019.1.1873991
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Perforce Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-11 00:00:00.000000000 Z
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
@@ -43,11 +43,10 @@ files:
43
43
  - ext/P4/specmgr.cpp
44
44
  - ext/P4/specmgr.h
45
45
  - ext/P4/undefdups.h
46
- - lib/2.0/P4.so
47
- - lib/2.1/P4.so
48
- - lib/2.2/P4.so
49
46
  - lib/2.3/P4.so
50
47
  - lib/2.4/P4.so
48
+ - lib/2.5/P4.so
49
+ - lib/2.6/P4.so
51
50
  - lib/P4.rb
52
51
  - lib/P4/version.rb
53
52
  homepage: https://swarm.workshop.perforce.com/projects/perforce-software-p4ruby/
@@ -60,17 +59,16 @@ require_paths:
60
59
  - lib
61
60
  required_ruby_version: !ruby/object:Gem::Requirement
62
61
  requirements:
63
- - - '>='
62
+ - - ">="
64
63
  - !ruby/object:Gem::Version
65
64
  version: '0'
66
65
  required_rubygems_version: !ruby/object:Gem::Requirement
67
66
  requirements:
68
- - - '>='
67
+ - - ">="
69
68
  - !ruby/object:Gem::Version
70
69
  version: '0'
71
70
  requirements: []
72
- rubyforge_project:
73
- rubygems_version: 2.4.8
71
+ rubygems_version: 3.0.6
74
72
  signing_key:
75
73
  specification_version: 4
76
74
  summary: Ruby extensions to the C++ Perforce API
data/lib/2.0/P4.so DELETED
Binary file
data/lib/2.1/P4.so DELETED
Binary file
data/lib/2.2/P4.so DELETED
Binary file