motion-cocoapods 1.1.3 → 1.1.4
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.
- data/lib/motion/project/cocoapods.rb +11 -2
- metadata +38 -50
|
@@ -51,7 +51,7 @@ module Motion::Project
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
class CocoaPods
|
|
54
|
-
VERSION = '1.1.
|
|
54
|
+
VERSION = '1.1.4'
|
|
55
55
|
PODS_ROOT = 'vendor/Pods'
|
|
56
56
|
|
|
57
57
|
def initialize(config)
|
|
@@ -108,9 +108,18 @@ module Motion::Project
|
|
|
108
108
|
)
|
|
109
109
|
|
|
110
110
|
if ldflags = pods_xcconfig.to_hash['OTHER_LDFLAGS']
|
|
111
|
+
lib_search_paths = pods_xcconfig.to_hash['LIBRARY_SEARCH_PATHS'] || ""
|
|
112
|
+
lib_search_paths.gsub!('$(PODS_ROOT)', "-L#{@config.project_dir}/#{PODS_ROOT}")
|
|
113
|
+
|
|
111
114
|
@config.frameworks.concat(ldflags.scan(/-framework\s+([^\s]+)/).map { |m| m[0] })
|
|
112
115
|
@config.frameworks.uniq!
|
|
113
|
-
@config.libs.concat(ldflags.scan(/-l([^\s]+)/).map { |m|
|
|
116
|
+
@config.libs.concat(ldflags.scan(/-l([^\s]+)/).map { |m|
|
|
117
|
+
if lib_search_paths.length == 0 || File.exist?("/usr/lib/lib#{m[0]}.dylib")
|
|
118
|
+
"/usr/lib/lib#{m[0]}.dylib"
|
|
119
|
+
else
|
|
120
|
+
"#{lib_search_paths} -l#{m[0]}"
|
|
121
|
+
end
|
|
122
|
+
})
|
|
114
123
|
@config.libs.uniq!
|
|
115
124
|
end
|
|
116
125
|
end
|
metadata
CHANGED
|
@@ -1,83 +1,71 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motion-cocoapods
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 1
|
|
8
|
-
- 1
|
|
9
|
-
- 3
|
|
10
|
-
version: 1.1.3
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Laurent Sansonetti
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
requirement:
|
|
12
|
+
date: 2012-09-09 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: cocoapods
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
22
17
|
none: false
|
|
23
|
-
requirements:
|
|
24
|
-
- -
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
hash: 57
|
|
27
|
-
segments:
|
|
28
|
-
- 0
|
|
29
|
-
- 9
|
|
30
|
-
- 1
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
31
21
|
version: 0.9.1
|
|
32
|
-
prerelease: false
|
|
33
22
|
type: :runtime
|
|
34
|
-
|
|
35
|
-
version_requirements:
|
|
36
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 0.9.1
|
|
30
|
+
description: motion-cocoapods allows RubyMotion projects to have access to the CocoaPods
|
|
31
|
+
dependency manager.
|
|
37
32
|
email: lrz@hipbyte.com
|
|
38
33
|
executables: []
|
|
39
|
-
|
|
40
34
|
extensions: []
|
|
41
|
-
|
|
42
35
|
extra_rdoc_files: []
|
|
43
|
-
|
|
44
|
-
files:
|
|
36
|
+
files:
|
|
45
37
|
- lib/motion/project/cocoapods.rb
|
|
46
38
|
- lib/motion-cocoapods.rb
|
|
47
39
|
- README.rdoc
|
|
48
40
|
- LICENSE
|
|
49
41
|
homepage: http://www.rubymotion.com
|
|
50
42
|
licenses: []
|
|
51
|
-
|
|
52
43
|
post_install_message:
|
|
53
44
|
rdoc_options: []
|
|
54
|
-
|
|
55
|
-
require_paths:
|
|
45
|
+
require_paths:
|
|
56
46
|
- lib
|
|
57
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
48
|
none: false
|
|
59
|
-
requirements:
|
|
60
|
-
- -
|
|
61
|
-
- !ruby/object:Gem::Version
|
|
62
|
-
|
|
63
|
-
segments:
|
|
49
|
+
requirements:
|
|
50
|
+
- - ! '>='
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '0'
|
|
53
|
+
segments:
|
|
64
54
|
- 0
|
|
65
|
-
|
|
66
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
|
+
hash: 4469866718672717141
|
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
57
|
none: false
|
|
68
|
-
requirements:
|
|
69
|
-
- -
|
|
70
|
-
- !ruby/object:Gem::Version
|
|
71
|
-
|
|
72
|
-
segments:
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
segments:
|
|
73
63
|
- 0
|
|
74
|
-
|
|
64
|
+
hash: 4469866718672717141
|
|
75
65
|
requirements: []
|
|
76
|
-
|
|
77
66
|
rubyforge_project:
|
|
78
|
-
rubygems_version: 1.8.
|
|
67
|
+
rubygems_version: 1.8.23
|
|
79
68
|
signing_key:
|
|
80
69
|
specification_version: 3
|
|
81
70
|
summary: CocoaPods integration for RubyMotion projects
|
|
82
71
|
test_files: []
|
|
83
|
-
|