berkshelf 3.0.0.beta4 → 3.0.0.beta5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +6 -0
  4. data/README.md +3 -0
  5. data/berkshelf-complete.sh +10 -3
  6. data/berkshelf.gemspec +12 -11
  7. data/features/berksfile.feature +0 -2
  8. data/features/commands/apply.feature +0 -1
  9. data/features/commands/contingent.feature +0 -3
  10. data/features/commands/cookbook.feature +0 -3
  11. data/features/commands/init.feature +0 -2
  12. data/features/commands/install.feature +42 -35
  13. data/features/commands/list.feature +0 -3
  14. data/features/commands/outdated.feature +0 -4
  15. data/features/commands/package.feature +2 -39
  16. data/features/commands/shelf/list.feature +0 -2
  17. data/features/commands/shelf/show.feature +0 -5
  18. data/features/commands/shelf/uninstall.feature +0 -5
  19. data/features/commands/show.feature +0 -3
  20. data/features/commands/update.feature +0 -3
  21. data/features/commands/upload.feature +0 -13
  22. data/features/commands/vendor.feature +0 -5
  23. data/features/community_site.feature +0 -2
  24. data/features/config.feature +0 -6
  25. data/features/json_formatter.feature +0 -5
  26. data/features/licenses.feature +0 -5
  27. data/features/lockfile.feature +0 -20
  28. data/features/step_definitions/chef_server_steps.rb +8 -2
  29. data/generator_files/Gemfile.erb +2 -2
  30. data/lib/berkshelf.rb +0 -4
  31. data/lib/berkshelf/berksfile.rb +21 -51
  32. data/lib/berkshelf/cli.rb +26 -15
  33. data/lib/berkshelf/config.rb +4 -0
  34. data/lib/berkshelf/cookbook_generator.rb +1 -1
  35. data/lib/berkshelf/cookbook_store.rb +8 -0
  36. data/lib/berkshelf/core_ext/file.rb +2 -2
  37. data/lib/berkshelf/core_ext/pathname.rb +5 -7
  38. data/lib/berkshelf/dependency.rb +8 -1
  39. data/lib/berkshelf/downloader.rb +37 -0
  40. data/lib/berkshelf/errors.rb +1 -0
  41. data/lib/berkshelf/formatters.rb +1 -0
  42. data/lib/berkshelf/formatters/human_readable.rb +23 -9
  43. data/lib/berkshelf/formatters/json.rb +7 -9
  44. data/lib/berkshelf/git.rb +0 -1
  45. data/lib/berkshelf/init_generator.rb +1 -1
  46. data/lib/berkshelf/installer.rb +43 -19
  47. data/lib/berkshelf/location.rb +8 -13
  48. data/lib/berkshelf/locations/git_location.rb +12 -19
  49. data/lib/berkshelf/locations/mercurial_location.rb +5 -18
  50. data/lib/berkshelf/locations/path_location.rb +7 -0
  51. data/lib/berkshelf/lockfile.rb +5 -1
  52. data/lib/berkshelf/packager.rb +73 -0
  53. data/lib/berkshelf/resolver.rb +7 -5
  54. data/lib/berkshelf/resolver/graph.rb +7 -0
  55. data/lib/berkshelf/source.rb +22 -2
  56. data/lib/berkshelf/ui.rb +0 -2
  57. data/lib/berkshelf/version.rb +1 -1
  58. data/spec/support/git.rb +1 -0
  59. data/spec/support/mercurial.rb +37 -36
  60. data/spec/unit/berkshelf/berksfile_spec.rb +2 -34
  61. data/spec/unit/berkshelf/cli_spec.rb +3 -2
  62. data/spec/unit/berkshelf/config_spec.rb +3 -3
  63. data/spec/unit/berkshelf/core_ext/pathname_spec.rb +46 -0
  64. data/spec/unit/berkshelf/dependency_spec.rb +3 -3
  65. data/spec/unit/berkshelf/formatters_spec.rb +4 -4
  66. data/spec/unit/berkshelf/git_spec.rb +8 -8
  67. data/spec/unit/berkshelf/installer_spec.rb +2 -2
  68. data/spec/unit/berkshelf/locations/git_location_spec.rb +2 -8
  69. data/spec/unit/berkshelf/locations/mercurial_location_spec.rb +4 -23
  70. data/spec/unit/berkshelf/lockfile_spec.rb +1 -1
  71. data/spec/unit/berkshelf/mercurial_spec.rb +6 -7
  72. data/spec/unit/berkshelf/packager_spec.rb +39 -0
  73. data/spec/unit/berkshelf/ui_spec.rb +2 -2
  74. data/spec/unit/berkshelf_spec.rb +2 -2
  75. metadata +37 -24
  76. data/lib/berkshelf/api_client.rb +0 -65
  77. data/lib/berkshelf/api_client/remote_cookbook.rb +0 -55
  78. data/spec/unit/berkshelf/api_client/remote_cookbook_spec.rb +0 -23
  79. data/spec/unit/berkshelf/api_client_spec.rb +0 -57
@@ -261,12 +261,12 @@ describe Berkshelf::Dependency do
261
261
  subject { described_class.new(berksfile, cookbook_name, options).scm_location? }
262
262
 
263
263
  context "when the location is a GitLocation" do
264
- let(:options) { { git: "git@github.com:RiotGames/berkshelf.git" } }
264
+ let(:options) { { git: "git@github.com:berkshelf/berkshelf.git" } }
265
265
  it { should be_true }
266
266
  end
267
267
 
268
268
  context "when the location is a GithubLocation" do
269
- let(:options) { { github: "RiotGames/berkshelf" } }
269
+ let(:options) { { github: "berkshelf/berkshelf" } }
270
270
  it { should be_true }
271
271
  end
272
272
 
@@ -286,7 +286,7 @@ describe Berkshelf::Dependency do
286
286
  end
287
287
 
288
288
  context "when the location is not a PathLocation" do
289
- let(:options) { { github: "RiotGames/berkshelf" } }
289
+ let(:options) { { github: "berkshelf/berkshelf" } }
290
290
  it { should be_false }
291
291
  end
292
292
  end
@@ -13,7 +13,7 @@ describe Berkshelf::Formatters do
13
13
  let(:format_id) { :rspec }
14
14
  let(:format_klass) { Class.new { include Berkshelf::Formatters::AbstractFormatter } }
15
15
 
16
- describe '.register' do
16
+ describe '::register' do
17
17
  it 'adds the class of the includer to the list of registered formatters with the id' do
18
18
  Berkshelf::Formatters.register(format_id, format_klass)
19
19
 
@@ -41,7 +41,7 @@ describe Berkshelf::Formatters do
41
41
  end
42
42
  end
43
43
 
44
- describe '.formatters' do
44
+ describe '::formatters' do
45
45
  before do
46
46
  Berkshelf::Formatters.register(format_id, format_klass)
47
47
  end
@@ -54,7 +54,7 @@ describe Berkshelf::Formatters do
54
54
  end
55
55
  end
56
56
 
57
- describe '.get' do
57
+ describe '::get' do
58
58
  before { Berkshelf::Formatters.register(format_id, format_klass) }
59
59
 
60
60
  it 'returns the class constant of the given formatter ID' do
@@ -69,7 +69,7 @@ describe Berkshelf::Formatters do
69
69
  end
70
70
 
71
71
  describe Berkshelf::Formatters::AbstractFormatter do
72
- describe '.register_formatter' do
72
+ describe '::register_formatter' do
73
73
  it 'delegates to Formatters' do
74
74
  Berkshelf::Formatters.should_receive(:register).with(:rspec, format_klass)
75
75
 
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Berkshelf::Git do
4
4
  let(:git) { Berkshelf::Git }
5
5
 
6
- describe '.find_git' do
6
+ describe '::find_git' do
7
7
  it 'finds git' do
8
8
  expect(Berkshelf::Git.find_git).to_not be_nil
9
9
  end
@@ -17,7 +17,7 @@ describe Berkshelf::Git do
17
17
  end
18
18
  end
19
19
 
20
- describe '.clone' do
20
+ describe '::clone' do
21
21
  let(:target) { clone_path('nginx') }
22
22
 
23
23
  it 'clones the repository to the target path' do
@@ -29,7 +29,7 @@ describe Berkshelf::Git do
29
29
  end
30
30
  end
31
31
 
32
- describe '.checkout' do
32
+ describe '::checkout' do
33
33
  let(:repo_path) { clone_path('nginx') }
34
34
  let(:repo) {
35
35
  origin_uri = git_origin_for('nginx', tags: ['1.0.1', '1.0.2'], branches: ['topic', 'next_topic'])
@@ -90,7 +90,7 @@ describe Berkshelf::Git do
90
90
  end
91
91
  end
92
92
 
93
- describe '.rev_parse' do
93
+ describe '::rev_parse' do
94
94
  let(:repo_path) { clone_path('nginx') }
95
95
  before(:each) do |example|
96
96
  origin_uri = git_origin_for('nginx', tags: ['1.1.1'])
@@ -106,7 +106,7 @@ describe Berkshelf::Git do
106
106
  end
107
107
  end
108
108
 
109
- describe '.show_ref' do
109
+ describe '::show_ref' do
110
110
  let(:repo_path) { clone_path('nginx') }
111
111
  let(:tags) { ['1.0.1'] }
112
112
  let(:branches) { ['topic'] }
@@ -140,7 +140,7 @@ describe Berkshelf::Git do
140
140
  end
141
141
  end
142
142
 
143
- describe '.revision_from_ref' do
143
+ describe '::revision_from_ref' do
144
144
  let(:repo_path) { clone_path('nginx') }
145
145
  let(:tags) { ['1.0.1'] }
146
146
  let(:branches) { ['topic'] }
@@ -188,7 +188,7 @@ describe Berkshelf::Git do
188
188
  let(:http_uri) { 'http://github.com/reset/solve.git' }
189
189
  let(:invalid_uri) { '/something/on/disk' }
190
190
 
191
- describe '.validate_uri' do
191
+ describe '::validate_uri' do
192
192
  context 'given a valid Git read-only URI' do
193
193
  it 'returns true' do
194
194
  expect(Berkshelf::Git.validate_uri(readonly_uri)).to be_true
@@ -262,7 +262,7 @@ describe Berkshelf::Git do
262
262
  end
263
263
  end
264
264
 
265
- describe '.validate_uri!' do
265
+ describe '::validate_uri!' do
266
266
  context 'given a valid Git read-only URI' do
267
267
  it 'returns true' do
268
268
  expect(Berkshelf::Git.validate_uri!(readonly_uri)).to be_true
@@ -12,8 +12,8 @@ describe Berkshelf::Installer do
12
12
  before { berksfile.stub(sources: sources) }
13
13
 
14
14
  it "sends the message #universe on each source" do
15
- source_one.should_receive(:universe)
16
- source_two.should_receive(:universe)
15
+ source_one.should_receive(:build_universe)
16
+ source_two.should_receive(:build_universe)
17
17
 
18
18
  subject.build_universe
19
19
  end
@@ -12,12 +12,6 @@ describe Berkshelf::GitLocation do
12
12
  }.to raise_error(Berkshelf::InvalidGitURI)
13
13
  end
14
14
  end
15
-
16
- describe "::tmpdir" do
17
- it 'creates a temporary directory within the Berkshelf temporary directory' do
18
- expect(described_class.tmpdir).to include(Berkshelf.tmp_dir)
19
- end
20
- end
21
15
  end
