cocoapods-hooks 0.0.1 → 0.0.2

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: 34a8f75a4c149e23f7e8a89da4e4ef52542255f18ee9468072b3f89936cf4d88
4
- data.tar.gz: 5e826359b216b88c93a862f90961b7ed79489911165d4c6964ac0a72b8fcdc3b
3
+ metadata.gz: d18d0fe6410b66019897d7d413a8c0391a4869d337b3926125b13d24128b4fb1
4
+ data.tar.gz: a87ecc9d0799a34537a241de9514eb4bb6058bb36a0e30678c1bc0a3fe58aa6f
5
5
  SHA512:
6
- metadata.gz: d0dcb09899bce00b905c21ead92b245f4d55827302ca75c5b1187027af6aa94684f58afef47d17dde2af2ebd7c7c5d0f2fe124f0bb62d36487bbc5f35dc9ade0
7
- data.tar.gz: 8ef78f056a942eb258cbe9e7b89b702e5cfa915a4faf80bf46c713730c7390fbd251426624c6ea9524e304f79ca086a84af7a2c4191b71ca8949cf160fc327f8
6
+ metadata.gz: 1aa3d7dd395c56c4eea8e80e950a3fae5254038eab9cf1d5bb57bd2ca4d06d09990ba8595a12826eae3a7340bab8c9a23e02a7bf0a3344dc2c75b83d09da1594
7
+ data.tar.gz: 39f15884011a678b1771a16aada918efea5abbf859333100284f21f5787dc60e0781930e9dae9c1e5c60c4751ad58f038fde65fa786b2c640a07aee3f201b1ff
@@ -48,7 +48,8 @@ module Pod
48
48
  puts "repository cloned to #{Dir.pwd}"
49
49
  project_config_plist_path = Dir.pwd + "/ios_project_config/#{tenant_id}/ProjectConfig.plist"
50
50
  # 将配置文件拷贝到工程目录下
51
- FileUtils.cp(project_config_plist_path, CocoapodsHooks::PLIST_PATH)
51
+ current_plist_path = Dir.pwd + '/AddxAi/AppConfig/ProjectConfig.plist'
52
+ FileUtils.cp(project_config_plist_path, current_plist_path)
52
53
  puts "AppIcon.appiconset path is: #{Dir.pwd + "/ios_project_config/#{tenant_id}/resource/AppIcon.appiconset"}"
53
54
  puts "dest AppIcon.appiconset path is: #{Dir.pwd + '/AddxAi/Assets.xcassets/AppIcon.appiconset'}"
54
55
  # 将资源文件拷贝到资源目录下
@@ -1,3 +1,3 @@
1
1
  module CocoapodsHooks
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,13 +1,7 @@
1
1
  require 'cocoapods-hooks/command'
2
- require 'install'
3
- require 'dsl'
4
2
  require 'cocoapods'
5
- require 'fileutils'
6
- require 'plist'
7
3
 
8
4
  module CocoapodsHooks
9
-
10
- PLIST_PATH = Dir.pwd + '/AddxAi/AppConfig/ProjectConfig.plist'
11
5
  # 注册 pod install 钩子
12
6
  Pod::HooksManager.register('cocoapods-hooks', :pre_install) do |installer|
13
7
  p "cocoapods-plugin-hooks, hooks pre_install"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - huafeng
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: plist
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  description: A short description of cocoapods-hooks.
56
42
  email:
57
43
  - hm@a4x.io