motion-cocoapods 1.7.8 → 1.8.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20faf025855070e14d95fd91f4fcd37b11588b6d
4
- data.tar.gz: 392b486eca004a2fa12f69b6c9a6547d154d0ef8
3
+ metadata.gz: 16fa42e0b6a5c1045fb03e11e4baf24cf612116c
4
+ data.tar.gz: b45ba0b590ec9d0cb7a8480068ac155e1f92bd79
5
5
  SHA512:
6
- metadata.gz: 5dba7e2b9e563fd6de4572a65a03ca50c0aa03f59964ae447a0df897ebc8c1bb0682ba3f9bd1458538c845090f16a54a175f01cb052f9715c406e09144d28b01
7
- data.tar.gz: 177b4b36b95ad8e0284a5b2c20ac8b7f8f4b5fe4b3fcb13f9f8a1ae9edad25eeffadf5f12b3ec20660d8c02d52591c6d95dd6e5c2f785481138c7db7c74e8641
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](http://cocoapods.org) dependency manager.
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](http://docs.cocoapods.org/podfile.html).
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](http://help.github.com/send-pull-requests/).
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
- SUPPORT_FILES = File.join(PODS_ROOT, 'Target Support Files/Pods')
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 + 'Pods.release.xcconfig'
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 + 'Pods-resources.sh') { |f|
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]
@@ -24,6 +24,6 @@
24
24
 
25
25
  module Motion::Project
26
26
  class CocoaPods
27
- VERSION = '1.7.8'
27
+ VERSION = '1.8.0.beta.1'
28
28
  end
29
29
  end
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.7.8
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: 2015-12-15 00:00:00.000000000 Z
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: '0.34'
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: '0.34'
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: '0'
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: