subpod 0.0.4 → 0.0.5
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/bin/subpod +5 -1
- data/lib/subpod/installer.rb +1 -1
- data/lib/subpod/target_integrator.rb +10 -7
- data/lib/subpod/user_project_integrator.rb +2 -2
- data/lib/subpod/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bced083caaf4ff5fe65a8a0e606876c825f2554f
|
|
4
|
+
data.tar.gz: 1835ed09f5a9779610f3b8fd6980d94c3ca903c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a503512869bef9e803b9fe96b2813c730a6bd33a62d341803f9d1551d908f2682f6f9ec6ceedb06b96bb4301e17139dd6a57176e7a19e937fc8756d8f956f3d7
|
|
7
|
+
data.tar.gz: e551761a6093c76be2e2751a1f044b3cf6d736fc1390fc9f9829f662fdf24f8982004fbd0a2941a431bc8eecc712d347316bd9b98623856113e96119da590904
|
data/bin/subpod
CHANGED
data/lib/subpod/installer.rb
CHANGED
|
@@ -3,7 +3,7 @@ module SubPod
|
|
|
3
3
|
def integrate_user_project
|
|
4
4
|
UI.section 'Integrating client project' do
|
|
5
5
|
root = config.installation_root
|
|
6
|
-
integrator = UserProjectIntegrator.new(podfile, sandbox, root,
|
|
6
|
+
integrator = UserProjectIntegrator.new(podfile, sandbox, root, aggregate_targets)
|
|
7
7
|
integrator.integrate!
|
|
8
8
|
end
|
|
9
9
|
end
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
module SubPod
|
|
2
2
|
class TargetIntegrator < Pod::Installer::UserProjectIntegrator::TargetIntegrator
|
|
3
3
|
def add_xcconfig_base_configuration
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
xcconfig = pods_group.files.select { |f|
|
|
5
|
+
f.path == target.xcconfig_relative_path
|
|
6
|
+
}.first || pods_group.new_file(target.xcconfig_relative_path)
|
|
7
|
+
|
|
8
|
+
native_targets.each do |native_target|
|
|
9
|
+
check_overridden_build_settings(target.xcconfig, native_target)
|
|
10
|
+
native_target.build_configurations.each do |config|
|
|
11
|
+
config.base_configuration_reference = xcconfig
|
|
12
|
+
end
|
|
13
|
+
end
|
|
9
14
|
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
15
|
|
|
13
16
|
def pods_group
|
|
14
17
|
user_project['Pods'] || user_project.new_group('Pods')
|
|
@@ -7,8 +7,8 @@ module SubPod
|
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
def integrate_user_targets
|
|
10
|
-
|
|
11
|
-
TargetIntegrator.new(
|
|
10
|
+
targets_to_integrate.sort_by(&:name).each do |target|
|
|
11
|
+
TargetIntegrator.new(target).integrate!
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
|
data/lib/subpod/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: subpod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tang Tianyong
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.21.0.rc1
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.
|
|
26
|
+
version: 0.21.0.rc1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: clactive
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -52,7 +52,7 @@ files:
|
|
|
52
52
|
- lib/subpod/version.rb
|
|
53
53
|
- lib/subpod.rb
|
|
54
54
|
- bin/subpod
|
|
55
|
-
homepage:
|
|
55
|
+
homepage: https://github.com/tang3w/SubPod
|
|
56
56
|
licenses:
|
|
57
57
|
- MIT
|
|
58
58
|
metadata: {}
|