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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da5734f38d9af1f901a7e40e125265b5b891242ba5a403befd9b3b7877909615
4
- data.tar.gz: 80e55d2b7b8d6ea4ff2d7c2f701dbc1f170fcf4e34b3b7dd1a713d34494e986d
3
+ metadata.gz: 7b5d0be0fabd5ac9f98da7c16ad1551f0d88055650f5d26ae6184222f1b6540f
4
+ data.tar.gz: 56b824d32444602b34a788a703ca406915503e074413f13810a68f3436f3c589
5
5
  SHA512:
6
- metadata.gz: f92c3ff28f07d081d709f1c5cc0cb02e9225fc3b28492b626ced66c1b47ccc2cfc8b9c74e78a882e6e7e153b64122470ec391365008d6e405c2f5cdf4904d0b7
7
- data.tar.gz: 425651c3c9189d9214b77d556767eb191db7be7a6252b649fff9a164d4aa5227461e1d2c314ccf5f34bc5b85215eb22e9d9f92c6a49ba332e6dcabb25ee76654
6
+ metadata.gz: ac146c4f9ed43e4d8d958dd532c4db5c2d687a469571233d2d1b240ecb417521f08c31f4023dfb24dc83d702346cf0ee72d45134f2af74aa70d4cef0a5913113
7
+ data.tar.gz: d53e168a1bd4f683a2a4108e912993fb613c6e7c0a66be94d2f47c0e8c6e7a2c362c163b8cc18ad284c817e3e1b9ac2a470d70b206c4cf9dbbd0bb5ce5d75b74
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-diff (0.8.0)
4
+ cocoapods-diff (0.8.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
- platform_version = ([spec.deployment_target(p.name)] + specs_by_platform[p.name].map { |spec| spec.deployment_target(p.name) }).max
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
- platform_version = ([spec.deployment_target(platform.name)] + specs_by_platform[platform.name].map { |spec| spec.deployment_target(platform.name) }).max
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"
@@ -1,6 +1,6 @@
1
1
  module CocoapodsDiff
2
2
  NAME = "cocoapods-diff"
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  SUMMARY = "Shows the diff between two versions of a pod."
5
5
  DESCRIPTION = <<-DESC
6
6
  A Cocoapods plugin that shows the diff between two versions of a pod.
@@ -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 = "FBSDKCoreKit"
5
+ POD_NAME = "Firebase"
6
6
  OLDER_VERSION = "6.0.0"
7
- NEWER_VERSION = "15.0.0"
7
+ NEWER_VERSION = "10.0.0"
8
8
 
9
9
  describe Command::Diff do
10
10
  describe "CLAide" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Israel Soto