cocoapods-patch 0.0.4 → 0.0.5

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: b9894b0de3c7d124458215a8f93fb28437b98fdaad904eac8019e90a97fa2263
4
- data.tar.gz: 4f0e69e6cfb98e6de924a1399d6f75720063be8e148796c00bcf61b2fe222222
3
+ metadata.gz: 3903efc0d0530bff3287231e2b52eafb749a871ac703ed58d6834dc1886f9cf8
4
+ data.tar.gz: 2bf4ebf6fc98cd8597a0b8f18d0dc038f7ad2defdc99605b634c9b61d18880e1
5
5
  SHA512:
6
- metadata.gz: 26fe03a6d87d55716158439f59dc213aede0bf6bf49b76d03d2b8556e9815d889314abc072435c1aa026189bc888f0f8ff4331fb03d6b3549b92f64b03ae905c
7
- data.tar.gz: e404b677a854b965b1951206ff0dd466de15b3b52fdca78691e89fb83ffed67ea6c5534867d6b1e6fc791bb1bc123aac47f96b691ce72a6b2d0e316ca8d75726
6
+ metadata.gz: ad177cb33a3b9918d4683c90565be2e7b05c166a363731f80c8b481286dc81284ff101494f595d786680caf880d4eecc5f85295bfb1a24bc4e7f972526958591
7
+ data.tar.gz: 1922b47d7e33d01b3974ed455112e3fd78a81064461270868cf5507eb8007b684ff0aaa2bccea3707f755d7db730caf5da7fae0d35ef2d310f11da2476e75d25
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPatch
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -19,7 +19,9 @@ class Pod::Installer
19
19
  def apply_patches
20
20
  Pod::UI.puts 'Applying patches if necessary'
21
21
  patches_dir = Pathname.new(Dir.pwd) + 'patches'
22
- patches = patches_dir.each_child.select { |c| c.to_s.end_with?('.diff') }
23
- patches.each { |p| apply_patch(p) }
22
+ if patches_dir.directory?
23
+ patches = patches_dir.each_child.select { |c| c.to_s.end_with?('.diff') }
24
+ patches.each { |p| apply_patch(p) }
25
+ end
24
26
  end
25
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Double Symmetry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-09 00:00:00.000000000 Z
11
+ date: 2020-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler