cocoapods-x 0.0.4 → 0.0.5

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: 42f6d120ab8628286834e79eb373915db74767a234f92d43aaa936a020941fbd
4
- data.tar.gz: 38233cd868c014a4d2bc76af14adfc79c6d2405d46dfa8b99c4047648e3bd884
3
+ metadata.gz: 19b090806f64d93b35977264af488a0108fe866948891d57a4baa43f7448d1eb
4
+ data.tar.gz: 988e3b808c1d65218bda3fbafd82c947193190da6c4e5476b439ffea599977e1
5
5
  SHA512:
6
- metadata.gz: 282fba66c0f61166fae1999a438622a4ef18f12a69d3dc149d9751258d288cf8c789c90e8a11742472ddcfba2f7eb03d55806d3f68e6a42838b33885f8bdde40
7
- data.tar.gz: e76c09f47966545cf60303894e1b1a2dd15065bb8edadd55b4e0108d7bfd759dba7dfcd646ea1a480b3e7291c4cafb1051b243d8c0e4b9f31dc7e76a76969fa4
6
+ metadata.gz: 13a05ba308c11391b295940eeead5c7ec058a2b50807b9ec8761612e5f04ab5d4d13aa6675835c49a80a1685494cf77a922cc1e93e71be2abfb555710abee92f
7
+ data.tar.gz: 93cb027e5cca3494a7d8d5c5fd6b0b11dcf8c5d1c20a9cea15b81bc6186836ea5856cdde456d82f8d23db0e54d15e455a7f2355f6425d9ae2baec95a02481eed
@@ -1,3 +1,4 @@
1
+ require 'cocoapods-x/gem_version'
1
2
  require 'cocoapods-x/extension/sandbox'
2
3
  require 'cocoapods-x/extension/configure'
3
4
  require 'cocoapods-x/extension/installer/dsl'
@@ -50,7 +51,7 @@ module Pod
50
51
  @sources_builder::build(workspace.source_file)
51
52
  @repos = build_repos()
52
53
  @use_repos = Array::new
53
- UI.puts 'Pod::X '.magenta + 'Working...'.green
54
+ UI.puts 'Pod::X '.magenta + "(#{CocoapodsX::VERSION}) Working...".green
54
55
  end
55
56
 
56
57
  def monitor_initialize_end(defined_in_file = nil, internal_hash = {}, &block)
@@ -33,8 +33,9 @@ module Pod
33
33
  @template.update!
34
34
  @projects.update!
35
35
 
36
- rm! ['-rf', source_file]
37
- cp! [@template::source_file, source_file]
36
+ unless source_file.exist?
37
+ cp! [@template::source_file, source_file]
38
+ end
38
39
  end
39
40
 
40
41
  def source_file
@@ -1,3 +1,3 @@
1
1
  module CocoapodsX
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-x
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - panghu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-16 00:00:00.000000000 Z
11
+ date: 2020-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler