cocoapods-stats 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +2 -2
- data/lib/cocoapods_stats/gem_version.rb +2 -1
- data/lib/cocoapods_stats/target_mapper.rb +8 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e4a85222c12205f7bd6bb4b438c524171a1151d
|
4
|
+
data.tar.gz: 1521b86af76155c2bcef5d0193cee7d970daf56b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8425e305b7261b2368703b817ae698f548b581b898ef7aa810912ba9650d1e9054462195425271fe6b3d40aad9388a0f45e2d2b2b3701f63d1355e6bc84ef6cc
|
7
|
+
data.tar.gz: 804cb2d6c848eebc147e6db745d4557d2517e54a359c18d58712a39ced6adf40e42a42c4eabb18c9f0409fd97b0a43cd74b35e04d826159e0b1e1a8421cf406e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -7,6 +7,14 @@ module CocoaPodsStats
|
|
7
7
|
# generate a collection of hashes
|
8
8
|
def pods_from_project(context, master_pods)
|
9
9
|
context.umbrella_targets.flat_map do |target|
|
10
|
+
next unless target.user_project_path
|
11
|
+
|
12
|
+
# These UUIDs come from the Xcode project
|
13
|
+
# http://danwright.info/blog/2010/10/xcode-pbxproject-files-3/
|
14
|
+
|
15
|
+
project = Xcodeproj::Project.open(target.user_project_path)
|
16
|
+
next unless project
|
17
|
+
|
10
18
|
root_specs = target.specs.map(&:root).uniq
|
11
19
|
|
12
20
|
# As it's hard to look up the source of a pod, we
|
@@ -16,11 +24,6 @@ module CocoaPodsStats
|
|
16
24
|
select { |spec| master_pods.include?(spec.name) }.
|
17
25
|
map { |spec| { :name => spec.name, :version => spec.version.to_s } }
|
18
26
|
|
19
|
-
# These UUIDs come from the Xcode project
|
20
|
-
# http://danwright.info/blog/2010/10/xcode-pbxproject-files-3/
|
21
|
-
|
22
|
-
project = Xcodeproj::Project.open(target.user_project_path)
|
23
|
-
|
24
27
|
target.user_target_uuids.map do |uuid|
|
25
28
|
project_target = project.objects_by_uuid[uuid]
|
26
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nap
|