cocoapods-art 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/lib/cocoapods_art.rb +1 -1
- data/lib/cocoapods_plugin.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 870aa39f965c0b9299969cfeb721dd7e2a99fb127f8897b6cd4a4625ba4d97a9
|
4
|
+
data.tar.gz: d45dc5116f076aa0e6470398c3f337e7511fee88402ea6965acd8a7c8699220b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d8d53970f76ac2044a709356e96a134305b7782967712a4b46681b8d08537b4397355aa0f5850df8bfaee27a86da724de787e9f7297ccd7b3774c298100447
|
7
|
+
data.tar.gz: 49f413bcae0b4354aff602ab23883126f51741ef5cc01e2f13cdd5b15eb082cad181290801725c2299be9b491fd44debf6b66ba9a23a3042b0f8bf69c8f01acb
|
data/README.md
CHANGED
@@ -15,8 +15,8 @@ pod repo-art add artifactory-local http://art-prod.company.com:8081/artifactory/
|
|
15
15
|
To use 'myRepo' to resolve pods when installing you must add the following to your Podfile:
|
16
16
|
```ruby
|
17
17
|
plugin 'cocoapods-art', :sources => [
|
18
|
-
|
19
|
-
|
18
|
+
'<local_specs_repo_name>'
|
19
|
+
]
|
20
20
|
```
|
21
21
|
More than one source can be included, separated by commas.
|
22
22
|
|
@@ -28,6 +28,11 @@ password password
|
|
28
28
|
```
|
29
29
|
You can also use an encrypted Artifactory password or your API key
|
30
30
|
|
31
|
+
If your .netrc file is not located in your home directory, you can specify its location in the environmental variable:
|
32
|
+
```
|
33
|
+
export COCOAPODS_ART_NETRC_PATH=$HOME/myproject/.netrc
|
34
|
+
```
|
35
|
+
|
31
36
|
## Artifactory Configuration
|
32
37
|
See the [Artifactory User Guide](https://www.jfrog.com/confluence/display/RTF/CocoaPods+Repositories)
|
33
38
|
|
data/lib/cocoapods_art.rb
CHANGED
data/lib/cocoapods_plugin.rb
CHANGED
@@ -51,7 +51,12 @@ module Pod
|
|
51
51
|
alias_method :orig_should_flatten?, :should_flatten?
|
52
52
|
|
53
53
|
def download_file(full_filename)
|
54
|
-
|
54
|
+
curl_options = ["-f", "-L", "-o", full_filename, url, "--create-dirs", "--netrc-optional"]
|
55
|
+
|
56
|
+
netrc_path = ENV["COCOAPODS_ART_NETRC_PATH"]
|
57
|
+
curl_options.concat(["--netrc-file", Pathname.new(netrc_path).expand_path]) if netrc_path
|
58
|
+
|
59
|
+
curl! curl_options
|
55
60
|
end
|
56
61
|
|
57
62
|
# Note that we disabled flattening here for the ENTIRE client to deal with
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-art
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Feldman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|