cocoapods-imy-hycan-bin 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-imy-bin/command/bin/update.rb +1 -1
- data/lib/cocoapods-imy-bin/native/podfile.rb +1 -1
- data/lib/cocoapods-imy-bin/native/podfile_env.rb +1 -1
- data/lib/cocoapods-imy-bin/source_provider_hook.rb +3 -3
- data/lib/cocoapods/imy/hycan/bin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c510c6c93d0e7a24d5c2fbd53ea4b4b78250465740ab5a477012e89e14d395
|
4
|
+
data.tar.gz: f11e12899943da4f45ff9765b0ace087b6e3f2b759f45acfe8d7c1b653240d04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d373eb17e12fadaa8afb5d9e94b6ea7c9bc764af88965648faa90fb224602452f42ae8b0b841281716fee8eda2b124b89779011d190c9ee5b69d3a22bef88f8
|
7
|
+
data.tar.gz: bc80f75603b46f66529f9015450320386f3b95c6c7605707a8e00e35c4d4b980f7ee7298a3a6916bbf95bf425449714efc415b55570229a51f7666df182f7903
|
@@ -122,7 +122,7 @@ module Pod
|
|
122
122
|
# 把本地和原始到dependencies 合并,设置dependencies
|
123
123
|
local_dependencies.each do |d|
|
124
124
|
UI.message "Development Pod #{d.to_yaml}"
|
125
|
-
if podfile.plugins.keys.include?('cocoapods-imy-bin')
|
125
|
+
if podfile.plugins.keys.include?('cocoapods-imy-hycan-bin')
|
126
126
|
podfile.set_use_source_pods(d.keys.first) if (d.is_a?(Hash) && d.keys.first)
|
127
127
|
end
|
128
128
|
end
|
@@ -72,7 +72,7 @@ module Pod
|
|
72
72
|
private
|
73
73
|
|
74
74
|
def valid_bin_plugin
|
75
|
-
unless plugins.keys.include?('cocoapods-imy-bin')
|
75
|
+
unless plugins.keys.include?('cocoapods-imy-hycan-bin')
|
76
76
|
raise Pod::Informative, 'You should add `plugin \'cocoapods-imy-bin\'` before using its DSL'
|
77
77
|
end
|
78
78
|
end
|
@@ -11,7 +11,7 @@ module Pod
|
|
11
11
|
|
12
12
|
module ENVExecutor
|
13
13
|
def execute_with_bin_plugin(&block)
|
14
|
-
execute_with_key(USE_PLUGINS, -> { 'cocoapods-imy-bin' }, &block)
|
14
|
+
execute_with_key(USE_PLUGINS, -> { 'cocoapods-imy-hycan-bin' }, &block)
|
15
15
|
end
|
16
16
|
|
17
17
|
def execute_with_allow_prerelease(allow_prerelease, &block)
|
@@ -2,7 +2,7 @@ require 'cocoapods-imy-bin/native/sources_manager'
|
|
2
2
|
require 'cocoapods-imy-bin/command/bin/repo/update'
|
3
3
|
require 'cocoapods/user_interface'
|
4
4
|
|
5
|
-
Pod::HooksManager.register('cocoapods-imy-bin', :pre_install) do |_context, _|
|
5
|
+
Pod::HooksManager.register('cocoapods-imy-hycan-bin', :pre_install) do |_context, _|
|
6
6
|
require 'cocoapods-imy-bin/native'
|
7
7
|
|
8
8
|
#pod bin update || install 不走这里
|
@@ -13,7 +13,7 @@ Pod::HooksManager.register('cocoapods-imy-bin', :pre_install) do |_context, _|
|
|
13
13
|
Pod::Command::Bin::Repo::Update.new(CLAide::ARGV.new([])).run
|
14
14
|
|
15
15
|
# 有插件/本地库 且是dev环境下,默认进入源码白名单 过滤 archive命令
|
16
|
-
if _context.podfile.plugins.keys.include?('cocoapods-imy-bin') && _context.podfile.configuration_env == 'dev'
|
16
|
+
if _context.podfile.plugins.keys.include?('cocoapods-imy-hycan-bin') && _context.podfile.configuration_env == 'dev'
|
17
17
|
dependencies = _context.podfile.dependencies
|
18
18
|
dependencies.each do |d|
|
19
19
|
next unless d.respond_to?(:external_source) &&
|
@@ -44,7 +44,7 @@ Pod::HooksManager.register('cocoapods-imy-bin', :pre_install) do |_context, _|
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
Pod::HooksManager.register('cocoapods-imy-bin', :source_provider) do |context, _|
|
47
|
+
Pod::HooksManager.register('cocoapods-imy-hycan-bin', :source_provider) do |context, _|
|
48
48
|
#pod bin update || install 不走这里
|
49
49
|
if $ARGV[1] == 'update' || $ARGV[1] != 'install'
|
50
50
|
|