cocoapods-modularization 0.0.7 → 0.0.8

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: 4510890b5b9707a51dd5291e4a565674a111844032e5a6b7fdfe5abda75aaaa5
4
- data.tar.gz: ec80954f70e23ff54844067ae1eb00b1ce5d55d789c0ac04fa19fe70e25b8ba7
3
+ metadata.gz: 28c0053bcf866eb1e608b3567e2665b12679b1d8349805658b77883fdc6da9f5
4
+ data.tar.gz: e1a97d843433bfc31bedace340fb42d29380cd0141ffaeaa122d7c87c6e26f7c
5
5
  SHA512:
6
- metadata.gz: 489abd5d11b1e4768519dad073826def567196805b03b2804eebab7bbf6c65ffb942fbc434f9dcadf68881159e3a5721141ef14c5091d57eea82bf7fa3d68861
7
- data.tar.gz: b09e113d23769e468173f466fc155fe9eca9a3f62473cf691c13bdafae66e6eb312e2d8b13992beed3759b7866574979c9b3d0121c2a8189286c760cb99b2fc2
6
+ metadata.gz: 5c120ee96da859502938d0c8bd0402c64234036085bc855eed4b705776120458f8e1df0315b8d2d6e26c4c76558472f18e6243ecd9f9c4d868b3e7918b95b7cc
7
+ data.tar.gz: 4a1d95d8ea73a0e87bf5ad34e8c599bdd9501116bfbb73da2a17747ba451c40900a34fea7db12e1d6277653075ace79038d9d6fc33a81a995bfc3394461a3002
@@ -37,6 +37,7 @@ module Pod
37
37
  ['--clean-install', 'Ignore the contents of the project cache and force a full pod installation. This only ' \
38
38
  'applies to projects that have enabled incremental installation'],
39
39
  ['--enable-branch', 'Enable branch dependency'],
40
+ ['--original', 'Run pod install ignore cocoapods-modularization']
40
41
  ].concat(super).reject { |(name, _)| name == '--no-repo-update' }
41
42
  end
42
43
 
@@ -45,14 +46,17 @@ module Pod
45
46
  @deployment = argv.flag?('deployment', false)
46
47
  @clean_install = argv.flag?('clean-install', false)
47
48
  @enable_branch = argv.flag?('enable-branch', false)
49
+ @original = argv.flag?('original', false)
48
50
  end
49
51
 
50
52
  def run
51
53
  # encode podfile
52
- begin
53
- Meta::MetaReference.encode_podfile(@enable_branch)
54
- rescue Exception => e
55
- UI.puts "pod install error: #{e}"
54
+ unless @original
55
+ begin
56
+ Meta::MetaReference.encode_podfile(@enable_branch)
57
+ rescue Exception => e
58
+ UI.puts "pod install error: #{e}"
59
+ end
56
60
  end
57
61
 
58
62
  # install
@@ -64,10 +68,12 @@ module Pod
64
68
  installer.clean_install = @clean_install
65
69
  installer.install!
66
70
 
67
- begin
68
- add_modularization_into_xcode_reference
69
- rescue Exception => e
70
- UI.puts e
71
+ unless @original
72
+ begin
73
+ add_modularization_into_xcode_reference
74
+ rescue Exception => e
75
+ UI.puts e
76
+ end
71
77
  end
72
78
  end
73
79
 
@@ -1,3 +1,3 @@
1
1
  module CocoapodsModularization
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-modularization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-14 00:00:00.000000000 Z
11
+ date: 2022-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler