motion-cocoapods 1.7.8 → 1.8.0.beta.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/README.md +3 -3
- data/lib/motion/project/cocoapods.rb +6 -4
- data/lib/motion/project/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16fa42e0b6a5c1045fb03e11e4baf24cf612116c
|
|
4
|
+
data.tar.gz: b45ba0b590ec9d0cb7a8480068ac155e1f92bd79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4317f1115f9e653896d1ed56c2b9dad87c76e1141cc6346db875fe2d46b0ba33887f74ea3ba2ed14f1fb660d6b9569bcf561714909250f1ef3ddec9bddcc6d5
|
|
7
|
+
data.tar.gz: 8b99ba4ad1bac0749d4014afb4cad57e19a537e2beb42a0249ae05a47cfeb7d8a2d887026635f6fa9356f23a5cf1285d1ca1a54ec68866d8d0547f355d0121df
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# motion-cocoapods
|
|
2
2
|
|
|
3
3
|
motion-cocoapods allows RubyMotion projects to integrate with the
|
|
4
|
-
[CocoaPods](
|
|
4
|
+
[CocoaPods](https://cocoapods.org/) dependency manager.
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
@@ -28,7 +28,7 @@ gem 'motion-cocoapods'
|
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
2. Still in the `Rakefile`, set your dependencies using the same language as
|
|
31
|
-
you would do in [Podfiles](
|
|
31
|
+
you would do in [Podfiles](https://guides.cocoapods.org/syntax/podfile.html).
|
|
32
32
|
|
|
33
33
|
```ruby
|
|
34
34
|
Motion::Project::App.setup do |app|
|
|
@@ -116,7 +116,7 @@ $ [bundle exec] rake pod:install COCOAPODS_NO_REPO_UPDATE=1
|
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
3. Create your patch and send a
|
|
119
|
-
[pull-request](
|
|
119
|
+
[pull-request](https://help.github.com/send-pull-requests/).
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
## License
|
|
@@ -62,7 +62,8 @@ module Motion::Project
|
|
|
62
62
|
|
|
63
63
|
class CocoaPods
|
|
64
64
|
PODS_ROOT = 'vendor/Pods'
|
|
65
|
-
|
|
65
|
+
TARGET_NAME = 'RubyMotion'
|
|
66
|
+
SUPPORT_FILES = File.join(PODS_ROOT, "Target Support Files/Pods-#{TARGET_NAME}")
|
|
66
67
|
|
|
67
68
|
attr_accessor :podfile
|
|
68
69
|
|
|
@@ -85,9 +86,9 @@ module Motion::Project
|
|
|
85
86
|
|
|
86
87
|
@podfile = Pod::Podfile.new(Pathname.new(Rake.original_dir) + 'Rakefile') {}
|
|
87
88
|
@podfile.platform(platform, config.deployment_target)
|
|
89
|
+
@podfile.target(TARGET_NAME)
|
|
88
90
|
cp_config.podfile = @podfile
|
|
89
91
|
cp_config.skip_repo_update = true
|
|
90
|
-
cp_config.integrate_targets = false
|
|
91
92
|
cp_config.installation_root = Pathname.new(File.expand_path(config.project_dir)) + 'vendor'
|
|
92
93
|
|
|
93
94
|
if cp_config.verbose = !!ENV['COCOAPODS_VERBOSE']
|
|
@@ -256,6 +257,7 @@ module Motion::Project
|
|
|
256
257
|
#
|
|
257
258
|
def install!(update)
|
|
258
259
|
pods_installer.update = update
|
|
260
|
+
pods_installer.installation_options.integrate_targets = false
|
|
259
261
|
pods_installer.install!
|
|
260
262
|
install_resources
|
|
261
263
|
copy_cocoapods_env_and_prefix_headers
|
|
@@ -314,7 +316,7 @@ module Motion::Project
|
|
|
314
316
|
end
|
|
315
317
|
|
|
316
318
|
def pods_xcconfig
|
|
317
|
-
path = Pathname.new(@config.project_dir) + SUPPORT_FILES +
|
|
319
|
+
path = Pathname.new(@config.project_dir) + SUPPORT_FILES + "Pods-#{TARGET_NAME}.release.xcconfig"
|
|
318
320
|
Xcodeproj::Config.new(path) if path.exist?
|
|
319
321
|
end
|
|
320
322
|
|
|
@@ -329,7 +331,7 @@ module Motion::Project
|
|
|
329
331
|
#
|
|
330
332
|
def resources
|
|
331
333
|
resources = []
|
|
332
|
-
File.open(Pathname.new(@config.project_dir) + SUPPORT_FILES +
|
|
334
|
+
File.open(Pathname.new(@config.project_dir) + SUPPORT_FILES + "Pods-#{TARGET_NAME}-resources.sh") { |f|
|
|
333
335
|
f.each_line do |line|
|
|
334
336
|
if matched = line.match(/install_resource\s+(.*)/)
|
|
335
337
|
path = (matched[1].strip)[1..-2]
|
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.
|
|
4
|
+
version: 1.8.0.beta.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: 2016-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 1.0.0.beta.4
|
|
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
|
-
version:
|
|
26
|
+
version: 1.0.0.beta.4
|
|
27
27
|
description: motion-cocoapods allows RubyMotion projects to have access to the CocoaPods
|
|
28
28
|
dependency manager.
|
|
29
29
|
email: lrz@hipbyte.com
|
|
@@ -51,14 +51,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
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
|
-
version:
|
|
56
|
+
version: 1.3.1
|
|
57
57
|
requirements: []
|
|
58
58
|
rubyforge_project:
|
|
59
|
-
rubygems_version: 2.4.5
|
|
59
|
+
rubygems_version: 2.4.5.1
|
|
60
60
|
signing_key:
|
|
61
61
|
specification_version: 4
|
|
62
62
|
summary: CocoaPods integration for RubyMotion projects
|
|
63
63
|
test_files: []
|
|
64
|
-
has_rdoc:
|