knife-preflight 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/chef/knife/preflight.rb +3 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWFjOWVhZWY2ZmEzM2ZlNDU1M2MyMDBhYmQ0NDFiZDczZDc4M2YzOQ==
4
+ N2IwMTJkZmUzNzU1NmY1ZmU0YjRjMGUwMmZlNTNjMzE4MGYyODUwNQ==
5
5
  data.tar.gz: !binary |-
6
- NzEyY2NiMDQ4ZTg0OGFhNzI2ZDdkYzJmZjBhMTU4MTRiNDdkMzAwNg==
6
+ OGNmOTcyNjZjNTRmY2Y1NjIyZDgxYjgwNDkwOTQ3MTVjZmM3MjY1NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Yjc5OWExNDMwYzE0MjcwZDIyOTYwNmNjN2JlODljZWY1MWMzZGJhOGI4ZmZh
10
- MzE5NzlmOWU2NDExZWM2MTNjMmI1ZDUzYWMyOWIzNzIwYjkwMWQ3YmJhYmEz
11
- NDNmOWE5YjVkOGM3YTMwZmZiNmZlZDVkNjhkOGRiNzYwNmZlYWM=
9
+ ZTBhNzgyYWExZGU2ODI4NDFkY2VlOTk3M2I0YjU3OGEzYzJkOGE0YzZjYzYw
10
+ YWViZWU0ODg2ZGE4YjMyMDFjMmJhZmU4NjFiNDllNTFmNmY3MWNhY2FjZGJm
11
+ ZTA0MjQyYTE1MTA5YmM3NGJlYjhmMDVmYmJhZWRhZGEwY2QzZTI=
12
12
  data.tar.gz: !binary |-
13
- Yjk0MWQ5NDc0YzM2N2RkYTgwYzc0ZTY0YjFhNmZlOGYyMjI4ZmMyMWJiODFj
14
- ODg5ZWEzZWU5YzZlY2ZmNTI4Yjg1MjgwZTJmOGE1OTkxYjQ3YmU3OThlNDU5
15
- Yjc3OTI0ZDczM2QzMzViMTY4MTRmZWRkOTRiYWZiMWRiYTllNjU=
13
+ NzRhMzVhZDJmMjQxN2M5NWU5MGU1NGI2NTM0ZDFmZWI4MDBhYTNlNWE5ZWQ0
14
+ NWZlNGU1OTIyYmU5NjE4NTBhMTU3NDZhYWM5MGYwMjkxM2RmMTY2NTY5NjA4
15
+ YTRjMmExZjNjYTdmYjU2Y2NhOGFlNWI5ODliODI4MjgxZGUwNDc=
@@ -80,7 +80,7 @@ module KnifePreflight
80
80
 
81
81
  if !raw_query.include? "::"
82
82
  if type == 'node'
83
- search_query = "recipes:*#{escaped_query} OR recipes:*#{escaped_query}\\:\\:default"
83
+ search_query = "recipes:#{escaped_query} OR recipes:#{escaped_query}\\:\\:default"
84
84
  search_query += " OR " + search_query.gsub("recipes", "last_seen_recipes")
85
85
  else
86
86
  search_query = "run_list:recipe\\[#{escaped_query}\\] OR run_list:recipe\\[#{escaped_query}\\:\\:default\\]"
@@ -88,7 +88,7 @@ module KnifePreflight
88
88
  ui.msg("Searching for #{type}s containing #{raw_query} OR #{raw_query}::default in their expanded run_list or added via include_recipe...\n")
89
89
  else
90
90
  if type == 'node'
91
- search_query = "recipes:*#{escaped_query}"
91
+ search_query = "recipes:#{escaped_query}"
92
92
  search_query += " OR " + search_query.gsub("recipes", "last_seen_recipes")
93
93
  else
94
94
  search_query = "run_list:recipe\\[#{escaped_query}\\]"
@@ -137,4 +137,4 @@ module KnifePreflight
137
137
  return result_count
138
138
  end
139
139
  end
140
- end
140
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-preflight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Cowie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-13 00:00:00.000000000 Z
11
+ date: 2015-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project: knife-preflight
56
- rubygems_version: 2.4.1
56
+ rubygems_version: 2.2.2
57
57
  signing_key:
58
58
  specification_version: 2
59
59
  summary: Knife plugin for checking what your cookbook changes will affect