puppet_forge 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWMyNTMxMmNjYmRiMWI2ZDA4YTllZmE4ODZkMmRjZjVmNDBhYTA4Zg==
4
+ YjhiYmMwNjQzNTAwYzEyYzI5MGI5MmY4NmVlNzAxMzg0MTMzOTQwYQ==
5
5
  data.tar.gz: !binary |-
6
- Mjk3NDIwMzViOWNjZmU3Yzg0M2NkYTM2M2VkZGUwM2ZhMzYwMGE3ZQ==
6
+ NjQwMjc4ODEwY2VjNTgwMTQwMjcwNDY0NDdiNzIxYzY1ODkyOGFiYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDVlZjU3NGM1M2VlMDFhNDRkNGJlZGU0OWMwNjA1YTk4ZDFlMzc1OTMwMThi
10
- YWQyMDJkODE5ZDI0ZGM1ZGM4MjNjMmE1N2Q1NjY0MmJiMzhlNGRjN2NmYjQy
11
- ZmQ0ZWI4OWQ4YmE2OWY1YTRmYThhZGFmMmM5ZjhkM2RlMjA4YzY=
9
+ MDgxNjdkODM2NzhhZmVjZjI2OThjMTYxOGRmNWIzNDc1Mjk1ZmZjNWZiNTI5
10
+ MDUzMDE3N2JmMTM2NDkyMTNlMzk4MGI3NzlhMjE0MDYyY2ViMTdiZDFlYjY4
11
+ ZGMzMDE5NjI0ZDc4MWVjZDYxNzlhNTdlMTQ4MzZmYjI0MjQ3NWI=
12
12
  data.tar.gz: !binary |-
13
- NmEwNDAwYjI2NGMxNjVkY2RiYjRlMjBmNGRiMTRkYzJhMTdkNmQ1MWIwZmJj
14
- NzRlNDM2NTM3MmRiNzZkZmQ4NWI1M2U3YjdmNzg1YmExNTFkMDQyYWY3MTJm
15
- ZTYzNjI0YWUwMmIyYWVlMDhlYjkxMzliYWVhNGU1YmZmMzdmOTc=
13
+ YWVjMTkzZjcyMjFlNTJiYjQwMmRiZThlNzM2MWIxMjM2NWU4MzRmOTA0ZGEz
14
+ ODcyZWQ5ZTExNDI4MjNjYzYxMDE4ZGY1MTk2MDM4MDk0M2NmZjQ4NGM0MTUx
15
+ NjBiYTgwMGFkMTUxZjI4MTdlMWMxYTE5NmNkMjhhMGJkNmYzYmY=
data/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  Starting with v2.0.0, all notable changes to this project will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).i
5
5
 
6
+ ## v2.1.1 - 2015-10-06
7
+
8
+ ### Changed
9
+
10
+ * Bug in error message around missing release on forge caused inappropriate error.
11
+
6
12
  ## v2.1.0 - 2015-08-20
7
13
 
8
14
  ### Added
@@ -27,7 +27,7 @@ module PuppetForge
27
27
  resp = self.class.conn.get(file_url)
28
28
  path.open('wb') { |fh| fh.write(resp.body) }
29
29
  rescue Faraday::ResourceNotFound => e
30
- raise PuppetForge::ReleaseNotFound, "The module release #{slug} does not exist on #{conn.url_prefix}.", e.backtrace
30
+ raise PuppetForge::ReleaseNotFound, "The module release #{slug} does not exist on #{self.class.conn.url_prefix}.", e.backtrace
31
31
  rescue Faraday::ClientError => e
32
32
  if e.response[:status] == 403
33
33
  raise PuppetForge::ReleaseForbidden.from_response(e.response)
@@ -1,3 +1,3 @@
1
1
  module PuppetForge
2
- VERSION = '2.1.0' # Library version
2
+ VERSION = '2.1.1' # Library version
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_forge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2015-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday