librarian-puppet 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/.gitignore +1 -0
  2. data/LICENSE +20 -0
  3. data/README.md +0 -0
  4. data/bin/librarian-puppet +9 -0
  5. data/lib/librarian/puppet.rb +7 -0
  6. data/lib/librarian/puppet/cli.rb +30 -0
  7. data/lib/librarian/puppet/dsl.rb +14 -0
  8. data/lib/librarian/puppet/environment.rb +18 -0
  9. data/lib/librarian/puppet/extension.rb +9 -0
  10. data/lib/librarian/puppet/source.rb +2 -0
  11. data/lib/librarian/puppet/source/git.rb +12 -0
  12. data/lib/librarian/puppet/source/local.rb +46 -0
  13. data/lib/librarian/puppet/source/path.rb +12 -0
  14. data/lib/librarian/puppet/templates/Puppetfile +6 -0
  15. data/librarian-puppet.gemspec +126 -0
  16. data/vendor/librarian/.rspec +1 -0
  17. data/vendor/librarian/.travis.yml +6 -0
  18. data/vendor/librarian/CHANGELOG.md +168 -0
  19. data/vendor/librarian/Gemfile +4 -0
  20. data/vendor/librarian/MIT-LICENSE +20 -0
  21. data/vendor/librarian/README.md +318 -0
  22. data/vendor/librarian/Rakefile +34 -0
  23. data/vendor/librarian/bin/librarian-chef +7 -0
  24. data/vendor/librarian/bin/librarian-mock +7 -0
  25. data/vendor/librarian/config/cucumber.yaml +1 -0
  26. data/vendor/librarian/features/chef/cli/init.feature +10 -0
  27. data/vendor/librarian/features/chef/cli/install.feature +64 -0
  28. data/vendor/librarian/features/chef/cli/show.feature +65 -0
  29. data/vendor/librarian/features/chef/cli/version.feature +11 -0
  30. data/vendor/librarian/features/support/env.rb +9 -0
  31. data/vendor/librarian/lib/librarian.rb +19 -0
  32. data/vendor/librarian/lib/librarian/action.rb +5 -0
  33. data/vendor/librarian/lib/librarian/action/base.rb +22 -0
  34. data/vendor/librarian/lib/librarian/action/clean.rb +44 -0
  35. data/vendor/librarian/lib/librarian/action/ensure.rb +24 -0
  36. data/vendor/librarian/lib/librarian/action/install.rb +95 -0
  37. data/vendor/librarian/lib/librarian/action/resolve.rb +81 -0
  38. data/vendor/librarian/lib/librarian/action/update.rb +78 -0
  39. data/vendor/librarian/lib/librarian/chef.rb +1 -0
  40. data/vendor/librarian/lib/librarian/chef/cli.rb +27 -0
  41. data/vendor/librarian/lib/librarian/chef/dsl.rb +15 -0
  42. data/vendor/librarian/lib/librarian/chef/environment.rb +19 -0
  43. data/vendor/librarian/lib/librarian/chef/extension.rb +9 -0
  44. data/vendor/librarian/lib/librarian/chef/integration/knife.rb +42 -0
  45. data/vendor/librarian/lib/librarian/chef/manifest_reader.rb +47 -0
  46. data/vendor/librarian/lib/librarian/chef/source.rb +3 -0
  47. data/vendor/librarian/lib/librarian/chef/source/git.rb +12 -0
  48. data/vendor/librarian/lib/librarian/chef/source/local.rb +63 -0
  49. data/vendor/librarian/lib/librarian/chef/source/path.rb +12 -0
  50. data/vendor/librarian/lib/librarian/chef/source/site.rb +434 -0
  51. data/vendor/librarian/lib/librarian/chef/templates/Cheffile +15 -0
  52. data/vendor/librarian/lib/librarian/cli.rb +175 -0
  53. data/vendor/librarian/lib/librarian/cli/manifest_presenter.rb +79 -0
  54. data/vendor/librarian/lib/librarian/dependency.rb +95 -0
  55. data/vendor/librarian/lib/librarian/dsl.rb +105 -0
  56. data/vendor/librarian/lib/librarian/dsl/receiver.rb +48 -0
  57. data/vendor/librarian/lib/librarian/dsl/target.rb +176 -0
  58. data/vendor/librarian/lib/librarian/environment.rb +129 -0
  59. data/vendor/librarian/lib/librarian/error.rb +4 -0
  60. data/vendor/librarian/lib/librarian/helpers.rb +13 -0
  61. data/vendor/librarian/lib/librarian/helpers/debug.rb +35 -0
  62. data/vendor/librarian/lib/librarian/lockfile.rb +33 -0
  63. data/vendor/librarian/lib/librarian/lockfile/compiler.rb +70 -0
  64. data/vendor/librarian/lib/librarian/lockfile/parser.rb +104 -0
  65. data/vendor/librarian/lib/librarian/manifest.rb +140 -0
  66. data/vendor/librarian/lib/librarian/manifest_set.rb +153 -0
  67. data/vendor/librarian/lib/librarian/mock.rb +1 -0
  68. data/vendor/librarian/lib/librarian/mock/cli.rb +19 -0
  69. data/vendor/librarian/lib/librarian/mock/dsl.rb +15 -0
  70. data/vendor/librarian/lib/librarian/mock/environment.rb +24 -0
  71. data/vendor/librarian/lib/librarian/mock/extension.rb +9 -0
  72. data/vendor/librarian/lib/librarian/mock/source.rb +1 -0
  73. data/vendor/librarian/lib/librarian/mock/source/mock.rb +97 -0
  74. data/vendor/librarian/lib/librarian/mock/source/mock/registry.rb +83 -0
  75. data/vendor/librarian/lib/librarian/resolution.rb +44 -0
  76. data/vendor/librarian/lib/librarian/resolver.rb +73 -0
  77. data/vendor/librarian/lib/librarian/resolver/implementation.rb +122 -0
  78. data/vendor/librarian/lib/librarian/source.rb +2 -0
  79. data/vendor/librarian/lib/librarian/source/git.rb +150 -0
  80. data/vendor/librarian/lib/librarian/source/git/repository.rb +213 -0
  81. data/vendor/librarian/lib/librarian/source/local.rb +51 -0
  82. data/vendor/librarian/lib/librarian/source/path.rb +74 -0
  83. data/vendor/librarian/lib/librarian/spec.rb +13 -0
  84. data/vendor/librarian/lib/librarian/spec_change_set.rb +170 -0
  85. data/vendor/librarian/lib/librarian/specfile.rb +22 -0
  86. data/vendor/librarian/lib/librarian/support/abstract_method.rb +21 -0
  87. data/vendor/librarian/lib/librarian/ui.rb +64 -0
  88. data/vendor/librarian/lib/librarian/version.rb +3 -0
  89. data/vendor/librarian/librarian.gemspec +33 -0
  90. data/vendor/librarian/spec/functional/chef/source/git_spec.rb +432 -0
  91. data/vendor/librarian/spec/functional/chef/source/site_spec.rb +215 -0
  92. data/vendor/librarian/spec/unit/action/base_spec.rb +18 -0
  93. data/vendor/librarian/spec/unit/action/clean_spec.rb +102 -0
  94. data/vendor/librarian/spec/unit/action/ensure_spec.rb +37 -0
  95. data/vendor/librarian/spec/unit/action/install_spec.rb +111 -0
  96. data/vendor/librarian/spec/unit/dependency_spec.rb +30 -0
  97. data/vendor/librarian/spec/unit/dsl_spec.rb +194 -0
  98. data/vendor/librarian/spec/unit/environment_spec.rb +9 -0
  99. data/vendor/librarian/spec/unit/lockfile/parser_spec.rb +162 -0
  100. data/vendor/librarian/spec/unit/lockfile_spec.rb +65 -0
  101. data/vendor/librarian/spec/unit/manifest_set_spec.rb +202 -0
  102. data/vendor/librarian/spec/unit/manifest_spec.rb +30 -0
  103. data/vendor/librarian/spec/unit/mock/source/mock_spec.rb +22 -0
  104. data/vendor/librarian/spec/unit/resolver_spec.rb +192 -0
  105. data/vendor/librarian/spec/unit/source/git_spec.rb +29 -0
  106. data/vendor/librarian/spec/unit/spec_change_set_spec.rb +169 -0
  107. metadata +163 -0
@@ -0,0 +1 @@
1
+ *.gem
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Tim Sharpe
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File without changes
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ lib = File.expand_path('../../lib', __FILE__)
4
+ vendor = File.expand_path('../../vendor/librarian/lib', __FILE__)
5
+ $:.unshift(lib) unless $:.include?(lib)
6
+ $:.unshift(vendor) unless $:.include?(vendor)
7
+
8
+ require 'librarian/puppet/cli'
9
+ Librarian::Puppet::Cli.bin!
@@ -0,0 +1,7 @@
1
+ require 'librarian/puppet/extension'
2
+
3
+ module Librarian
4
+ module Puppet
5
+ VERSION = "0.0.1.pre"
6
+ end
7
+ end
@@ -0,0 +1,30 @@
1
+ require 'librarian/helpers'
2
+
3
+ require 'librarian/cli'
4
+ require 'librarian/puppet'
5
+
6
+ module Librarian
7
+ module Puppet
8
+ class Cli < Librarian::Cli
9
+
10
+ module Particularity
11
+ def root_module
12
+ Puppet
13
+ end
14
+ end
15
+
16
+ include Particularity
17
+ extend Particularity
18
+
19
+ source_root Pathname.new(__FILE__).dirname.join("templates")
20
+
21
+ def init
22
+ copy_file environment.specfile_name
23
+ end
24
+
25
+ def version
26
+ say "librarian-puppet v#{Librarian::Puppet::VERSION}"
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,14 @@
1
+ require 'librarian/dsl'
2
+ require 'librarian/puppet/source'
3
+
4
+ module Librarian
5
+ module Puppet
6
+ class Dsl < Librarian::Dsl
7
+
8
+ dependency :mod
9
+
10
+ source :git => Source::Git
11
+ source :path => Source::Path
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,18 @@
1
+ require "librarian/environment"
2
+ require "librarian/puppet/dsl"
3
+ require "librarian/puppet/source"
4
+
5
+ module Librarian
6
+ module Puppet
7
+ class Environment < Librarian::Environment
8
+
9
+ def adapter_name
10
+ "puppet"
11
+ end
12
+
13
+ def install_path
14
+ project_path.join("modules")
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,9 @@
1
+ require 'librarian/puppet/environment'
2
+
3
+ module Librarian
4
+ module Puppet
5
+ extend self
6
+ extend Librarian
7
+
8
+ end
9
+ end
@@ -0,0 +1,2 @@
1
+ require 'librarian/puppet/source/path'
2
+ require 'librarian/puppet/source/git'
@@ -0,0 +1,12 @@
1
+ require 'librarian/source/git'
2
+ require 'librarian/puppet/source/local'
3
+
4
+ module Librarian
5
+ module Puppet
6
+ module Source
7
+ class Git < Librarian::Source::Git
8
+ include Local
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,46 @@
1
+ module Librarian
2
+ module Puppet
3
+ module Source
4
+ module Local
5
+
6
+ def install!(manifest)
7
+ manifest.source == self or raise ArgumentError
8
+
9
+ debug { "Installing #{manifest}" }
10
+
11
+ name, version = manifest.name, manifest.version
12
+ found_path = found_path(name)
13
+
14
+ install_path = environment.install_path.join(name)
15
+ if install_path.exist?
16
+ debug { "Deleting #{relative_path_to(install_path)}" }
17
+ install_path.rmtree
18
+ end
19
+
20
+ install_perform_step_copy!(found_path, install_path)
21
+ end
22
+
23
+ def fetch_version(name, extra)
24
+ cache!
25
+ found_path = found_path(name)
26
+ '0.0.1'
27
+ end
28
+
29
+ def fetch_dependencies(name, version, extra)
30
+ {}
31
+ end
32
+
33
+ private
34
+
35
+ def install_perform_step_copy!(found_path, install_path)
36
+ debug { "Copying #{relative_path_to(found_path)} to #{relative_path_to(install_path)}" }
37
+ FileUtils.cp_r(found_path, install_path)
38
+ end
39
+
40
+ def manifest?(name, path)
41
+ path.join('manifests').exist?
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,12 @@
1
+ require 'librarian/source/path'
2
+ require 'librarian/puppet/source/local'
3
+
4
+ module Librarian
5
+ module Puppet
6
+ module Source
7
+ class Path < Librarian::Source::Path
8
+ include Local
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,6 @@
1
+ # mod 'stdlib'
2
+ # :git => 'git://github.com/puppetlabs/puppetlabs-stdlib.git
3
+
4
+ # mod 'apt',
5
+ # :git => 'https://github.com/puppetlabs/puppetlabs-apt.git',
6
+ # :ref => 'feature/master/dans_refactor'
@@ -0,0 +1,126 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ $:.push File.expand_path("../vendor/librarian/lib", __FILE__)
3
+ require 'librarian/puppet'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'librarian-puppet'
7
+ s.version = Librarian::Puppet::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ['Tim Sharpe']
10
+ s.email = ['tim@sharpe.id.au']
11
+ s.homepage = 'https://github.com/rodjek/librarian-puppet'
12
+ s.summary = 'placeholder'
13
+ s.description = 'another placeholder!'
14
+
15
+ s.files = [
16
+ '.gitignore',
17
+ 'LICENSE',
18
+ 'README.md',
19
+ 'bin/librarian-puppet',
20
+ 'lib/librarian/puppet.rb',
21
+ 'lib/librarian/puppet/cli.rb',
22
+ 'lib/librarian/puppet/dsl.rb',
23
+ 'lib/librarian/puppet/environment.rb',
24
+ 'lib/librarian/puppet/extension.rb',
25
+ 'lib/librarian/puppet/source.rb',
26
+ 'lib/librarian/puppet/source/git.rb',
27
+ 'lib/librarian/puppet/source/local.rb',
28
+ 'lib/librarian/puppet/source/path.rb',
29
+ 'lib/librarian/puppet/templates/Puppetfile',
30
+ 'librarian-puppet.gemspec',
31
+ 'vendor/librarian/.rspec',
32
+ 'vendor/librarian/.travis.yml',
33
+ 'vendor/librarian/CHANGELOG.md',
34
+ 'vendor/librarian/Gemfile',
35
+ 'vendor/librarian/MIT-LICENSE',
36
+ 'vendor/librarian/README.md',
37
+ 'vendor/librarian/Rakefile',
38
+ 'vendor/librarian/bin/librarian-chef',
39
+ 'vendor/librarian/bin/librarian-mock',
40
+ 'vendor/librarian/config/cucumber.yaml',
41
+ 'vendor/librarian/features/chef/cli/init.feature',
42
+ 'vendor/librarian/features/chef/cli/install.feature',
43
+ 'vendor/librarian/features/chef/cli/show.feature',
44
+ 'vendor/librarian/features/chef/cli/version.feature',
45
+ 'vendor/librarian/features/support/env.rb',
46
+ 'vendor/librarian/lib/librarian.rb',
47
+ 'vendor/librarian/lib/librarian/action.rb',
48
+ 'vendor/librarian/lib/librarian/action/base.rb',
49
+ 'vendor/librarian/lib/librarian/action/clean.rb',
50
+ 'vendor/librarian/lib/librarian/action/ensure.rb',
51
+ 'vendor/librarian/lib/librarian/action/install.rb',
52
+ 'vendor/librarian/lib/librarian/action/resolve.rb',
53
+ 'vendor/librarian/lib/librarian/action/update.rb',
54
+ 'vendor/librarian/lib/librarian/chef.rb',
55
+ 'vendor/librarian/lib/librarian/chef/cli.rb',
56
+ 'vendor/librarian/lib/librarian/chef/dsl.rb',
57
+ 'vendor/librarian/lib/librarian/chef/environment.rb',
58
+ 'vendor/librarian/lib/librarian/chef/extension.rb',
59
+ 'vendor/librarian/lib/librarian/chef/integration/knife.rb',
60
+ 'vendor/librarian/lib/librarian/chef/manifest_reader.rb',
61
+ 'vendor/librarian/lib/librarian/chef/source.rb',
62
+ 'vendor/librarian/lib/librarian/chef/source/git.rb',
63
+ 'vendor/librarian/lib/librarian/chef/source/local.rb',
64
+ 'vendor/librarian/lib/librarian/chef/source/path.rb',
65
+ 'vendor/librarian/lib/librarian/chef/source/site.rb',
66
+ 'vendor/librarian/lib/librarian/chef/templates/Cheffile',
67
+ 'vendor/librarian/lib/librarian/cli.rb',
68
+ 'vendor/librarian/lib/librarian/cli/manifest_presenter.rb',
69
+ 'vendor/librarian/lib/librarian/dependency.rb',
70
+ 'vendor/librarian/lib/librarian/dsl.rb',
71
+ 'vendor/librarian/lib/librarian/dsl/receiver.rb',
72
+ 'vendor/librarian/lib/librarian/dsl/target.rb',
73
+ 'vendor/librarian/lib/librarian/environment.rb',
74
+ 'vendor/librarian/lib/librarian/error.rb',
75
+ 'vendor/librarian/lib/librarian/helpers.rb',
76
+ 'vendor/librarian/lib/librarian/helpers/debug.rb',
77
+ 'vendor/librarian/lib/librarian/lockfile.rb',
78
+ 'vendor/librarian/lib/librarian/lockfile/compiler.rb',
79
+ 'vendor/librarian/lib/librarian/lockfile/parser.rb',
80
+ 'vendor/librarian/lib/librarian/manifest.rb',
81
+ 'vendor/librarian/lib/librarian/manifest_set.rb',
82
+ 'vendor/librarian/lib/librarian/mock.rb',
83
+ 'vendor/librarian/lib/librarian/mock/cli.rb',
84
+ 'vendor/librarian/lib/librarian/mock/dsl.rb',
85
+ 'vendor/librarian/lib/librarian/mock/environment.rb',
86
+ 'vendor/librarian/lib/librarian/mock/extension.rb',
87
+ 'vendor/librarian/lib/librarian/mock/source.rb',
88
+ 'vendor/librarian/lib/librarian/mock/source/mock.rb',
89
+ 'vendor/librarian/lib/librarian/mock/source/mock/registry.rb',
90
+ 'vendor/librarian/lib/librarian/resolution.rb',
91
+ 'vendor/librarian/lib/librarian/resolver.rb',
92
+ 'vendor/librarian/lib/librarian/resolver/implementation.rb',
93
+ 'vendor/librarian/lib/librarian/source.rb',
94
+ 'vendor/librarian/lib/librarian/source/git.rb',
95
+ 'vendor/librarian/lib/librarian/source/git/repository.rb',
96
+ 'vendor/librarian/lib/librarian/source/local.rb',
97
+ 'vendor/librarian/lib/librarian/source/path.rb',
98
+ 'vendor/librarian/lib/librarian/spec.rb',
99
+ 'vendor/librarian/lib/librarian/spec_change_set.rb',
100
+ 'vendor/librarian/lib/librarian/specfile.rb',
101
+ 'vendor/librarian/lib/librarian/support/abstract_method.rb',
102
+ 'vendor/librarian/lib/librarian/ui.rb',
103
+ 'vendor/librarian/lib/librarian/version.rb',
104
+ 'vendor/librarian/librarian.gemspec',
105
+ 'vendor/librarian/spec/functional/chef/source/git_spec.rb',
106
+ 'vendor/librarian/spec/functional/chef/source/site_spec.rb',
107
+ 'vendor/librarian/spec/unit/action/base_spec.rb',
108
+ 'vendor/librarian/spec/unit/action/clean_spec.rb',
109
+ 'vendor/librarian/spec/unit/action/ensure_spec.rb',
110
+ 'vendor/librarian/spec/unit/action/install_spec.rb',
111
+ 'vendor/librarian/spec/unit/dependency_spec.rb',
112
+ 'vendor/librarian/spec/unit/dsl_spec.rb',
113
+ 'vendor/librarian/spec/unit/environment_spec.rb',
114
+ 'vendor/librarian/spec/unit/lockfile/parser_spec.rb',
115
+ 'vendor/librarian/spec/unit/lockfile_spec.rb',
116
+ 'vendor/librarian/spec/unit/manifest_set_spec.rb',
117
+ 'vendor/librarian/spec/unit/manifest_spec.rb',
118
+ 'vendor/librarian/spec/unit/mock/source/mock_spec.rb',
119
+ 'vendor/librarian/spec/unit/resolver_spec.rb',
120
+ 'vendor/librarian/spec/unit/source/git_spec.rb',
121
+ 'vendor/librarian/spec/unit/spec_change_set_spec.rb',
122
+ ]
123
+ s.executables = ['librarian-puppet']
124
+
125
+ s.add_dependency "thor", "~> 0.15"
126
+ end
@@ -0,0 +1 @@
1
+ --color
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - rbx
@@ -0,0 +1,168 @@
1
+ # Change Log
2
+
3
+ ## 0.0.23
4
+
5
+ * \#41. Build gems with a built gemspec.
6
+
7
+ * \#67. Cache remote objects at the latest possible moments, and only when they
8
+ are needed.
9
+
10
+ * \#68. Fix unpacking chef site-sourced packages on Windows by pivoting from a
11
+ Librarian-managed scratch space, rather than pivoting from Windows' temp
12
+ directory. There were unexplained problems with using the Windows temp
13
+ directory in certain cases, possibly related to the temp directory and the
14
+ Librarian cache directory being on different volumes.
15
+
16
+ * \#69. Fix invoking Librarian with git-sourced dependencies from git hooks by
17
+ unsetting `GIT_DIR` around shelling out to git.
18
+
19
+ * Print general environment information when running with `--verbose`.
20
+
21
+ ## 0.0.22
22
+
23
+ * Fix the `outdated` CLI command.
24
+
25
+ ## 0.0.21
26
+
27
+ * \#64. Sources now raise when given unrecognized options in the specfile.
28
+
29
+ * A new `show` CLI command.
30
+
31
+ * Changed the `clean` CLI command no longer to delete the lockfile.
32
+
33
+ * Simplify the architecture of `Librarian::Manifest` vis-a-vis sources. It is no
34
+ longer a base class for adapters to inherit. Now, sources expose a small
35
+ interface, which `Librarian::Manifest` can call, for delay-loading attributes.
36
+
37
+ * The git source now resolves the `git` binary before `chdir`ing.
38
+
39
+ * Test on Rubinius.
40
+
41
+ ## 0.0.20
42
+
43
+ * A command to print outdated dependencies.
44
+
45
+ ## 0.0.19
46
+
47
+ * Fix breakage on 1.8.
48
+
49
+ ## 0.0.18
50
+
51
+ * \#57. Include existing manifests' dependencies in resolution.
52
+
53
+ * Permit the update action even with a changed specfile.
54
+
55
+ ## 0.0.17
56
+
57
+ * Use a pure-Ruby implementation of tar/gz. Helps with Windows support, since
58
+ Windows boxes are less likely than *NIX boxes to have the `tar` executable.
59
+
60
+ * Fix an issue where the chef site source considers uncached manifests to be
61
+ cached, and skips caching them, causing the install action to fail.
62
+
63
+ * Fail fast if the resolver produces an inconsistent resolution. It is a known
64
+ issue that the resolver will sometimes (deterministically, not randomly)
65
+ produce an inconsistent resolution when performing an update action (#57).
66
+ Start debugging this by failing fast at this point and spitting out gobs of
67
+ debug-level log details.
68
+
69
+ ## 0.0.16
70
+
71
+ * Recache site-sourced dependency metadata per each run.
72
+
73
+ * \#46. Always install.
74
+
75
+ * \#53. Abstract versions & requirements from rubygems.
76
+
77
+ * Own the install path. Recreate it on each install.
78
+ WARNING: If you have your own content in the install path, it will be deleted without mercy.
79
+
80
+ ## 0.0.15
81
+
82
+ * Rewrite the README.
83
+
84
+ * \#44, \#49. Better updating of cached git sources without using local merges.
85
+
86
+ ## 0.0.14
87
+
88
+ * \#39 Fixes a regression induced by using `git reset --hard SHA`.
89
+
90
+ ## 0.0.13
91
+
92
+ * \#36 Fixes an issue where, if a dependency has a git source (the upstream), and the upstream is updated,
93
+ then attempting to update that dependency in the local resolution would not update that dependency so
94
+ long as that git source were cached (@databus23).
95
+
96
+ * More immediate detection of, and better error messages for, cases of blank dependency or manifest names
97
+ or cases of names that are otherwise insensible, such as names that are untrimmed.
98
+
99
+ ## 0.0.12
100
+
101
+ * Fixes an issue where, if a dependency has a git source with a ref, re-resolving may fail.
102
+
103
+ ## 0.0.11
104
+
105
+ * Fix a regression where the cli command "version" failed.
106
+
107
+ ## 0.0.10
108
+
109
+ This release focuses on refactoring some of the internals. There are no functional changes.
110
+
111
+ ## 0.0.9
112
+
113
+ * \#11 Fixes a problem where, if the repo is in a path where a component has a space, attempting to resolve a
114
+ site-sourced dependency fails.
115
+
116
+ ## 0.0.8
117
+
118
+ * A `version` task.
119
+
120
+ * A change log.
121
+
122
+ * \#10 Fixes the problem with bouncing the lockfile when updating, when using a git source with the default ref.
123
+
124
+ ## 0.0.7
125
+
126
+ * \#8 Add highline temporarily as a runtime dependency of `librarian` (@fnichol).
127
+ When the project is split into `librarian` and `librarian-chef`, the `chef` runtime dependency will
128
+ be moved to `librarian-chef`. If the project is further split into a knife plugin, the dependency
129
+ will be moved there.
130
+
131
+ ## 0.0.6
132
+
133
+ * \#7 Show a better error message when a cookbook is missing the required metadata file.
134
+
135
+ * Miscellaneous bugfixes.
136
+
137
+ ## 0.0.5
138
+
139
+ * \#4 An `init` task for `librarian-chef`.
140
+ This task creates a nearly-blank `Cheffile` with just the default Opscode Community Site source.
141
+
142
+ * Automatically create the `cookbooks` directory, if it's missing, when running the `install` task.
143
+
144
+ * \#3 Add `chef` temporarily as a runtime dependency of `librarian` (@fnichol).
145
+ When the project is split into `librarian` and `librarian-chef`, the `chef` runtime dependency will
146
+ be moved to `librarian-chef`.
147
+
148
+ ## 0.0.4
149
+
150
+ * A simple knife integration.
151
+ This integration allows you to specify a `librarian-chef`-managed tempdir as a `cookbook_path`.
152
+ This is useful to force knife only to upload the exact cookbooks that `librarian-chef` knows
153
+ about, rather than whatever happens to be found in the `cookbooks` directory.
154
+
155
+ ## 0.0.3
156
+
157
+ * Miscellaneous bugfixes.
158
+
159
+ ## 0.0.2
160
+
161
+ * An optional `:path` attribute for `:git` sources.
162
+ This allows you to specify exactly where within a git repository a given cookbook is to be found.
163
+
164
+ * A full example of a Cheffile and its usage in the readme.
165
+
166
+ ## 0.0.1
167
+
168
+ * Initial release.