puppet-retrospec 0.8.0 → 0.8.1

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: 07921b5d09c92738440e643b20afbfee2aeaabbc
4
- data.tar.gz: 9ff24e7a36e206e02cc7408cd5a21ce3e3838af3
3
+ metadata.gz: ada5efee2f6a122df764761d60307c1951614028
4
+ data.tar.gz: db4283ea63f82033a71fedcd38e96735804f2efa
5
5
  SHA512:
6
- metadata.gz: ad162892e3d4cf46c505bcd99878ece7e9a49dd3933fc4ea5fc75dddc1d21797e69d1b36f34ca292cac92c442c8dec198ca67835c7d644da58920e91d999f961
7
- data.tar.gz: e405d614efa59d18dc2b90408c9ade1ad30861b35e48c0754765a196fcd85742aa42ec16078cf1cfb0e65531626dbf06ba89704c879c5172be6b15a2416dbcc4
6
+ metadata.gz: 3b0884dc164408e7c701e6bb9e54539994e3825a8b7c2179887d865cbc05108b1c947b5c8316882971678aa55f75e00c1029eed1d31275fcc0c4c3330773f267
7
+ data.tar.gz: 8b3b5639d4dd851beb2ab140e2f17df1b123fb79d1f015e05580730835f5f81c00867c5e1d2e79e1a4c8cc3d9422de70abe5be7147dc8d0c2afbcab3b8fda823
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 0.8.1
2
+ * gh-30 - add support for host resource types
1
3
  ## 0.8.0
2
4
  * enable broader support for future parser
3
5
  * remove hiera and facter dependencies
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.8.1
data/bin/retrospec CHANGED
@@ -4,7 +4,7 @@ require 'trollop'
4
4
  require 'retrospec'
5
5
 
6
6
  opts = Trollop::options do
7
- version "0.8.0 (c) Corey Osman"
7
+ version "0.8.1 (c) Corey Osman"
8
8
  banner <<-EOS
9
9
  Generates puppet rspec test code based on the classes and defines inside the manifests directory.
10
10
 
data/lib/retrospec.rb CHANGED
@@ -157,6 +157,8 @@ class Retrospec
157
157
  type_dir_name = classes_dir
158
158
  when :definition
159
159
  type_dir_name = defines_dir
160
+ when :node
161
+ type_dir_name = hosts_dir
160
162
  else
161
163
  raise "#{type.type} retrospec does not support this resource type yet"
162
164
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "puppet-retrospec"
8
- s.version = "0.8.0"
8
+ s.version = "0.8.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corey Osman"]
12
- s.date = "2015-09-04"
12
+ s.date = "2015-09-27"
13
13
  s.description = "Retrofits and generates valid puppet rspec test code to existing modules"
14
14
  s.email = "corey@logicminds.biz"
15
15
  s.executables = ["retrospec"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-retrospec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Osman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-04 00:00:00.000000000 Z
11
+ date: 2015-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop