cocoapods-patch 0.0.1 → 0.0.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/lib/cocoapods-patch/command/patch/apply.rb +4 -2
- data/lib/cocoapods-patch/gem_version.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b39b7df9e697a31cdcee1ce05641aecbce2536510730edbf4ebd309b83d90bef
|
|
4
|
+
data.tar.gz: 45a5256704d13fee7002291fd3dec27d7d46005613786d30be017f05fdcf2ea2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fdb4edae64ad26734cbd980cdb7502a4a3ea4ad956f2c7a4b2ceb604abdf00264b8e7ca5e3ff675ce998b707be504008cfce7e946c9148993255c119fd9ee0c
|
|
7
|
+
data.tar.gz: e23fc9606eb1d50a8e1ef0397da6947afd3af47929543f9b1226de9700c6bc1404d84c2eac27b2a2f5294b83b124d7f0663764edb68e55092df5280bc69ed440
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'cocoapods'
|
|
2
|
+
|
|
1
3
|
module Pod
|
|
2
4
|
class Command
|
|
3
5
|
class Patch < Command
|
|
@@ -34,9 +36,9 @@ def apply_patch(patch_file)
|
|
|
34
36
|
apply_cmd = check_cmd.gsub('--check ', '')
|
|
35
37
|
did_apply = system(apply_cmd)
|
|
36
38
|
if did_apply
|
|
37
|
-
UI.puts "Successfully applied #{patch_file}"
|
|
39
|
+
Pod::UI.puts "Successfully applied #{patch_file}"
|
|
38
40
|
else
|
|
39
|
-
UI.warn "Failed to apply #{patch_file}"
|
|
41
|
+
Pod::UI.warn "Failed to apply #{patch_file}"
|
|
40
42
|
end
|
|
41
43
|
end
|
|
42
44
|
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
|
+
version: 0.0.2
|
|
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-06-
|
|
11
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|