facterdb 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/CHANGELOG.md +8 -1
- data/facterdb.gemspec +1 -1
- data/lib/facterdb/version.rb +1 -1
- data/lib/facterdb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NzNmZjNkMDMyZWMxODU4MmZiNGI2NTA1OWNiNmI2ZTlmZDg1YzE1Yw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NGZlZWRiM2VmYTAwOTZiZGZmMDAzYjU0MDdjN2FhYThhZmJiZjEyYQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTQ5MmFhNjM4YTExZGIzZjI5NjFmY2I0MWNjNWEzN2VkNDg2NTRlMTYyNjZi
|
|
10
|
+
ZTI1MDk1ZWFjMGEwODkwM2NiZjBlNThkZTM0ZTAwMDYzNGZhOGY2ODc4OWQ0
|
|
11
|
+
Y2ZlMmNiMDY0ZjZlZjUyMzBlZDhmM2NlNmNiNWVmNTBhNDQwMjQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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/
|
|
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'
|
data/lib/facterdb/version.rb
CHANGED
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.
|
|
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/
|
|
566
|
+
homepage: http://github.com/camptocamp/facterdb
|
|
567
567
|
licenses:
|
|
568
568
|
- Apache-2.0
|
|
569
569
|
metadata: {}
|