shellboxCLI 0.1.2 → 0.1.3

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: 4672adf772bfd40189234d65c78494da49c54e369b7a135df5471a3c3a0d1c00
4
- data.tar.gz: c92be8a2fae141ff11ac6f95a7278c45a00623dd9634d837d3f8f735df7bd676
3
+ metadata.gz: c3dc4494e0f8d10301b56a34252cc329103e6a114699413f33c3f5c5e4c4b245
4
+ data.tar.gz: 65a04aa1f719fc45fe67fb6b2a4743d6ffeefde86c62f69c0ad29c27481f1af8
5
5
  SHA512:
6
- metadata.gz: e1f164d45671e6b3f3df12ab5a50dc3e583544d65f4e275550b5cbe71aaee2cb9cb122b863a67cc7102e9c489b72e292e795da2d04cbb551875ab0aac0f0b9d4
7
- data.tar.gz: e64d4350de09e091c8fa8b2729822010501ccd9462d4ad304c673dc4f6ca58b126995fc8c5f1a47f1bf588f499ce116afcaa1d52a8234c36e95741d32d095422
6
+ metadata.gz: 428a9b261a34ecf6b7e77088df19bb642608f298f47bbca0161e49ca6d5b56544885db572c859d369152b23a49758a691acb7885a9e375ecb6b7287afa5986fe
7
+ data.tar.gz: f3e0dc0602c32d9a710cb9f05e631e37a5385f29109beb41f9ce3d31816bd95d3566bcdd690b3246539bbe451a7c41312501fc5eaabb9c84e0ea9f3723925525
@@ -87,6 +87,13 @@ module IOS
87
87
  podDevInjection += "\n pod '${POD_NAME}Interface', path: '../'"
88
88
  end
89
89
 
90
+ if @module_type == :feature
91
+ podDevInjection += "\n\n pod 'SBFoundation', path: '../../../CoreModules/SBFoundation'"
92
+ podDevInjection += "\n pod 'SBUIKit', path: '../../../CoreModules/SBUIKit'"
93
+ podDevInjection += "\n pod 'SBRouterServiceInterface', path: '../../../CoreModules/SBRouterService'"
94
+ podDevInjection += "\n pod 'SBDependencyInterface', path: '../../../CoreModules/SBDependency'"
95
+ end
96
+
90
97
  text = File.read projectFileName + "/Podfile"
91
98
  text.gsub!("${DEV_PODS}", podDevInjection)
92
99
  text.gsub!("${POD_NAME}", @configurator.pod_name)
@@ -214,14 +221,20 @@ module IOS
214
221
  if @has_test == :yes
215
222
  podTests = "# TESTS"
216
223
  podTests += "\n s.test_spec 'Tests' do |test_spec|"
217
- podTests += "\n test_spec.source_files = '${POD_NAME}Tests/**/*'"
218
- podTests += "\n test_spec.exclude_files = '${POD_NAME}Tests/Resources/*.plist'"
224
+ podTests += "\n test_spec.source_files = '${POD_NAME}Tests/**/*'"
225
+ podTests += "\n test_spec.exclude_files = '${POD_NAME}Tests/Resources/*.plist'"
219
226
  podTests += "\n end"
220
227
  end
221
228
 
222
- podInternal = ""
229
+ podInternal = "s.dependency 'SBFoundation'"
230
+
231
+ if @module_type == :feature
232
+ podInternal += "\n s.dependency 'SBUIKit'"
233
+ podInternal += "\n s.dependency 'SBDependencyInterface'"
234
+ end
235
+
223
236
  if @has_interface == :yes
224
- podInternal = "s.dependency '${POD_NAME}Interface'"
237
+ podInternal += "\n s.dependency '${POD_NAME}Interface'"
225
238
  end
226
239
 
227
240
  text.gsub!("${FEATURE_INTERNAL}", podInternal)
@@ -238,6 +251,13 @@ module IOS
238
251
  podspecFilename = "#{module_root_path}/#{@configurator.pod_name}Interface.podspec"
239
252
  FileUtils.cp(File.join(@configurator.template_path, "NAMEInterface.podspec"), podspecFilename)
240
253
  text = File.read podspecFilename
254
+
255
+ podInternal = ""
256
+ if @module_type == :feature
257
+ podInternal += "\n s.dependency 'SBRouterServiceInterface'"
258
+ end
259
+
260
+ text.gsub!("${FEATURE_INTERNAL}", podInternal)
241
261
  text.gsub!("${POD_NAME}", @configurator.pod_name)
242
262
  text.gsub!("${USER_NAME}", @configurator.user_name)
243
263
  text.gsub!("${USER_EMAIL}", @configurator.user_email)
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
14
14
 
15
15
 
16
16
  # INTERNAL DEPENDENCY
17
-
17
+ ${FEATURE_INTERNAL}
18
18
 
19
19
 
20
20
  # THIRTY PARTY
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellboxCLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShellBox App
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor