yk_command 0.5.4 → 0.5.7

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: b14860e741967bf1e1962b731b5e6410041dcd2f0a7b306e36b617ae08fdac11
4
- data.tar.gz: 22c4cff5793fe6f6e4c20e25203f92e463a986feaf7a6a5d54542e3199e8bc02
3
+ metadata.gz: be5405a014294d16e585c91a77818d36384a9154041e8ab30302aeaeaaf129b3
4
+ data.tar.gz: 68d188c572745857110cd3fe2d81fcd571ef71abacdf41e100c5a2136f2998d0
5
5
  SHA512:
6
- metadata.gz: 2d3cf9617030efc50565b6b468997b5812ae6b5701abb92c3094452fab63e0d39fff69faed885b502559c81dea16e69c0747ab017f5ec1d4ff5d579ffdd9cd7f
7
- data.tar.gz: 02eb89e280b18fdf83f6acde3abc29108a5ee50e712e27bd6467e6c4a98b97d0582fbde87e082305772dff5cef9b137e295fa273b514cae81dc3b87238a64048
6
+ metadata.gz: 215a263dd67e5342a775aad6648b4f3249f158405103715464d590dbf402fc6ba9ffd2f725d2b15a990337b7b367e5065987c4c68041299e0c61473ef73769ae
7
+ data.tar.gz: 4a3a9e5fef663280660b605591fe95eef06fd5293822465e3970a2576555a9b530144edb2aeac36e723a36d4fc191b2b22496d52898e175b526786892f2d02f2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yk_command (0.5.4)
4
+ yk_command (0.5.7)
5
5
  bundler
6
6
  cocoapods
7
7
  cocoapods-core
@@ -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 at_path,PROJECT_CONFIG_FILE)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YkCommand
4
- VERSION = '0.5.4'.freeze
4
+ VERSION = '0.5.7'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yk_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Major Tom