cocoapods-lazy 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: e0de1306acc188125b6a3f63142146ab5e0827c2
4
- data.tar.gz: 53c8c14ffbd45b114ca484700281b1b8e362bd72
3
+ metadata.gz: 903b99550e354ca4035fb7021d49be011ae4db03
4
+ data.tar.gz: 15c6c568a2acf74acb278975c987a04bdc3c68fc
5
5
  SHA512:
6
- metadata.gz: 20dd217ea2aa7a9afbad1ea7072e7b0dcf59be67933b05ad28c72eab403b0bb9e3e7dbbad8500f44df6ce473d9ff72345cd3836fe16e1e9e74c9bdf96bf932df
7
- data.tar.gz: 95e24766278418a6f449eb6cc48a8bf3e6ef00668e3b8bc71c02b863c3f132c91b3ac29a6810592957e11bd016f1761c52d0adbb3568780335f7173cfbff7191
6
+ metadata.gz: 9f919422cc599c310140193a8abd918fc938eb1777448a1d3f2c16725dc6498e8fa5f80f76c4ad392e5fa5f905725094f0860ca0926750ff1b3761cdb1f2fd30
7
+ data.tar.gz: d92de93e644cd4416d5e3bfd6733b5cf96049b36692b8b543e388b71eeef7c41405c193876816495da4cd538e5fe4adc810aa34432a6d8bb1dbb3c1a497c199d
@@ -31,8 +31,9 @@ module CocoapodsLazy
31
31
  puts 'Drop pods'
32
32
  `rm -rf Pods`
33
33
  @repository.download(name: read_podfile_checksum())
34
+ is_downloaded = Dir.exist?('Pods')
34
35
  pod_install(ARGV)
35
- store()
36
+ store() unless is_downloaded
36
37
  else
37
38
  puts 'Pods is actual'
38
39
  pod_install(ARGV)
@@ -1,3 +1,3 @@
1
1
  module CocoapodsLazy
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-lazy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Mylnikov