cocoapods-rome 0.4.1 → 0.4.2
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 +4 -4
- data/lib/cocoapods-rome/gem_version.rb +1 -1
- data/lib/cocoapods-rome/post_install.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb2d13327ca375e139f3f9dcf3b1df5ae53e4832
|
|
4
|
+
data.tar.gz: dcff7b557e50bcf1b73821eed3638066c602c131
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4343670ccc82010c9906005412717ff9798be28fb919cdefccf551d127dcbd461b0776eb7deda5bea445a471c602e418c78b40dee3f20e6f5a3fbe106ff5a8c8
|
|
7
|
+
data.tar.gz: ef9225ae94e6e8cc700bad185d363dc8a73f55106e164824e1e6d2fe89d512ad52a2d145f7889ec9100e1f592fdf3eba4c93fd1ec01bd587ab5f3db4fe42e544
|
data/Gemfile.lock
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cocoapods-rome (0.4.
|
|
4
|
+
cocoapods-rome (0.4.2)
|
|
5
5
|
cocoapods (>= 0.38.0)
|
|
6
6
|
fourflusher (~> 0.3.0)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
activesupport (4.2.5)
|
|
11
|
+
activesupport (4.2.5.1)
|
|
12
12
|
i18n (~> 0.7)
|
|
13
13
|
json (~> 1.7, >= 1.7.7)
|
|
14
14
|
minitest (~> 5.1)
|
|
@@ -50,7 +50,7 @@ GEM
|
|
|
50
50
|
fuzzy_match (2.0.4)
|
|
51
51
|
i18n (0.7.0)
|
|
52
52
|
json (1.8.3)
|
|
53
|
-
minitest (5.8.
|
|
53
|
+
minitest (5.8.4)
|
|
54
54
|
molinillo (0.4.1)
|
|
55
55
|
nap (1.0.0)
|
|
56
56
|
netrc (0.7.8)
|
|
@@ -74,4 +74,4 @@ DEPENDENCIES
|
|
|
74
74
|
rake
|
|
75
75
|
|
|
76
76
|
BUNDLED WITH
|
|
77
|
-
1.11.
|
|
77
|
+
1.11.2
|
|
@@ -6,10 +6,11 @@ SIMULATORS = { 'iphonesimulator' => 'iPhone 5s',
|
|
|
6
6
|
'watchsimulator' => 'Apple Watch - 38mm' }
|
|
7
7
|
|
|
8
8
|
def build_for_iosish_platform(sandbox, build_dir, target, device, simulator)
|
|
9
|
+
deployment_target = target.platform_deployment_target
|
|
9
10
|
target_label = target.cocoapods_target_label
|
|
10
11
|
|
|
11
|
-
xcodebuild(sandbox, target_label, device)
|
|
12
|
-
xcodebuild(sandbox, target_label, simulator)
|
|
12
|
+
xcodebuild(sandbox, target_label, device, deployment_target)
|
|
13
|
+
xcodebuild(sandbox, target_label, simulator, deployment_target)
|
|
13
14
|
|
|
14
15
|
spec_names = target.specs.map { |spec| spec.root.module_name }.uniq
|
|
15
16
|
spec_names.each do |root_name|
|
|
@@ -30,10 +31,10 @@ def build_for_iosish_platform(sandbox, build_dir, target, device, simulator)
|
|
|
30
31
|
end
|
|
31
32
|
end
|
|
32
33
|
|
|
33
|
-
def xcodebuild(sandbox, target, sdk='macosx')
|
|
34
|
+
def xcodebuild(sandbox, target, sdk='macosx', deployment_target=nil)
|
|
34
35
|
args = %W(-project #{sandbox.project_path.basename} -scheme #{target} -configuration #{CONFIGURATION} -sdk #{sdk})
|
|
35
36
|
simulator = SIMULATORS[sdk]
|
|
36
|
-
args += Fourflusher::SimControl.new.destination(simulator) unless simulator.nil?
|
|
37
|
+
args += Fourflusher::SimControl.new.destination(simulator, deployment_target) unless simulator.nil?
|
|
37
38
|
Pod::Executable.execute_command 'xcodebuild', args, true
|
|
38
39
|
end
|
|
39
40
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-rome
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Boris Bügling
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-01-
|
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|