r10k 2.5.3 → 2.5.4

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: c759d0c0834d72049d5a2757df623f61af4d8789
4
- data.tar.gz: 4747b49041fefce181a3ef2cf54f5417261d403e
3
+ metadata.gz: d62476d0519cfbe568f8ecf926066731d9f7e20f
4
+ data.tar.gz: 40d790eba434595f2f46463df01db7911303ca1d
5
5
  SHA512:
6
- metadata.gz: 6fc5a03488a7ec604f8f4042049aa739e64d34214818699e10fcbf649fc797cbfc054fdcd4c42c29a1664783660084000cdddbccc16eed59bc14fc6cb3ac9e4f
7
- data.tar.gz: 0c4107408660301001ee41bbbbb951646aaabcdd5bb3232d4ce65bc7da536f24fff9e7deef328393cb81f9833fcff35a330b5d41305d318a13421b33f559e864
6
+ metadata.gz: d7d3f98e6d3f91891c512aeead3f542cb22d6f2dd8ebcf99f741241806d57134756a389f333d819afc4c01c3e989a284d5bc8ddf756a406e220ff5d67fca1323
7
+ data.tar.gz: 726198f1d46c074b27a6ab0b187cb7667133706b394f75fd72ce9506e671842a235bf48b87859b6bc0a864974f9f51e144bb4aa198ed6ced0752673ebd6fb739
data/CHANGELOG.mkd CHANGED
@@ -1,6 +1,15 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.5.4
5
+ -----
6
+
7
+ 2017/04/05
8
+
9
+ ### Bug Fixes
10
+
11
+ (PF-1317) Only use deprecated attribute when it exists.
12
+
4
13
  2.5.3
5
14
  -----
6
15
 
@@ -94,7 +94,7 @@ class R10K::Module::Forge < R10K::Module::Base
94
94
 
95
95
  def deprecated?
96
96
  begin
97
- !@v3_module.deprecated_at.nil?
97
+ @v3_module.fetch && @v3_module.has_attribute?('deprecated_at') && !@v3_module.deprecated_at.nil?
98
98
  rescue Faraday::ResourceNotFound => e
99
99
  raise PuppetForge::ReleaseNotFound, _("The module %{title} does not exist on %{url}.") % {title: @title, url: PuppetForge::V3::Release.conn.url_prefix}, e.backtrace
100
100
  end
data/lib/r10k/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module R10K
2
- VERSION = '2.5.3'
2
+ VERSION = '2.5.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-31 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored