puppet_forge 2.2.5 → 2.2.6
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/puppet_forge.rb +1 -0
- data/lib/puppet_forge/version.rb +1 -1
- data/spec/unit/puppet_forge_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 142ea90bc811679fcc6b1861bf7247d2c7d28e8f
|
4
|
+
data.tar.gz: ae77ef475e48a283f3738f62d4fb1a866f3d2aab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1af1e6dd24b0179f139087ffd8d8143732e59ab246f223e61dffd42899a1dd3c7b4c8b19cd145941928cfc037c2da905a90f52528505f6cf2206d07b7dfb6673
|
7
|
+
data.tar.gz: e070fb3539d78e13f817ec42e3e79936579941a3acbb51e43dc2975dd1dc62ef3c033a7e246dc3e281a67b3c740b17dd90682a52dea9c61a526d6173a543343c
|
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/).
|
5
5
|
|
6
|
+
## v2.2.6 - 2017-06-27
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
* Fixed an issue when attempting to assign a non-String value to `PuppetForge.host`.
|
11
|
+
|
6
12
|
## v2.2.5 - 2017-06-26
|
7
13
|
|
8
14
|
### Fixed
|
data/lib/puppet_forge.rb
CHANGED
data/lib/puppet_forge/version.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'uri'
|
2
3
|
|
3
4
|
RSpec.describe PuppetForge do
|
4
5
|
describe 'host attribute' do
|
@@ -11,5 +12,12 @@ RSpec.describe PuppetForge do
|
|
11
12
|
|
12
13
|
expect(PuppetForge.host[-1,1]).to eq '/'
|
13
14
|
end
|
15
|
+
|
16
|
+
it 'should coerce non-String values if possible' do
|
17
|
+
PuppetForge.host = URI.parse('http://example.com')
|
18
|
+
|
19
|
+
expect(PuppetForge.host).to be_a String
|
20
|
+
expect(PuppetForge.host[-1,1]).to eq '/'
|
21
|
+
end
|
14
22
|
end
|
15
23
|
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.2.
|
4
|
+
version: 2.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|