cocoapods-sync-podspecs 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pod/command/bump-version.rb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9de345a627797c763a42d8b00ae11c8ed0ac6d790d929396542e476ec0050839
|
4
|
+
data.tar.gz: e326567beb4b6c3beee0afe8848cef3cda75656b2837258e50d710d5b4792423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5982e216e64e04ac6531519eeb63f46425d0118312d34a5f98e6206c374ca06d58f29413c0427640df74506f00d147899b7225cb4140503b163acdaf1969627b
|
7
|
+
data.tar.gz: 1412ef4aca07b10262b9a859bc4fd0934a3e7c7429f0e5d41382bb991997a2f0b1f269041c4ac64528951875a705150990b6745f32c445354f8c2a0d54a6a32a
|
@@ -61,7 +61,12 @@ module Pod
|
|
61
61
|
File.open(path, "r+") do |f|
|
62
62
|
s = ""
|
63
63
|
f.each_line do |line|
|
64
|
-
if line.to_s =~ /s\.version\s*=\s*'
|
64
|
+
if line.to_s =~ /s\.version\s*=\s*'(\d+\.)?(\d+\.)?(\*|\d+)'/
|
65
|
+
line = line.sub(/(\d+\.)?(\d+\.)?(\*|\d+)/) do |match|
|
66
|
+
version.to_s
|
67
|
+
end
|
68
|
+
end
|
69
|
+
if line.to_s =~ /s\.version\s*=\s*"(\d+\.)?(\d+\.)?(\*|\d+)"/
|
65
70
|
line = line.sub(/(\d+\.)?(\d+\.)?(\*|\d+)/) do |match|
|
66
71
|
version.to_s
|
67
72
|
end
|