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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 148f916d6953be84369f617a1374967dd88df17cd2974bbaf426cbcc49a45493
4
- data.tar.gz: c29cba13bae55991fe02e9546f8d0a35bd682c2ba129d3792052a0ee0be9fdb9
3
+ metadata.gz: 9de345a627797c763a42d8b00ae11c8ed0ac6d790d929396542e476ec0050839
4
+ data.tar.gz: e326567beb4b6c3beee0afe8848cef3cda75656b2837258e50d710d5b4792423
5
5
  SHA512:
6
- metadata.gz: 022e140345753ad8ebaa9fe3a95654aa669b6ce39a5932740d9a020c71f96b77b92bce05c98d68020ac82810d81a6a8178fd60314529e1bcccd6f96460a8379f
7
- data.tar.gz: 6bcf88f9265d7e9e1452c5f9c30107174fd613da45c5e5a2f04bb9069eb2e2b10c22b03270ff192b9d0fdab837337666361e019b99062eebb46fea659bdf4bdc
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*'|"(\d+\.)?(\d+\.)?(\*|\d+)'|"/
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-sync-podspecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - quangmv