cocoapods-tdfire-binary 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -2
- data/README.md +28 -15
- data/cocoapods-tdfire-binary.gemspec +0 -1
- data/lib/cocoapods-tdfire-binary/gem_version.rb +1 -1
- data/lib/cocoapods-tdfire-binary/specification_dsl.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 657b1c465e3ae04542e623c91b8d25e956461761
|
|
4
|
+
data.tar.gz: 4036ef11758257d58599ef7b12aaaf8bbfe641dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 709fba2804df01c8676fef64d490ba95f68a132610e841c770d9d99708f6bbfc7336cef8be8e0715bfccf04c0c204bb42568acd63b26b64ea8eb1df0da84eefd
|
|
7
|
+
data.tar.gz: 3b2b5d3ebf2d26c5037d139100897bfbe622099962461c47ca6c78d426b65cf00e4325058eb152ba34753e8df41bf287eb050710e5aa0afe2864da8a0b7e89dd
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -8,6 +8,14 @@ A description of cocoapods-tdfire-binary.
|
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
> For .gitignore
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
...
|
|
15
|
+
|
|
16
|
+
*.framework
|
|
17
|
+
```
|
|
18
|
+
|
|
11
19
|
> For Podfile
|
|
12
20
|
|
|
13
21
|
```
|
|
@@ -15,34 +23,39 @@ A description of cocoapods-tdfire-binary.
|
|
|
15
23
|
plugin 'cocoapods-tdfire-binary'
|
|
16
24
|
|
|
17
25
|
tdfire_use_binary!
|
|
18
|
-
tdfire_use_source_pods 'AFNetworking'
|
|
26
|
+
tdfire_use_source_pods ['AFNetworking']
|
|
19
27
|
|
|
20
28
|
use_frameworks!
|
|
21
29
|
|
|
22
30
|
...
|
|
23
31
|
|
|
24
|
-
tdfire_external_pods 'SDWebImage'
|
|
25
|
-
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
> For podspec
|
|
29
35
|
|
|
30
36
|
```
|
|
31
|
-
|
|
32
|
-
# source configuration
|
|
33
|
-
...
|
|
37
|
+
...
|
|
34
38
|
|
|
39
|
+
tdfire_source_proc = Proc.new do
|
|
40
|
+
# source configuration
|
|
35
41
|
end
|
|
36
42
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
s.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
unless %w[tdfire_set_binary_download_configurations_at_last tdfire_source tdfire_binary].reduce(true) { |r, m| s.respond_to?(m) & r }
|
|
44
|
+
|
|
45
|
+
tdfire_source_proc.call
|
|
46
|
+
else
|
|
47
|
+
s.tdfire_source &tdfire_source_proc
|
|
48
|
+
|
|
49
|
+
s.tdfire_binary do
|
|
50
|
+
s.vendored_framework = "#{s.name}.framework"
|
|
51
|
+
s.source_files = "#{s.name}.framework/Headers/*"
|
|
52
|
+
s.public_header_files = "#{s.name}.framework/Headers/*"
|
|
53
|
+
|
|
54
|
+
# binary configuration
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# s.tdfire_set_binary_download_configurations_at_last(download_url)
|
|
58
|
+
s.tdfire_set_binary_download_configurations_at_last
|
|
45
59
|
end
|
|
46
60
|
|
|
47
|
-
s.tdfire_set_binary_download_configurations_at_last
|
|
48
61
|
```
|
|
@@ -54,7 +54,7 @@ module Pod
|
|
|
54
54
|
private
|
|
55
55
|
|
|
56
56
|
def framework_url_for_pod_version(pod, version)
|
|
57
|
-
"http://
|
|
57
|
+
"http://iosframeworkserver-shopkeeperclient.cloudapps.2dfire.com/getframework/PRODUCTION/#{pod}/#{version}"
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def set_framework_preserve_paths
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-tdfire-binary
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tripleCC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -52,20 +52,6 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '1.4'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: colored2
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - "~>"
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '3.1'
|
|
62
|
-
type: :runtime
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - "~>"
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '3.1'
|
|
69
55
|
description: cocoapods-tdfire-binary is a plugin which helps developer switching there
|
|
70
56
|
project dependency between source and binary.
|
|
71
57
|
email:
|