motion-cocoapods 1.7.0 → 1.7.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 +4 -4
- data/lib/motion/project/cocoapods.rb +15 -2
- data/lib/motion/project/version.rb +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c4e3d12e6767b9bc524c4c7a4436d839037572b
|
|
4
|
+
data.tar.gz: 4e72b69812801871f60a615a4b84a62e3e478b5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 384ff4acbaae6f1c24146586ce0d1240d660da37d33a20b16c68a0093db2ec868eec86c7fe19f98196cadd78ef335fe55b1d1c4bb16af4cc1ddd00967580e55c
|
|
7
|
+
data.tar.gz: 0dc47390efd2382efab0da3e88d761837fa1958a3fb1d265d7d99be4f260e06f682f35140758269bee623fce4e3ede62b1b64b63e331b9bd538caa3b8b01084f
|
|
@@ -70,8 +70,17 @@ module Motion::Project
|
|
|
70
70
|
@config = config
|
|
71
71
|
@vendor_options = vendor_options
|
|
72
72
|
|
|
73
|
+
case @config.deploy_platform
|
|
74
|
+
when 'MacOSX'
|
|
75
|
+
platform = :osx
|
|
76
|
+
when 'iPhoneOS'
|
|
77
|
+
platform = :ios
|
|
78
|
+
else
|
|
79
|
+
App.fail "Unknown CocoaPods platform: #{@config.deploy_platform}"
|
|
80
|
+
end
|
|
81
|
+
|
|
73
82
|
@podfile = Pod::Podfile.new(Pathname.new(Rake.original_dir) + 'Rakefile') {}
|
|
74
|
-
@podfile.platform(
|
|
83
|
+
@podfile.platform(platform, config.deployment_target)
|
|
75
84
|
cp_config.podfile = @podfile
|
|
76
85
|
cp_config.skip_repo_update = true
|
|
77
86
|
cp_config.integrate_targets = false
|
|
@@ -192,6 +201,10 @@ module Motion::Project
|
|
|
192
201
|
# DSL
|
|
193
202
|
#-------------------------------------------------------------------------#
|
|
194
203
|
|
|
204
|
+
def source(source)
|
|
205
|
+
@podfile.source(source)
|
|
206
|
+
end
|
|
207
|
+
|
|
195
208
|
def pod(*name_and_version_requirements, &block)
|
|
196
209
|
@podfile.pod(*name_and_version_requirements, &block)
|
|
197
210
|
end
|
|
@@ -313,7 +326,7 @@ module Motion::Project
|
|
|
313
326
|
end
|
|
314
327
|
end
|
|
315
328
|
}
|
|
316
|
-
resources
|
|
329
|
+
resources.uniq
|
|
317
330
|
end
|
|
318
331
|
|
|
319
332
|
def resources_dir
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motion-cocoapods
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.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:
|
|
11
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0.34'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0.34'
|
|
27
27
|
description: motion-cocoapods allows RubyMotion projects to have access to the CocoaPods
|
|
@@ -31,11 +31,11 @@ executables: []
|
|
|
31
31
|
extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
|
33
33
|
files:
|
|
34
|
+
- LICENSE
|
|
35
|
+
- README.md
|
|
36
|
+
- lib/motion-cocoapods.rb
|
|
34
37
|
- lib/motion/project/cocoapods.rb
|
|
35
38
|
- lib/motion/project/version.rb
|
|
36
|
-
- lib/motion-cocoapods.rb
|
|
37
|
-
- README.md
|
|
38
|
-
- LICENSE
|
|
39
39
|
homepage: http://www.rubymotion.com
|
|
40
40
|
licenses:
|
|
41
41
|
- MIT
|
|
@@ -46,18 +46,19 @@ require_paths:
|
|
|
46
46
|
- lib
|
|
47
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
48
|
requirements:
|
|
49
|
-
- -
|
|
49
|
+
- - ">="
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
51
|
version: '0'
|
|
52
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
|
-
- -
|
|
54
|
+
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: '0'
|
|
57
57
|
requirements: []
|
|
58
58
|
rubyforge_project:
|
|
59
|
-
rubygems_version: 2.
|
|
59
|
+
rubygems_version: 2.2.2
|
|
60
60
|
signing_key:
|
|
61
61
|
specification_version: 4
|
|
62
62
|
summary: CocoaPods integration for RubyMotion projects
|
|
63
63
|
test_files: []
|
|
64
|
+
has_rdoc:
|