p4ruby 2015.1.0 → 2015.2.1265122
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -19
- data/ext/P4/extconf.rb +2 -2
- data/ext/P4/specmgr.cpp +19 -6
- data/lib/P4.rb +1 -1
- data/lib/P4/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 552306699db81c4f4f12f88ce7a35b6417154365
|
4
|
+
data.tar.gz: 84de7d4b4742173e6848458048a87fd67fae60d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 067b62eb700d88558c24afde397226432557838e0c0acc8354e838746c7d2178889f87910b54cdd5702838cddffd5d471feda1c80d2c5e8ea7eaca7f6a067fcf
|
7
|
+
data.tar.gz: ab3a8bd61c600009cb25954bfc9a238350b29ea50394c6f8f16a87f1a1bb2e1f59abbfc915541076e075ffbd7e98321ae2cf7e2e558433045d0cfef12d98f4da
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Release Notes for P4Ruby, Perforce's script API for Ruby
|
2
2
|
|
3
|
-
Version 2015.
|
3
|
+
Version 2015.2
|
4
4
|
|
5
5
|
## Introduction
|
6
6
|
|
@@ -8,7 +8,7 @@ P4Ruby is a native Ruby gem that allows you to run Perforce commands from
|
|
8
8
|
Ruby applications, and retrieve the results in a Ruby-friendly format.
|
9
9
|
|
10
10
|
P4Ruby is intended to work against a corresponding version of the Perforce
|
11
|
-
C++ API, e.g., P4Ruby
|
11
|
+
C++ API, e.g., P4Ruby 2015.2 will be compiled using a 2015.2 version
|
12
12
|
of the P4API. You can always install P4Ruby specifying a specific version of
|
13
13
|
the P4API.
|
14
14
|
|
@@ -21,7 +21,7 @@ P4API it has been built with, issue the following command:
|
|
21
21
|
|
22
22
|
### Installing P4Ruby
|
23
23
|
|
24
|
-
As of
|
24
|
+
As of 2014.2, the recommended mechanism for installing P4Ruby is via
|
25
25
|
rubygems.org.
|
26
26
|
|
27
27
|
Before installing, please take care that any older version of P4Ruby that
|
@@ -58,7 +58,7 @@ API itself from ftp.perforce.com.
|
|
58
58
|
Alternatively, you can use Bundler (http://bundler.io). In your Gemfile,
|
59
59
|
specify
|
60
60
|
|
61
|
-
gem '
|
61
|
+
gem 'p4ruby', '~> 2015.2'
|
62
62
|
|
63
63
|
And then execute:
|
64
64
|
|
@@ -147,17 +147,17 @@ Perforce server later than 2001.1
|
|
147
147
|
You should use a version of P4Ruby built against a corresponding version
|
148
148
|
of the P4API that matches your Perforce server version. Since 2014.2,
|
149
149
|
you should try to use the same major and minor variation of P4Ruby as
|
150
|
-
used by the Perforce server. Ergo, against Perforce server version 2015.
|
151
|
-
you would want a P4Ruby version that starts with 2015.
|
150
|
+
used by the Perforce server. Ergo, against Perforce server version 2015.2,
|
151
|
+
you would want a P4Ruby version that starts with 2015.2.
|
152
152
|
|
153
153
|
#### API Compatibility
|
154
154
|
|
155
|
-
The
|
155
|
+
The 2015.2 release of P4Ruby supports the 2015.2 Perforce API.
|
156
156
|
Older releases might work but are not supported.
|
157
157
|
|
158
158
|
#### Ruby Compatibility
|
159
159
|
|
160
|
-
The
|
160
|
+
The 2015.2 release of P4Ruby is supported by installing the gem
|
161
161
|
with Ruby MRI releases 2.0, 2.1, and 2.2 with shared library
|
162
162
|
support.
|
163
163
|
|
@@ -169,8 +169,8 @@ For detailed compatibility, please check the following table:
|
|
169
169
|
1.8 | 2007.3 or later (unsupported)
|
170
170
|
1.9 | 2011.1 or later
|
171
171
|
2.0 | 2014.1 or later
|
172
|
-
2.1 |
|
173
|
-
2.2 |
|
172
|
+
2.1 | 2014.2 or later
|
173
|
+
2.2 | 2014.2 or later
|
174
174
|
|
175
175
|
It is recommended that you use a Ruby distribution that can deploy
|
176
176
|
native gems easily, which, outside of Windows means obtaining a source
|
@@ -202,7 +202,7 @@ fail with the error:
|
|
202
202
|
|
203
203
|
"SSL library must be at least version 1.0.1."
|
204
204
|
|
205
|
-
The
|
205
|
+
The 2015.2 release of P4Ruby is supported with OpenSSL 1.0.1
|
206
206
|
|
207
207
|
For detailed compatibility, please check the following table:
|
208
208
|
|
@@ -211,17 +211,13 @@ For detailed compatibility, please check the following table:
|
|
211
211
|
2012.1 | 1.0.0
|
212
212
|
2012.2 | 1.0.1g+
|
213
213
|
2014.1 | 1.0.1g+
|
214
|
-
|
214
|
+
2014.2 | 1.0.1i+
|
215
|
+
2015.1 | 1.0.1i+
|
216
|
+
2015.2 | 1.0.1i+
|
215
217
|
|
216
218
|
|
217
219
|
#### Platform Compatibility
|
218
220
|
|
219
|
-
Until MinGW-w64 ports are available for the underlying Perforce C/C++
|
220
|
-
API, precompiled Windows gems are not available for p4ruby. It is possible
|
221
|
-
to generate precompiled gems; but understand that you will have to build
|
222
|
-
the P4API using the MinGW-w64 toolchain. This is a non-trivial task and
|
223
|
-
beyond the scope fo this document.
|
224
|
-
|
225
221
|
Note: As of 2012.1, a universal build of the Perforce C/C++
|
226
222
|
API is no longer available for Darwin. P4Ruby is now
|
227
223
|
a 64-bit only library on Darwin and must be built with
|
@@ -241,7 +237,7 @@ handling between compilers.
|
|
241
237
|
|
242
238
|
#### Compatibility with Previous Releases
|
243
239
|
|
244
|
-
Unless otherwise stated below, the
|
240
|
+
Unless otherwise stated below, the 2015.2 release of P4Ruby is
|
245
241
|
compatible with previous releases from Perforce Software.
|
246
242
|
|
247
243
|
#### Known Limitations
|
@@ -292,6 +288,15 @@ release up to the bug fix change level.
|
|
292
288
|
|
293
289
|
--------------------------------------------------------------------------
|
294
290
|
|
291
|
+
New functionality in 2015.2
|
292
|
+
|
293
|
+
- (SIR#78548 / P4RUBY-193)
|
294
|
+
|
295
|
+
Release native P4Ruby gems for x86-mingw32 and x64-mingw32.
|
296
|
+
Until this point, the only source gems have been available. These gems
|
297
|
+
will allow Windows users for 32 or 64-bit Ruby 2.0, 2.1 or 2.2 to easily
|
298
|
+
install P4Ruby.
|
299
|
+
|
295
300
|
Changes in both 2015.2.0.pre0 and 2015.1.0
|
296
301
|
|
297
302
|
- Applied change to P4ClientApi::SetCharset, that if it is set to "none", then
|
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 = 'r15.
|
12
|
+
P4API_VERSION_DIR = 'r15.2'
|
13
13
|
|
14
14
|
#==============================================================================
|
15
15
|
# Provide platform variables in P4-specific format
|
@@ -520,7 +520,7 @@ def unzip_file
|
|
520
520
|
end
|
521
521
|
|
522
522
|
def downloaded_p4api_dir
|
523
|
-
File.
|
523
|
+
File.expand_path(Dir.entries('.').select { |x| x =~ /^p4api/ and File.directory?(x) }.first)
|
524
524
|
end
|
525
525
|
|
526
526
|
#==============================================================================
|
data/ext/P4/specmgr.cpp
CHANGED
@@ -87,6 +87,8 @@ struct defaultspec {
|
|
87
87
|
"Status;code:205;ro;fmt:R;seq:5;len:10;;"
|
88
88
|
"Type;code:211;seq:6;type:select;fmt:L;len:10;"
|
89
89
|
"val:public/restricted;;"
|
90
|
+
"ImportedBy;code:212;type:line;ro;fmt:L;len:32;;"
|
91
|
+
"Identity;code:213;type:line;;"
|
90
92
|
"Description;code:206;type:text;rq;seq:7;;"
|
91
93
|
"JobStatus;code:207;fmt:I;type:select;seq:9;;"
|
92
94
|
"Jobs;code:208;type:wlist;seq:8;len:32;;"
|
@@ -113,6 +115,8 @@ struct defaultspec {
|
|
113
115
|
"Stream;code:314;type:line;len:64;;"
|
114
116
|
"StreamAtChange;code:316;type:line;len:64;;"
|
115
117
|
"ServerID;code:315;type:line;ro;len:64;;"
|
118
|
+
"Type;code:318;type:select;len:10;val:writeable/readonly;;"
|
119
|
+
"Backup;code:319;type:select;len:10;val:enable/disable;;"
|
116
120
|
"View;code:311;type:wlist;words:2;len:64;;"
|
117
121
|
"ChangeView;code:317;type:llist;len:64;;"
|
118
122
|
},
|
@@ -161,6 +165,7 @@ struct defaultspec {
|
|
161
165
|
"Type;code:255;rq;len:10;;"
|
162
166
|
"Address;code:256;len:64;;"
|
163
167
|
"Suffix;code:258;len:64;;"
|
168
|
+
"StreamDepth;code:260;len:64;;"
|
164
169
|
"Map;code:257;rq;len:64;;"
|
165
170
|
"SpecMap;code:259;type:wlist;len:64;;"
|
166
171
|
},
|
@@ -210,6 +215,9 @@ struct defaultspec {
|
|
210
215
|
"none/ssl/tls;;"
|
211
216
|
"BindMethod;code:805;rq;len:10;val:"
|
212
217
|
"simple/search/sasl;;"
|
218
|
+
"Options;code:816;type:line;len:64;val:"
|
219
|
+
"nodowncase/downcase,nogetattrs/getattrs,"
|
220
|
+
"norealminusername/realminusername;;"
|
213
221
|
"SimplePattern;code:806;type:line;len:128;;"
|
214
222
|
"SearchBaseDN;code:807;type:line;len:128;;"
|
215
223
|
"SearchFilter;code:808;type:line;len:128;;"
|
@@ -222,6 +230,9 @@ struct defaultspec {
|
|
222
230
|
"GroupSearchFilter;code:814;type:line;len:128;;"
|
223
231
|
"GroupSearchScope;code:815;len:10;val:"
|
224
232
|
"baseonly/children/subtree;;"
|
233
|
+
"AttributeUid;code:817;type:word;len:128;;"
|
234
|
+
"AttributeName;code:818;type:line;len:128;;"
|
235
|
+
"AttributeEmail;code:819;type:word;len:128;;"
|
225
236
|
},
|
226
237
|
{
|
227
238
|
"license",
|
@@ -239,13 +250,14 @@ struct defaultspec {
|
|
239
250
|
},
|
240
251
|
{
|
241
252
|
"protect",
|
242
|
-
"Protections;code:501;type:wlist;words:5;opt:default;len:64;;"
|
253
|
+
"Protections;code:501;fmt:C;type:wlist;words:5;opt:default;len:64;;"
|
243
254
|
},
|
244
255
|
{
|
245
256
|
"remote",
|
246
257
|
"RemoteID;code:851;rq;ro;len:32;;"
|
247
258
|
"Address;code:852;rq;type:line;len:32;;"
|
248
259
|
"Owner;code:853;fmt:R;len:32;;"
|
260
|
+
"RemoteUser;code:861;fmt:R;len:32;;"
|
249
261
|
"Options;code:854;type:line;len:32;val:"
|
250
262
|
"unlocked/lockednocompress/compress;;"
|
251
263
|
"Update;code:855;type:date;ro;fmt:L;len:20;;"
|
@@ -273,6 +285,7 @@ struct defaultspec {
|
|
273
285
|
"Formats;code:353;type:wlist;words:3;;"
|
274
286
|
"Values;code:354;type:wlist;words:2;;"
|
275
287
|
"Presets;code:355;type:wlist;words:2;;"
|
288
|
+
"Openable;code:362;type:wlist;words:2;;"
|
276
289
|
"Comments;code:356;type:text;;"
|
277
290
|
},
|
278
291
|
{
|
@@ -282,16 +295,16 @@ struct defaultspec {
|
|
282
295
|
"Access;code:706;type:date;ro;fmt:L;len:20;;"
|
283
296
|
"Owner;code:704;len:32;;"
|
284
297
|
"Name;code:703;rq;type:line;len:32;;"
|
285
|
-
"Parent;code:702;rq;len:64;;"
|
286
|
-
"Type;code:708;rq;len:32;;"
|
298
|
+
"Parent;code:702;rq;len:64;open:isolate;;"
|
299
|
+
"Type;code:708;rq;len:32;open:isolate;;"
|
287
300
|
"Description;code:709;type:text;len:128;;"
|
288
301
|
"Options;code:707;type:line;len:64;val:"
|
289
302
|
"allsubmit/ownersubmit,unlocked/locked,"
|
290
303
|
"toparent/notoparent,fromparent/nofromparent,"
|
291
304
|
"mergedown/mergeany;;"
|
292
|
-
"Paths;code:710;rq;type:wlist;words:2;maxwords:3;len:64;;"
|
293
|
-
"Remapped;code:711;type:wlist;words:2;len:64;;"
|
294
|
-
"Ignored;code:712;type:wlist;words:1;len:64;;"
|
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;;"
|
295
308
|
"View;code:713;type:wlist;words:2;len:64;;"
|
296
309
|
"ChangeView;code:714;type:llist;ro;len:64;;"
|
297
310
|
},
|
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: 2015.
|
4
|
+
version: 2015.2.1265122
|
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: 2015-
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby extensions to the C++ Perforce API.
|
14
14
|
email: support@perforce.com
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
68
|
rubyforge_project:
|
69
|
-
rubygems_version: 2.4.
|
69
|
+
rubygems_version: 2.4.8
|
70
70
|
signing_key:
|
71
71
|
specification_version: 4
|
72
72
|
summary: Ruby extensions to the C++ Perforce API
|