motion-cocoapods 1.3.0 → 1.3.1

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: abab00a9eeaeaa93100050b006d546a0b7d8317f
4
- data.tar.gz: 6e592fe5719b8e12f90d8cb2406287ba15b58f26
3
+ metadata.gz: 26c167800b0940e09ecbb143e11457434741124a
4
+ data.tar.gz: 53328887546f5dc4cf1a867d9c948b436115a18e
5
5
  SHA512:
6
- metadata.gz: 709324719a161b03e6103bc998109e7df5281f391cb489c0e80983e1f85cdc3999b756fdb3b69a3321090073b14c081bb198a5c0deb82ae16f3810dda47f7ce1
7
- data.tar.gz: acd3974f148956e7b858f892fe8ced798b3f38f200d259d0bb17fddadbf48451d7fe974ae5c6c32aaa4edf85046324148fc3dcc870441abe0d090966ea194ad7
6
+ metadata.gz: 16791f97aa9a36a1b2efd4644263314d113061d41743428223fb8a519689b6ac70d704f32808b4b9913cbd9483b2feb1a96d69f9586d4e36fd33229af25a3ab6
7
+ data.tar.gz: b94e3690ba20e7a7caffd091d0865507970477fd7ef24b3491e4fd5573b440c44727da2fb74081212fd7c99155fd693c74b6a89d82a5ab23aa06b984f588bbc9
@@ -42,9 +42,12 @@ module Motion::Project
42
42
  # We run the update/install commands only if necessary.
43
43
  cp_config = Pod::Config.instance
44
44
  analyzer = Pod::Installer::Analyzer.new(cp_config.sandbox, @pods.podfile, cp_config.lockfile)
45
- if analyzer.needs_install?
46
- @pods.install!
45
+ begin
46
+ need_install = analyzer.needs_install?
47
+ rescue
48
+ need_install = true
47
49
  end
50
+ @pods.install! if need_install
48
51
  @pods.link_project
49
52
  end
50
53
  @pods
@@ -54,7 +57,7 @@ module Motion::Project
54
57
  #---------------------------------------------------------------------------#
55
58
 
56
59
  class CocoaPods
57
- VERSION = '1.3.0'
60
+ VERSION = '1.3.1'
58
61
  PODS_ROOT = 'vendor/Pods'
59
62
 
60
63
  attr_accessor :podfile
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Sansonetti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-09 00:00:00.000000000 Z
11
+ date: 2013-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -54,8 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.0.0
57
+ rubygems_version: 2.0.3
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: CocoaPods integration for RubyMotion projects
61
61
  test_files: []
62
+ has_rdoc: