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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26919a926eb771c4c5ee969d8336a2834dd5b4f3
4
- data.tar.gz: 4e65a1a6f9b669fe9f411d11a368b8341b8e9f62
3
+ metadata.gz: 4e4a85222c12205f7bd6bb4b438c524171a1151d
4
+ data.tar.gz: 1521b86af76155c2bcef5d0193cee7d970daf56b
5
5
  SHA512:
6
- metadata.gz: 4cc409e721eb1fb64bdfdfc13dc76480b5008c04b0f97fe325c917071d5bd1a369c8626d74763291b36dbe1499512907d70a495dde7d3f9d49fdaeab35b3ecb6
7
- data.tar.gz: 84d7b53c2e06e1759c7f57a3b82eaa88cb8174fac501d310cc7dc41215a96a4529741bef9760c54607eb650377963d0be4a5647c3c09bea20719c395c94de618
6
+ metadata.gz: 8425e305b7261b2368703b817ae698f548b581b898ef7aa810912ba9650d1e9054462195425271fe6b3d40aad9388a0f45e2d2b2b3701f63d1355e6bc84ef6cc
7
+ data.tar.gz: 804cb2d6c848eebc147e6db745d4557d2517e54a359c18d58712a39ced6adf40e42a42c4eabb18c9f0409fd97b0a43cd74b35e04d826159e0b1e1a8421cf406e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  #CocoaPods Stats CHANGELOG
2
2
 
3
+ ## 0.5.1
4
+
5
+ * Skips pods that are not integrated ( and thus we can't get UUIDs )
6
+ [Samuel Giddins](https://github.com/CocoaPods/cocoapods-stats/pull/15)
7
+
8
+
3
9
  ## 0.5.0
4
10
 
5
11
  * Initial implementation of stats uploading.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-stats (0.5.0)
4
+ cocoapods-stats (0.5.1)
5
5
  nap (~> 0.8)
6
6
 
7
7
  GEM
@@ -88,4 +88,4 @@ DEPENDENCIES
88
88
  rubocop
89
89
 
90
90
  BUNDLED WITH
91
- 1.10.4
91
+ 1.10.5
@@ -1,3 +1,4 @@
1
+ # Version
1
2
  module CocoapodsStats
2
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
3
4
  end
@@ -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.0
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-06-24 00:00:00.000000000 Z
12
+ date: 2015-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nap