rspec-puppet-facts 1.3.0 → 1.4.0

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: e8cb6db9c2f14bfb3cc333700d49dc300032618c
4
- data.tar.gz: aefff7feffa05b851fc74b3caddaaad5fef42c30
3
+ metadata.gz: 3ab00bca70bace43f0a98d6e96f45c1450026313
4
+ data.tar.gz: a4161f7e0e10346d01c50cbca7f0018025a86e66
5
5
  SHA512:
6
- metadata.gz: b57a8278f8ea683d1dc488f5715f7bb2eae4cbcecdbc65cf9b7606afc78e9d80a794b1e74bb8d37d29b782af1def99ddd8ed4bc633e80fc979d66e0d87276c77
7
- data.tar.gz: 65416c0c81b8b05937b9b50ee9a0b6eb5217bd304c9847d790f6cd049dac287becb81a8052a81848e799aceffc07a5cb8d8da44ebe2506d9ecf9e6c3e357e7ba
6
+ metadata.gz: 9e56f61fe0040f7fc245ba40238612b6c8a18cbc3889fa91746f8b5430d4e5923b022fc93d69efac18dfadfcfa6c42511bb56b8338f8be995cf0958cd14cfa65
7
+ data.tar.gz: ef4bce98c999076f7e2064a4d25eca2beaebed3dfca79a255bdc070e2d137c546da5ab779901e3ffdae246d0c59e370b80ca0ed463ebe4b466233d7c0d2ba080
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ##2016-02-04 - Release 1.4.0
2
+ - Dynamically set mco_version
3
+
1
4
  ##2015-11-12 - Release 1.3.0
2
5
  - Dynamically set rubysitedir
3
6
 
data/README.md CHANGED
@@ -239,6 +239,7 @@ end
239
239
  ```
240
240
 
241
241
  Append some facts:
242
+ ------------------
242
243
 
243
244
  ```ruby
244
245
  require 'spec_helper'
@@ -2,6 +2,7 @@ require 'puppet'
2
2
  require 'facter'
3
3
  require 'facterdb'
4
4
  require 'json'
5
+ require 'mcollective'
5
6
 
6
7
  module RspecPuppetFacts
7
8
 
@@ -43,6 +44,7 @@ module RspecPuppetFacts
43
44
  h = {}
44
45
  FacterDB::get_facts(filter).map do |facts|
45
46
  facts.merge!({
47
+ :mco_version => MCollective::VERSION,
46
48
  :puppetversion => Puppet.version,
47
49
  :rubysitedir => RbConfig::CONFIG["sitelibdir"],
48
50
  :rubyversion => RUBY_VERSION,
@@ -1,5 +1,5 @@
1
1
  module RspecPuppetFacts
2
2
  module Version
3
- STRING = '1.3.0'
3
+ STRING = '1.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-puppet-facts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickaël Canévet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.2.2
167
+ rubygems_version: 2.4.5.1
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: Standard facts fixtures for Puppet