rspec-puppet-utils 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec_puppet_utils/mock_function.rb +7 -1
- data/rspec-puppet-utils.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f89a0b9d1954d53efa11f7127b7a0b074eac63b0
|
4
|
+
data.tar.gz: 8b952e545404d63e1b2824c8ec54ba0ab292ca9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79e5d9f74540f16112126eff2572e5221c97dc9ce8a51047a8c136bd68a873e0f6b60d632ded9d6481c40032dcf2a2d2be97f803dab904d60280b43a804a819d
|
7
|
+
data.tar.gz: 620b9073ef83624615d028d929a2c8df9a2aa182a16b5db8e848b0093f8710aeda35ef1751a25a226a8d0d1844fac54f8b0a28435c2c040ba6e8125eca871d1a
|
@@ -4,7 +4,13 @@ require 'mocha/api'
|
|
4
4
|
module RSpec::Puppet
|
5
5
|
module Support
|
6
6
|
def self.clear_cache
|
7
|
-
|
7
|
+
begin
|
8
|
+
# Cache is a separate class since rspec-puppet 2.3.0
|
9
|
+
require 'rspec-puppet/cache'
|
10
|
+
@@cache = RSpec::Puppet::Cache.new
|
11
|
+
rescue Gem::LoadError
|
12
|
+
@@cache = {}
|
13
|
+
end
|
8
14
|
end
|
9
15
|
end
|
10
16
|
end
|
data/rspec-puppet-utils.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = 'rspec-puppet-utils'
|
4
|
-
gem.version = '3.2.
|
4
|
+
gem.version = '3.2.2'
|
5
5
|
gem.description = 'Helper classes for mock/stub functions, templates and hieradata'
|
6
6
|
gem.summary = ''
|
7
7
|
gem.author = 'Tom Poulton'
|