cocoapods-repo-sq 0.0.1.9 → 0.0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/CocoapodsRepoSq.html +8 -6
- data/doc/CocoapodsRepoSq/Downloader.html +24 -16
- data/doc/CocoapodsRepoSq/Downloader/Extensions.html +16 -10
- data/doc/CocoapodsRepoSq/Repository.html +73 -40
- data/doc/CocoapodsRepoSq/RepositoryStore.html +71 -39
- data/doc/CocoapodsRepoSq/Source.html +18 -11
- data/doc/Pod.html +13 -12
- data/doc/Pod/Command.html +3 -3
- data/doc/Pod/Command/RepoSq.html +6 -4
- data/doc/Pod/Command/RepoSq/Add.html +30 -20
- data/doc/Pod/Command/RepoSq/List.html +12 -9
- data/doc/Pod/Command/RepoSq/Remove.html +20 -13
- data/doc/Pod/Command/RepoSq/Update.html +20 -13
- data/doc/_index.html +4 -4
- data/doc/css/style.css +7 -0
- data/doc/file.README.html +54 -49
- data/doc/frames.html +1 -1
- data/doc/index.html +54 -49
- data/doc/top-level-namespace.html +3 -3
- data/lib/cocoapods_repo_sq.rb +1 -1
- data/lib/cocoapods_repo_sq/repository.rb +4 -3
- data/spec/unit/cocoapods_repo_sq/repository_spec.rb +8 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffec0ce5870ed30650de38eeca3d6116cc61a5ec47e9f1d5fbfceb133997c626
|
4
|
+
data.tar.gz: 8cd5f9c0ffef6961d163bb2958ea3afc4121ef6e53477175a909ce083e50d050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c77629b31c03e0514d0d158b98c70d18cd95ea7597118b43ccb5e7ec3f9e9b8c5f982604565100b907c4bb4b5858ec390132e6906007c4e9537706fcefbdc97
|
7
|
+
data.tar.gz: 686cdf109dce81edaa81eb14670b974c09a6f5ca8eea8f70ccf5a128dcc3ecc7c589abecf8f0749645cce733ff378b21f26754d9e425e14f57c8b07dbb57fc3a
|
data/doc/CocoapodsRepoSq.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: CocoapodsRepoSq
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -87,7 +87,8 @@
|
|
87
87
|
|
88
88
|
<h2>Overview</h2><div class="docstring">
|
89
89
|
<div class="discussion">
|
90
|
-
|
90
|
+
|
91
|
+
<p>Main namespace for cocoapods-repo-sq plugin</p>
|
91
92
|
|
92
93
|
|
93
94
|
</div>
|
@@ -112,7 +113,8 @@
|
|
112
113
|
<dt id="VERSION-constant" class="">VERSION =
|
113
114
|
<div class="docstring">
|
114
115
|
<div class="discussion">
|
115
|
-
|
116
|
+
|
117
|
+
<p>Plugin version</p>
|
116
118
|
|
117
119
|
|
118
120
|
</div>
|
@@ -122,7 +124,7 @@
|
|
122
124
|
|
123
125
|
</div>
|
124
126
|
</dt>
|
125
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.
|
127
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.2</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
126
128
|
|
127
129
|
</dl>
|
128
130
|
|
@@ -137,9 +139,9 @@
|
|
137
139
|
</div>
|
138
140
|
|
139
141
|
<div id="footer">
|
140
|
-
Generated on
|
142
|
+
Generated on Fri Jun 1 09:24:33 2018 by
|
141
143
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
142
|
-
0.9.
|
144
|
+
0.9.12 (ruby-2.4.0).
|
143
145
|
</div>
|
144
146
|
|
145
147
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: CocoapodsRepoSq::Downloader
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -103,7 +103,8 @@
|
|
103
103
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
|
-
|
106
|
+
|
107
|
+
<p>Implemenents a <a href="https://github.com/CocoaPods/cocoapods-downloader" target="_parent" title="downloader strategy">downloader strategy</a> to support downloading files from a Square SDK
|
107
108
|
repository server over the HTTPS protocol with
|
108
109
|
<a href="https://tools.ietf.org/html/rfc7617" target="_parent" title="Basic HTTP Authentication RFC7617">Basic HTTP Authentication RFC7617</a></p>
|
109
110
|
|
@@ -155,7 +156,8 @@ repository server over the HTTPS protocol with
|
|
155
156
|
|
156
157
|
|
157
158
|
|
158
|
-
<span class="summary_desc"><div class='inline'
|
159
|
+
<span class="summary_desc"><div class='inline'>
|
160
|
+
<p>Options accepted by this dowmloader strategy.</p>
|
159
161
|
</div></span>
|
160
162
|
|
161
163
|
</li>
|
@@ -187,7 +189,8 @@ repository server over the HTTPS protocol with
|
|
187
189
|
|
188
190
|
|
189
191
|
|
190
|
-
<span class="summary_desc"><div class='inline'
|
192
|
+
<span class="summary_desc"><div class='inline'>
|
193
|
+
<p>Square SDK repository to be used by this downloader.</p>
|
191
194
|
</div></span>
|
192
195
|
|
193
196
|
</li>
|
@@ -214,11 +217,13 @@ repository server over the HTTPS protocol with
|
|
214
217
|
|
215
218
|
</h3><div class="docstring">
|
216
219
|
<div class="discussion">
|
217
|
-
|
218
|
-
|
219
|
-
<
|
220
|
-
|
221
|
-
|
220
|
+
|
221
|
+
<p>Options accepted by this dowmloader strategy. The base class already
|
222
|
+
supports <code>:flatten</code>, <code>:type</code>, <code>:sha256</code>,
|
223
|
+
<code>:sha1</code>. <span class='object_link'><a href="" title="CocoapodsRepoSq::Downloader (class)">CocoapodsRepoSq::Downloader</a></span> supports passing a
|
224
|
+
<code>:repository</code> option to indicate which Square SDK repository to
|
225
|
+
download files from. If none is provided, it will try to use the current
|
226
|
+
repository. See <span class='object_link'><a href="Repository.html#current-class_method" title="CocoapodsRepoSq::Repository.current (method)">Repository.current</a></span></p>
|
222
227
|
|
223
228
|
|
224
229
|
</div>
|
@@ -236,7 +241,8 @@ will try to use the current repository. See <span class='object_link'><a href="R
|
|
236
241
|
|
237
242
|
|
238
243
|
—
|
239
|
-
<div class='inline'
|
244
|
+
<div class='inline'>
|
245
|
+
<p>a list of accepted options</p>
|
240
246
|
</div>
|
241
247
|
|
242
248
|
</li>
|
@@ -281,9 +287,10 @@ will try to use the current repository. See <span class='object_link'><a href="R
|
|
281
287
|
|
282
288
|
</h3><div class="docstring">
|
283
289
|
<div class="discussion">
|
284
|
-
|
285
|
-
|
286
|
-
|
290
|
+
|
291
|
+
<p>Square SDK repository to be used by this downloader. It can be passed as an
|
292
|
+
option when initializing this class or also taken from the current
|
293
|
+
repository. See <span class='object_link'><a href="Repository.html#current-class_method" title="CocoapodsRepoSq::Repository.current (method)">Repository.current</a></span></p>
|
287
294
|
|
288
295
|
|
289
296
|
</div>
|
@@ -301,7 +308,8 @@ from the current repository. See <span class='object_link'><a href="Repository.h
|
|
301
308
|
|
302
309
|
|
303
310
|
—
|
304
|
-
<div class='inline'
|
311
|
+
<div class='inline'>
|
312
|
+
<p>a Square SDK repository</p>
|
305
313
|
</div>
|
306
314
|
|
307
315
|
</li>
|
@@ -334,9 +342,9 @@ from the current repository. See <span class='object_link'><a href="Repository.h
|
|
334
342
|
</div>
|
335
343
|
|
336
344
|
<div id="footer">
|
337
|
-
Generated on
|
345
|
+
Generated on Fri Jun 1 09:24:33 2018 by
|
338
346
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
339
|
-
0.9.
|
347
|
+
0.9.12 (ruby-2.4.0).
|
340
348
|
</div>
|
341
349
|
|
342
350
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: CocoapodsRepoSq::Downloader::Extensions
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -85,8 +85,10 @@
|
|
85
85
|
|
86
86
|
<h2>Overview</h2><div class="docstring">
|
87
87
|
<div class="discussion">
|
88
|
-
|
89
|
-
|
88
|
+
|
89
|
+
<p>Helper module used to override the
|
90
|
+
Pod::Downloader::downloader_class_by_key method to include a
|
91
|
+
<code>:square</code> key pointing to <span class='object_link'><a href="../Downloader.html" title="CocoapodsRepoSq::Downloader (class)">CocoapodsRepoSq::Downloader</a></span>. This allows square to be
|
90
92
|
defined as the protocol for downloading Pods on the
|
91
93
|
<a href="https://guides.cocoapods.org/syntax/podspec.html#source" target="_parent" title="podfile source setting">podfile source setting</a></p>
|
92
94
|
|
@@ -128,7 +130,9 @@ defined as the protocol for downloading Pods on the
|
|
128
130
|
|
129
131
|
|
130
132
|
|
131
|
-
<span class="summary_desc"><div class='inline'
|
133
|
+
<span class="summary_desc"><div class='inline'>
|
134
|
+
<p>Map of downloaded classes supported by Cocoapods available to the
|
135
|
+
<a href="https://guides.cocoapods.org/syntax/podspec.html#source" target="_parent" title="podfile source setting">podfile source setting</a>.</p>
|
132
136
|
</div></span>
|
133
137
|
|
134
138
|
</li>
|
@@ -154,7 +158,8 @@ defined as the protocol for downloading Pods on the
|
|
154
158
|
|
155
159
|
</h3><div class="docstring">
|
156
160
|
<div class="discussion">
|
157
|
-
|
161
|
+
|
162
|
+
<p>Map of downloaded classes supported by Cocoapods available to the
|
158
163
|
<a href="https://guides.cocoapods.org/syntax/podspec.html#source" target="_parent" title="podfile source setting">podfile source setting</a>. Square is included to add support for Square SDK repository
|
159
164
|
hosted podspecs and pods.</p>
|
160
165
|
|
@@ -174,9 +179,10 @@ hosted podspecs and pods.</p>
|
|
174
179
|
|
175
180
|
|
176
181
|
—
|
177
|
-
<div class='inline'
|
178
|
-
|
179
|
-
|
182
|
+
<div class='inline'>
|
183
|
+
<p>a map where the key is a symbol used in the podspec source setting such as
|
184
|
+
<code>:http</code>, <code>:git</code>, <code>:square</code> and the class
|
185
|
+
is the one responsible for implementing a particular download strategy</p>
|
180
186
|
</div>
|
181
187
|
|
182
188
|
</li>
|
@@ -209,9 +215,9 @@ responsible for implementing a particular download strategy</p>
|
|
209
215
|
</div>
|
210
216
|
|
211
217
|
<div id="footer">
|
212
|
-
Generated on
|
218
|
+
Generated on Fri Jun 1 09:24:33 2018 by
|
213
219
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
214
|
-
0.9.
|
220
|
+
0.9.12 (ruby-2.4.0).
|
215
221
|
</div>
|
216
222
|
|
217
223
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: CocoapodsRepoSq::Repository
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -101,7 +101,8 @@
|
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
|
-
|
104
|
+
|
105
|
+
<p>Class that represents the credentials needed to access a Square SDK
|
105
106
|
repository of <a href="https://guides.cocoapods.org/syntax/podspec.html" target="_parent" title="podspecs">podspecs</a>
|
106
107
|
for a given Square Application. Responsible for downloading a copy of the
|
107
108
|
repository from Square servers and cache it on the local filesystem.</p>
|
@@ -139,7 +140,9 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
139
140
|
|
140
141
|
|
141
142
|
|
142
|
-
<span class="summary_desc"><div class='inline'
|
143
|
+
<span class="summary_desc"><div class='inline'>
|
144
|
+
<p>Square SDK repository set by the plugin initialization on the
|
145
|
+
<a href="https://guides.cocoapods.org/syntax/podfile.html#plugin" target="_parent" title="Podfile">Podfile</a>.</p>
|
143
146
|
</div></span>
|
144
147
|
|
145
148
|
</li>
|
@@ -172,7 +175,9 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
172
175
|
|
173
176
|
|
174
177
|
|
175
|
-
<span class="summary_desc"><div class='inline'
|
178
|
+
<span class="summary_desc"><div class='inline'>
|
179
|
+
<p>Nickname under which a Square SDK repository was registered on the
|
180
|
+
<span class='object_link'><a href="RepositoryStore.html" title="CocoapodsRepoSq::RepositoryStore (class)">RepositoryStore</a></span>.</p>
|
176
181
|
</div></span>
|
177
182
|
|
178
183
|
</li>
|
@@ -200,7 +205,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
200
205
|
|
201
206
|
|
202
207
|
|
203
|
-
<span class="summary_desc"><div class='inline'
|
208
|
+
<span class="summary_desc"><div class='inline'>
|
209
|
+
<p>Server password used to access a specific Square SDK repository.</p>
|
204
210
|
</div></span>
|
205
211
|
|
206
212
|
</li>
|
@@ -228,7 +234,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
228
234
|
|
229
235
|
|
230
236
|
|
231
|
-
<span class="summary_desc"><div class='inline'
|
237
|
+
<span class="summary_desc"><div class='inline'>
|
238
|
+
<p>Local filesystem path where this repository cache of podspecs is stored.</p>
|
232
239
|
</div></span>
|
233
240
|
|
234
241
|
</li>
|
@@ -256,7 +263,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
256
263
|
|
257
264
|
|
258
265
|
|
259
|
-
<span class="summary_desc"><div class='inline'
|
266
|
+
<span class="summary_desc"><div class='inline'>
|
267
|
+
<p>Square SDK repositories server url.</p>
|
260
268
|
</div></span>
|
261
269
|
|
262
270
|
</li>
|
@@ -284,7 +292,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
284
292
|
|
285
293
|
|
286
294
|
|
287
|
-
<span class="summary_desc"><div class='inline'
|
295
|
+
<span class="summary_desc"><div class='inline'>
|
296
|
+
<p>Server user name used to access a specific Square SDK repository.</p>
|
288
297
|
</div></span>
|
289
298
|
|
290
299
|
</li>
|
@@ -322,7 +331,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
322
331
|
|
323
332
|
|
324
333
|
|
325
|
-
<span class="summary_desc"><div class='inline'
|
334
|
+
<span class="summary_desc"><div class='inline'>
|
335
|
+
<p>A new instance of Repository.</p>
|
326
336
|
</div></span>
|
327
337
|
|
328
338
|
</li>
|
@@ -345,7 +355,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
345
355
|
|
346
356
|
|
347
357
|
|
348
|
-
<span class="summary_desc"><div class='inline'
|
358
|
+
<span class="summary_desc"><div class='inline'>
|
359
|
+
<p>Updates the local copy of the podspecs from the Square SDK repository.</p>
|
349
360
|
</div></span>
|
350
361
|
|
351
362
|
</li>
|
@@ -368,7 +379,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
368
379
|
|
369
380
|
</h3><div class="docstring">
|
370
381
|
<div class="discussion">
|
371
|
-
|
382
|
+
|
383
|
+
<p>Returns a new instance of Repository</p>
|
372
384
|
|
373
385
|
|
374
386
|
</div>
|
@@ -387,7 +399,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
387
399
|
|
388
400
|
|
389
401
|
—
|
390
|
-
<div class='inline'
|
402
|
+
<div class='inline'>
|
403
|
+
<p>nickname under which a Square SDK repository was registered on the
|
391
404
|
<span class='object_link'><a href="RepositoryStore.html" title="CocoapodsRepoSq::RepositoryStore (class)">CocoapodsRepoSq::RepositoryStore</a></span>.</p>
|
392
405
|
</div>
|
393
406
|
|
@@ -403,7 +416,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
403
416
|
|
404
417
|
|
405
418
|
—
|
406
|
-
<div class='inline'
|
419
|
+
<div class='inline'>
|
420
|
+
<p>server user name used to access a specific Square SDK repository.</p>
|
407
421
|
</div>
|
408
422
|
|
409
423
|
</li>
|
@@ -418,7 +432,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
418
432
|
|
419
433
|
|
420
434
|
—
|
421
|
-
<div class='inline'
|
435
|
+
<div class='inline'>
|
436
|
+
<p>server password used to access a specific Square SDK repository.</p>
|
422
437
|
</div>
|
423
438
|
|
424
439
|
</li>
|
@@ -433,7 +448,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
433
448
|
|
434
449
|
|
435
450
|
—
|
436
|
-
<div class='inline'
|
451
|
+
<div class='inline'>
|
452
|
+
<p>Square SDK repositories server url.</p>
|
437
453
|
</div>
|
438
454
|
|
439
455
|
</li>
|
@@ -448,7 +464,8 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
448
464
|
|
449
465
|
|
450
466
|
—
|
451
|
-
<div class='inline'
|
467
|
+
<div class='inline'>
|
468
|
+
<p>local filesystem path where this repository cache of podspecs is stored.</p>
|
452
469
|
</div>
|
453
470
|
|
454
471
|
</li>
|
@@ -503,13 +520,14 @@ repository from Square servers and cache it on the local filesystem.</p>
|
|
503
520
|
|
504
521
|
</h3><div class="docstring">
|
505
522
|
<div class="discussion">
|
506
|
-
|
507
|
-
<
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
523
|
+
|
524
|
+
<p>Square SDK repository set by the plugin initialization on the
|
525
|
+
<a href="https://guides.cocoapods.org/syntax/podfile.html#plugin" target="_parent" title="Podfile">Podfile</a>. This
|
526
|
+
setting is used by the <span class='object_link'><a href="Downloader.html" title="CocoapodsRepoSq::Downloader (class)">Downloader</a></span> class to know which repository to
|
527
|
+
download files from in the context of a <code>pod install</code> or
|
528
|
+
<code>pod update</code> command call. When a podspec indicates a Square
|
529
|
+
source it does not have a Square SDK repository reference to provide to the
|
530
|
+
Downloader class so this global setting is used instead.</p>
|
513
531
|
|
514
532
|
|
515
533
|
</div>
|
@@ -527,7 +545,8 @@ this global setting is used instead.</p>
|
|
527
545
|
|
528
546
|
|
529
547
|
—
|
530
|
-
<div class='inline'
|
548
|
+
<div class='inline'>
|
549
|
+
<p>current Square SDK repository</p>
|
531
550
|
</div>
|
532
551
|
|
533
552
|
</li>
|
@@ -573,7 +592,8 @@ this global setting is used instead.</p>
|
|
573
592
|
|
574
593
|
</h3><div class="docstring">
|
575
594
|
<div class="discussion">
|
576
|
-
|
595
|
+
|
596
|
+
<p>Returns nickname under which a Square SDK repository was registered on the
|
577
597
|
<span class='object_link'><a href="RepositoryStore.html" title="CocoapodsRepoSq::RepositoryStore (class)">CocoapodsRepoSq::RepositoryStore</a></span>.</p>
|
578
598
|
|
579
599
|
|
@@ -592,7 +612,8 @@ this global setting is used instead.</p>
|
|
592
612
|
|
593
613
|
|
594
614
|
—
|
595
|
-
<div class='inline'
|
615
|
+
<div class='inline'>
|
616
|
+
<p>nickname under which a Square SDK repository was registered on the
|
596
617
|
<span class='object_link'><a href="RepositoryStore.html" title="CocoapodsRepoSq::RepositoryStore (class)">CocoapodsRepoSq::RepositoryStore</a></span>.</p>
|
597
618
|
</div>
|
598
619
|
|
@@ -634,7 +655,8 @@ this global setting is used instead.</p>
|
|
634
655
|
|
635
656
|
</h3><div class="docstring">
|
636
657
|
<div class="discussion">
|
637
|
-
|
658
|
+
|
659
|
+
<p>Returns server password used to access a specific Square SDK repository.</p>
|
638
660
|
|
639
661
|
|
640
662
|
</div>
|
@@ -652,7 +674,8 @@ this global setting is used instead.</p>
|
|
652
674
|
|
653
675
|
|
654
676
|
—
|
655
|
-
<div class='inline'
|
677
|
+
<div class='inline'>
|
678
|
+
<p>server password used to access a specific Square SDK repository.</p>
|
656
679
|
</div>
|
657
680
|
|
658
681
|
</li>
|
@@ -693,7 +716,9 @@ this global setting is used instead.</p>
|
|
693
716
|
|
694
717
|
</h3><div class="docstring">
|
695
718
|
<div class="discussion">
|
696
|
-
|
719
|
+
|
720
|
+
<p>Returns local filesystem path where this repository cache of podspecs is
|
721
|
+
stored.</p>
|
697
722
|
|
698
723
|
|
699
724
|
</div>
|
@@ -711,7 +736,8 @@ this global setting is used instead.</p>
|
|
711
736
|
|
712
737
|
|
713
738
|
—
|
714
|
-
<div class='inline'
|
739
|
+
<div class='inline'>
|
740
|
+
<p>local filesystem path where this repository cache of podspecs is stored.</p>
|
715
741
|
</div>
|
716
742
|
|
717
743
|
</li>
|
@@ -752,7 +778,8 @@ this global setting is used instead.</p>
|
|
752
778
|
|
753
779
|
</h3><div class="docstring">
|
754
780
|
<div class="discussion">
|
755
|
-
|
781
|
+
|
782
|
+
<p>Returns Square SDK repositories server url.</p>
|
756
783
|
|
757
784
|
|
758
785
|
</div>
|
@@ -770,7 +797,8 @@ this global setting is used instead.</p>
|
|
770
797
|
|
771
798
|
|
772
799
|
—
|
773
|
-
<div class='inline'
|
800
|
+
<div class='inline'>
|
801
|
+
<p>Square SDK repositories server url.</p>
|
774
802
|
</div>
|
775
803
|
|
776
804
|
</li>
|
@@ -811,7 +839,8 @@ this global setting is used instead.</p>
|
|
811
839
|
|
812
840
|
</h3><div class="docstring">
|
813
841
|
<div class="discussion">
|
814
|
-
|
842
|
+
|
843
|
+
<p>Returns server user name used to access a specific Square SDK repository.</p>
|
815
844
|
|
816
845
|
|
817
846
|
</div>
|
@@ -829,7 +858,8 @@ this global setting is used instead.</p>
|
|
829
858
|
|
830
859
|
|
831
860
|
—
|
832
|
-
<div class='inline'
|
861
|
+
<div class='inline'>
|
862
|
+
<p>server user name used to access a specific Square SDK repository.</p>
|
833
863
|
</div>
|
834
864
|
|
835
865
|
</li>
|
@@ -875,7 +905,8 @@ this global setting is used instead.</p>
|
|
875
905
|
|
876
906
|
</h3><div class="docstring">
|
877
907
|
<div class="discussion">
|
878
|
-
|
908
|
+
|
909
|
+
<p>Updates the local copy of the podspecs from the Square SDK repository</p>
|
879
910
|
|
880
911
|
|
881
912
|
</div>
|
@@ -901,7 +932,8 @@ this global setting is used instead.</p>
|
|
901
932
|
97
|
902
933
|
98
|
903
934
|
99
|
904
|
-
100
|
935
|
+
100
|
936
|
+
101</pre>
|
905
937
|
</td>
|
906
938
|
<td>
|
907
939
|
<pre class="code"><span class="info file"># File 'lib/cocoapods_repo_sq/repository.rb', line 88</span>
|
@@ -914,8 +946,9 @@ this global setting is used instead.</p>
|
|
914
946
|
|
915
947
|
<span class='comment'># perform cleanup
|
916
948
|
</span> <span class='id identifier rubyid_specs_path'>specs_path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='ivar'>@path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Specs</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
917
|
-
<span class='
|
918
|
-
<span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier
|
949
|
+
<span class='id identifier rubyid_new_specs_file'>new_specs_file</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_new_specs_path'>new_specs_path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>file.zip</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
950
|
+
<span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_rm'>rm</span><span class='lparen'>(</span><span class='id identifier rubyid_new_specs_file'>new_specs_file</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exists?'>exists?</span><span class='lparen'>(</span><span class='id identifier rubyid_new_specs_file'>new_specs_file</span><span class='rparen'>)</span>
|
951
|
+
<span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_rm_rf'>rm_rf</span><span class='lparen'>(</span><span class='id identifier rubyid_specs_path'>specs_path</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_exists?'>exists?</span><span class='lparen'>(</span><span class='id identifier rubyid_specs_path'>specs_path</span><span class='rparen'>)</span>
|
919
952
|
<span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_mv'>mv</span><span class='lparen'>(</span><span class='id identifier rubyid_new_specs_path'>new_specs_path</span><span class='comma'>,</span> <span class='id identifier rubyid_specs_path'>specs_path</span><span class='rparen'>)</span>
|
920
953
|
<span class='kw'>nil</span>
|
921
954
|
<span class='kw'>end</span></pre>
|
@@ -929,9 +962,9 @@ this global setting is used instead.</p>
|
|
929
962
|
</div>
|
930
963
|
|
931
964
|
<div id="footer">
|
932
|
-
Generated on
|
965
|
+
Generated on Fri Jun 1 09:24:33 2018 by
|
933
966
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
934
|
-
0.9.
|
967
|
+
0.9.12 (ruby-2.4.0).
|
935
968
|
</div>
|
936
969
|
|
937
970
|
</div>
|