rspec-puppet-facts 1.1.1 → 1.2.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: 14bfd6f02ce88d6ae572fc059b35700373247328
4
- data.tar.gz: 3df2a486a07e4994bc16b733b8695a08990203d0
3
+ metadata.gz: c4599b5a98abfc6e22e8605b168c66dc8bf6fba2
4
+ data.tar.gz: 6ad67f0836c7b98120907823022c10a5c8d092b1
5
5
  SHA512:
6
- metadata.gz: 9e7bbb144158a3d2e7ee9d95f4e9caa706b6d2b0ec9a18190c158d781246bb9b6e73dbe77541a254d8f1f3b0e536024cf441560b093ed676a8a7a6408f4484a0
7
- data.tar.gz: 0363bd1f8a12ef3fd65d5f520c61edbaeacadb09b75d07b3660aa082f6e9c4105927e63c6ff0b4d4a1faddf34352135dd768862616236fa47ce929d13256e9a9
6
+ metadata.gz: b447bddd07d0eb77cccee281755216f2fe63f656f6ce92d9f3af354568f90fb708e02a3e36bf6ea5347bc961abf91895b961a041b53bb248f71015281d28dc5f
7
+ data.tar.gz: acd5ec6986d3a2a53ae60b7cb88bd9da75c8f28d21d886f5464414ce6339d5835afd74a1d9feed664d9ff0ecfa467eacc243f7ef293e52e8d32f14b9361bdecb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ##2015-11-05 - Release 1.2.0
2
+ - Requires facterdb 0.3.0
3
+
1
4
  ##2015-09-15 - Release 1.1.1
2
5
  - Fix OpenBSD support
3
6
 
@@ -22,6 +22,7 @@ module RspecPuppetFacts
22
22
  end
23
23
 
24
24
  filter << {
25
+ :facterversion => "/^#{Facter.version[0..2]}/",
25
26
  :operatingsystem => os_sup['operatingsystem'],
26
27
  :operatingsystemrelease => "/^#{operatingsystemmajrelease.split(" ")[0]}/",
27
28
  :hardwaremodel => hardwaremodel,
@@ -31,6 +32,7 @@ module RspecPuppetFacts
31
32
  else
32
33
  opts[:hardwaremodels].each do |hardwaremodel|
33
34
  filter << {
35
+ :facterversion => "/^#{Facter.version[0..2]}/",
34
36
  :operatingsystem => os_sup['operatingsystem'],
35
37
  :hardwaremodel => hardwaremodel,
36
38
  }
@@ -39,7 +41,7 @@ module RspecPuppetFacts
39
41
  end
40
42
 
41
43
  h = {}
42
- FacterDB::get_os_facts(Facter.version[0..2], filter).map do |facts|
44
+ FacterDB::get_facts(filter).map do |facts|
43
45
  facts.merge!({
44
46
  :puppetversion => Puppet.version,
45
47
  :rubyversion => RUBY_VERSION,
@@ -1,5 +1,5 @@
1
1
  module RspecPuppetFacts
2
2
  module Version
3
- STRING = '1.1.1'
3
+ STRING = '1.2.0'
4
4
  end
5
5
  end
@@ -23,5 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency 'puppet'
24
24
  s.add_runtime_dependency 'json'
25
25
  s.add_runtime_dependency 'facter'
26
- s.add_runtime_dependency 'facterdb', '>= 0.2.0'
26
+ s.add_runtime_dependency 'facterdb', '>= 0.3.0'
27
27
  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.1.1
4
+ version: 1.2.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-09-15 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 0.2.0
117
+ version: 0.3.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 0.2.0
124
+ version: 0.3.0
125
125
  description: Contains facts from many Facter version on many Operating Systems
126
126
  email:
127
127
  - mickael.canevet@camptocamp.com