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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3bb7c27a7e29c6ab1b4feb4645f51cee49f736c76df95a1eac32f6a33e7f401
4
- data.tar.gz: 7cf3f437e11e0226d32cb8e28a318567a894156de74b055e357f40115ea05daf
3
+ metadata.gz: 50c510c6c93d0e7a24d5c2fbd53ea4b4b78250465740ab5a477012e89e14d395
4
+ data.tar.gz: f11e12899943da4f45ff9765b0ace087b6e3f2b759f45acfe8d7c1b653240d04
5
5
  SHA512:
6
- metadata.gz: 44451c572c0fb9b1825c0ec82bb6c792b21641fb219cc8baa561e5fc6ddf544d8343ad73cc358744fc81e6fa109092017649b2d62b45ae43ba569ee764ce6703
7
- data.tar.gz: 8be1fb1c21419c1f45327bec68e27145a8dab6e425d7f41c9692e158fc465286d39c2a9217f672aadbce1b31dfd957cac316970c9b2f2b8e9042745d916d415b
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
 
@@ -2,7 +2,7 @@ module Cocoapods
2
2
  module Imy
3
3
  module Hycan
4
4
  module Bin
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-imy-hycan-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - fengjx