Skip to content
This repository
Browse code

Require vendored version of librarian

  • Loading branch information...
commit 694c350d2c0dc26c2c5e8ded59f3017177ae2e08 1 parent dfdbd85
Tim Sharpe authored June 04, 2012
2  bin/librarian-puppet
... ...
@@ -1,7 +1,9 @@
1 1
 #!/usr/bin/env ruby
2 2
 
3 3
 lib = File.expand_path('../../lib', __FILE__)
  4
+vendor = File.expand_path('../../vendor/librarian/lib', __FILE__)
4 5
 $:.unshift(lib) unless $:.include?(lib)
  6
+$:.unshift(vendor) unless $:.include?(vendor)
5 7
 
6 8
 require 'librarian/puppet/cli'
7 9
 Librarian::Puppet::Cli.bin!
103  librarian-puppet.gemspec
... ...
@@ -1,4 +1,5 @@
1 1
 $:.push File.expand_path("../lib", __FILE__)
  2
+$:.push File.expand_path("../vendor/librarian/lib", __FILE__)
2 3
 require 'librarian/puppet'
3 4
 
4 5
 Gem::Specification.new do |s|
@@ -12,20 +13,114 @@ Gem::Specification.new do |s|
12 13
   s.description = 'another placeholder!'
13 14
 
14 15
   s.files = [
  16
+    '.gitignore',
  17
+    'LICENSE',
  18
+    'README.md',
15 19
     'bin/librarian-puppet',
  20
+    'lib/librarian/puppet.rb',
16 21
     'lib/librarian/puppet/cli.rb',
17 22
     'lib/librarian/puppet/dsl.rb',
18 23
     'lib/librarian/puppet/environment.rb',
19 24
     'lib/librarian/puppet/extension.rb',
  25
+    'lib/librarian/puppet/source.rb',
20 26
     'lib/librarian/puppet/source/git.rb',
21 27
     'lib/librarian/puppet/source/local.rb',
22 28
     'lib/librarian/puppet/source/path.rb',
23  
-    'lib/librarian/puppet/source.rb',
24 29
     'lib/librarian/puppet/templates/Puppetfile',
25  
-    'lib/librarian/puppet.rb',
26  
-    'README.md',
  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',
27 122
   ]
28 123
   s.executables = ['librarian-puppet']
29 124
 
30  
-  s.add_dependency 'librarian'
  125
+  s.add_dependency "thor", "~> 0.15"
31 126
 end

0 notes on commit 694c350

Please sign in to comment.
Something went wrong with that request. Please try again.