cocoapods-patch 0.0.8 → 0.0.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 765a982a7881db3b57c31e3bbe5e54ec56f5d990a4918c81f1ff7dbf6e7d9cf7
4
- data.tar.gz: b9ec1d2c051c580b5f9c79f34e6905b8931a5ca3abcde268d61ff03fbdb6e938
3
+ metadata.gz: f0aa117625e0803e3576bbb68fcbb3b005794e874324c83f215be1ab88e995cd
4
+ data.tar.gz: 9a8b0648a734914a667805591fcc2d005ab797ba76efe76f8d8d86709299a1d5
5
5
  SHA512:
6
- metadata.gz: 32860c686e91f67ee8d4939bb1507c852b34284c626086a74375e3c51a38d6c31e4b06e4f07e401f73724105824b55e3b3cc59001fbac875843e5e904046d970
7
- data.tar.gz: 8702ff7065ed62bdca2455c145a7519bc9317db9f86a05639b8c2f08ae5dd9901e6566bfe6ea0dfd6b5501fa25d7a910af085ce3270996545a02d2117f701cfc
6
+ metadata.gz: 793bafd2255d2e9d86881fdc6087e6cdd75d4d73cc36364a53cac6914bbfa8befc0735503542ff9e8c55aba4fbd223c28ef029af3172c56785bb115c31176415
7
+ data.tar.gz: b0bc3602df6ca681dfdb14da70e4a05e3d2d5d311ab08b0c14b3df4e01c9d000b881e6c8acfb5272bf0353745855242ff21bcc8c6ebefa88fa38075237c234f1
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPatch
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -37,7 +37,7 @@ def apply_patch(patch_file)
37
37
  directory_arg = (ios_project_path.to_s.eql? ".") ? "Pods" : File.join(ios_project_path, 'Pods')
38
38
 
39
39
  Dir.chdir(repo_root) {
40
- check_cmd = "git apply --check #{patch_file} --directory=#{directory_arg} -p2 2> /dev/null"
40
+ check_cmd = "git apply --check '#{patch_file}' --directory='#{directory_arg}' -p2 2> /dev/null"
41
41
 
42
42
  can_apply = system(check_cmd)
43
43
  if can_apply
@@ -58,7 +58,7 @@ module Pod
58
58
  UI.puts "Creating patch"
59
59
  theirs = Pathname.new(work_dir).join(@name).relative_path_from(config.project_root)
60
60
  ours = config.project_pods_root.join(@name).relative_path_from(config.project_root)
61
- gen_diff_cmd = "git diff --no-index #{theirs} #{ours} > #{patch_file}"
61
+ gen_diff_cmd = "git diff --no-index '#{theirs}' '#{ours}' > '#{patch_file}'"
62
62
 
63
63
  did_succeed = system(gen_diff_cmd)
64
64
  if not did_succeed.nil?
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.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Double Symmetry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-24 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler