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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f654cd843c3fb327bc7e79e077f4baf50c832689
4
- data.tar.gz: c85e57fad5afed873f20d4129674e552c8849e6c
3
+ metadata.gz: 5c4e3d12e6767b9bc524c4c7a4436d839037572b
4
+ data.tar.gz: 4e72b69812801871f60a615a4b84a62e3e478b5e
5
5
  SHA512:
6
- metadata.gz: 8ef83e2d367daf17a544b04224f0efa1788c94fda4382abe1ed2a79e404bfbefb387dfad96442f01b7858e6d6691a1e909e9ccc5333b5844743e8f11d33dbcea
7
- data.tar.gz: 884168eb5c190f7e3649119883b5c10d538bdca586abf2a3de91013fe13c8213616a95d0f6c03a2f5a6a052737eb3cdf1c1b7e203e7f651e8c3fa5a4358e69b8
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((App.respond_to?(:template) ? App.template : :ios), config.deployment_target)
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
@@ -24,6 +24,6 @@
24
24
 
25
25
  module Motion::Project
26
26
  class CocoaPods
27
- VERSION = '1.7.0'
27
+ VERSION = '1.7.1'
28
28
  end
29
29
  end
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.0
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: 2014-10-29 00:00:00.000000000 Z
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.0.14
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: