cocoapods-binary-matchup 0.0.26 → 0.0.28

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
  SHA256:
3
- metadata.gz: 638f858fa85e39ed5d10d6c6245d82bc2c4b8690b7194d652c18176893de1e65
4
- data.tar.gz: 26b012a374a50c40bf2e4161267dc2d470e531968145b88c4bf077de0dce1de3
3
+ metadata.gz: 701643222b21d0efff4b93c5788d4a7baa83a1eb9055f021503b1ccc9368d5b4
4
+ data.tar.gz: dae5536d6035f67546136f12ffe1fc52d602bdffc8dd5eeba120fec2313c4cd7
5
5
  SHA512:
6
- metadata.gz: 281017fd01ddfbe8f9b85c6690f1a45038271d5787f12da04f5bcb78c64c9ace0bbebbcc58ebd1f64880e73cf11f1708c6048e0bb84fa65a0ea105379f40532f
7
- data.tar.gz: 6eb3299ff746e8728816f7048d6aac9db8bd273d852f6bd236f78e650ec957d0186d7135953bacb7338170bd5eca2d738fef3e5f2af27ecd3c962290d61935e2
6
+ metadata.gz: 5f5fc6ac49f76f8499a4b0cebe6895e62df9f92587e37657bcb03c68096d8f278b64dfacc133c0b204364b2c95337c451d5f1d0324f9fefe7edc343c09cc615c
7
+ data.tar.gz: 8cf8d948c812075b068479e25737a0d43999831f2dea87a018d6d62fe8c1049d96bb27076f88173ed91d4bd4ae1939669d768402ee9e8ce8e5c215c14014d909
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-binary-matchup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - leavez
@@ -92,31 +92,7 @@ email:
92
92
  executables: []
93
93
  extensions: []
94
94
  extra_rdoc_files: []
95
- files:
96
- - ".gitignore"
97
- - ".travis.yml"
98
- - Gemfile
99
- - Gemfile.lock
100
- - LICENSE.txt
101
- - README.md
102
- - Rakefile
103
- - cocoapods-binary-matchup.gemspec
104
- - lib/cocoapods-binary-matchup/Integration.rb
105
- - lib/cocoapods-binary-matchup/Integration_cache.rb
106
- - lib/cocoapods-binary-matchup/Main.rb
107
- - lib/cocoapods-binary-matchup/Prebuild.rb
108
- - lib/cocoapods-binary-matchup/gem_version.rb
109
- - lib/cocoapods-binary-matchup/helper/feature_switches.rb
110
- - lib/cocoapods-binary-matchup/helper/passer.rb
111
- - lib/cocoapods-binary-matchup/helper/podfile_options.rb
112
- - lib/cocoapods-binary-matchup/helper/prebuild_sandbox.rb
113
- - lib/cocoapods-binary-matchup/helper/target_checker.rb
114
- - lib/cocoapods-binary-matchup/rome/build_framework.rb
115
- - lib/cocoapods-binary-matchup/tool/tool.rb
116
- - lib/cocoapods-binary.rb
117
- - lib/cocoapods_plugin.rb
118
- - spec/plugin_spec.rb
119
- - spec/spec_helper.rb
95
+ files: []
120
96
  homepage: https://github.com/omiapp/cocoapod_binary_matchup
121
97
  licenses:
122
98
  - MIT
@@ -139,6 +115,4 @@ rubygems_version: 3.6.9
139
115
  specification_version: 4
140
116
  summary: A CocoaPods plugin to integrate pods in form of prebuilt frameworks, not
141
117
  source code, by adding just one flag in podfile. Speed up compiling dramatically.
142
- test_files:
143
- - spec/plugin_spec.rb
144
- - spec/spec_helper.rb
118
+ test_files: []
data/.gitignore DELETED
@@ -1,32 +0,0 @@
1
- .DS_Store
2
- pkg
3
- .idea/
4
-
5
- test/Pods
6
-
7
- ## Various settings
8
- *.pbxuser
9
- !default.pbxuser
10
- *.mode1v3
11
- !default.mode1v3
12
- *.mode2v3
13
- !default.mode2v3
14
- *.perspectivev3
15
- !default.perspectivev3
16
- xcuserdata/
17
-
18
- ## Other
19
- *.moved-aside
20
- *.xccheckout
21
- *.xcscmblueprint
22
-
23
- ### Xcode Patch ###
24
- *.xcodeproj/*
25
- !*.xcodeproj/project.pbxproj
26
- !*.xcodeproj/xcshareddata/
27
- !*.xcworkspace/contents.xcworkspacedata
28
- /*.gcno
29
- test/Binary.xcworkspace/contents.xcworkspacedata
30
- test/Binary.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
31
- test/Podfile
32
- test/Podfile.lock
data/.travis.yml DELETED
@@ -1,23 +0,0 @@
1
- osx_image: xcode9.3
2
- language: objective-c
3
- cache:
4
- - cocoapods
5
- - bundler
6
- before_install:
7
- - gem install cocoapods
8
- script:
9
- - rake install
10
- - cd test
11
- - sh test.sh
12
- - cd ..
13
-
14
- # auto deploy on tagging
15
- # automatically set by `travis setup rubygems`
16
- deploy:
17
- provider: rubygems
18
- api_key:
19
- secure: rubygems_36250bc5acbeefaa1a7985a22146376d17725f0583417826
20
- gem: cocoapods-binary-matchup
21
- on:
22
- tags: true
23
- repo: omiapp/cocoapods-binary-matchup
data/Gemfile DELETED
@@ -1,13 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in cocoapods-binary-matchup.gemspec
4
- gemspec
5
-
6
- group :development do
7
- gem 'cocoapods'
8
-
9
- gem 'mocha'
10
- gem 'bacon'
11
- gem 'mocha-on-bacon'
12
- gem 'prettybacon'
13
- end
data/Gemfile.lock DELETED
@@ -1,161 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cocoapods-binary-matchup (0.0.14)
5
- cocoapods (>= 1.5.0, < 2.0)
6
- fourflusher (~> 2.0)
7
- xcpretty (~> 0.3.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- CFPropertyList (3.0.7)
13
- base64
14
- nkf
15
- rexml
16
- activesupport (7.2.2.1)
17
- base64
18
- benchmark (>= 0.3)
19
- bigdecimal
20
- concurrent-ruby (~> 1.0, >= 1.3.1)
21
- connection_pool (>= 2.2.5)
22
- drb
23
- i18n (>= 1.6, < 2)
24
- logger (>= 1.4.2)
25
- minitest (>= 5.1)
26
- securerandom (>= 0.3)
27
- tzinfo (~> 2.0, >= 2.0.5)
28
- addressable (2.8.7)
29
- public_suffix (>= 2.0.2, < 7.0)
30
- algoliasearch (1.27.5)
31
- httpclient (~> 2.8, >= 2.8.3)
32
- json (>= 1.5.1)
33
- atomos (0.1.3)
34
- bacon (1.2.0)
35
- base64 (0.3.0)
36
- benchmark (0.4.1)
37
- bigdecimal (3.2.2)
38
- claide (1.1.0)
39
- cocoapods (1.16.2)
40
- addressable (~> 2.8)
41
- claide (>= 1.0.2, < 2.0)
42
- cocoapods-core (= 1.16.2)
43
- cocoapods-deintegrate (>= 1.0.3, < 2.0)
44
- cocoapods-downloader (>= 2.1, < 3.0)
45
- cocoapods-plugins (>= 1.0.0, < 2.0)
46
- cocoapods-search (>= 1.0.0, < 2.0)
47
- cocoapods-trunk (>= 1.6.0, < 2.0)
48
- cocoapods-try (>= 1.1.0, < 2.0)
49
- colored2 (~> 3.1)
50
- escape (~> 0.0.4)
51
- fourflusher (>= 2.3.0, < 3.0)
52
- gh_inspector (~> 1.0)
53
- molinillo (~> 0.8.0)
54
- nap (~> 1.0)
55
- ruby-macho (>= 2.3.0, < 3.0)
56
- xcodeproj (>= 1.27.0, < 2.0)
57
- cocoapods-core (1.16.2)
58
- activesupport (>= 5.0, < 8)
59
- addressable (~> 2.8)
60
- algoliasearch (~> 1.0)
61
- concurrent-ruby (~> 1.1)
62
- fuzzy_match (~> 2.0.4)
63
- nap (~> 1.0)
64
- netrc (~> 0.11)
65
- public_suffix (~> 4.0)
66
- typhoeus (~> 1.0)
67
- cocoapods-deintegrate (1.0.5)
68
- cocoapods-downloader (2.1)
69
- cocoapods-plugins (1.0.0)
70
- nap
71
- cocoapods-search (1.0.1)
72
- cocoapods-trunk (1.6.0)
73
- nap (>= 0.8, < 2.0)
74
- netrc (~> 0.11)
75
- cocoapods-try (1.2.0)
76
- colored2 (3.1.2)
77
- concurrent-ruby (1.3.5)
78
- connection_pool (2.5.3)
79
- drb (2.2.3)
80
- escape (0.0.4)
81
- ethon (0.16.0)
82
- ffi (>= 1.15.0)
83
- ffi (1.17.2)
84
- ffi (1.17.2-aarch64-linux-gnu)
85
- ffi (1.17.2-aarch64-linux-musl)
86
- ffi (1.17.2-arm-linux-gnu)
87
- ffi (1.17.2-arm-linux-musl)
88
- ffi (1.17.2-arm64-darwin)
89
- ffi (1.17.2-x86-linux-gnu)
90
- ffi (1.17.2-x86-linux-musl)
91
- ffi (1.17.2-x86_64-darwin)
92
- ffi (1.17.2-x86_64-linux-gnu)
93
- ffi (1.17.2-x86_64-linux-musl)
94
- fourflusher (2.3.1)
95
- fuzzy_match (2.0.4)
96
- gh_inspector (1.1.3)
97
- httpclient (2.9.0)
98
- mutex_m
99
- i18n (1.14.7)
100
- concurrent-ruby (~> 1.0)
101
- json (2.12.2)
102
- logger (1.7.0)
103
- minitest (5.25.5)
104
- mocha (2.7.1)
105
- ruby2_keywords (>= 0.0.5)
106
- mocha-on-bacon (0.2.3)
107
- mocha (>= 0.13.0)
108
- molinillo (0.8.0)
109
- mutex_m (0.3.0)
110
- nanaimo (0.4.0)
111
- nap (1.1.0)
112
- netrc (0.11.0)
113
- nkf (0.2.0)
114
- prettybacon (0.0.2)
115
- bacon (~> 1.2)
116
- public_suffix (4.0.7)
117
- rake (13.3.0)
118
- rexml (3.4.1)
119
- rouge (2.0.7)
120
- ruby-macho (2.5.1)
121
- ruby2_keywords (0.0.5)
122
- securerandom (0.4.1)
123
- typhoeus (1.4.1)
124
- ethon (>= 0.9.0)
125
- tzinfo (2.0.6)
126
- concurrent-ruby (~> 1.0)
127
- xcodeproj (1.27.0)
128
- CFPropertyList (>= 2.3.3, < 4.0)
129
- atomos (~> 0.1.3)
130
- claide (>= 1.0.2, < 2.0)
131
- colored2 (~> 3.1)
132
- nanaimo (~> 0.4.0)
133
- rexml (>= 3.3.6, < 4.0)
134
- xcpretty (0.3.0)
135
- rouge (~> 2.0.7)
136
-
137
- PLATFORMS
138
- aarch64-linux-gnu
139
- aarch64-linux-musl
140
- arm-linux-gnu
141
- arm-linux-musl
142
- arm64-darwin
143
- ruby
144
- x86-linux-gnu
145
- x86-linux-musl
146
- x86_64-darwin
147
- x86_64-linux-gnu
148
- x86_64-linux-musl
149
-
150
- DEPENDENCIES
151
- bacon
152
- bundler (~> 2.6.9)
153
- cocoapods
154
- cocoapods-binary-matchup!
155
- mocha
156
- mocha-on-bacon
157
- prettybacon
158
- rake
159
-
160
- BUNDLED WITH
161
- 2.6.9
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2018 leavez <gaojiji@gmail.com>
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,83 +0,0 @@
1
- # cocoapods-binary
2
-
3
- [![Build Status](https://travis-ci.org/leavez/cocoapods-binary.svg?branch=master)](https://travis-ci.org/leavez/cocoapods-binary)
4
-
5
- A CocoaPods plugin to integrate pods in form of prebuilt frameworks, not source code, by adding **just one flag** in podfile. Speed up compiling dramatically.
6
-
7
- ## Why
8
-
9
- You may wonder why CocoaPods doesn't have a function to integrate libs in form of binaries, if there are dozens or hundreds of pods in your podfile and compile them for a great many times meaninglessly. Too many source code of libs slow down your compile and the response of IDE (e.g. code completion), and then reduce work efficiency, leaving us time to think about the meaning of life.
10
-
11
- This plugin implements this simple wish. Replace the source code in pod target with prebuilt frameworks.
12
-
13
- Why don't use Carthage? While Carthage also integrates libs in form of frameworks, there several reasons to use CocoaPods with this plugin:
14
-
15
- - Pod is a good simple form to organize files, manage dependencies. (private or local pods)
16
- - Fast switch between source code and binary, or partial source code, partial binaries.
17
- - Some libs don't support Carthage.
18
-
19
- ## How it works
20
-
21
- It will compile the source code of pods during the pod install process, and make CocoaPods use them. Which pod should be compiled is controlled by the flag in Podfile.
22
-
23
- #### Under the hood
24
-
25
- ( You could leave this paragraph for further reading, and try it now. )
26
-
27
- The plugin will do a separated completed 'Pod install' in the standard pre-install hook. But we filter the pods by the flag in Podfile here. Then build frameworks with this generated project by using xcodebuild. Store the frameworks in `Pods/_Prebuild` and save the manifest.lock file for the next pod install.
28
-
29
- Then in the flowing normal install process, we hook the integration functions to modify pod specification to using our frameworks.
30
-
31
- ## Installation
32
-
33
- $ gem install cocoapods-binary-matchup
34
-
35
- ## Usage
36
-
37
- ``` ruby
38
- plugin 'cocoapods-binary-matchup'
39
-
40
- use_frameworks!
41
- # all_binary!
42
-
43
- target "HP" do
44
- pod "ExpectoPatronum", :binary => true
45
- end
46
- ```
47
-
48
- - Add `plugin 'cocoapods-binary-matchup'` in the head of Podfile
49
- - Add `:binary => true` as a option of one specific pod, or add `all_binary!` before all targets, which makes all pods binaries.
50
- - pod install, and that's all
51
-
52
- **Note**: cocoapods-binary require `use_frameworks!`. If your worry about the boot time and other problems introduced by dynamic framework, static framework is a good choice. Another [plugin](https://github.com/leavez/cocoapods-static-swift-framework) made by me to make all pods static frameworks is recommended.
53
-
54
- #### Options
55
-
56
- If you want to disable binary for a specific pod when using `all_binary!`, place a `:binary => false` to it.
57
-
58
- If your `Pods` folder is excluded from git, you may add `keep_source_code_for_prebuilt_frameworks!` in the head of Podfile to speed up pod install, as it won't download all the sources every time prebuilt pods have changes.
59
-
60
- If bitcode is needed, add a `enable_bitcode_for_prebuilt_frameworks!` before all targets in Podfile
61
-
62
- if forbidden simulator, add a `simulator_build_disable!` before all targets in Podfile
63
-
64
- if custom build configuration is needed, add a `set_custom_xcodebuild_options_for_prebuilt_frameworks` before all targets in Podfile; e.g:
65
- set_custom_xcodebuild_options_for_prebuilt_frameworks({
66
- :device => "ARCHS=arm64",
67
- :simulator => "ARCHS=x86_64",
68
- :DEBUG_INFORMATION_FORMAT => "dwarf"
69
- })
70
-
71
-
72
- #### Known Issues
73
-
74
- - doesn't support watchos now
75
- - dSYM files is missing for dynamic frameworks using this plugin. Walkaround: Don't use this plugin for a release build. Add a if condition with ENV around `plugin 'cocoapods-binary-matchup'`
76
-
77
- ## License
78
-
79
- MIT
80
-
81
- Appreciate a 🌟 if you like it.
82
-
83
-
data/Rakefile DELETED
@@ -1,13 +0,0 @@
1
- require 'bundler/gem_tasks'
2
-
3
- def specs(dir)
4
- FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
5
- end
6
-
7
- desc 'Runs all the specs'
8
- task :specs do
9
- sh "bundle exec bacon #{specs('**')}"
10
- end
11
-
12
- task :default => :specs
13
-
@@ -1,27 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'cocoapods-binary-matchup/gem_version.rb'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'cocoapods-binary-matchup'
8
- spec.version = CocoapodsBinary::VERSION
9
- spec.authors = ['leavez']
10
- spec.email = ['gaojiji@gmail.com']
11
- spec.description = %q{integrate pods in form of prebuilt frameworks conveniently, reducing compile time}
12
- spec.summary = %q{A CocoaPods plugin to integrate pods in form of prebuilt frameworks, not source code, by adding just one flag in podfile. Speed up compiling dramatically.}
13
- spec.homepage = 'https://github.com/omiapp/cocoapod_binary_matchup'
14
- spec.license = 'MIT'
15
-
16
- spec.files = `git ls-files`.split($/).reject{|f| f.start_with?("test/") || f.start_with?('demo/')}
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ['lib']
20
-
21
- spec.add_dependency "cocoapods", ">= 1.5.0", "< 2.0"
22
- spec.add_dependency "fourflusher", "~> 2.0"
23
- spec.add_dependency "xcpretty", "~> 0.4.1"
24
-
25
- spec.add_development_dependency 'bundler', '~> 2.6.9'
26
- spec.add_development_dependency 'rake'
27
- end