motion-cocoapods 1.9.1 → 1.9.2

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: 9e2602f0218bebba61f34e1746260f034873d85b
4
- data.tar.gz: 656ac858e284355cb21200640c704bbb4f37ac66
3
+ metadata.gz: '02304080ad8c8df050bae04134f15f54d9217122'
4
+ data.tar.gz: 216a87d5f1084b3485c144eae9e506ab89fb09f1
5
5
  SHA512:
6
- metadata.gz: 221e0f271f0b36056936718773d0b8b2a1810ed3ffc3cd3fd6e3b70fa6c903c8640e5319ffebd396ba2df1ad9276275dbf70a47f793c2b7977c77dc7307e8745
7
- data.tar.gz: facac3cbb9b71fba79f9fed556ab7386b396fc9950c02deafe6736ceef0729a339c709c1b7e63075bdc523982f18984d13d182cb6399f46e40b7a7f9cc9e31df
6
+ metadata.gz: dd89fd118d35afee62e2dcf3b0be24127864ddced1a259e1d68419e0e0b05fb6864b7e8a4bfc76d3d61f46b1ecdcc8fdb2f6bd4a1b316583b89c1b5baf7dede9
7
+ data.tar.gz: 8a11d98961200b72db91ddb9b5c38b24e0d1ea1980dd8b2cb639d85f6d1cfe5ca9fa6c89292b5a915191cab4f014de51c7c3660054fe6652e2b1b8e52aefe6f6
@@ -499,7 +499,9 @@ module Motion::Project
499
499
  #
500
500
  def resources
501
501
  resources = []
502
- File.open(Pathname.new(@config.project_dir) + SUPPORT_FILES + "Pods-#{TARGET_NAME}-resources.sh") { |f|
502
+ script = Pathname.new(@config.project_dir) + SUPPORT_FILES + "Pods-#{TARGET_NAME}-resources.sh"
503
+ return resources unless File.exist?(script)
504
+ File.open(script) { |f|
503
505
  f.each_line do |line|
504
506
  if matched = line.match(/install_resource\s+(.*)/)
505
507
  path = (matched[1].strip)[1..-2]
@@ -24,6 +24,6 @@
24
24
 
25
25
  module Motion::Project
26
26
  class CocoaPods
27
- VERSION = '1.9.1'
27
+ VERSION = '1.9.2'
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.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Sansonetti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-01 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 2.6.13
59
+ rubygems_version: 2.5.2.3
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: CocoaPods integration for RubyMotion projects