cocoapods-diff 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cocoapods-diff/command/diff.rb +9 -2
- data/lib/cocoapods-diff/version.rb +1 -1
- data/spec/command/diff_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b5d0be0fabd5ac9f98da7c16ad1551f0d88055650f5d26ae6184222f1b6540f
|
4
|
+
data.tar.gz: 56b824d32444602b34a788a703ca406915503e074413f13810a68f3436f3c589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac146c4f9ed43e4d8d958dd532c4db5c2d687a469571233d2d1b240ecb417521f08c31f4023dfb24dc83d702346cf0ee72d45134f2af74aa70d4cef0a5913113
|
7
|
+
data.tar.gz: d53e168a1bd4f683a2a4108e912993fb613c6e7c0a66be94d2f47c0e8c6e7a2c362c163b8cc18ad284c817e3e1b9ac2a470d70b206c4cf9dbbd0bb5ce5d75b74
|
data/Gemfile.lock
CHANGED
@@ -177,7 +177,10 @@ module Pod
|
|
177
177
|
|
178
178
|
ps.each do |p|
|
179
179
|
next if not spec.supported_on_platform?(p)
|
180
|
-
|
180
|
+
|
181
|
+
platform_version = [Pod::Version.new(spec.deployment_target(p.name) || "0")]
|
182
|
+
platform_version += specs_by_platform[p.name].map { |spec| Pod::Version.new(spec.deployment_target(p.name) || "0") }
|
183
|
+
platform_version = platform_version.max
|
181
184
|
|
182
185
|
target "#{pod_name}_#{p.name}" do
|
183
186
|
platform p.name, platform_version
|
@@ -240,7 +243,11 @@ module Pod
|
|
240
243
|
podfile += "use_frameworks!\n"
|
241
244
|
|
242
245
|
@platforms.each do |platform|
|
243
|
-
|
246
|
+
next if not spec.supported_on_platform?(platform)
|
247
|
+
|
248
|
+
platform_version = [Pod::Version.new(spec.deployment_target(platform.name) || "0")]
|
249
|
+
platform_version += specs_by_platform[platform.name].map { |spec| Pod::Version.new(spec.deployment_target(platform.name) || "0") }
|
250
|
+
platform_version = platform_version.max
|
244
251
|
|
245
252
|
podfile += "\ntarget '#{@pod_name}_#{platform.name}' do\n"
|
246
253
|
podfile += "\tplatform :#{platform.name}, '#{platform_version}'\n"
|
data/spec/command/diff_spec.rb
CHANGED
@@ -2,9 +2,9 @@ require File.expand_path("../../spec_helper", __FILE__)
|
|
2
2
|
require 'cocoapods-diff/version.rb'
|
3
3
|
|
4
4
|
module Pod
|
5
|
-
POD_NAME = "
|
5
|
+
POD_NAME = "Firebase"
|
6
6
|
OLDER_VERSION = "6.0.0"
|
7
|
-
NEWER_VERSION = "
|
7
|
+
NEWER_VERSION = "10.0.0"
|
8
8
|
|
9
9
|
describe Command::Diff do
|
10
10
|
describe "CLAide" do
|