cocoapods-show-podpsecs-in-project 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: f843b117f97051f6d2a0ef1002488243f64ce976
4
- data.tar.gz: e3619adcfcf6bbb429e06c43f8ba4d893c58da97
3
+ metadata.gz: ad10b7dcb0ef3b67ca9e6978faa4620884c12bea
4
+ data.tar.gz: fea9991e38dce82960ed474d2cbe827b59421bb0
5
5
  SHA512:
6
- metadata.gz: b1822bf6ecb1e432893c08552705d99885bce9995471eaa8aa2a1dba5eafa0e00ea7db167a6e30daf2f144d302f92e560261fe04208de03668846c682a719ecd
7
- data.tar.gz: 9193c80576093a7771f2cde1141d619ff12f8272181a183c023fb603fe5ff70d19bd31dd72272a2b95e569e2972d4e38e282b48228896cd213fa79cb804d045a
6
+ metadata.gz: 6f283c2c4fc98d0ec65ed276164bfd4bb1f35090101f37e83b2bed92ad49910558033a478c980cfbcf28b59ec6a0e662a681ec0906e33cb6041975e970d513c1
7
+ data.tar.gz: 565611a4961ef1f68b2bd812cdb52a2cf9528ccf315399d0a4299b96952be840dacf570adafb62f041a18512f5c5324c056bd4556e4ba8eeb1867e3925afaf2a
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  .DS_Store
2
2
  pkg
3
3
  .idea/
4
+ *.gem
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-show-podpsecs-in-project (0.1.0)
4
+ cocoapods-show-podpsecs-in-project (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # cocoapods-show-podpsecs-in-project
2
2
 
3
- A CocoaPods plugin which shows all project related podpsecs in pods project.
3
+ [![Gem Version](https://badge.fury.io/rb/cocoapods-show-podpsecs-in-project.svg)](https://badge.fury.io/rb/cocoapods-show-podpsecs-in-project)
4
+
5
+ A CocoaPods plugin which shows all project related podpsecs in pods project, including all dependencies.
4
6
 
5
7
  No need to lookup podspecs any more.
6
8
 
@@ -12,12 +14,20 @@ No need to lookup podspecs any more.
12
14
 
13
15
  ## Usage
14
16
 
15
- Add this line to `Podfile`, and you are all set 🥳
16
-
17
17
  plugin 'cocoapods-show-podpsecs-in-project'
18
18
 
19
+ Add this line to `Podfile`, and you are all set 🥳
20
+
19
21
  After a `pod install`, all podspecs should be shown in pods project.
20
22
 
23
+ ## Why
24
+
25
+ Recently I met a problem.
26
+
27
+ Xcode 10 does not bundle with `libstdc++6.0.9`, but some pods we depended on write `s.libraries = 'stdc++.6'` in their podspec and cause our project failed to build. It's pretty frustrating to lookup their podspecs one by one and try to figure out which pod depend on this library. But with this plugin, it's easy to search and locate which extacly cause this problem.
28
+
29
+ I suppose, this plugin should only be useful at some rate situation.
30
+
21
31
  ## License
22
32
 
23
33
  MIT
@@ -1,3 +1,3 @@
1
1
  module CocoapodsShowPodpsecsInProject
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -8,6 +8,7 @@ module CocoapodsGitHooks
8
8
  FileUtils.mkdir specs_dir_path
9
9
 
10
10
  context.umbrella_targets[0].specs.each do |spec|
11
+ spec = spec.parent if spec.subspec?
11
12
  path = "#{specs_dir_path}/#{spec.name}.podpsec.json"
12
13
  File.open(path, 'w') { |file| file.write(spec.to_pretty_json) }
13
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-show-podpsecs-in-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - X140Yu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-15 00:00:00.000000000 Z
11
+ date: 2018-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler