cocoapods-show 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
  SHA1:
3
- metadata.gz: 1abf5159ceafc8b058035ba673fe093f7ba59f5d
4
- data.tar.gz: d401484fccd7573ea8864b24bc73bae7a148237f
3
+ metadata.gz: d19b883916c25743d5b63de2751f343108868ff8
4
+ data.tar.gz: 72081d7887808049c856fe09dfedd326bba29e5f
5
5
  SHA512:
6
- metadata.gz: 954162f8abd378a1423a35698f02202f8f3f19d850c11d25ac71fe3516842fbf54bb8ad48cb18a76c4d1d148e0bdb54da28c97a3103a08b22fa859760c1c0aad
7
- data.tar.gz: 7bbd02a194964a317fb4d255232b4b3d91cbe8ea509c51047d6a8e7a9563dbba828874bbe6e85cc96b832270b928290bcc276b1d42d945534371b6af4becb085
6
+ metadata.gz: b977c617823c72b917298a58baa596199d2d03ec888cb58676b3b83d72080dfe653c7146c797bfcf5aa27924c0d9bb09b2560f8aa6e38bb43dd2ab51239c6cd0
7
+ data.tar.gz: de3f6e0872d057037aa5987ddbb2b51b569a4c24a00e78ea35f93e67f6bd57195795e36efc1aa106e7111bedac4a2ab6bf57228d12730f1cc5b5098c0a010707
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "cocoapods-show"
7
- spec.version = "0.0.1"
7
+ spec.version = "0.0.2"
8
8
  spec.authors = ["Ian Pearce"]
9
9
  spec.email = ["ian@ianpearce.org"]
10
10
 
@@ -30,10 +30,12 @@ module Pod
30
30
  pod = pod.keys.first if pod.is_a?(Hash)
31
31
  next if filter && pod.scan(filter).empty?
32
32
  pod_name, version = Specification.name_and_version_from_string(pod)
33
- pod_source = config_hash['CHECKOUT OPTIONS'][pod_name]
34
- if pod_source && pod_source[:commit]
35
- git_version = pod_source[:commit][0,7]
36
- version = "#{version} #{git_version}"
33
+ if config_hash['CHECKOUT OPTIONS']
34
+ pod_source = config_hash['CHECKOUT OPTIONS'][pod_name]
35
+ if pod_source && pod_source[:commit]
36
+ git_version = pod_source[:commit][0,7]
37
+ version = "#{version} #{git_version}"
38
+ end
37
39
  end
38
40
  UI.puts " * #{pod_name} (#{version})"
39
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-show
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
  - Ian Pearce
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - ".gitignore"
20
21
  - LICENSE
21
22
  - README.md
22
23
  - cocoapods-show.gemspec