p4ruby 2022.1.2405581 → 2023.1.2544327

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: 29dbc8b35e55180912ead9fe35105f9074dca0168fa836ea55ec1e410ae15c31
4
- data.tar.gz: d0db67529a92e0758f0a3ff91fd3efde117818a3089776cd9b304996702b62a4
3
+ metadata.gz: 127d04e96a358d44b76ec921d2e089de144245aa5eaf6b7a1bf0ba4220508b7a
4
+ data.tar.gz: bbc082bc79d673ff671bdc09973e4dee8c42964405e9a86b60fda2c4583a8c13
5
5
  SHA512:
6
- metadata.gz: 9c15355e1b738d5313497e6f31a7138e2042c89e116cf294f3528924e4666f818363d6c49d5740ba50e069c2b198a524f90dcbabf6ca627ae963f3c4b23a7750
7
- data.tar.gz: 27a3f37752037e1616372bc822595d30c76ec41ee5f91d360acac42df8205f71f8c2f9ada5af7a96a2ecd5b9b66736ef96d78beb65422035588e27abd4430a34
6
+ metadata.gz: df05e764a4a3a95477f11a3012874ea8b8084c0c3ef1c09ed97f36e2248c8bb531eecdd6b4e7d4404fc0a3d09576e9031a5df0ee7843147631ea213fd119a559
7
+ data.tar.gz: 5f172085f9d49c3281809d3d278463903cb4b0a4929fa1ab9778e940ed667e5c5e7fcc09aa9a7b3da87106a2eef274e7f4efa777653888cd2ca2e01f789b2afa
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023, Perforce Software, Inc. All rights reserved.
1
+ Copyright (c) 2024, Perforce Software, Inc. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without
4
4
  modification, are permitted provided that the following conditions are met:
@@ -32,7 +32,7 @@ this program.
32
32
 
33
33
  P4/P4API License
34
34
  -----------------------
35
- Copyright (c) 1995-2022, Perforce Software, Inc.
35
+ Copyright (c) 1995-2023, Perforce Software, Inc.
36
36
  All rights reserved.
37
37
 
38
38
  Redistribution and use in source and binary forms, with or without
@@ -60,128 +60,189 @@ POSSIBILITY OF SUCH DAMAGE.
60
60
 
61
61
  OpenSSL:
62
62
  -----------------------
63
- This product includes cryptographic software written by Eric Young
64
- (eay@cryptsoft.com).
65
- This product includes software written by Tim Hudson
66
- (tjh@cryptsoft.com).
63
+ Copyright (c) 1998-2022 The OpenSSL Project
64
+ Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
65
+ All rights reserved.
67
66
 
68
67
  OpenSSL License
69
68
  -----------------------
70
69
 
