cocoapods-amimono 0.0.5 → 0.0.7

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: 9e30439c931168e37c701a6b32a76fee58a6fdf5
4
- data.tar.gz: 982a2fec2cf47816cc0ef881f490e8ad078b9796
3
+ metadata.gz: 8db2a3eed2c383d3eb046ee3c47af9bf80564719
4
+ data.tar.gz: 7967b1b3bb40082178b294635b959e6608e7cfa1
5
5
  SHA512:
6
- metadata.gz: 025476375dee99fd73ba30c09c46c5cc2f99d51d47964171bb1b3007e6eca0dc8272c35f92834815c376388d9f699db4476141080630425881b699a495647573
7
- data.tar.gz: 200c539fc225795a5e84c5a2e6cdf36cb519bf4b3e7d6457dfde990c059c078b13f51cbc2d295094da6907ebe00fceea4f3d35ff7d72898490be1897d76f2cc6
6
+ metadata.gz: 87eb480d8fa3cd6200ecdbb83a2a9d78fb4bbbfa97071a9cfc3e462399a72ecc0d8b9fbbf6b9ac675eaf04275f04568b34870403486808fafeccbb70b4239c13
7
+ data.tar.gz: 6cc6d07c691b65572bec33fb825aec17855615322727dfd6641ef1db04fc2d324a682e88debd13158f94f82d64b71a29b568b3faea0b0e64e3f0b987ccaa0d79
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- gem 'cocoapods'
7
+ gem 'cocoapods', '>= 1.2.0'
8
8
 
9
9
  gem 'mocha'
