fastlane-plugin-remove_provisioning_profile 1.0.1 → 1.0.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 286c8860de73a752b2f659044f6a2e746e9374dd
|
4
|
+
data.tar.gz: a7923720f2b2b638158c0a147059d5209f7ec939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77ee903b127457933195cc35842ac6a8eb179ae4401f6bfcf2326ec7330b676b0ada9320424fcb9c6e258d18b54b0f203fc700686205a23ab89fb22d3915e285
|
7
|
+
data.tar.gz: 1d13fcccacf264313fda8b77ef9105260e2c0668cac6d0ec8367fdc6fabbca90e6ebe31955452ebf241d19f375b70713e24dc6227512fcf434af0e69f7606a0c
|
@@ -1,6 +1,7 @@
|
|
1
1
|
class File
|
2
2
|
def self.include_string?(file_path, included_string)
|
3
3
|
File.foreach(file_path).any? do |line|
|
4
|
+
next unless line.valid_encoding?
|
4
5
|
line.include?(included_string)
|
5
6
|
end
|
6
7
|
end
|
@@ -8,6 +9,7 @@ class File
|
|
8
9
|
def self.include_line?(file_path, included_line)
|
9
10
|
stripped_included_line = included_line.strip
|
10
11
|
File.foreach(file_path).any? do |line|
|
12
|
+
next unless line.valid_encoding?
|
11
13
|
line.strip == stripped_included_line
|
12
14
|
end
|
13
15
|
end
|
@@ -17,6 +19,7 @@ class File
|
|
17
19
|
stripped_included_line_2 = included_line_2.strip
|
18
20
|
previous_line = ""
|
19
21
|
File.foreach(file_path).any? do |line|
|
22
|
+
next unless line.valid_encoding?
|
20
23
|
if previous_line.strip == stripped_included_line_1 && line.strip == stripped_included_line_2
|
21
24
|
true
|
22
25
|
else
|