chef-taste 1.1.0 → 1.1.1

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.
@@ -39,6 +39,9 @@ module Chef
39
39
  # @return [String] the goo.gl shortened URL for the changelog
40
40
  #
41
41
  def compute(dep)
42
+ # Skip dependent cookbook which has no source url
43
+ return '' if dep.source_url.nil?
44
+
42
45
  # The source url is of the form https://HOSTING_PROVIDER/USER/REPO
43
46
  matched = dep.source_url.match(%r(^(https?:\/\/)?(.*?)\/(.*?)\/(.*?)$))
44
47
  changelog_url =
@@ -30,6 +30,6 @@ module Chef
30
30
  #
31
31
  module Taste
32
32
  # The version string
33
- VERSION = '1.1.0'
33
+ VERSION = '1.1.1'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-taste
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-09 00:00:00.000000000 Z
12
+ date: 2013-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -257,7 +257,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
257
257
  version: '0'
258
258
  segments:
259
259
  - 0
260
- hash: -3889125353596550255
260
+ hash: 1563134437153040552
261
261
  required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  none: false
263
263
  requirements:
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  version: '0'
267
267
  segments:
268
268
  - 0
269
- hash: -3889125353596550255
269
+ hash: 1563134437153040552
270
270
  requirements: []
271
271
  rubyforge_project:
272
272
  rubygems_version: 1.8.23