knife-essentials 0.9.8 → 1.0.0.beta1

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.
@@ -103,7 +103,7 @@ module FileSystemSupport
103
103
 
104
104
  def list_should_yield_paths(fs, pattern_str, *expected_paths)
105
105
  result_paths = []
106
- ChefFS::FileSystem.list(fs, pattern(pattern_str)) { |result| result_paths << result.path }
106
+ ChefFS::FileSystem.list(fs, pattern(pattern_str)).each { |result| result_paths << result.path }
107
107
  result_paths.should =~ expected_paths
108
108
  end
109
109
  end
@@ -15,6 +15,9 @@ module KnifeSupport
15
15
  args = args[0].split(/\s+/)
16
16
  end
17
17
 
18
+ # Make output stable
19
+ Chef::Config[:concurrency] = 1
20
+
18
21
  # This is Chef::Knife.run without load_commands and load_deps--we'll
19
22
  # load stuff ourselves, thank you very much
20
23
  stdout = StringIO.new
@@ -38,6 +41,7 @@ module KnifeSupport
38
41
  Chef::Log.use_log_devices([logger])
39
42
  Chef::Log.level = ( DEBUG ? :debug : :warn )
40
43
  Chef::Log::Formatter.show_time = false
44
+
41
45
  instance.run
42
46
 
43
47
  exit_code = 0
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-essentials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
5
- prerelease:
4
+ version: 1.0.0.beta1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Keiser
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-16 00:00:00.000000000 Z
12
+ date: 2013-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef-zero
@@ -111,6 +111,7 @@ files:
111
111
  - lib/chef_fs/file_system/rest_list_entry.rb
112
112
  - lib/chef_fs/file_system.rb
113
113
  - lib/chef_fs/knife.rb
114
+ - lib/chef_fs/parallelizer.rb
114
115
  - lib/chef_fs/path_utils.rb
115
116
  - lib/chef_fs/raw_request.rb
116
117
  - lib/chef_fs/version.rb
@@ -127,6 +128,7 @@ files:
127
128
  - spec/integration/download_spec.rb
128
129
  - spec/integration/list_spec.rb
129
130
  - spec/integration/raw_spec.rb
131
+ - spec/integration/redirection_spec.rb
130
132
  - spec/integration/show_spec.rb
131
133
  - spec/integration/upload_spec.rb
132
134
  - spec/support/file_system_support.rb
@@ -150,9 +152,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
152
  required_rubygems_version: !ruby/object:Gem::Requirement
151
153
  none: false
152
154
  requirements:
153
- - - ! '>='
155
+ - - ! '>'
154
156
  - !ruby/object:Gem::Version
155
- version: '0'
157
+ version: 1.3.1
156
158
  requirements: []
157
159
  rubyforge_project:
158
160
  rubygems_version: 1.8.23