cocoapods-amimono 0.0.9 → 0.0.10

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: c5340098a3e28913af6feea79020e955508b5a1f
4
- data.tar.gz: 75c133033ee18b89f4c8a674214cf6357d4ef61e
3
+ metadata.gz: dfb8dab6c110d025626c93c032c0fc5164a5bfa7
4
+ data.tar.gz: 868ba214a34036196eca0fceb16461813d7e7a61
5
5
  SHA512:
6
- metadata.gz: 3a4db71d77d464484836fcc630f38727664935e7adc3e12076e9f18c38d2b5b172f0a4a57ccdffd51d1a5f8b55ae474f1fc6d8323974a3504b8f02f2f1cc1713
7
- data.tar.gz: 5ee4aec20bd825b925c8a8c9aaa705fcb26b331f95404344054695d738f0e4089b5c0fcea6bade67492cf976cfb87855b8b2513ed9e77e38ca95d17dcbf98f43
6
+ metadata.gz: 686249d9d4b634e6b3d8442465eac1e3f2cbce9b4e56050bac7d5be6a8d318463b74102438ac357a2ebd5e53fd22c77133e883b9981194fa1792016dc615bd11
7
+ data.tar.gz: 34190fdc69e62fef2c117e82d8bf0ac1c9fd7c66c9a5492d2dc75110cbe8ebc1ad4eae454ec503f32b1713cbb348951efa9d4c1110044cb77a6e01db7e8f321a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-amimono (0.0.9)
4
+ cocoapods-amimono (0.0.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAmimono
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -68,14 +68,8 @@ module Amimono
68
68
  # Copied over from https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/installer/xcode/pods_project_generator/aggregate_target_installer.rb#L115-L131
69
69
  # with some modifications to this particular use case
70
70
  def self.resources_by_config(aggregated_target, project)
71
- library_targets = aggregated_target.pod_targets.reject do |pod_target|
72
- # This reject doesn't matter much anymore. We have to process all targets because
73
- # every single one requires frameworks and this workaround doesn't work with Pods
74
- # that contains binaries
75
- !pod_target.should_build?
76
- end
77
71
  aggregated_target.user_build_configurations.keys.each_with_object({}) do |config, resources_by_config|
78
- resources_by_config[config] = library_targets.flat_map do |library_target|
72
+ resources_by_config[config] = aggregated_target.pod_targets.flat_map do |library_target|
79
73
  next [] unless library_target.include_in_build_config?(aggregated_target.target_definition, config)
80
74
  resource_paths = library_target.file_accessors.flat_map do |accessor|
81
75
  accessor.resources.flat_map { |res| res.relative_path_from(project.path.dirname) }
@@ -14,7 +14,7 @@ module Amimono
14
14
  full_path = path + entry
15
15
  xcconfig = Xcodeproj::Config.new full_path
16
16
  # Clear the -frameworks flag
17
- non_binary_frameworks = aggregated_target.pod_targets.select(&:should_build?).map(&:name)
17
+ non_binary_frameworks = aggregated_target.pod_targets.select(&:should_build?).map { |t| t.product_name.gsub('.framework', '') }
18
18
  xcconfig.other_linker_flags[:frameworks].reject! { |framework| non_binary_frameworks.include?(framework) }
19
19
  # Add -filelist flag instead, for each architecture
20
20
  archs.each do |arch|
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-amimono
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renzo Crisostomo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-13 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
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: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Move all dynamic frameworks symbols into the main executable.
@@ -46,7 +46,7 @@ executables:
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - .gitignore
49
+ - ".gitignore"
50
50
  - Gemfile
51
51
  - Gemfile.lock
52
52
  - LICENSE.txt
@@ -74,17 +74,17 @@ require_paths:
74
74
  - lib
75
75
  required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - '>='
77
+ - - ">="
78
78
  - !ruby/object:Gem::Version
79
79
  version: 2.0.0
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubyforge_project:
87
- rubygems_version: 2.6.11
87
+ rubygems_version: 2.4.8
88
88
  signing_key:
89
89
  specification_version: 3
90
90
  summary: Move all dynamic frameworks symbols into the main executable.