cocoapods-cafswitcher 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: febf0dcfc7d5b512809d9192fa32ee0965419bf77ea2510593c5ded9e6295232
4
- data.tar.gz: 3b55ab2f6515af3c57b528c6826c510b5e970b7ca28ba1ef7bab9d976fc53874
3
+ metadata.gz: dabca190e44ceba2529e89ce358b5d6c7058e51e7c01502ac86bc9aa5dd89226
4
+ data.tar.gz: 1344e1608a8a323e1cb162e84fe3dc5965faba75d12432adf88733f918d82af2
5
5
  SHA512:
6
- metadata.gz: e0b70ab908288f28f0cef34cacb9b63e90127c6ab71b8840c182184f623590ba5f10b0e5faf85c98008691613906d73c0172782777c7899f8d1f7a046558ab8f
7
- data.tar.gz: d7460548c7926c850427abcafb5607efb21e76d2a551eed2534b57e80795b038f67d283c464ddac6bf85a7bbabf72d2b8495dd8f70bae7d7853fd02c256766a8
6
+ metadata.gz: 934970392ac8f20b591b404404e10b048a1528d497db540e3778a45ce802eb4c3d88cb60a3f76a9547fc5221d83f8b8a33b1d7266d4f92f42bc5c441d390e3f2
7
+ data.tar.gz: 8b2d0580501649360e335a0bfa863d1bb30954e51297bf808da4feac10bdd191a70ec3ee378e14db3d9552ceba4a3cfb01804d156a1172c01ed61ada740e072f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-cafswitcher (0.0.7)
4
+ cocoapods-cafswitcher (0.0.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module CocoapodsCafswitcher
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -182,7 +182,11 @@ module Pod
182
182
  isPath = options.has_key?(:path)
183
183
  # pod_name = Specification.root_name(name)
184
184
  if isPath
185
- Pod::Podfile.needUpdatePodList << name[0,name=~/[\/]/]
185
+ index = name =~ /[\/]/
186
+ if not index
187
+ index = name.length
188
+ end
189
+ Pod::Podfile.needUpdatePodList << name[0,index]
186
190
  end
187
191
  requirements.pop if options.empty?
188
192
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-cafswitcher
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
  - handa