facterdb 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODY1NjM0YjhhNTVlMDE4OGRhNDQ2NDNmMmM4N2I3ZTAxNmU4YmVmYg==
4
+ NzNmZjNkMDMyZWMxODU4MmZiNGI2NTA1OWNiNmI2ZTlmZDg1YzE1Yw==
5
5
  data.tar.gz: !binary |-
6
- ODBiNDM0NDU2NjE2N2RkZGFmMzU1YThkMTY1ZGE1ZTM0MGRhYjdiYg==
6
+ NGZlZWRiM2VmYTAwOTZiZGZmMDAzYjU0MDdjN2FhYThhZmJiZjEyYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTI4MWE2MWQ4ZWEyMzMyNzYwNWZjNWMzYjRlNDFiNjgzOTc4YTdjMDk5NGE5
10
- N2Q0NDcwNGExMjQ3MDBlOGIxY2MxMzYwNjkzOTMxMmYxNjVhNzEwZGVkNGVj
11
- YzJmNDVkYzgwYjBhZmYxZThkYzQzOGIwNTZjODdkOGU1OGNjYTg=
9
+ OTQ5MmFhNjM4YTExZGIzZjI5NjFmY2I0MWNjNWEzN2VkNDg2NTRlMTYyNjZi
10
+ ZTI1MDk1ZWFjMGEwODkwM2NiZjBlNThkZTM0ZTAwMDYzNGZhOGY2ODc4OWQ0
11
+ Y2ZlMmNiMDY0ZjZlZjUyMzBlZDhmM2NlNmNiNWVmNTBhNDQwMjQ=
12
12
  data.tar.gz: !binary |-
13
- M2RhMjdmZjNlMDc5YTYzN2RmZmE1NzYyZTNlNTRhYzk4YjAwNjRmYzFjMzVk
14
- MmI5ODFkNTY1YzRlYzUwYWIwNzBlMmFkMzRmNzhkYjdlYmE5NTFjMTIyNGUz
15
- NDBkZmQ0MTg3MDMzODM0YmQ4YTY2M2M2NGEzMjM4MTQwYWUwMGU=
13
+ NzA1NzZjNjg5MDA5MzVhMzhkZWYxM2Q5NjBhMjgxMWM0ZTJlMTE0NjgxYmVk
14
+ Zjc4ZGRjOTAxMWVjMzdjOWVmZTAwMDhhYTljZjU4N2QyYTRkNDg4YzIyMmEz
15
+ NjFhODdmY2E2MGExZTEzYWQ3MjA4NWRhOTE3N2NhM2NhYzhmNjM=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.2.1](https://rubygems.org/gems/facterdb/versions/0.2.1) (2015-08-31)
4
+ [Full Changelog](https://github.com/camptocamp/facterdb/compare/0.2.0...0.2.1)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - Tag 0.2.0 does not point to the right commit... [\#13](https://github.com/camptocamp/facterdb/issues/13)
9
+
3
10
  ## [0.2.0](https://rubygems.org/gems/facterdb/versions/0.2.0) (2015-08-31)
4
11
  [Full Changelog](https://github.com/camptocamp/facterdb/compare/0.1.0...0.2.0)
5
12
 
@@ -29,4 +36,4 @@
29
36
  ## [0.0.1](https://rubygems.org/gems/facterdb/versions/0.0.1) (2015-05-29)
30
37
 
31
38
 
32
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
39
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/facterdb.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = FacterDB::Version::STRING
8
8
  s.authors = ["Mickaël Canévet"]
9
9
  s.email = ["mickael.canevet@camptocamp.com"]
10
- s.homepage = "http://github.com/mcanevet/facterdb"
10
+ s.homepage = "http://github.com/camptocamp/facterdb"
11
11
  s.summary = "A Database of OS facts provided by Facter"
12
12
  s.description = "Contains facts from many Facter version on many Operating Systems"
13
13
  s.licenses = 'Apache-2.0'
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '0.2.0'
3
+ STRING = '0.2.1'
4
4
  end
5
5
  end
data/lib/facterdb.rb CHANGED
@@ -18,6 +18,6 @@ module FacterDB
18
18
 
19
19
  jsons = Dir.glob("#{facts_dir}/#{facter_version}/*.facts").map { |f| File.read(f) }
20
20
  json = "[#{jsons.join(',')}]\n"
21
- JGrep.jgrep(json, filter_str)
21
+ JGrep.jgrep(json, filter_str).map { |hash| Hash[hash.map{ |k, v| [k.to_sym, v] }] }
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facterdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickaël Canévet
@@ -563,7 +563,7 @@ files:
563
563
  - lib/facterdb/version.rb
564
564
  - spec/facterdb_spec.rb
565
565
  - spec/spec_helper.rb
566
- homepage: http://github.com/mcanevet/facterdb
566
+ homepage: http://github.com/camptocamp/facterdb
567
567
  licenses:
568
568
  - Apache-2.0
569
569
  metadata: {}