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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3dc4494e0f8d10301b56a34252cc329103e6a114699413f33c3f5c5e4c4b245
|
4
|
+
data.tar.gz: 65a04aa1f719fc45fe67fb6b2a4743d6ffeefde86c62f69c0ad29c27481f1af8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
218
|
-
podTests += "\n
|
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
|
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)
|
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.
|
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-
|
11
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|