puppetdb_query 0.1.1 → 0.1.2
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 +4 -4
- data/lib/puppetdb_query/parser.rb +0 -15
- data/lib/puppetdb_query/to_mongo.rb +1 -1
- data/lib/puppetdb_query/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e46af68be3fefbfab6436fbfe33f1a2679fa3a7
|
|
4
|
+
data.tar.gz: c8768932fb7057ee7939d541d7c6869f32bed017
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baba99de4a9b92bec64a92ef837cc770f724e2697bf0a356416a8f89ab2fc856a6bfd7b63d35a650daad67ed3c83171f468665b7692d02f582d7e9fd125e0c61
|
|
7
|
+
data.tar.gz: c4a7b77edceec7fb4ded523ea94177abcfd2a368f0c5610483319ec7caf438f77f595fc0affeb6fc681a267e8cf98235854ba982fe7fc6f05cb8547042c70b55
|
|
@@ -215,18 +215,3 @@ module PuppetDBQuery
|
|
|
215
215
|
end
|
|
216
216
|
# rubocop:enable Metrics/ClassLength
|
|
217
217
|
end
|
|
218
|
-
|
|
219
|
-
if $0 == __FILE__
|
|
220
|
-
require "pp"
|
|
221
|
-
query = "facts=-7.4E1 and fucts=8 and fits=true or application_vertical='ops' and" \
|
|
222
|
-
" (application_group=\"live\"or application_group='prelive-production')"
|
|
223
|
-
puts query
|
|
224
|
-
query = PuppetDBQuery::Tokenizer.idem(query)
|
|
225
|
-
puts query
|
|
226
|
-
query = PuppetDBQuery::Tokenizer.idem(query)
|
|
227
|
-
puts query
|
|
228
|
-
|
|
229
|
-
parser = PuppetDBQuery::Parser.new
|
|
230
|
-
tree = parser.parse(query)
|
|
231
|
-
pp tree
|
|
232
|
-
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppetdb_query
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Meyling
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-05-
|
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
92
92
|
version: '0'
|
|
93
93
|
requirements: []
|
|
94
94
|
rubyforge_project:
|
|
95
|
-
rubygems_version: 2.
|
|
95
|
+
rubygems_version: 2.5.1
|
|
96
96
|
signing_key:
|
|
97
97
|
specification_version: 4
|
|
98
98
|
summary: access puppetdb data from other sources
|