10
10
  gem 'bacon'
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-amimono (0.0.5)
4
+ cocoapods-amimono (0.0.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ CFPropertyList (2.3.4)
9
10
  activesupport (4.2.7.1)
10
11
  i18n (~> 0.7)
11
12
  json (~> 1.7, >= 1.7.7)
@@ -13,63 +14,70 @@ GEM
13
14
  thread_safe (~> 0.3, >= 0.3.4)
14
15
  tzinfo (~> 1.1)
15
16
  bacon (1.2.0)
16
- claide (1.0.0)
17
- cocoapods (1.0.1)
18
- activesupport (>= 4.0.2)
19
- claide (>= 1.0.0, < 2.0)
20
- cocoapods-core (= 1.0.1)
21
- cocoapods-deintegrate (>= 1.0.0, < 2.0)
22
- cocoapods-downloader (>= 1.0.0, < 2.0)
17
+ claide (1.0.1)
18
+ cocoapods (1.2.0)
19
+ activesupport (>= 4.0.2, < 5)
20
+ claide (>= 1.0.1, < 2.0)
21
+ cocoapods-core (= 1.2.0)
22
+ cocoapods-deintegrate (>= 1.0.1, < 2.0)
23
+ cocoapods-downloader (>= 1.1.3, < 2.0)
23
24
  cocoapods-plugins (>= 1.0.0, < 2.0)
24
25
  cocoapods-search (>= 1.0.0, < 2.0)
25
26
  cocoapods-stats (>= 1.0.0, < 2.0)
26
- cocoapods-trunk (>= 1.0.0, < 2.0)
27
- cocoapods-try (>= 1.0.0, < 2.0)
27
+ cocoapods-trunk (>= 1.1.2, < 2.0)
28
+ cocoapods-try (>= 1.1.0, < 2.0)
28
29
  colored (~> 1.2)
29
30
  escape (~> 0.0.4)
30
- fourflusher (~> 0.3.0)
31
- molinillo (~> 0.4.5)
31
+ fourflusher (~> 2.0.1)
32
+ gh_inspector (~> 1.0)
33
+ molinillo (~> 0.5.5)
32
34
  nap (~> 1.0)
33
- xcodeproj (>= 1.1.0, < 2.0)
34
- cocoapods-core (1.0.1)
35
- activesupport (>= 4.0.2)
35
+ ruby-macho (~> 0.2.5)
36
+ xcodeproj (>= 1.4.1, < 2.0)
37
+ cocoapods-core (1.2.0)
38
+ activesupport (>= 4.0.2, < 5)
36
39
  fuzzy_match (~> 2.0.4)
37
40
  nap (~> 1.0)
38
- cocoapods-deintegrate (1.0.0)
39
- cocoapods-downloader (1.1.0)
41
+ cocoapods-deintegrate (1.0.1)
42
+ cocoapods-downloader (1.1.3)
40
43
  cocoapods-plugins (1.0.0)
41
44
  nap
42
45
  cocoapods-search (1.0.0)
43
46
  cocoapods-stats (1.0.0)
44
- cocoapods-trunk (1.0.0)
47
+ cocoapods-trunk (1.1.2)
45
48
  nap (>= 0.8, < 2.0)
46
49
  netrc (= 0.7.8)
47
50
  cocoapods-try (1.1.0)
48
51
  colored (1.2)
49
52
  escape (0.0.4)
50
- fourflusher (0.3.2)
53
+ fourflusher (2.0.1)
51
54
  fuzzy_match (2.0.4)
55
+ gh_inspector (1.0.2)
52
56
  i18n (0.7.0)
53
57
  json (1.8.3)
54
58
  metaclass (0.0.4)
55
- minitest (5.9.1)
59
+ minitest (5.10.1)
56
60
  mocha (1.1.0)
57
61
  metaclass (~> 0.0.1)
58
62
  mocha-on-bacon (0.2.2)
59
63
  mocha (>= 0.13.0)
60
- molinillo (0.4.5)
64
+ molinillo (0.5.5)
65
+ nanaimo (0.2.3)
61
66
  nap (1.1.0)
62
67
  netrc (0.7.8)
63
68
  prettybacon (0.0.2)
64
69
  bacon (~> 1.2)
65
70
  rake (11.2.2)
71
+ ruby-macho (0.2.6)
66
72
  thread_safe (0.3.5)
67
73
  tzinfo (1.2.2)
68
74
  thread_safe (~> 0.1)
69
- xcodeproj (1.2.0)
75
+ xcodeproj (1.4.1)
76
+ CFPropertyList (~> 2.3.3)
70
77
  activesupport (>= 3)
71
- claide (>= 1.0.0, < 2.0)
78
+ claide (>= 1.0.1, < 2.0)
72
79
  colored (~> 1.2)
80
+ nanaimo (~> 0.2.0)
73
81
 
74
82
  PLATFORMS
75
83
  ruby
@@ -77,7 +85,7 @@ PLATFORMS
77
85
  DEPENDENCIES
78
86
  bacon
79
87
  bundler (~> 1.3)
80
- cocoapods
88
+ cocoapods (>= 1.2.0)
81
89
  cocoapods-amimono!
82
90
  mocha
83
91
  mocha-on-bacon
@@ -85,4 +93,4 @@ DEPENDENCIES
85
93
  rake
86
94
 
87
95
  BUNDLED WITH
88
- 1.12.5
96
+ 1.14.1
data/README.md CHANGED
@@ -51,7 +51,7 @@ Add the following to your `post_install` hook:
51
51
  ```ruby
52
52
  post_install do |installer|
53
53
  require 'cocoapods-amimono/patcher'
54
- Amimono::Patcher.patch!(installer: installer)
54
+ Amimono::Patcher.patch!(installer)
55
55
  ...
56
56
  ```
57
57
 
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAmimono
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -23,7 +23,7 @@ module Amimono
23
23
  fi
24
24
  done
25
25
  filelist=${filelist\%$'\\n'}
26
- echo "$filelist" > "${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}-${ARCH}.objects.filelist"
26
+ echo "$filelist" > "${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}-${TARGET_NAME}-${ARCH}.objects.filelist"
27
27
  done
28
28
  SCRIPT
29
29
 
@@ -41,7 +41,7 @@ module Amimono
41
41
  # Add -filelist flag instead, for each architecture
42
42
  archs.each do |arch|
43
43
  config_key = "OTHER_LDFLAGS[arch=#{arch}]"
44
- xcconfig.attributes[config_key] = "$(inherited) -filelist \"$(OBJROOT)/Pods.build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)-#{arch}.objects.filelist\""
44
+ xcconfig.attributes[config_key] = "$(inherited) -filelist \"$(OBJROOT)/Pods.build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)-$(TARGET_NAME)-#{arch}.objects.filelist\""
45
45
  end
46
46
  xcconfig.save_as full_path
47
47
  end
@@ -23,7 +23,7 @@ module Amimono
23
23
  # But this also works and it's simpler
24
24
  configuration = entry.split('.')[-2]
25
25
  pod_targets = aggregated_target.pod_targets_for_build_configuration configuration
26
- generate_vendored_build_settings(pod_targets, xcconfig)
26
+ generate_vendored_build_settings(aggregated_target, pod_targets, xcconfig)
27
27
  xcconfig.save_as full_path
28
28
  end
29
29
  puts "[Amimono] Vendored build settings patched for target #{aggregated_target.label}"
@@ -42,12 +42,14 @@ module Amimono
42
42
  end
43
43
  end
44
44
 
45
- # Copied over from https://github.com/CocoaPods/CocoaPods/blob/e5afc825eeafa60933a1299f52eb764c267cc9b2/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb#L152-L158
45
+ # Copied over from https://github.com/CocoaPods/CocoaPods/blob/2fa648221b6548e941116f5e146361ba557bbed0/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb#L183-L191
46
46
  # with some modifications to this particular use case
47
- def self.generate_vendored_build_settings(pod_targets, xcconfig)
48
- pod_targets.each do |pod_target|
49
- Pod::Generator::XCConfig::XCConfigHelper.add_settings_for_file_accessors_of_target(pod_target, xcconfig)
50
- end
47
+ def self.generate_vendored_build_settings(aggregated_target, pod_targets, xcconfig)
48
+ targets = pod_targets + aggregated_target.search_paths_aggregate_targets.flat_map(&:pod_targets)
49
+
50
+ targets.each do |pod_target|
51
+ Pod::Generator::XCConfig::XCConfigHelper.add_settings_for_file_accessors_of_target(aggregated_target, pod_target, xcconfig)
52
+ end
51
53
  end
52
54
 
53
55
  # Copied over from https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/installer/xcode/pods_project_generator/aggregate_target_installer.rb#L115-L131
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.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renzo Crisostomo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2017-02-15 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
@@ -73,17 +73,17 @@ require_paths:
73
73
  - lib
74
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - '>='
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
78
  version: 2.0.0
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project:
86
- rubygems_version: 2.4.8
86
+ rubygems_version: 2.6.4
87
87
  signing_key:
88
88
  specification_version: 3
89
89
  summary: Move all dynamic frameworks symbols into the main executable.