cocoapods-bin 0.1.18 → 0.1.19

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
- SHA1:
3
- metadata.gz: 1dd4d011994f2955b7f1575aedab51ad1b74459b
4
- data.tar.gz: e35ee996c447f36ca7f8d81a1f586fa6ff3b2f04
2
+ SHA256:
3
+ metadata.gz: 02be3844cf4838b10c830fb6b40a546befae255ee6cd74846213c99308eb9423
4
+ data.tar.gz: de3a5f1c9029aa5352b839d1e0d66c2e34f2a04a3b8f7789e85faaf46257f04a
5
5
  SHA512:
6
- metadata.gz: 1a4302e677e058d979adffd31371b201ff38db69df4a316c85240f2bb21decea7f56a8de4a7ae8459662e9e5616e5434f63d54fe252aedbd1a66cc385b3ef696
7
- data.tar.gz: 49e96d900da837d6c34d41d3eead93c9d3138a56139dcec0667983d893cbfc00a473d6cf98a52b03e6d512c79f68ecc5fe5c4492852f14c7ca2113c31f871fca
6
+ metadata.gz: aa0af507f5397fb93d0034520cb0cbd4d3dddb1059cc23693d9fc9da59df9a332d5d799ade3e664dbfc7d94066d97aae53de11b1506eb3ee9642ed22244bcef5
7
+ data.tar.gz: 883a2621c7aa5e760027e944e06187e01cd2249d4d00ee5ff723654465ca876e33b61c4ec54858a0a11d3ef942e0621531730ad885693d0eb48f65300127396e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-bin (0.1.18)
4
+ cocoapods-bin (0.1.19)
5
5
  cocoapods (~> 1.4)
6
6
  cocoapods-generate (~> 1.4)
7
7
  parallel
@@ -101,4 +101,4 @@ DEPENDENCIES
101
101
  rake
102
102
 
103
103
  BUNDLED WITH
104
- 1.16.1
104
+ 1.17.3
@@ -1,5 +1,5 @@
1
1
  module CBin
2
- VERSION = "0.1.18"
2
+ VERSION = "0.1.19"
3
3
  end
4
4
 
5
5
  module Pod
@@ -120,7 +120,7 @@ module CBin
120
120
  end
121
121
 
122
122
  def static_libs_in_sandbox(build_dir = 'build')
123
- Dir.glob("#{build_dir}/lib#{@spec.name}.a")
123
+ Dir.glob("#{build_dir}/lib#{target_name}.a")
124
124
  end
125
125
 
126
126
  def build_static_library_for_ios(output)
@@ -157,8 +157,16 @@ module CBin
157
157
  defines
158
158
  end
159
159
 
160
+ def target_name
161
+ if @spec.available_platforms.count > 1
162
+ "#{@spec.name}-#{Platform.string_name(@spec.consumer(@platform).platform_name)}"
163
+ else
164
+ @spec.name
165
+ end
166
+ end
167
+
160
168
  def xcodebuild(defines = '', args = '', build_dir = 'build')
161
- command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration Release -target #{@spec.name} -project ./Pods.xcodeproj 2>&1"
169
+ command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration Release -target #{target_name} -project ./Pods.xcodeproj 2>&1"
162
170
  output = `#{command}`.lines.to_a
163
171
 
164
172
  if $?.exitstatus != 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - tripleCC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -160,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubyforge_project:
164
- rubygems_version: 2.6.14
163
+ rubygems_version: 3.0.4
165
164
  signing_key:
166
165
  specification_version: 4
167
166
  summary: cocoapods-bin is a plugin which helps develpers switching pods between source