71
- * ====================================================================
72
- * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
73
- *
74
- * Redistribution and use in source and binary forms, with or without
75
- * modification, are permitted provided that the following conditions
76
- * are met:
77
- *
78
- * 1. Redistributions of source code must retain the above copyright
79
- * notice, this list of conditions and the following disclaimer.
80
- *
81
- * 2. Redistributions in binary form must reproduce the above copyright
82
- * notice, this list of conditions and the following disclaimer in
83
- * the documentation and/or other materials provided with the
84
- * distribution.
85
- *
86
- * 3. All advertising materials mentioning features or use of this
87
- * software must display the following acknowledgment:
88
- * "This product includes software developed by the OpenSSL Project
89
- * for use in the OpenSSL Toolkit. (http://www.openssl.org/)
90
- *
91
- * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be
92
- * used to endorse or promote products derived from this software
93
- * without prior written permission. For written permission, please
94
- * contact openssl-core@openssl.org.
95
- *
96
- * 5. Products derived from this software may not be called "OpenSSL
97
- * nor may "OpenSSL" appear in their names without prior written
98
- * permission of the OpenSSL Project.
99
- *
100
- * 6. Redistributions of any form whatsoever must retain the following
101
- * acknowledgment:
102
- * "This product includes software developed by the OpenSSL Project
103
- * for use in the OpenSSL Toolkit (http://www.openssl.org/)
104
- *
105
- * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
106
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
107
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
108
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
109
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
110
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
111
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
112
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
113
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
114
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
115
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
116
- * OF THE POSSIBILITY OF SUCH DAMAGE.
117
- * ====================================================================
118
- *
119
- * This product includes cryptographic software written by Eric Young
120
- * (eay@cryptsoft.com). This product includes software written by Tim
121
- * Hudson (tjh@cryptsoft.com).
122
- *
123
- *
124
-
125
- Original SSLeay License
126
- -----------------------
127
-
128
- * Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
129
- * All rights reserved.
130
- *
131
- * This package is an SSL implementation written
132
- * by Eric Young (eay@cryptsoft.com).
133
- * The implementation was written so as to conform with Netscapes SSL.
134
- *
135
- * This library is free for commercial and non-commercial use as long as
136
- * the following conditions are adhered to. The following conditions
137
- * apply to all code found in this distribution, be it the RC4, RSA,
138
- * lhash, DES, etc., code; not just the SSL code. The SSL documentation
139
- * included with this distribution is covered by the same copyright terms
140
- * except that the holder is Tim Hudson (tjh@cryptsoft.com).
141
- *
142
- * Copyright remains Eric Young's, and as such any Copyright notices in
143
- * the code are not to be removed.
144
- * If this package is used in a product, Eric Young should be given
145
- * attribution as the author of the parts of the library used.
146
- * This can be in the form of a textual message at program startup or
147
- * in documentation (online or textual) provided with the package.
148
- *
149
- * Redistribution and use in source and binary forms, with or without
150
- * modification, are permitted provided that the following conditions
151
- * are met:
152
- * 1. Redistributions of source code must retain the copyright
153
- * notice, this list of conditions and the following disclaimer.
154
- * 2. Redistributions in binary form must reproduce the above copyright
155
- * notice, this list of conditions and the following disclaimer in the
156
- * documentation and/or other materials provided with the distribution.
157
- * 3. All advertising materials mentioning features or use of this
158
- * software must display the following acknowledgement:
159
- * "This product includes cryptographic software written by
160
- * Eric Young (eay@cryptsoft.com)"
161
- * The word 'cryptographic' can be left out if the routines from the
162
- * library being used are not cryptographic related :-) .
163
- * 4. If you include any Windows specific code (or a derivative thereof)
164
- * from the apps directory (application code) you must include an
165
- * acknowledgement: "This product includes software written by Tim
166
- * Hudson (tjh@cryptsoft.com)"
167
- *
168
- * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
169
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
170
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
171
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
172
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
173
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
174
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
175
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
176
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
177
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
178
- * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
179
- *
180
- * The licence and distribution terms for any publicly available version
181
- * or derivative of this code cannot be changed. i.e. this code cannot
182
- * simply be copied and put under another distribution licence
183
- * [including the GNU Public Licence.]
184
- *
70
+ Apache License
71
+ Version 2.0, January 2004
72
+ https://www.apache.org/licenses/
73
+
74
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
75
+
76
+ 1. Definitions.
77
+
78
+ "License" shall mean the terms and conditions for use, reproduction,
79
+ and distribution as defined by Sections 1 through 9 of this document.
80
+
81
+ "Licensor" shall mean the copyright owner or entity authorized by
82
+ the copyright owner that is granting the License.
83
+
84
+ "Legal Entity" shall mean the union of the acting entity and all
85
+ other entities that control, are controlled by, or are under common
86
+ control with that entity. For the purposes of this definition,
87
+ "control" means (i) the power, direct or indirect, to cause the
88
+ direction or management of such entity, whether by contract or
89
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
90
+ outstanding shares, or (iii) beneficial ownership of such entity.
91
+
92
+ "You" (or "Your") shall mean an individual or Legal Entity
93
+ exercising permissions granted by this License.
94
+
95
+ "Source" form shall mean the preferred form for making modifications,
96
+ including but not limited to software source code, documentation
97
+ source, and configuration files.
98
+
99
+ "Object" form shall mean any form resulting from mechanical
100
+ transformation or translation of a Source form, including but
101
+ not limited to compiled object code, generated documentation,
102
+ and conversions to other media types.
103
+
104
+ "Work" shall mean the work of authorship, whether in Source or
105
+ Object form, made available under the License, as indicated by a
106
+ copyright notice that is included in or attached to the work
107
+ (an example is provided in the Appendix below).
108
+
109
+ "Derivative Works" shall mean any work, whether in Source or Object
110
+ form, that is based on (or derived from) the Work and for which the
111
+ editorial revisions, annotations, elaborations, or other modifications
112
+ represent, as a whole, an original work of authorship. For the purposes
113
+ of this License, Derivative Works shall not include works that remain
114
+ separable from, or merely link (or bind by name) to the interfaces of,
115
+ the Work and Derivative Works thereof.
116
+
117
+ "Contribution" shall mean any work of authorship, including
118
+ the original version of the Work and any modifications or additions
119
+ to that Work or Derivative Works thereof, that is intentionally
120
+ submitted to Licensor for inclusion in the Work by the copyright owner
121
+ or by an individual or Legal Entity authorized to submit on behalf of
122
+ the copyright owner. For the purposes of this definition, "submitted"
123
+ means any form of electronic, verbal, or written communication sent
124
+ to the Licensor or its representatives, including but not limited to
125
+ communication on electronic mailing lists, source code control systems,
126
+ and issue tracking systems that are managed by, or on behalf of, the
127
+ Licensor for the purpose of discussing and improving the Work, but
128
+ excluding communication that is conspicuously marked or otherwise
129
+ designated in writing by the copyright owner as "Not a Contribution."
130
+
131
+ "Contributor" shall mean Licensor and any individual or Legal Entity
132
+ on behalf of whom a Contribution has been received by Licensor and
133
+ subsequently incorporated within the Work.
134
+
135
+ 2. Grant of Copyright License. Subject to the terms and conditions of
136
+ this License, each Contributor hereby grants to You a perpetual,
137
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
138
+ copyright license to reproduce, prepare Derivative Works of,
139
+ publicly display, publicly perform, sublicense, and distribute the
140
+ Work and such Derivative Works in Source or Object form.
141
+
142
+ 3. Grant of Patent License. Subject to the terms and conditions of
143
+ this License, each Contributor hereby grants to You a perpetual,
144
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
145
+ (except as stated in this section) patent license to make, have made,
146
+ use, offer to sell, sell, import, and otherwise transfer the Work,
147
+ where such license applies only to those patent claims licensable
148
+ by such Contributor that are necessarily infringed by their
149
+ Contribution(s) alone or by combination of their Contribution(s)
150
+ with the Work to which such Contribution(s) was submitted. If You
151
+ institute patent litigation against any entity (including a
152
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
153
+ or a Contribution incorporated within the Work constitutes direct
154
+ or contributory patent infringement, then any patent licenses
155
+ granted to You under this License for that Work shall terminate
156
+ as of the date such litigation is filed.
157
+
158
+ 4. Redistribution. You may reproduce and distribute copies of the
159
+ Work or Derivative Works thereof in any medium, with or without
160
+ modifications, and in Source or Object form, provided that You
161
+ meet the following conditions:
162
+
163
+ (a) You must give any other recipients of the Work or
164
+ Derivative Works a copy of this License; and
165
+
166
+ (b) You must cause any modified files to carry prominent notices
167
+ stating that You changed the files; and
168
+
169
+ (c) You must retain, in the Source form of any Derivative Works
170
+ that You distribute, all copyright, patent, trademark, and
171
+ attribution notices from the Source form of the Work,
172
+ excluding those notices that do not pertain to any part of
173
+ the Derivative Works; and
174
+
175
+ (d) If the Work includes a "NOTICE" text file as part of its
176
+ distribution, then any Derivative Works that You distribute must
177
+ include a readable copy of the attribution notices contained
178
+ within such NOTICE file, excluding those notices that do not
179
+ pertain to any part of the Derivative Works, in at least one
180
+ of the following places: within a NOTICE text file distributed
181
+ as part of the Derivative Works; within the Source form or
182
+ documentation, if provided along with the Derivative Works; or,
183
+ within a display generated by the Derivative Works, if and
184
+ wherever such third-party notices normally appear. The contents
185
+ of the NOTICE file are for informational purposes only and
186
+ do not modify the License. You may add Your own attribution
187
+ notices within Derivative Works that You distribute, alongside
188
+ or as an addendum to the NOTICE text from the Work, provided
189
+ that such additional attribution notices cannot be construed
190
+ as modifying the License.
191
+
192
+ You may add Your own copyright statement to Your modifications and
193
+ may provide additional or different license terms and conditions
194
+ for use, reproduction, or distribution of Your modifications, or
195
+ for any such Derivative Works as a whole, provided Your use,
196
+ reproduction, and distribution of the Work otherwise complies with
197
+ the conditions stated in this License.
198
+
199
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
200
+ any Contribution intentionally submitted for inclusion in the Work
201
+ by You to the Licensor shall be under the terms and conditions of
202
+ this License, without any additional terms or conditions.
203
+ Notwithstanding the above, nothing herein shall supersede or modify
204
+ the terms of any separate license agreement you may have executed
205
+ with Licensor regarding such Contributions.
206
+
207
+ 6. Trademarks. This License does not grant permission to use the trade
208
+ names, trademarks, service marks, or product names of the Licensor,
209
+ except as required for reasonable and customary use in describing the
210
+ origin of the Work and reproducing the content of the NOTICE file.
211
+
212
+ 7. Disclaimer of Warranty. Unless required by applicable law or
213
+ agreed to in writing, Licensor provides the Work (and each
214
+ Contributor provides its Contributions) on an "AS IS" BASIS,
215
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
216
+ implied, including, without limitation, any warranties or conditions
217
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
218
+ PARTICULAR PURPOSE. You are solely responsible for determining the
219
+ appropriateness of using or redistributing the Work and assume any
220
+ risks associated with Your exercise of permissions under this License.
221
+
222
+ 8. Limitation of Liability. In no event and under no legal theory,
223
+ whether in tort (including negligence), contract, or otherwise,
224
+ unless required by applicable law (such as deliberate and grossly
225
+ negligent acts) or agreed to in writing, shall any Contributor be
226
+ liable to You for damages, including any direct, indirect, special,
227
+ incidental, or consequential damages of any character arising as a
228
+ result of this License or out of the use or inability to use the
229
+ Work (including but not limited to damages for loss of goodwill,
230
+ work stoppage, computer failure or malfunction, or any and all
231
+ other commercial damages or losses), even if such Contributor
232
+ has been advised of the possibility of such damages.
233
+
234
+ 9. Accepting Warranty or Additional Liability. While redistributing
235
+ the Work or Derivative Works thereof, You may choose to offer,
236
+ and charge a fee for, acceptance of support, warranty, indemnity,
237
+ or other liability obligations and/or rights consistent with this
238
+ License. However, in accepting such obligations, You may act only
239
+ on Your own behalf and on Your sole responsibility, not on behalf
240
+ of any other Contributor, and only if You agree to indemnify,
241
+ defend, and hold each Contributor harmless for any liability
242
+ incurred by, or claims asserted against, such Contributor by reason
243
+ of your accepting any such warranty or additional liability.
244
+
245
+ END OF TERMS AND CONDITIONS
185
246
 
186
247
 
187
248
  sol2 License
data/ext/P4/extconf.rb CHANGED
@@ -3,10 +3,10 @@
3
3
  $:.push File.expand_path("../../../lib", __FILE__)
4
4
 
5
5
  require 'mkmf'
6
- require 'net/ftp'
7
6
  require 'P4/version'
8
7
  require 'rbconfig'
9
8
  require 'openssl'
9
+ require 'net/http'
10
10
 
11
11
  # Set this to the main version directory we look up in ftp.perforce.com for the P4API
12
12
  # This is ignored if you specify the version on the command line.
@@ -266,9 +266,9 @@ class P4ApiVersion
266
266
  # subdirectory. Look there if we can't find it in the API root
267
267
  #
268
268
  ver_file = dir + "/Version"
269
- unless File.exists?(ver_file)
269
+ unless File.exist?(ver_file)
270
270
  ver_file = dir + "/sample/Version"
271
- return nil unless File.exists?(ver_file)
271
+ return nil unless File.exist?(ver_file)
272
272
  end
273
273
 
274
274
  re = Regexp.new('^RELEASE = (\d+)\s+(\d+)\s+(\w*\S*)\s*;')
@@ -390,7 +390,7 @@ def resolve_p4api_dir
390
390
  end
391
391
 
392
392
  if !p4api_dir && !with_config('p4api-dir') && enable_config('p4api-download', true)
393
- download_api_via_ftp
393
+ download_api_via_https
394
394
  unzip_file
395
395
  p4api_dir = downloaded_p4api_dir
396
396
  dir_config('p4api', "#{p4api_dir}/include", "#{p4api_dir}/lib")
@@ -468,7 +468,7 @@ def platform_dir_name
468
468
  "bin.#{p4_platform_label}"
469
469
  end
470
470
 
471
- def ftp_download_dir(version)
471
+ def download_dir(version)
472
472
  "perforce/#{version}/#{platform_dir_name}"
473
473
  end
474
474
 
@@ -484,7 +484,9 @@ def filename
484
484
  filename = 'p4api-openssl1.1.1.zip'
485
485
  when /1.0/
486
486
  filename = 'p4api-openssl1.0.2.zip'
487
- end
487
+ when /3.0/
488
+ filename = 'p4api-openssl3.zip'
489
+ end
488
490
  end
489
491
  elsif RbConfig::CONFIG['target_os'].downcase =~ /darwin19|darwin[2-9][0-9]/
490
492
  filename = 'p4api-openssl1.1.1.tgz'
@@ -496,69 +498,30 @@ def filename
496
498
  filename = 'p4api-glibc2.3-openssl1.1.1.tgz'
497
499
  when /1.0/
498
500
  filename = 'p4api-glibc2.3-openssl1.0.2.tgz'
501
+ when /3.0/
502
+ filename = 'p4api-glibc2.3-openssl3.tgz'
499
503
  end
500
504
  end
501
505
  end
502
506
  return filename
503
507
  end
504
508
 
505
-
506
- def remote_files_matching(ftp, dir, regex)
507
- ftp.ls(dir.to_s).map { |entry|
508
- if match = entry.match(regex)
509
- yield match
510
- else
511
- nil
512
- end
513
- }.reject { |entry|
514
- entry.nil?
515
- }
516
- end
517
-
518
- def find_latest_with_p4api(ftp, versions)
519
- versions.reverse_each { |v|
520
- begin
521
- remote_files_matching(ftp, "r#{v}/#{platform_dir_name}/", /p4api/) do
522
- return v
523
- end
524
- rescue
525
- next
526
- end
527
- }
528
- end
529
-
530
- def find_latest_version_dir(ftp)
531
- ftp.chdir('perforce')
532
-
533
- # Capture all versions
534
- versions = remote_files_matching(ftp, '.', /r(1\d\.\d)/) { |m| m.captures.first }.sort
535
-
536
- version = find_latest_with_p4api(ftp, versions)
537
-
538
- ftp.chdir('..')
539
-
540
- "r#{version}"
541
- end
542
-
543
- # Downloads the C++ P4API via FTP to the local directory, then 'initializes' it
509
+ #############################################
510
+ # Downloads the C++ P4API via HTTPS to the local directory, then 'initializes' it
544
511
  # by unpacking it.
545
- def download_api_via_ftp
546
- ftp = Net::FTP.new('ftp.perforce.com')
547
- ftp.passive=true
548
- ftp.login
549
-
550
- # At one point, we allowed the gem build to just find the most recent p4api build.
551
- # P4Ruby probably shouldn't do that by default.
552
- #version_dir = find_latest_version_dir(ftp)
512
+ def download_api_via_https
553
513
 
554
- dir = ftp_download_dir(p4api_version_dir)
555
- ftp.chdir(dir)
514
+ uri=URI('https://ftp.perforce.com:443')
515
+ dir = download_dir(p4api_version_dir)
556
516
 
557
- puts "downloading #{filename} from #{dir} on ftp.perforce.com"
558
- ftp.getbinaryfile(filename)
517
+ puts "Downloading #{filename} from #{dir} on https://ftp.perforce.com"
559
518
 
560
- ensure
561
- ftp.close if ftp and !ftp.closed?
519
+ Net::HTTP.start(uri.host, uri.port, :use_ssl =>true) do |http|
520
+ resp = http.get("/" + dir + "/" + filename)
521
+ open(filename, "wb") do |file|
522
+ file.write(resp.body)
523
+ end
524
+ end
562
525
  end
563
526
 
564
527
  def unzip_file
data/ext/P4/p4.cpp CHANGED
@@ -1502,6 +1502,11 @@ void Init_P4()
1502
1502
 
1503
1503
  // P4::Progress class.
1504
1504
  cP4Prog = rb_define_class_under( cP4, "Progress", rb_cObject );
1505
+
1506
+ rb_undef_alloc_func(cP4);
1507
+ rb_undef_alloc_func(cP4MD);
1508
+ rb_undef_alloc_func(cP4Map);
1509
+ rb_undef_alloc_func(cP4Msg);
1505
1510
 
1506
1511
  };
1507
1512
 
data/ext/P4/specmgr.cpp CHANGED
@@ -92,7 +92,8 @@ struct defaultspec {
92
92
  "AltRoots;code:308;type:llist;len:64;;"
93
93
  "Options;code:309;type:line;len:64;val:"
94
94
  "noallwrite/allwrite,noclobber/clobber,nocompress/compress,"
95
- "unlocked/locked,nomodtime/modtime,normdir/rmdir;;"
95
+ "unlocked/locked,nomodtime/modtime,normdir/rmdir,"
96
+ "noaltsync/altsync;;"
96
97
  "SubmitOptions;code:313;type:select;fmt:L;len:25;val:"
97
98
  "submitunchanged/submitunchanged+reopen/revertunchanged/"
98
99
  "revertunchanged+reopen/leaveunchanged/leaveunchanged+reopen;;"
@@ -128,6 +129,7 @@ struct defaultspec {
128
129
  "MaxScanRows;code:403;type:word;len:12;;"
129
130
  "MaxLockTime;code:407;type:word;len:12;;"
130
131
  "MaxOpenFiles;code:413;type:word;len:12;;"
132
+ "MaxMemory;code:NNN;type:word;len:12;;"
131
133
  "Timeout;code:406;type:word;len:12;;"
132
134
  "PasswordTimeout;code:409;type:word;len:12;;"
133
135
  "LdapConfig;code:410;type:line;len:128;;"
data/lib/P4/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class P4
2
- Version = VERSION = '2022.1.2405581'
2
+ Version = VERSION = '2023.1.2544327'
3
3
  end
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: 2022.1.2405581
4
+ version: 2023.1.2544327
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: 2023-02-10 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby extensions to the C++ Perforce API.
14
14
  email: support@perforce.com