22
16
 
23
17
  let(:storage_path) { Berkshelf::CookbookStore.instance.storage_path }
@@ -79,7 +73,7 @@ describe Berkshelf::GitLocation do
79
73
  subject { described_class.new(dependency, git: "file://#{fake_remote}.git") }
80
74
 
81
75
  it 'raises a CookbookNotFound error' do
82
- subject.stub(:clone).and_return {
76
+ Berkshelf::Git.stub(:clone).and_return {
83
77
  FileUtils.mkdir_p(fake_remote)
84
78
  Dir.chdir(fake_remote) { |dir| `git init && echo hi > README && git add README && git commit README -m 'README'`; dir }
85
79
  }
@@ -98,7 +92,7 @@ describe Berkshelf::GitLocation do
98
92
  end
99
93
 
100
94
  context 'given a value for tag' do
101
- let(:tag) { '1.0.0' }
95
+ let(:tag) { 'v1.0.0' }
102
96
 
103
97
  subject do
104
98
  described_class.new(dependency, git: 'git://github.com/RiotGames/berkshelf-cookbook-fixture.git', tag: tag)
@@ -1,7 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Berkshelf::MercurialLocation do
4
-
5
4
  include Berkshelf::RSpec::Mercurial
6
5
 
7
6
  let(:cookbook_uri) { mercurial_origin_for('fake_cookbook', is_cookbook: true, tags: ["1.0.0"], branches: ["mybranch"]) }
@@ -9,7 +8,7 @@ describe Berkshelf::MercurialLocation do
9
8
  let(:dependency) { double('dep', name: "berkshelf-cookbook-fixture", version_constraint: constraint) }
10
9
  let(:storage_path) { Berkshelf::CookbookStore.instance.storage_path }
11
10
 
12
- describe '.initialize' do
11
+ describe '::initialize' do
13
12
  it 'raises InvalidHgURI if given an invalid URI for options[:hg]' do
14
13
  expect {
15
14
  described_class.new(dependency, hg: '/something/on/disk')
@@ -17,18 +16,10 @@ describe Berkshelf::MercurialLocation do
17
16
  end
18
17
  end
19
18
 
20
- describe '.tmpdir' do
21
- it 'creates a temporary directory within the Berkshelf temporary directory' do
22
- expect(described_class.tmpdir).to include(Berkshelf.tmp_dir)
23
- end
24
- end
25
-
26
19
  subject { described_class.new(dependency, hg: cookbook_uri) }
27
20
 
28
21
  describe '#download' do
29
-
30
- before() do
31
- # recreate the fake repo
22
+ before do
32
23
  clean_tmp_path
33
24
  FileUtils.mkdir_p(storage_path)
34
25
  cookbook_uri
@@ -113,13 +104,8 @@ describe Berkshelf::MercurialLocation do
113
104
 
114
105
  context 'given a value for tag' do
115
106
  let(:tag) { '1.0.0' }
107
+ subject { described_class.new(dependency, hg: cookbook_uri, tag: tag) }
116
108
 
117
- subject do
118
- described_class.new(dependency,
119
- hg: cookbook_uri,
120
- tag: tag
121
- )
122
- end
123
109
  let(:cached) { subject.download }
124
110
  let(:sha) { subject.rev }
125
111
  let(:expected_path) { storage_path.join("#{cached.cookbook_name}-#{sha}") }
@@ -131,13 +117,8 @@ describe Berkshelf::MercurialLocation do
131
117
 
132
118
  context 'give a value for branch' do
133
119
  let(:branch) { 'mybranch' }
120
+ subject { described_class.new(dependency, hg: cookbook_uri, branch: branch) }
134
121
 
135
- subject do
136
- described_class.new(dependency,
137
- hg: cookbook_uri,
138
- branch: branch
139
- )
140
- end
141
122
  let(:cached) { subject.download }
142
123
  let(:sha) { subject.rev }
143
124
  let(:expected_path) { storage_path.join("#{cached.cookbook_name}-#{sha}") }
@@ -8,7 +8,7 @@ describe Berkshelf::Lockfile do
8
8
  File.stub(:read).and_return(content)
9
9
  end
10
10
 
11
- describe '.initialize' do
11
+ describe '::initialize' do
12
12
  it 'does not throw an exception' do
13
13
  expect {
14
14
  Berkshelf::Lockfile.from_berksfile(berksfile)
@@ -1,12 +1,11 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Berkshelf::Mercurial do
4
-
5
4
  include Berkshelf::RSpec::Mercurial
6
5
 
7
6
  let(:hg) { Berkshelf::Mercurial }
8
7
 
9
- describe '.find_hg' do
8
+ describe '::find_hg' do
10
9
  it 'finds hg' do
11
10
  expect(described_class.find_hg).to_not be_nil
12
11
  end
@@ -20,7 +19,7 @@ describe Berkshelf::Mercurial do
20
19
  end
21
20
  end
22
21
 
23
- describe '.clone' do
22
+ describe '::clone' do
24
23
  let(:target) { clone_path('nginx') }
25
24
 
26
25
  it 'clones the repository to the target path' do
@@ -33,7 +32,7 @@ describe Berkshelf::Mercurial do
33
32
  end
34
33
  end
35
34
 
36
- describe '.checkout' do
35
+ describe '::checkout' do
37
36
  let(:repo_path) { clone_path('nginx') }
38
37
  let(:repo) {
39
38
  origin_uri = mercurial_origin_for('nginx', tags: ['1.0.1', '1.0.2'], branches: ['topic', 'next_topic'])
@@ -94,7 +93,7 @@ describe Berkshelf::Mercurial do
94
93
  end
95
94
  end
96
95
 
97
- describe '.rev_parse' do
96
+ describe '::rev_parse' do
98
97
  let(:repo_path) { clone_path('nginx') }
99
98
 
100
99
  before(:each) do
@@ -115,7 +114,7 @@ describe Berkshelf::Mercurial do
115
114
  let(:http_uri) { 'http://hghub.com/reset/' }
116
115
  let(:invalid_uri) { '/something/on/disk' }
117
116
 
118
- describe '.validate_uri' do
117
+ describe '::validate_uri' do
119
118
  context 'given an invalid URI' do
120
119
  it 'returns false' do
121
120
  expect(described_class.validate_uri(invalid_uri)).to be_false
@@ -141,7 +140,7 @@ describe Berkshelf::Mercurial do
141
140
  end
142
141
  end
143
142
 
144
- describe '.validate_uri!' do
143
+ describe '::validate_uri!' do
145
144
  context 'given an invalid URI' do
146
145
  it 'raises InvalidHgURI' do
147
146
  expect {
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe Berkshelf::Packager do
4
+ let(:target) { tmp_path.join("cookbooks.tar.gz").to_s }
5
+ subject { described_class.new(target) }
6
+
7
+ its(:out_file) { should eql(target) }
8
+
9
+ describe "#run" do
10
+ let(:cookbooks) { fixtures_path.join("cookbooks") }
11
+
12
+ it "writes a tar to the #out_file" do
13
+ subject.run(cookbooks)
14
+ expect(File.exist?(subject.out_file)).to be_true
15
+ end
16
+ end
17
+
18
+ describe "#validate!" do
19
+ let(:out_dir) { File.dirname(target) }
20
+
21
+ context "when the out_file's directory is not writable" do
22
+ before { File.stub(:directory?).with(out_dir).and_return(false) }
23
+
24
+ it "raises an error" do
25
+ expect { subject.validate! }.to raise_error(Berkshelf::PackageError,
26
+ "Path is not a directory: #{out_dir}")
27
+ end
28
+ end
29
+
30
+ context "when the out_file's directory is not a directory" do
31
+ before { File.stub(:writable?).with(out_dir).and_return(false) }
32
+
33
+ it "raises an error" do
34
+ expect { subject.validate! }.to raise_error(Berkshelf::PackageError,
35
+ "Directory is not writable: #{out_dir}")
36
+ end
37
+ end
38
+ end
39
+ end
@@ -112,8 +112,8 @@ describe Thor::Base.shell do
112
112
  subject.stub(:quiet?).and_return(true)
113
113
  end
114
114
 
115
- it 'does not output anything', :not_supported_on_windows do
116
- stdout.should_not_receive(:puts)
115
+ it "outputs an error message", :not_supported_on_windows do
116
+ stderr.should_receive(:puts)
117
117
  subject.error 'error!'
118
118
  end
119
119
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Berkshelf do
4
- describe '.formatter' do
4
+ describe '::formatter' do
5
5
  context 'with default formatter' do
6
6
  before { Berkshelf.instance_variable_set(:@formatter, nil) }
7
7
 
@@ -30,7 +30,7 @@ describe Berkshelf do
30
30
  end
31
31
  end
32
32
 
33
- describe '.log' do
33
+ describe '::log' do
34
34
  it 'returns Berkshelf::Logger' do
35
35
  expect(Berkshelf.log).to eq(Berkshelf::Logger)
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berkshelf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta4
4
+ version: 3.0.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-12-05 00:00:00.000000000 Z
15
+ date: 2014-01-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: addressable
@@ -28,6 +28,20 @@ dependencies:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
30
  version: 2.3.4
31
+ - !ruby/object:Gem::Dependency
32
+ name: berkshelf-api-client
33
+ requirement: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '1.1'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: '1.1'
31
45
  - !ruby/object:Gem::Dependency
32
46
  name: buff-config
33
47
  requirement: !ruby/object:Gem::Requirement
@@ -74,30 +88,16 @@ dependencies:
74
88
  name: faraday
75
89
  requirement: !ruby/object:Gem::Requirement
76
90
  requirements:
77
- - - '>='
91
+ - - ~>
78
92
  - !ruby/object:Gem::Version
79
93
  version: 0.8.5
80
94
  type: :runtime
81
95
  prerelease: false
82
96
  version_requirements: !ruby/object:Gem::Requirement
83
97
  requirements:
84
- - - '>='
98
+ - - ~>
85
99
  - !ruby/object:Gem::Version
86
100
  version: 0.8.5
87
- - !ruby/object:Gem::Dependency
88
- name: hashie
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - '>='
92
- - !ruby/object:Gem::Version
93
- version: 2.0.2
94
- type: :runtime
95
- prerelease: false
96
- version_requirements: !ruby/object:Gem::Requirement
97
- requirements:
98
- - - '>='
99
- - !ruby/object:Gem::Version
100
- version: 2.0.2
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: minitar
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -168,6 +168,20 @@ dependencies:
168
168
  - - ~>
169
169
  - !ruby/object:Gem::Version
170
170
  version: 0.18.0
171
+ - !ruby/object:Gem::Dependency
172
+ name: octokit
173
+ requirement: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ~>
176
+ - !ruby/object:Gem::Version
177
+ version: '2.6'
178
+ type: :runtime
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ~>
183
+ - !ruby/object:Gem::Version
184
+ version: '2.6'
171
185
  - !ruby/object:Gem::Dependency
172
186
  name: aruba
173
187
  requirement: !ruby/object:Gem::Requirement
@@ -373,8 +387,6 @@ files:
373
387
  - generator_files/licenses/reserved.erb
374
388
  - generator_files/metadata.rb.erb
375
389
  - lib/berkshelf.rb
376
- - lib/berkshelf/api_client.rb
377
- - lib/berkshelf/api_client/remote_cookbook.rb
378
390
  - lib/berkshelf/base_generator.rb
379
391
  - lib/berkshelf/berksfile.rb
380
392
  - lib/berkshelf/cached_cookbook.rb
@@ -411,6 +423,7 @@ files:
411
423
  - lib/berkshelf/mixin.rb
412
424
  - lib/berkshelf/mixin/dsl_eval.rb
413
425
  - lib/berkshelf/mixin/logging.rb
426
+ - lib/berkshelf/packager.rb
414
427
  - lib/berkshelf/resolver.rb
415
428
  - lib/berkshelf/resolver/graph.rb
416
429
  - lib/berkshelf/source.rb
@@ -445,8 +458,6 @@ files:
445
458
  - spec/support/matchers/filepath_matchers.rb
446
459
  - spec/support/mercurial.rb
447
460
  - spec/support/path_helpers.rb
448
- - spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
449
- - spec/unit/berkshelf/api_client_spec.rb
450
461
  - spec/unit/berkshelf/berksfile_spec.rb
451
462
  - spec/unit/berkshelf/cached_cookbook_spec.rb
452
463
  - spec/unit/berkshelf/cli_spec.rb
@@ -455,6 +466,7 @@ files:
455
466
  - spec/unit/berkshelf/cookbook_generator_spec.rb
456
467
  - spec/unit/berkshelf/cookbook_store_spec.rb
457
468
  - spec/unit/berkshelf/core_ext/file_utils_spec.rb
469
+ - spec/unit/berkshelf/core_ext/pathname_spec.rb
458
470
  - spec/unit/berkshelf/dependency_spec.rb
459
471
  - spec/unit/berkshelf/downloader_spec.rb
460
472
  - spec/unit/berkshelf/errors_spec.rb
@@ -472,6 +484,7 @@ files:
472
484
  - spec/unit/berkshelf/mercurial_spec.rb
473
485
  - spec/unit/berkshelf/mixin/dsl_eval_spec.rb
474
486
  - spec/unit/berkshelf/mixin/logging_spec.rb
487
+ - spec/unit/berkshelf/packager_spec.rb
475
488
  - spec/unit/berkshelf/resolver/graph_spec.rb
476
489
  - spec/unit/berkshelf/resolver_spec.rb
477
490
  - spec/unit/berkshelf/source_spec.rb
@@ -563,8 +576,6 @@ test_files:
563
576
  - spec/support/matchers/filepath_matchers.rb
564
577
  - spec/support/mercurial.rb
565
578
  - spec/support/path_helpers.rb
566
- - spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
567
- - spec/unit/berkshelf/api_client_spec.rb
568
579
  - spec/unit/berkshelf/berksfile_spec.rb
569
580
  - spec/unit/berkshelf/cached_cookbook_spec.rb
570
581
  - spec/unit/berkshelf/cli_spec.rb
@@ -573,6 +584,7 @@ test_files:
573
584
  - spec/unit/berkshelf/cookbook_generator_spec.rb
574
585
  - spec/unit/berkshelf/cookbook_store_spec.rb
575
586
  - spec/unit/berkshelf/core_ext/file_utils_spec.rb
587
+ - spec/unit/berkshelf/core_ext/pathname_spec.rb
576
588
  - spec/unit/berkshelf/dependency_spec.rb
577
589
  - spec/unit/berkshelf/downloader_spec.rb
578
590
  - spec/unit/berkshelf/errors_spec.rb
@@ -590,6 +602,7 @@ test_files:
590
602
  - spec/unit/berkshelf/mercurial_spec.rb
591
603
  - spec/unit/berkshelf/mixin/dsl_eval_spec.rb
592
604
  - spec/unit/berkshelf/mixin/logging_spec.rb
605
+ - spec/unit/berkshelf/packager_spec.rb
593
606
  - spec/unit/berkshelf/resolver/graph_spec.rb
594
607
  - spec/unit/berkshelf/resolver_spec.rb
595
608
  - spec/unit/berkshelf/source_spec.rb