motion-cocoapods 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/motion/project/cocoapods.rb +4 -6
  2. metadata +4 -4
@@ -43,16 +43,14 @@ module Motion::Project
43
43
  Pod::Command::Repo.new(Pod::Command::ARGV.new(["update"])).run
44
44
  end
45
45
  @pods.instance_eval(&block)
46
- if podfile_changed
47
- @pods.install!
48
- end
46
+ @pods.install!(podfile_changed)
49
47
  end
50
48
  @pods
51
49
  end
52
50
  end
53
51
 
54
52
  class CocoaPods
55
- VERSION = '1.1.1'
53
+ VERSION = '1.1.2'
56
54
  PODS_ROOT = 'vendor/Pods'
57
55
 
58
56
  def initialize(config)
@@ -89,12 +87,12 @@ module Motion::Project
89
87
 
90
88
  # For now we only support one Pods target, this will have to be expanded
91
89
  # once we work on more spec support.
92
- def install!
90
+ def install!(podfile_changed)
93
91
  if bridgesupport_file.exist? && pods_installer.lock_file.exist?
94
92
  installed_pods_before = installed_pods
95
93
  end
96
94
 
97
- pods_installer.install!
95
+ pods_installer.install! if podfile_changed
98
96
 
99
97
  # Let RubyMotion re-generate the BridgeSupport file whenever the list of
100
98
  # installed pods changes.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 1
10
- version: 1.1.1
9
+ - 2
10
+ version: 1.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Laurent Sansonetti
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-03 00:00:00 Z
18
+ date: 2012-09-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  requirement: &id001 !ruby/object:Gem::Requirement