motion-cocoapods 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. data/lib/motion/project/cocoapods.rb +8 -4
  2. metadata +4 -4
@@ -26,6 +26,7 @@ unless defined?(Motion::Project::Config)
26
26
  raise "This file must be required within a RubyMotion project Rakefile."
27
27
  end
28
28
 
29
+ require 'xcodeproj'
29
30
  require 'cocoapods'
30
31
  require 'yaml'
31
32
 
@@ -50,7 +51,7 @@ module Motion::Project
50
51
  end
51
52
 
52
53
  class CocoaPods
53
- VERSION = '1.1.2'
54
+ VERSION = '1.1.3'
54
55
  PODS_ROOT = 'vendor/Pods'
55
56
 
56
57
  def initialize(config)
@@ -123,9 +124,12 @@ module Motion::Project
123
124
  end
124
125
 
125
126
  def pods_xcconfig
126
- pods_installer.target_installers.find do |target_installer|
127
- target_installer.target_definition.name == :default
128
- end.xcconfig
127
+ path = Pathname.new(@config.project_dir) + PODS_ROOT + 'Pods.xcconfig'
128
+ Xcodeproj::Config.new(path)
129
+ end
130
+
131
+ def inspect
132
+ ''
129
133
  end
130
134
  end
131
135
  end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
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-04 00:00:00 Z
18
+ date: 2012-09-06 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  requirement: &id001 !ruby/object:Gem::Requirement