rspec-puppet-facts 1.0.1 → 1.0.2

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: 9e6e83377e995dc4b8c63412ac45a8b3a85ab64a
4
- data.tar.gz: c9e2b425e8c5bb2a80287092673007b1e06f0b53
3
+ metadata.gz: e8d567fa1f5520bde52e1d66ca429429e2cf1ef5
4
+ data.tar.gz: 57bf21fbf37c4f1a6da3dca1d2bb4e26eb3a9c98
5
5
  SHA512:
6
- metadata.gz: 6ccd8ef6c20c1d5b2378a5f8230181d0cf05947275a44b175eda2e5ca423f47d3559a519b6f4bc009887e5947a799d68f7fdbfe550bdda4b6b996177b73836c3
7
- data.tar.gz: c9133daad4b1f0ca1e0a025206468ee73208fb7baa7ef84875bdf3a1d085cea725440a1869ee62ec1d92ff4dcd421674188ebdbbac76ad66b2df79207435fc34
6
+ metadata.gz: 0b42e2e97f2673fffa520e3353c23eca6356981907bffa090945ee0fbec554fe978436189202fe2a5e6c62cd82283c67323de4f1ac026be616aa880a19c8b4cd
7
+ data.tar.gz: 80307463086691ca80ae74d4088525d307b399b39da24719b26e5e41e7cbd8c140860ffdc88e7a07194df22e5b91a7d3bc1c0dbc0c062ba81bfdff7e50b33f80
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ##2015-08-31 - Release 1.0.2
2
+ - Keys where not symbolized anymore since v1.0.0
3
+
1
4
  ##2015-08-29 - Release 1.0.1
2
5
  - Fix for old versions of Facter that does not provide operatingsystemmajrelease for some OSes
3
6
 
@@ -32,7 +32,7 @@ module RspecPuppetFacts
32
32
 
33
33
  h = {}
34
34
  FacterDB::get_os_facts(Facter.version[0..2], filter).map do |facts|
35
- h["#{facts['operatingsystem'].downcase}-#{facts['operatingsystemrelease'].split('.')[0]}-#{facts['hardwaremodel']}"] = facts
35
+ h["#{facts[:operatingsystem].downcase}-#{facts[:operatingsystemrelease].split('.')[0]}-#{facts[:hardwaremodel]}"] = facts
36
36
  end
37
37
  h
38
38
  end
@@ -1,5 +1,5 @@
1
1
  module RspecPuppetFacts
2
2
  module Version
3
- STRING = '1.0.1'
3
+ STRING = '1.0.2'
4
4
  end
5
5
  end
@@ -22,5 +22,5 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency 'rspec'
23
23
  s.add_runtime_dependency 'json'
24
24
  s.add_runtime_dependency 'facter'
25
- s.add_runtime_dependency 'facterdb'
25
+ s.add_runtime_dependency 'facterdb', '>= 0.2.0'
26
26
  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.0.1
4
+ version: 1.0.2
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-08-29 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 0.2.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 0.2.0
111
111
  description: Contains facts from many Facter version on many Operating Systems
112
112
  email:
113
113
  - mickael.canevet@camptocamp.com