cocoapods-qpodfile 0.0.1 → 0.0.2

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: a3902a1c0fc88b06246918634b64ca15a816777d24e15a615a182907c60c9331
4
- data.tar.gz: 77006972a11d42ffb9a67c4034b0381ae6881104cba98bd3c08b391a477b9dbd
3
+ metadata.gz: 943ca68849f6660913e7cea37d8456ef820516f00d7c2f7ccd30077415372765
4
+ data.tar.gz: 91ce6a5e927570d906932c76bdd136c7ce321fb37f28e34e1f15ced19a94e298
5
5
  SHA512:
6
- metadata.gz: a4371e6d669f7fb28fa89186f45a55ba1e10b9bebc66167b7bae2b11016290e5564c3418e5c95e1d171b8b206c8241630aa20474879e5b2dda6c6115ad3c6a71
7
- data.tar.gz: e611ee02d998dab78975358c1e064a9250a1d97090100cf963a7f3ec9d2c02aff834366f3d237e9d593507ea93a0dd70220c79645d96455c2ae05e6e552a56b0
6
+ metadata.gz: 7d29bb4efbcd95e904be567ed95c2469c74b6af46ca1c9323d2df9bc9b609d18f9839765ad8484ac31ddd9532d5a1cff9b8f5f514765cd15f8d40021b0cd579d
7
+ data.tar.gz: 1d03f109ea23ec6f2178f6a106caa99c217fbe9c1006b247f5f5acaf21c1428791a071751e6881341b625356b1049c294cceef1c063c27a819f05e17313057ac
@@ -121,6 +121,9 @@ module Pod
121
121
  target_code += "\nend"
122
122
  contents = contents.gsub(/^target\s[\"|']#{name}[\"|'].+?end\n[\n]?/m, (target_code + "\n\n"))
123
123
  podfile_path.open('w') { |f| f << contents}
124
+ elsif name == "Share"
125
+ contents = contents.gsub(/^target\s[\"|']#{name}[\"|'].+?end\n[\n]?/m, ("" + "\n\n"))
126
+ podfile_path.open('w') { |f| f << contents}
124
127
  end
125
128
  end
126
129
  end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsQpodfile
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-qpodfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - huainanzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-02 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler