yk_command 0.5.4 → 0.5.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be5405a014294d16e585c91a77818d36384a9154041e8ab30302aeaeaaf129b3
|
4
|
+
data.tar.gz: 68d188c572745857110cd3fe2d81fcd571ef71abacdf41e100c5a2136f2998d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 215a263dd67e5342a775aad6648b4f3249f158405103715464d590dbf402fc6ba9ffd2f725d2b15a990337b7b367e5065987c4c68041299e0c61473ef73769ae
|
7
|
+
data.tar.gz: 4a3a9e5fef663280660b605591fe95eef06fd5293822465e3970a2576555a9b530144edb2aeac36e723a36d4fc191b2b22496d52898e175b526786892f2d02f2
|
data/Gemfile.lock
CHANGED
@@ -9,7 +9,9 @@ module YkCommand
|
|
9
9
|
no_commands do
|
10
10
|
|
11
11
|
def initialize(config_path)
|
12
|
+
|
12
13
|
@at_path = config_path
|
14
|
+
FileUtils.remove_dir("#{@at_path+'/configruation-files'}", true)
|
13
15
|
hostA = 'yeah'
|
14
16
|
hostB = 'ka'
|
15
17
|
config_repo_url = "http://gitlab.#{hostA}#{hostB}.com/App/iOS/YKComponents/com-manage-platform-resources/configruation-files.git"
|
@@ -140,7 +140,8 @@ module Pod
|
|
140
140
|
end
|
141
141
|
|
142
142
|
def replace_variables_in_files
|
143
|
-
file_names = ['POD_LICENSE', 'POD_README.md', 'NAME.podspec', '.travis.yml', podfile_path]
|
143
|
+
# file_names = ['POD_LICENSE', 'POD_README.md', 'NAME.podspec', '.travis.yml', podfile_path]
|
144
|
+
file_names = ['POD_LICENSE', 'POD_README.md', 'NAME.podspec', podfile_path]
|
144
145
|
file_names.each do |file_name|
|
145
146
|
# text = File.read(file_name)
|
146
147
|
text = File.read("#{$current_dir}/#{file_name}")
|
@@ -29,7 +29,7 @@ module YkCommand
|
|
29
29
|
|
30
30
|
FileUtils.copy_entry "#{current_class_path.to_s + '/YKProjectTemplate'}", "#{current_class_path.to_s + '/temp'}"
|
31
31
|
|
32
|
-
prepare_template(YkConfig.new.read_config
|
32
|
+
prepare_template(YkConfig.new(at_path).read_config PROJECT_CONFIG_FILE)
|
33
33
|
|
34
34
|
Pod::TemplateConfigurator.new(pod_name, framework, prefix, author, "#{current_class_path.to_s + '/temp'}").run
|
35
35
|
#move temp folder to destination
|
data/lib/yk_command/version.rb
CHANGED