bpm 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.gitmodules +0 -0
- data/Gemfile +16 -0
- data/README.md +55 -0
- data/TODO.md +3 -0
- data/bin/bpm +8 -0
- data/bpm.gemspec +41 -0
- data/lib/bpm.rb +18 -0
- data/lib/bpm/cli.rb +6 -0
- data/lib/bpm/cli/base.rb +358 -0
- data/lib/bpm/cli/owner.rb +46 -0
- data/lib/bpm/credentials.rb +36 -0
- data/lib/bpm/default.json +9 -0
- data/lib/bpm/generator.rb +69 -0
- data/lib/bpm/init_generator.rb +43 -0
- data/lib/bpm/libgems_ext.rb +11 -0
- data/lib/bpm/libgems_ext/config_file.rb +33 -0
- data/lib/bpm/libgems_ext/dependency_installer.rb +150 -0
- data/lib/bpm/libgems_ext/installer.rb +39 -0
- data/lib/bpm/libgems_ext/libgems.rb +39 -0
- data/lib/bpm/libgems_ext/spec_fetcher.rb +11 -0
- data/lib/bpm/local.rb +76 -0
- data/lib/bpm/package.rb +277 -0
- data/lib/bpm/pipeline.rb +100 -0
- data/lib/bpm/pipeline/directive_processor.rb +47 -0
- data/lib/bpm/pipeline/generated_asset.rb +68 -0
- data/lib/bpm/pipeline/transport_processor.rb +32 -0
- data/lib/bpm/project.rb +427 -0
- data/lib/bpm/project_generator.rb +34 -0
- data/lib/bpm/remote.rb +104 -0
- data/lib/bpm/repository.rb +18 -0
- data/lib/bpm/server.rb +44 -0
- data/lib/bpm/version.rb +3 -0
- data/spec/cli/add_spec.rb +159 -0
- data/spec/cli/build_spec.rb +87 -0
- data/spec/cli/fetch_spec.rb +135 -0
- data/spec/cli/fetched_spec.rb +52 -0
- data/spec/cli/init_spec.rb +50 -0
- data/spec/cli/list_spec.rb +74 -0
- data/spec/cli/login_spec.rb +110 -0
- data/spec/cli/new_spec.rb +92 -0
- data/spec/cli/owner_spec.rb +114 -0
- data/spec/cli/push_spec.rb +73 -0
- data/spec/cli/remove_spec.rb +84 -0
- data/spec/cli/unpack_spec.rb +72 -0
- data/spec/cli/unyank_spec.rb +73 -0
- data/spec/cli/yank_spec.rb +73 -0
- data/spec/credentials_spec.rb +23 -0
- data/spec/fixtures/badrake-0.8.7.spd +0 -0
- data/spec/fixtures/builder-3.0.0.spd +0 -0
- data/spec/fixtures/bundler-1.1.pre.spd +0 -0
- data/spec/fixtures/coffee-1.0.1.pre.spd +0 -0
- data/spec/fixtures/core-test-0.4.9.spd +0 -0
- data/spec/fixtures/core-test/bin/cot +3 -0
- data/spec/fixtures/core-test/lib/main.js +1 -0
- data/spec/fixtures/core-test/package.json +46 -0
- data/spec/fixtures/core-test/resources/runner.css +1 -0
- data/spec/fixtures/core-test/tests/test.js +1 -0
- data/spec/fixtures/custom_generator-1.0.spd +0 -0
- data/spec/fixtures/custom_generator/lib/main.js +1 -0
- data/spec/fixtures/custom_generator/package.json +12 -0
- data/spec/fixtures/custom_generator/templates/init/project.json +19 -0
- data/spec/fixtures/custom_generator/templates/project/app.js +1 -0
- data/spec/fixtures/custom_generator/templates/project/lib/main.js +0 -0
- data/spec/fixtures/custom_generator/templates/project_generator.rb +20 -0
- data/spec/fixtures/hello_world/LICENSE +19 -0
- data/spec/fixtures/hello_world/README.md +21 -0
- data/spec/fixtures/hello_world/assets/bpm_packages.js +13 -0
- data/spec/fixtures/hello_world/assets/bpm_styles.css +14 -0
- data/spec/fixtures/hello_world/assets/papa-smurf.jpg +0 -0
- data/spec/fixtures/hello_world/hello_world.json +20 -0
- data/spec/fixtures/hello_world/lib/main.js +9 -0
- data/spec/fixtures/hello_world/packages/custom_package/assets/dummy.txt +1 -0
- data/spec/fixtures/hello_world/packages/custom_package/css/sample_styles.css +3 -0
- data/spec/fixtures/hello_world/packages/custom_package/custom_dir/basic-module.js +1 -0
- data/spec/fixtures/hello_world/packages/custom_package/lib/main.js +1 -0
- data/spec/fixtures/hello_world/packages/custom_package/package.json +22 -0
- data/spec/fixtures/hello_world/tests/main-test.js +8 -0
- data/spec/fixtures/highline-1.6.1.spd +0 -0
- data/spec/fixtures/ivory-0.0.1.spd +0 -0
- data/spec/fixtures/jquery-1.4.3.spd +0 -0
- data/spec/fixtures/optparse-1.0.1.spd +0 -0
- data/spec/fixtures/rake-0.8.6.spd +0 -0
- data/spec/fixtures/rake-0.8.7.spd +0 -0
- data/spec/fixtures/simple_hello/assets/bpm_packages.js +1 -0
- data/spec/fixtures/simple_hello/lib/main.js +1 -0
- data/spec/fixtures/spade-0.5.0.spd +0 -0
- data/spec/fixtures/src/README.txt +1 -0
- data/spec/fixtures/src/bundler-1.1.pre/.gitignore +22 -0
- data/spec/fixtures/src/bundler-1.1.pre/CHANGELOG.md +646 -0
- data/spec/fixtures/src/bundler-1.1.pre/ISSUES.md +47 -0
- data/spec/fixtures/src/bundler-1.1.pre/LICENSE +21 -0
- data/spec/fixtures/src/bundler-1.1.pre/README.md +29 -0
- data/spec/fixtures/src/bundler-1.1.pre/UPGRADING.md +103 -0
- data/spec/fixtures/src/bundler-1.1.pre/bin/bundle +20 -0
- data/spec/fixtures/src/bundler-1.1.pre/lib/bundler.js +23 -0
- data/spec/fixtures/src/bundler-1.1.pre/lib/bundler/definition.js +14 -0
- data/spec/fixtures/src/bundler-1.1.pre/lib/bundler/dependency.js +15 -0
- data/spec/fixtures/src/bundler-1.1.pre/lib/bundler/dsl.js +9 -0
- data/spec/fixtures/src/bundler-1.1.pre/lib/bundler/ui.js +6 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/bundle-config.ronn +90 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/bundle-exec.ronn +111 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/bundle-install.ronn +314 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/bundle-package.ronn +59 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/bundle-update.ronn +176 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/bundle.ronn +80 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/gemfile.5.ronn +279 -0
- data/spec/fixtures/src/bundler-1.1.pre/man/index.txt +6 -0
- data/spec/fixtures/src/bundler-1.1.pre/package.json +19 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/bin/cake +0 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/bin/coffee +0 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/lib/coffee.js +0 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/lib/coffee/base.js +0 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/lib/coffee/mocha/chai.js +0 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/package.json +19 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/qunit/coffee/test.js +0 -0
- data/spec/fixtures/src/coffee-1.0.1.pre/qunit/test.js +0 -0
- data/spec/fixtures/src/jquery/lib/main.js +7179 -0
- data/spec/fixtures/src/jquery/package.json +15 -0
- data/spec/fixtures/src/rake-0.8.6/CHANGES +436 -0
- data/spec/fixtures/src/rake-0.8.6/MIT-LICENSE +21 -0
- data/spec/fixtures/src/rake-0.8.6/README +196 -0
- data/spec/fixtures/src/rake-0.8.6/Rakefile +430 -0
- data/spec/fixtures/src/rake-0.8.6/TODO +20 -0
- data/spec/fixtures/src/rake-0.8.6/bin/rake +31 -0
- data/spec/fixtures/src/rake-0.8.6/doc/command_line_usage.rdoc +102 -0
- data/spec/fixtures/src/rake-0.8.6/doc/example/Rakefile1 +38 -0
- data/spec/fixtures/src/rake-0.8.6/doc/example/Rakefile2 +35 -0
- data/spec/fixtures/src/rake-0.8.6/doc/example/a.c +6 -0
- data/spec/fixtures/src/rake-0.8.6/doc/example/b.c +6 -0
- data/spec/fixtures/src/rake-0.8.6/doc/example/main.c +11 -0
- data/spec/fixtures/src/rake-0.8.6/doc/glossary.rdoc +51 -0
- data/spec/fixtures/src/rake-0.8.6/doc/jamis.rb +591 -0
- data/spec/fixtures/src/rake-0.8.6/doc/proto_rake.rdoc +127 -0
- data/spec/fixtures/src/rake-0.8.6/doc/rake.1.gz +0 -0
- data/spec/fixtures/src/rake-0.8.6/doc/rakefile.rdoc +534 -0
- data/spec/fixtures/src/rake-0.8.6/doc/rational.rdoc +151 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/spec/fixtures/src/rake-0.8.6/install.rb +88 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake.rb +2502 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/alt_system.rb +108 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/classic_namespace.rb +8 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/clean.rb +33 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/contrib/compositepublisher.rb +24 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/contrib/ftptools.rb +153 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/contrib/publisher.rb +75 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/contrib/sshpublisher.rb +47 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/contrib/sys.rb +209 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/gempackagetask.rb +97 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/loaders/makefile.rb +42 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/packagetask.rb +184 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/rake_test_loader.rb +5 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/rdoctask.rb +209 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/ruby182_test_unit_fix.rb +23 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/runtest.rb +23 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/tasklib.rb +23 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/testtask.rb +161 -0
- data/spec/fixtures/src/rake-0.8.6/lib/rake/win32.rb +55 -0
- data/spec/fixtures/src/rake-0.8.6/package.json +18 -0
- data/spec/fixtures/src/rake-0.8.6/test/capture_stdout.rb +26 -0
- data/spec/fixtures/src/rake-0.8.7/CHANGES +440 -0
- data/spec/fixtures/src/rake-0.8.7/MIT-LICENSE +21 -0
- data/spec/fixtures/src/rake-0.8.7/README +196 -0
- data/spec/fixtures/src/rake-0.8.7/Rakefile +430 -0
- data/spec/fixtures/src/rake-0.8.7/TODO +20 -0
- data/spec/fixtures/src/rake-0.8.7/bin/rake +31 -0
- data/spec/fixtures/src/rake-0.8.7/doc/command_line_usage.rdoc +102 -0
- data/spec/fixtures/src/rake-0.8.7/doc/example/Rakefile1 +38 -0
- data/spec/fixtures/src/rake-0.8.7/doc/example/Rakefile2 +35 -0
- data/spec/fixtures/src/rake-0.8.7/doc/example/a.c +6 -0
- data/spec/fixtures/src/rake-0.8.7/doc/example/b.c +6 -0
- data/spec/fixtures/src/rake-0.8.7/doc/example/main.c +11 -0
- data/spec/fixtures/src/rake-0.8.7/doc/glossary.rdoc +51 -0
- data/spec/fixtures/src/rake-0.8.7/doc/jamis.rb +591 -0
- data/spec/fixtures/src/rake-0.8.7/doc/proto_rake.rdoc +127 -0
- data/spec/fixtures/src/rake-0.8.7/doc/rake.1.gz +0 -0
- data/spec/fixtures/src/rake-0.8.7/doc/rakefile.rdoc +534 -0
- data/spec/fixtures/src/rake-0.8.7/doc/rational.rdoc +151 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/spec/fixtures/src/rake-0.8.7/install.rb +88 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake.rb +2506 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/alt_system.rb +108 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/classic_namespace.rb +8 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/clean.rb +33 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/contrib/compositepublisher.rb +24 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/contrib/ftptools.rb +153 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/contrib/publisher.rb +75 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/contrib/sshpublisher.rb +47 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/contrib/sys.rb +209 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/gempackagetask.rb +97 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/loaders/makefile.rb +42 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/packagetask.rb +184 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/rake_test_loader.rb +5 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/rdoctask.rb +209 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb +23 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/runtest.rb +23 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/tasklib.rb +23 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/testtask.rb +161 -0
- data/spec/fixtures/src/rake-0.8.7/lib/rake/win32.rb +55 -0
- data/spec/fixtures/src/rake-0.8.7/package.json +18 -0
- data/spec/fixtures/src/rake-0.8.7/test/capture_stdout.rb +26 -0
- data/spec/fixtures/src/spade/lib/main.js +1 -0
- data/spec/fixtures/src/spade/package.json +15 -0
- data/spec/fixtures/transporter/lib/main.js +3 -0
- data/spec/fixtures/transporter/packages/transport/lib/wrapper.js +5 -0
- data/spec/fixtures/transporter/packages/transport/package.json +21 -0
- data/spec/fixtures/transporter/transporter.json +18 -0
- data/spec/gauntlet_spec.rb +33 -0
- data/spec/package_spec.rb +319 -0
- data/spec/pipeline_spec.rb +213 -0
- data/spec/project_spec.rb +130 -0
- data/spec/spec_helper.rb +42 -0
- data/spec/support/cli.rb +93 -0
- data/spec/support/env.rb +18 -0
- data/spec/support/fake.rb +53 -0
- data/spec/support/fake_gem_server.rb +72 -0
- data/spec/support/fake_gemcutter.rb +50 -0
- data/spec/support/matchers.rb +32 -0
- data/spec/support/path.rb +63 -0
- data/spec/support/project.rb +43 -0
- data/templates/init/assets/bpm_packages.js +7 -0
- data/templates/init/assets/bpm_styles.css +7 -0
- data/templates/init/project.json +16 -0
- data/templates/project/LICENSE +19 -0
- data/templates/project/README.md +21 -0
- data/templates/project/app.js +1 -0
- data/templates/project/index.html +13 -0
- metadata +627 -0
data/spec/support/env.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
module SpecHelpers
|
2
|
+
def env
|
3
|
+
@env ||= {}
|
4
|
+
end
|
5
|
+
|
6
|
+
def with_env
|
7
|
+
original_values = {}
|
8
|
+
env.each do |key, val|
|
9
|
+
original_values[key] = ENV[key]
|
10
|
+
ENV[key] = val
|
11
|
+
end
|
12
|
+
yield
|
13
|
+
ensure
|
14
|
+
original_values.each do |key, value|
|
15
|
+
ENV[key] = value
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'rack'
|
2
|
+
require 'logger'
|
3
|
+
require 'timeout'
|
4
|
+
require 'net/http'
|
5
|
+
|
6
|
+
module SpecHelpers
|
7
|
+
class Fake
|
8
|
+
def call(env)
|
9
|
+
[200, {"Content-Type" => "text/plain"}, ["Hello world!"]]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def start_fake(app)
|
14
|
+
uri = URI.parse("http://localhost:9292/")
|
15
|
+
raise "Server already running on 9292" if uri_active?(uri)
|
16
|
+
|
17
|
+
@fake_pid = Process.fork do
|
18
|
+
logger = Logger.new(StringIO.new)
|
19
|
+
Rack::Handler::WEBrick.run(app, :Port => 9292, :Logger => logger, :AccessLog => [[logger, WEBrick::AccessLog::COMBINED_LOG_FORMAT]])
|
20
|
+
end
|
21
|
+
ready = false
|
22
|
+
until ready
|
23
|
+
if uri_active?(uri)
|
24
|
+
ready = true
|
25
|
+
else
|
26
|
+
print "-" if ENV["VERBOSE"]
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def stop_fake
|
32
|
+
Process.kill(9, @fake_pid) if @fake_pid
|
33
|
+
end
|
34
|
+
|
35
|
+
def reset_libgems(path)
|
36
|
+
LibGems.send(:set_home, path)
|
37
|
+
LibGems.send(:set_paths, path)
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
def uri_active?(uri)
|
43
|
+
begin
|
44
|
+
timeout(1) do
|
45
|
+
Net::HTTP.get_response(uri)
|
46
|
+
end
|
47
|
+
true
|
48
|
+
rescue Timeout::Error, SystemCallError
|
49
|
+
false
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
@@ -0,0 +1,72 @@
|
|
1
|
+
class FakeGemServer
|
2
|
+
include SpecHelpers
|
3
|
+
|
4
|
+
def index(name, version)
|
5
|
+
[name, LibGems::Version.new(version), "ruby"]
|
6
|
+
end
|
7
|
+
|
8
|
+
def call(env)
|
9
|
+
request = Rack::Request.new(env)
|
10
|
+
|
11
|
+
if request.path =~ /latest_specs/
|
12
|
+
latest_index = [
|
13
|
+
index("builder", "3.0.0"),
|
14
|
+
index("highline", "1.6.1"),
|
15
|
+
index("rake", "0.8.7"),
|
16
|
+
index("core-test", "0.4.9"),
|
17
|
+
index("spade", "0.5.0"),
|
18
|
+
index("jquery", "1.4.3"),
|
19
|
+
index("ivory", "0.0.1"),
|
20
|
+
index("optparse", "1.0.1")
|
21
|
+
]
|
22
|
+
[200, {"Content-Type" => "application/octet-stream"}, compress(latest_index)]
|
23
|
+
elsif request.path =~ /prerelease_specs/
|
24
|
+
prerelease_index = [
|
25
|
+
index("bundler", "1.1.pre"),
|
26
|
+
index("coffee", "1.0.1.pre")
|
27
|
+
]
|
28
|
+
[200, {"Content-Type" => "application/octet-stream"}, compress(prerelease_index)]
|
29
|
+
elsif request.path =~ /specs/
|
30
|
+
big_index = [
|
31
|
+
index("builder", "3.0.0"),
|
32
|
+
index("highline", "1.6.1"),
|
33
|
+
index("rake", "0.8.7"),
|
34
|
+
index("rake", "0.8.6"),
|
35
|
+
index("core-test", "0.4.9"),
|
36
|
+
index("spade", "0.5.0"),
|
37
|
+
index("jquery", "1.4.3"),
|
38
|
+
index("ivory", "0.0.1"),
|
39
|
+
index("optparse", "1.0.1")
|
40
|
+
]
|
41
|
+
[200, {"Content-Type" => "application/octet-stream"}, compress(big_index)]
|
42
|
+
elsif request.path =~ /\/quick\/Marshal\.4\.8\/(.*)\.gemspec\.rz$/
|
43
|
+
|
44
|
+
spec = LibGems::Format.from_file_by_path(gem_or_spade($1).to_s).spec
|
45
|
+
value = LibGems.deflate(Marshal.dump(spec))
|
46
|
+
|
47
|
+
[200, {"Content-Type" => "application/octet-stream"}, value]
|
48
|
+
elsif request.path =~ /\/gems\/(.*)\.gem$/
|
49
|
+
[200, {"Content-Type" => "application/octet-stream"}, File.read(gem_or_spade($1))]
|
50
|
+
else
|
51
|
+
[200, {"Content-Type" => "text/plain"}, "fake gem server"]
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def compress(index)
|
56
|
+
compressed = StringIO.new
|
57
|
+
gzip = Zlib::GzipWriter.new(compressed)
|
58
|
+
gzip.write(Marshal.dump(index))
|
59
|
+
gzip.close
|
60
|
+
compressed.string
|
61
|
+
end
|
62
|
+
|
63
|
+
private
|
64
|
+
|
65
|
+
def gem_or_spade(name)
|
66
|
+
fixture = fixtures("#{name}.gem")
|
67
|
+
fixture = fixtures("#{name}.spd") unless File.exist?(fixture)
|
68
|
+
fixture
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
class FakeGemcutter
|
2
|
+
def initialize(api_key)
|
3
|
+
@api_key = api_key
|
4
|
+
end
|
5
|
+
|
6
|
+
def respond(code, text)
|
7
|
+
[code, {"Content-Type" => "text/plain"}, text]
|
8
|
+
end
|
9
|
+
|
10
|
+
def call(env)
|
11
|
+
request = Rack::Request.new(env)
|
12
|
+
|
13
|
+
if request.env["HTTP_AUTHORIZATION"] != @api_key
|
14
|
+
respond 401, "One cannot simply walk into Mordor!"
|
15
|
+
elsif request.path == "/api/v1/gems" && request.post?
|
16
|
+
respond 200, "Successfully registered rake (0.8.7)"
|
17
|
+
elsif request.path == "/api/v1/gems/yank" && request.delete?
|
18
|
+
version = request.params["version"].to_i
|
19
|
+
if version < 1
|
20
|
+
respond 404, "This gem could not be found"
|
21
|
+
elsif version < 2
|
22
|
+
respond 200, "Successfully yanked gem: #{request.params["gem_name"]} (#{request.params["version"]})"
|
23
|
+
else
|
24
|
+
respond 500, "The version #{request.params["version"]} has already been yanked."
|
25
|
+
end
|
26
|
+
elsif request.path == "/api/v1/gems/unyank" && request.put?
|
27
|
+
version = request.params["version"].to_i
|
28
|
+
if version < 1
|
29
|
+
respond 404, "This gem could not be found"
|
30
|
+
elsif version < 2
|
31
|
+
respond 200, "Successfully unyanked gem: #{request.params["gem_name"]} (#{request.params["version"]})"
|
32
|
+
else
|
33
|
+
respond 500, "The version #{request.params["version"]} is already indexed."
|
34
|
+
end
|
35
|
+
elsif request.path == "/api/v1/gems/rake/owners"
|
36
|
+
if request.post?
|
37
|
+
respond 200, "Owner added successfully."
|
38
|
+
elsif request.delete?
|
39
|
+
respond 200, "Owner removed successfully."
|
40
|
+
end
|
41
|
+
elsif request.path == "/api/v1/gems/rake/owners.yaml" && request.get?
|
42
|
+
yaml = YAML.dump([{'email' => 'geddy@example.com'},
|
43
|
+
{'email' => 'lerxst@example.com'}])
|
44
|
+
respond(200, yaml)
|
45
|
+
else
|
46
|
+
respond(404, "Invalid request")
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
RSpec::Matchers.define :be_fetched do
|
2
|
+
include SpecHelpers
|
3
|
+
match do |name|
|
4
|
+
File.exist?(bpm_dir("cache", "#{name}.gem")) == true
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
RSpec::Matchers.define :be_unpacked do
|
9
|
+
match do |name|
|
10
|
+
File.directory?(bpm_dir("gems", name)) == true
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
RSpec::Matchers.define :exist do
|
15
|
+
match do |name|
|
16
|
+
File.exist?(name) == true
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
RSpec::Matchers.define :have_error do |error|
|
21
|
+
match do |package|
|
22
|
+
package.valid? == false &&
|
23
|
+
package.errors.size.should == 1 &&
|
24
|
+
package.errors.first.include?(error) == true
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
# Make sure matchers can get to the path helpers
|
29
|
+
class RSpec::Matchers::Matcher
|
30
|
+
include SpecHelpers
|
31
|
+
end
|
32
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module SpecHelpers
|
2
|
+
def reset!
|
3
|
+
FileUtils.rm_rf tmp
|
4
|
+
[ home, local ].each do |dir|
|
5
|
+
FileUtils.mkdir_p(dir)
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
def cd(path, &blk)
|
10
|
+
Dir.chdir(path, &blk)
|
11
|
+
end
|
12
|
+
|
13
|
+
def cwd(*args)
|
14
|
+
Pathname.new(Dir.pwd).join(*args)
|
15
|
+
end
|
16
|
+
|
17
|
+
def rm(path)
|
18
|
+
FileUtils.rm path
|
19
|
+
end
|
20
|
+
|
21
|
+
def rm_r(path)
|
22
|
+
FileUtils.rm_r path
|
23
|
+
end
|
24
|
+
|
25
|
+
def rm_rf(path)
|
26
|
+
FileUtils.rm_rf(path)
|
27
|
+
end
|
28
|
+
|
29
|
+
def root
|
30
|
+
@root ||= Pathname.new(File.expand_path("../../..", __FILE__))
|
31
|
+
end
|
32
|
+
|
33
|
+
def fixtures(*path)
|
34
|
+
root.join('spec/fixtures', *path)
|
35
|
+
end
|
36
|
+
|
37
|
+
def tmp(*path)
|
38
|
+
root.join("tmp", *path)
|
39
|
+
end
|
40
|
+
|
41
|
+
def home(*path)
|
42
|
+
tmp.join("home", *path)
|
43
|
+
end
|
44
|
+
|
45
|
+
def local(*path)
|
46
|
+
tmp.join("local", *path)
|
47
|
+
end
|
48
|
+
|
49
|
+
def bpm_dir(*path)
|
50
|
+
home(BPM::BPM_DIR, *path)
|
51
|
+
end
|
52
|
+
|
53
|
+
def goto_home
|
54
|
+
cd(home)
|
55
|
+
env["HOME"] = home.to_s
|
56
|
+
env["BPM_HOME"] = bpm_dir.to_s
|
57
|
+
env["BPM_PATH"] = bpm_dir.to_s
|
58
|
+
LibGems.clear_paths
|
59
|
+
end
|
60
|
+
|
61
|
+
module_function :root, :tmp, :home, :local, :goto_home
|
62
|
+
end
|
63
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module SpecHelpers
|
2
|
+
|
3
|
+
def validate_dependency_in_project_file(package_name, package_version)
|
4
|
+
json = JSON.parse File.read(home('hello_world', 'hello_world.json'))
|
5
|
+
json['dependencies'][package_name].should == package_version
|
6
|
+
end
|
7
|
+
|
8
|
+
def validate_installed_dependency(package_name, package_version)
|
9
|
+
bpm_packages = home 'hello_world', 'assets', 'bpm_packages.js'
|
10
|
+
bpm_styles = home 'hello_world', 'assets', 'bpm_styles.css'
|
11
|
+
exp_str = "#{package_name} (#{package_version})"
|
12
|
+
|
13
|
+
bpm_packages = File.readlines(bpm_packages)[0..6].join("")
|
14
|
+
bpm_styles = File.readlines(bpm_styles)[0..6].join("")
|
15
|
+
|
16
|
+
if package_version
|
17
|
+
bpm_packages.should include(exp_str)
|
18
|
+
bpm_styles.should include(exp_str)
|
19
|
+
else
|
20
|
+
bpm_packages.should_not include exp_str
|
21
|
+
bpm_styles.should_not include exp_str
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def has_dependency(package_name, package_version, hard_version = '>= 0')
|
26
|
+
validate_dependency_in_project_file package_name, hard_version
|
27
|
+
validate_installed_dependency package_name, package_version
|
28
|
+
# TODO: Verify packages built into bpm_packages.js and css
|
29
|
+
end
|
30
|
+
|
31
|
+
def has_soft_dependency(package_name, package_version)
|
32
|
+
validate_dependency_in_project_file package_name, nil
|
33
|
+
validate_installed_dependency package_name, package_version
|
34
|
+
# TODO: Verify packages built into bpm_packages.js and css
|
35
|
+
end
|
36
|
+
|
37
|
+
def no_dependency(package_name)
|
38
|
+
validate_dependency_in_project_file package_name, nil
|
39
|
+
validate_installed_dependency package_name, nil
|
40
|
+
# TODO: Verify packages not built into bpm_packages.js and css
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/* ===========================================================================
|
2
|
+
BPM Static Dependencies
|
3
|
+
MANIFEST: (none)
|
4
|
+
This file is generated automatically by the bpm (http://www.bpmjs.org)
|
5
|
+
To use this file, load this file in your HTML head.
|
6
|
+
=========================================================================*/
|
7
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/* ===========================================================================
|
2
|
+
BPM Static Dependencies
|
3
|
+
MANIFEST: (none)
|
4
|
+
This file is generated automatically by the bpm (http://www.bpmjs.org)
|
5
|
+
To use this file, load this file in your HTML head.
|
6
|
+
=========================================================================*/
|
7
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"name": "<%= name %>",
|
3
|
+
"version": "0.0.1",
|
4
|
+
"bpm": "<%= bpm_version %>",
|
5
|
+
|
6
|
+
"description": "DESCRIPTION HERE",
|
7
|
+
"author": "YOUR NAME HERE",
|
8
|
+
"homepage": "URL",
|
9
|
+
|
10
|
+
"directories": {
|
11
|
+
"lib": "./lib",
|
12
|
+
"tests": "./tests"
|
13
|
+
},
|
14
|
+
|
15
|
+
"dependencies": {}
|
16
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) <%= current_year %> YOUR NAME
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# <%= name %>
|
2
|
+
|
3
|
+
### Description:
|
4
|
+
|
5
|
+
FIX (describe your package)
|
6
|
+
|
7
|
+
### Features / Problems:
|
8
|
+
|
9
|
+
* FIX (list of features or problems)
|
10
|
+
|
11
|
+
### Synopsis:
|
12
|
+
|
13
|
+
FIX (code sample of usage)
|
14
|
+
|
15
|
+
### Requirements:
|
16
|
+
|
17
|
+
* FIX (list of requirements)
|
18
|
+
|
19
|
+
### Install:
|
20
|
+
|
21
|
+
* FIX (describe how to install)
|
@@ -0,0 +1 @@
|
|
1
|
+
// Your app code goes here
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<script type="text/javascript" src="assets/bpm_packages.css"></script>
|
4
|
+
<script type="text/javascript" src="app.js"></script>
|
5
|
+
|
6
|
+
<link rel="stylesheet" href="assets/bpm_styles.css" type="text/css" media="screen" charset="utf-8" />
|
7
|
+
|
8
|
+
<title><%= name %></title>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<h1>Hello World</h1>
|
12
|
+
</body>
|
13
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,627 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bpm
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Charles Jolley
|
9
|
+
- Peter Wagenet
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2011-06-29 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: libgems
|
17
|
+
requirement: &2152929580 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.0.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *2152929580
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: gemcutter
|
28
|
+
requirement: &2152928260 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.6.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2152928260
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: highline
|
39
|
+
requirement: &2152927740 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.6.1
|
45
|
+
type: :runtime
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2152927740
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: json_pure
|
50
|
+
requirement: &2152927040 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 1.4.6
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *2152927040
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: thor
|
61
|
+
requirement: &2152926320 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ~>
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 0.14.3
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *2152926320
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: sprockets
|
72
|
+
requirement: &2152925640 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: *2152925640
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: spade
|
83
|
+
requirement: &2152924840 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :runtime
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: *2152924840
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: rspec
|
94
|
+
requirement: &2152924380 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
type: :development
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: *2152924380
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rack
|
105
|
+
requirement: &2152923760 !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.2.1
|
111
|
+
type: :development
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: *2152923760
|
114
|
+
description: Package Manager for JavaScript
|
115
|
+
email:
|
116
|
+
- charles@sproutcore.com
|
117
|
+
- peterw@strobecorp.com
|
118
|
+
executables:
|
119
|
+
- bpm
|
120
|
+
extensions: []
|
121
|
+
extra_rdoc_files: []
|
122
|
+
files:
|
123
|
+
- .gitignore
|
124
|
+
- .gitmodules
|
125
|
+
- Gemfile
|
126
|
+
- README.md
|
127
|
+
- TODO.md
|
128
|
+
- bin/bpm
|
129
|
+
- bpm.gemspec
|
130
|
+
- lib/bpm.rb
|
131
|
+
- lib/bpm/cli.rb
|
132
|
+
- lib/bpm/cli/base.rb
|
133
|
+
- lib/bpm/cli/owner.rb
|
134
|
+
- lib/bpm/credentials.rb
|
135
|
+
- lib/bpm/default.json
|
136
|
+
- lib/bpm/generator.rb
|
137
|
+
- lib/bpm/init_generator.rb
|
138
|
+
- lib/bpm/libgems_ext.rb
|
139
|
+
- lib/bpm/libgems_ext/config_file.rb
|
140
|
+
- lib/bpm/libgems_ext/dependency_installer.rb
|
141
|
+
- lib/bpm/libgems_ext/installer.rb
|
142
|
+
- lib/bpm/libgems_ext/libgems.rb
|
143
|
+
- lib/bpm/libgems_ext/spec_fetcher.rb
|
144
|
+
- lib/bpm/local.rb
|
145
|
+
- lib/bpm/package.rb
|
146
|
+
- lib/bpm/pipeline.rb
|
147
|
+
- lib/bpm/pipeline/directive_processor.rb
|
148
|
+
- lib/bpm/pipeline/generated_asset.rb
|
149
|
+
- lib/bpm/pipeline/transport_processor.rb
|
150
|
+
- lib/bpm/project.rb
|
151
|
+
- lib/bpm/project_generator.rb
|
152
|
+
- lib/bpm/remote.rb
|
153
|
+
- lib/bpm/repository.rb
|
154
|
+
- lib/bpm/server.rb
|
155
|
+
- lib/bpm/version.rb
|
156
|
+
- spec/cli/add_spec.rb
|
157
|
+
- spec/cli/build_spec.rb
|
158
|
+
- spec/cli/fetch_spec.rb
|
159
|
+
- spec/cli/fetched_spec.rb
|
160
|
+
- spec/cli/init_spec.rb
|
161
|
+
- spec/cli/list_spec.rb
|
162
|
+
- spec/cli/login_spec.rb
|
163
|
+
- spec/cli/new_spec.rb
|
164
|
+
- spec/cli/owner_spec.rb
|
165
|
+
- spec/cli/push_spec.rb
|
166
|
+
- spec/cli/remove_spec.rb
|
167
|
+
- spec/cli/unpack_spec.rb
|
168
|
+
- spec/cli/unyank_spec.rb
|
169
|
+
- spec/cli/yank_spec.rb
|
170
|
+
- spec/credentials_spec.rb
|
171
|
+
- spec/fixtures/badrake-0.8.7.spd
|
172
|
+
- spec/fixtures/builder-3.0.0.spd
|
173
|
+
- spec/fixtures/bundler-1.1.pre.spd
|
174
|
+
- spec/fixtures/coffee-1.0.1.pre.spd
|
175
|
+
- spec/fixtures/core-test-0.4.9.spd
|
176
|
+
- spec/fixtures/core-test/bin/cot
|
177
|
+
- spec/fixtures/core-test/lib/main.js
|
178
|
+
- spec/fixtures/core-test/package.json
|
179
|
+
- spec/fixtures/core-test/resources/runner.css
|
180
|
+
- spec/fixtures/core-test/tests/test.js
|
181
|
+
- spec/fixtures/custom_generator-1.0.spd
|
182
|
+
- spec/fixtures/custom_generator/lib/main.js
|
183
|
+
- spec/fixtures/custom_generator/package.json
|
184
|
+
- spec/fixtures/custom_generator/templates/init/project.json
|
185
|
+
- spec/fixtures/custom_generator/templates/project/app.js
|
186
|
+
- spec/fixtures/custom_generator/templates/project/lib/main.js
|
187
|
+
- spec/fixtures/custom_generator/templates/project_generator.rb
|
188
|
+
- spec/fixtures/hello_world/LICENSE
|
189
|
+
- spec/fixtures/hello_world/README.md
|
190
|
+
- spec/fixtures/hello_world/assets/bpm_packages.js
|
191
|
+
- spec/fixtures/hello_world/assets/bpm_styles.css
|
192
|
+
- spec/fixtures/hello_world/assets/papa-smurf.jpg
|
193
|
+
- spec/fixtures/hello_world/hello_world.json
|
194
|
+
- spec/fixtures/hello_world/lib/main.js
|
195
|
+
- spec/fixtures/hello_world/packages/custom_package/assets/dummy.txt
|
196
|
+
- spec/fixtures/hello_world/packages/custom_package/css/sample_styles.css
|
197
|
+
- spec/fixtures/hello_world/packages/custom_package/custom_dir/basic-module.js
|
198
|
+
- spec/fixtures/hello_world/packages/custom_package/lib/main.js
|
199
|
+
- spec/fixtures/hello_world/packages/custom_package/package.json
|
200
|
+
- spec/fixtures/hello_world/tests/main-test.js
|
201
|
+
- spec/fixtures/highline-1.6.1.spd
|
202
|
+
- spec/fixtures/ivory-0.0.1.spd
|
203
|
+
- spec/fixtures/jquery-1.4.3.spd
|
204
|
+
- spec/fixtures/optparse-1.0.1.spd
|
205
|
+
- spec/fixtures/rake-0.8.6.spd
|
206
|
+
- spec/fixtures/rake-0.8.7.spd
|
207
|
+
- spec/fixtures/simple_hello/assets/bpm_packages.js
|
208
|
+
- spec/fixtures/simple_hello/lib/main.js
|
209
|
+
- spec/fixtures/spade-0.5.0.spd
|
210
|
+
- spec/fixtures/src/README.txt
|
211
|
+
- spec/fixtures/src/bundler-1.1.pre/.gitignore
|
212
|
+
- spec/fixtures/src/bundler-1.1.pre/CHANGELOG.md
|
213
|
+
- spec/fixtures/src/bundler-1.1.pre/ISSUES.md
|
214
|
+
- spec/fixtures/src/bundler-1.1.pre/LICENSE
|
215
|
+
- spec/fixtures/src/bundler-1.1.pre/README.md
|
216
|
+
- spec/fixtures/src/bundler-1.1.pre/UPGRADING.md
|
217
|
+
- spec/fixtures/src/bundler-1.1.pre/bin/bundle
|
218
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler.js
|
219
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/definition.js
|
220
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/dependency.js
|
221
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/dsl.js
|
222
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/ui.js
|
223
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-config.ronn
|
224
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-exec.ronn
|
225
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-install.ronn
|
226
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-package.ronn
|
227
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-update.ronn
|
228
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle.ronn
|
229
|
+
- spec/fixtures/src/bundler-1.1.pre/man/gemfile.5.ronn
|
230
|
+
- spec/fixtures/src/bundler-1.1.pre/man/index.txt
|
231
|
+
- spec/fixtures/src/bundler-1.1.pre/package.json
|
232
|
+
- spec/fixtures/src/coffee-1.0.1.pre/bin/cake
|
233
|
+
- spec/fixtures/src/coffee-1.0.1.pre/bin/coffee
|
234
|
+
- spec/fixtures/src/coffee-1.0.1.pre/lib/coffee.js
|
235
|
+
- spec/fixtures/src/coffee-1.0.1.pre/lib/coffee/base.js
|
236
|
+
- spec/fixtures/src/coffee-1.0.1.pre/lib/coffee/mocha/chai.js
|
237
|
+
- spec/fixtures/src/coffee-1.0.1.pre/package.json
|
238
|
+
- spec/fixtures/src/coffee-1.0.1.pre/qunit/coffee/test.js
|
239
|
+
- spec/fixtures/src/coffee-1.0.1.pre/qunit/test.js
|
240
|
+
- spec/fixtures/src/jquery/lib/main.js
|
241
|
+
- spec/fixtures/src/jquery/package.json
|
242
|
+
- spec/fixtures/src/rake-0.8.6/CHANGES
|
243
|
+
- spec/fixtures/src/rake-0.8.6/MIT-LICENSE
|
244
|
+
- spec/fixtures/src/rake-0.8.6/README
|
245
|
+
- spec/fixtures/src/rake-0.8.6/Rakefile
|
246
|
+
- spec/fixtures/src/rake-0.8.6/TODO
|
247
|
+
- spec/fixtures/src/rake-0.8.6/bin/rake
|
248
|
+
- spec/fixtures/src/rake-0.8.6/doc/command_line_usage.rdoc
|
249
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/Rakefile1
|
250
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/Rakefile2
|
251
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/a.c
|
252
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/b.c
|
253
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/main.c
|
254
|
+
- spec/fixtures/src/rake-0.8.6/doc/glossary.rdoc
|
255
|
+
- spec/fixtures/src/rake-0.8.6/doc/jamis.rb
|
256
|
+
- spec/fixtures/src/rake-0.8.6/doc/proto_rake.rdoc
|
257
|
+
- spec/fixtures/src/rake-0.8.6/doc/rake.1.gz
|
258
|
+
- spec/fixtures/src/rake-0.8.6/doc/rakefile.rdoc
|
259
|
+
- spec/fixtures/src/rake-0.8.6/doc/rational.rdoc
|
260
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.4.14.rdoc
|
261
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.4.15.rdoc
|
262
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.0.rdoc
|
263
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.3.rdoc
|
264
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.4.rdoc
|
265
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.6.0.rdoc
|
266
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.0.rdoc
|
267
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.1.rdoc
|
268
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.2.rdoc
|
269
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.3.rdoc
|
270
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.0.rdoc
|
271
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.2.rdoc
|
272
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.3.rdoc
|
273
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.4.rdoc
|
274
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.5.rdoc
|
275
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.6.rdoc
|
276
|
+
- spec/fixtures/src/rake-0.8.6/install.rb
|
277
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake.rb
|
278
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/alt_system.rb
|
279
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/classic_namespace.rb
|
280
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/clean.rb
|
281
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/compositepublisher.rb
|
282
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/ftptools.rb
|
283
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/publisher.rb
|
284
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/rubyforgepublisher.rb
|
285
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/sshpublisher.rb
|
286
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/sys.rb
|
287
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/gempackagetask.rb
|
288
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/loaders/makefile.rb
|
289
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/packagetask.rb
|
290
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/rake_test_loader.rb
|
291
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/rdoctask.rb
|
292
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/ruby182_test_unit_fix.rb
|
293
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/runtest.rb
|
294
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/tasklib.rb
|
295
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/testtask.rb
|
296
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/win32.rb
|
297
|
+
- spec/fixtures/src/rake-0.8.6/package.json
|
298
|
+
- spec/fixtures/src/rake-0.8.6/test/capture_stdout.rb
|
299
|
+
- spec/fixtures/src/rake-0.8.7/CHANGES
|
300
|
+
- spec/fixtures/src/rake-0.8.7/MIT-LICENSE
|
301
|
+
- spec/fixtures/src/rake-0.8.7/README
|
302
|
+
- spec/fixtures/src/rake-0.8.7/Rakefile
|
303
|
+
- spec/fixtures/src/rake-0.8.7/TODO
|
304
|
+
- spec/fixtures/src/rake-0.8.7/bin/rake
|
305
|
+
- spec/fixtures/src/rake-0.8.7/doc/command_line_usage.rdoc
|
306
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/Rakefile1
|
307
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/Rakefile2
|
308
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/a.c
|
309
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/b.c
|
310
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/main.c
|
311
|
+
- spec/fixtures/src/rake-0.8.7/doc/glossary.rdoc
|
312
|
+
- spec/fixtures/src/rake-0.8.7/doc/jamis.rb
|
313
|
+
- spec/fixtures/src/rake-0.8.7/doc/proto_rake.rdoc
|
314
|
+
- spec/fixtures/src/rake-0.8.7/doc/rake.1.gz
|
315
|
+
- spec/fixtures/src/rake-0.8.7/doc/rakefile.rdoc
|
316
|
+
- spec/fixtures/src/rake-0.8.7/doc/rational.rdoc
|
317
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.4.14.rdoc
|
318
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.4.15.rdoc
|
319
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.0.rdoc
|
320
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.3.rdoc
|
321
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.4.rdoc
|
322
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.6.0.rdoc
|
323
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.0.rdoc
|
324
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.1.rdoc
|
325
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.2.rdoc
|
326
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.3.rdoc
|
327
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.0.rdoc
|
328
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.2.rdoc
|
329
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.3.rdoc
|
330
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.4.rdoc
|
331
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.5.rdoc
|
332
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.6.rdoc
|
333
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.7.rdoc
|
334
|
+
- spec/fixtures/src/rake-0.8.7/install.rb
|
335
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake.rb
|
336
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/alt_system.rb
|
337
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/classic_namespace.rb
|
338
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/clean.rb
|
339
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
|
340
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/ftptools.rb
|
341
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/publisher.rb
|
342
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb
|
343
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/sshpublisher.rb
|
344
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/sys.rb
|
345
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/gempackagetask.rb
|
346
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/loaders/makefile.rb
|
347
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/packagetask.rb
|
348
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/rake_test_loader.rb
|
349
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/rdoctask.rb
|
350
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb
|
351
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/runtest.rb
|
352
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/tasklib.rb
|
353
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/testtask.rb
|
354
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/win32.rb
|
355
|
+
- spec/fixtures/src/rake-0.8.7/package.json
|
356
|
+
- spec/fixtures/src/rake-0.8.7/test/capture_stdout.rb
|
357
|
+
- spec/fixtures/src/spade/lib/main.js
|
358
|
+
- spec/fixtures/src/spade/package.json
|
359
|
+
- spec/fixtures/transporter/lib/main.js
|
360
|
+
- spec/fixtures/transporter/packages/transport/lib/wrapper.js
|
361
|
+
- spec/fixtures/transporter/packages/transport/package.json
|
362
|
+
- spec/fixtures/transporter/transporter.json
|
363
|
+
- spec/gauntlet_spec.rb
|
364
|
+
- spec/package_spec.rb
|
365
|
+
- spec/pipeline_spec.rb
|
366
|
+
- spec/project_spec.rb
|
367
|
+
- spec/spec_helper.rb
|
368
|
+
- spec/support/cli.rb
|
369
|
+
- spec/support/env.rb
|
370
|
+
- spec/support/fake.rb
|
371
|
+
- spec/support/fake_gem_server.rb
|
372
|
+
- spec/support/fake_gemcutter.rb
|
373
|
+
- spec/support/matchers.rb
|
374
|
+
- spec/support/path.rb
|
375
|
+
- spec/support/project.rb
|
376
|
+
- templates/init/assets/bpm_packages.js
|
377
|
+
- templates/init/assets/bpm_styles.css
|
378
|
+
- templates/init/project.json
|
379
|
+
- templates/project/LICENSE
|
380
|
+
- templates/project/README.md
|
381
|
+
- templates/project/app.js
|
382
|
+
- templates/project/index.html
|
383
|
+
homepage: http://github.com/strobecorp/spade
|
384
|
+
licenses: []
|
385
|
+
post_install_message:
|
386
|
+
rdoc_options: []
|
387
|
+
require_paths:
|
388
|
+
- lib
|
389
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
390
|
+
none: false
|
391
|
+
requirements:
|
392
|
+
- - ! '>='
|
393
|
+
- !ruby/object:Gem::Version
|
394
|
+
version: '0'
|
395
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
396
|
+
none: false
|
397
|
+
requirements:
|
398
|
+
- - ! '>='
|
399
|
+
- !ruby/object:Gem::Version
|
400
|
+
version: '0'
|
401
|
+
requirements: []
|
402
|
+
rubyforge_project:
|
403
|
+
rubygems_version: 1.8.5
|
404
|
+
signing_key:
|
405
|
+
specification_version: 3
|
406
|
+
summary: Package Manager for JavaScript
|
407
|
+
test_files:
|
408
|
+
- spec/cli/add_spec.rb
|
409
|
+
- spec/cli/build_spec.rb
|
410
|
+
- spec/cli/fetch_spec.rb
|
411
|
+
- spec/cli/fetched_spec.rb
|
412
|
+
- spec/cli/init_spec.rb
|
413
|
+
- spec/cli/list_spec.rb
|
414
|
+
- spec/cli/login_spec.rb
|
415
|
+
- spec/cli/new_spec.rb
|
416
|
+
- spec/cli/owner_spec.rb
|
417
|
+
- spec/cli/push_spec.rb
|
418
|
+
- spec/cli/remove_spec.rb
|
419
|
+
- spec/cli/unpack_spec.rb
|
420
|
+
- spec/cli/unyank_spec.rb
|
421
|
+
- spec/cli/yank_spec.rb
|
422
|
+
- spec/credentials_spec.rb
|
423
|
+
- spec/fixtures/badrake-0.8.7.spd
|
424
|
+
- spec/fixtures/builder-3.0.0.spd
|
425
|
+
- spec/fixtures/bundler-1.1.pre.spd
|
426
|
+
- spec/fixtures/coffee-1.0.1.pre.spd
|
427
|
+
- spec/fixtures/core-test-0.4.9.spd
|
428
|
+
- spec/fixtures/core-test/bin/cot
|
429
|
+
- spec/fixtures/core-test/lib/main.js
|
430
|
+
- spec/fixtures/core-test/package.json
|
431
|
+
- spec/fixtures/core-test/resources/runner.css
|
432
|
+
- spec/fixtures/core-test/tests/test.js
|
433
|
+
- spec/fixtures/custom_generator-1.0.spd
|
434
|
+
- spec/fixtures/custom_generator/lib/main.js
|
435
|
+
- spec/fixtures/custom_generator/package.json
|
436
|
+
- spec/fixtures/custom_generator/templates/init/project.json
|
437
|
+
- spec/fixtures/custom_generator/templates/project/app.js
|
438
|
+
- spec/fixtures/custom_generator/templates/project/lib/main.js
|
439
|
+
- spec/fixtures/custom_generator/templates/project_generator.rb
|
440
|
+
- spec/fixtures/hello_world/LICENSE
|
441
|
+
- spec/fixtures/hello_world/README.md
|
442
|
+
- spec/fixtures/hello_world/assets/bpm_packages.js
|
443
|
+
- spec/fixtures/hello_world/assets/bpm_styles.css
|
444
|
+
- spec/fixtures/hello_world/assets/papa-smurf.jpg
|
445
|
+
- spec/fixtures/hello_world/hello_world.json
|
446
|
+
- spec/fixtures/hello_world/lib/main.js
|
447
|
+
- spec/fixtures/hello_world/packages/custom_package/assets/dummy.txt
|
448
|
+
- spec/fixtures/hello_world/packages/custom_package/css/sample_styles.css
|
449
|
+
- spec/fixtures/hello_world/packages/custom_package/custom_dir/basic-module.js
|
450
|
+
- spec/fixtures/hello_world/packages/custom_package/lib/main.js
|
451
|
+
- spec/fixtures/hello_world/packages/custom_package/package.json
|
452
|
+
- spec/fixtures/hello_world/tests/main-test.js
|
453
|
+
- spec/fixtures/highline-1.6.1.spd
|
454
|
+
- spec/fixtures/ivory-0.0.1.spd
|
455
|
+
- spec/fixtures/jquery-1.4.3.spd
|
456
|
+
- spec/fixtures/optparse-1.0.1.spd
|
457
|
+
- spec/fixtures/rake-0.8.6.spd
|
458
|
+
- spec/fixtures/rake-0.8.7.spd
|
459
|
+
- spec/fixtures/simple_hello/assets/bpm_packages.js
|
460
|
+
- spec/fixtures/simple_hello/lib/main.js
|
461
|
+
- spec/fixtures/spade-0.5.0.spd
|
462
|
+
- spec/fixtures/src/README.txt
|
463
|
+
- spec/fixtures/src/bundler-1.1.pre/.gitignore
|
464
|
+
- spec/fixtures/src/bundler-1.1.pre/CHANGELOG.md
|
465
|
+
- spec/fixtures/src/bundler-1.1.pre/ISSUES.md
|
466
|
+
- spec/fixtures/src/bundler-1.1.pre/LICENSE
|
467
|
+
- spec/fixtures/src/bundler-1.1.pre/README.md
|
468
|
+
- spec/fixtures/src/bundler-1.1.pre/UPGRADING.md
|
469
|
+
- spec/fixtures/src/bundler-1.1.pre/bin/bundle
|
470
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler.js
|
471
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/definition.js
|
472
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/dependency.js
|
473
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/dsl.js
|
474
|
+
- spec/fixtures/src/bundler-1.1.pre/lib/bundler/ui.js
|
475
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-config.ronn
|
476
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-exec.ronn
|
477
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-install.ronn
|
478
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-package.ronn
|
479
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle-update.ronn
|
480
|
+
- spec/fixtures/src/bundler-1.1.pre/man/bundle.ronn
|
481
|
+
- spec/fixtures/src/bundler-1.1.pre/man/gemfile.5.ronn
|
482
|
+
- spec/fixtures/src/bundler-1.1.pre/man/index.txt
|
483
|
+
- spec/fixtures/src/bundler-1.1.pre/package.json
|
484
|
+
- spec/fixtures/src/coffee-1.0.1.pre/bin/cake
|
485
|
+
- spec/fixtures/src/coffee-1.0.1.pre/bin/coffee
|
486
|
+
- spec/fixtures/src/coffee-1.0.1.pre/lib/coffee.js
|
487
|
+
- spec/fixtures/src/coffee-1.0.1.pre/lib/coffee/base.js
|
488
|
+
- spec/fixtures/src/coffee-1.0.1.pre/lib/coffee/mocha/chai.js
|
489
|
+
- spec/fixtures/src/coffee-1.0.1.pre/package.json
|
490
|
+
- spec/fixtures/src/coffee-1.0.1.pre/qunit/coffee/test.js
|
491
|
+
- spec/fixtures/src/coffee-1.0.1.pre/qunit/test.js
|
492
|
+
- spec/fixtures/src/jquery/lib/main.js
|
493
|
+
- spec/fixtures/src/jquery/package.json
|
494
|
+
- spec/fixtures/src/rake-0.8.6/CHANGES
|
495
|
+
- spec/fixtures/src/rake-0.8.6/MIT-LICENSE
|
496
|
+
- spec/fixtures/src/rake-0.8.6/README
|
497
|
+
- spec/fixtures/src/rake-0.8.6/Rakefile
|
498
|
+
- spec/fixtures/src/rake-0.8.6/TODO
|
499
|
+
- spec/fixtures/src/rake-0.8.6/bin/rake
|
500
|
+
- spec/fixtures/src/rake-0.8.6/doc/command_line_usage.rdoc
|
501
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/Rakefile1
|
502
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/Rakefile2
|
503
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/a.c
|
504
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/b.c
|
505
|
+
- spec/fixtures/src/rake-0.8.6/doc/example/main.c
|
506
|
+
- spec/fixtures/src/rake-0.8.6/doc/glossary.rdoc
|
507
|
+
- spec/fixtures/src/rake-0.8.6/doc/jamis.rb
|
508
|
+
- spec/fixtures/src/rake-0.8.6/doc/proto_rake.rdoc
|
509
|
+
- spec/fixtures/src/rake-0.8.6/doc/rake.1.gz
|
510
|
+
- spec/fixtures/src/rake-0.8.6/doc/rakefile.rdoc
|
511
|
+
- spec/fixtures/src/rake-0.8.6/doc/rational.rdoc
|
512
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.4.14.rdoc
|
513
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.4.15.rdoc
|
514
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.0.rdoc
|
515
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.3.rdoc
|
516
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.5.4.rdoc
|
517
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.6.0.rdoc
|
518
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.0.rdoc
|
519
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.1.rdoc
|
520
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.2.rdoc
|
521
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.7.3.rdoc
|
522
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.0.rdoc
|
523
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.2.rdoc
|
524
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.3.rdoc
|
525
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.4.rdoc
|
526
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.5.rdoc
|
527
|
+
- spec/fixtures/src/rake-0.8.6/doc/release_notes/rake-0.8.6.rdoc
|
528
|
+
- spec/fixtures/src/rake-0.8.6/install.rb
|
529
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake.rb
|
530
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/alt_system.rb
|
531
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/classic_namespace.rb
|
532
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/clean.rb
|
533
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/compositepublisher.rb
|
534
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/ftptools.rb
|
535
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/publisher.rb
|
536
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/rubyforgepublisher.rb
|
537
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/sshpublisher.rb
|
538
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/contrib/sys.rb
|
539
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/gempackagetask.rb
|
540
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/loaders/makefile.rb
|
541
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/packagetask.rb
|
542
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/rake_test_loader.rb
|
543
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/rdoctask.rb
|
544
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/ruby182_test_unit_fix.rb
|
545
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/runtest.rb
|
546
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/tasklib.rb
|
547
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/testtask.rb
|
548
|
+
- spec/fixtures/src/rake-0.8.6/lib/rake/win32.rb
|
549
|
+
- spec/fixtures/src/rake-0.8.6/package.json
|
550
|
+
- spec/fixtures/src/rake-0.8.6/test/capture_stdout.rb
|
551
|
+
- spec/fixtures/src/rake-0.8.7/CHANGES
|
552
|
+
- spec/fixtures/src/rake-0.8.7/MIT-LICENSE
|
553
|
+
- spec/fixtures/src/rake-0.8.7/README
|
554
|
+
- spec/fixtures/src/rake-0.8.7/Rakefile
|
555
|
+
- spec/fixtures/src/rake-0.8.7/TODO
|
556
|
+
- spec/fixtures/src/rake-0.8.7/bin/rake
|
557
|
+
- spec/fixtures/src/rake-0.8.7/doc/command_line_usage.rdoc
|
558
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/Rakefile1
|
559
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/Rakefile2
|
560
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/a.c
|
561
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/b.c
|
562
|
+
- spec/fixtures/src/rake-0.8.7/doc/example/main.c
|
563
|
+
- spec/fixtures/src/rake-0.8.7/doc/glossary.rdoc
|
564
|
+
- spec/fixtures/src/rake-0.8.7/doc/jamis.rb
|
565
|
+
- spec/fixtures/src/rake-0.8.7/doc/proto_rake.rdoc
|
566
|
+
- spec/fixtures/src/rake-0.8.7/doc/rake.1.gz
|
567
|
+
- spec/fixtures/src/rake-0.8.7/doc/rakefile.rdoc
|
568
|
+
- spec/fixtures/src/rake-0.8.7/doc/rational.rdoc
|
569
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.4.14.rdoc
|
570
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.4.15.rdoc
|
571
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.0.rdoc
|
572
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.3.rdoc
|
573
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.5.4.rdoc
|
574
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.6.0.rdoc
|
575
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.0.rdoc
|
576
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.1.rdoc
|
577
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.2.rdoc
|
578
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.7.3.rdoc
|
579
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.0.rdoc
|
580
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.2.rdoc
|
581
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.3.rdoc
|
582
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.4.rdoc
|
583
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.5.rdoc
|
584
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.6.rdoc
|
585
|
+
- spec/fixtures/src/rake-0.8.7/doc/release_notes/rake-0.8.7.rdoc
|
586
|
+
- spec/fixtures/src/rake-0.8.7/install.rb
|
587
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake.rb
|
588
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/alt_system.rb
|
589
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/classic_namespace.rb
|
590
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/clean.rb
|
591
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/compositepublisher.rb
|
592
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/ftptools.rb
|
593
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/publisher.rb
|
594
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb
|
595
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/sshpublisher.rb
|
596
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/contrib/sys.rb
|
597
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/gempackagetask.rb
|
598
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/loaders/makefile.rb
|
599
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/packagetask.rb
|
600
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/rake_test_loader.rb
|
601
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/rdoctask.rb
|
602
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb
|
603
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/runtest.rb
|
604
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/tasklib.rb
|
605
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/testtask.rb
|
606
|
+
- spec/fixtures/src/rake-0.8.7/lib/rake/win32.rb
|
607
|
+
- spec/fixtures/src/rake-0.8.7/package.json
|
608
|
+
- spec/fixtures/src/rake-0.8.7/test/capture_stdout.rb
|
609
|
+
- spec/fixtures/src/spade/lib/main.js
|
610
|
+
- spec/fixtures/src/spade/package.json
|
611
|
+
- spec/fixtures/transporter/lib/main.js
|
612
|
+
- spec/fixtures/transporter/packages/transport/lib/wrapper.js
|
613
|
+
- spec/fixtures/transporter/packages/transport/package.json
|
614
|
+
- spec/fixtures/transporter/transporter.json
|
615
|
+
- spec/gauntlet_spec.rb
|
616
|
+
- spec/package_spec.rb
|
617
|
+
- spec/pipeline_spec.rb
|
618
|
+
- spec/project_spec.rb
|
619
|
+
- spec/spec_helper.rb
|
620
|
+
- spec/support/cli.rb
|
621
|
+
- spec/support/env.rb
|
622
|
+
- spec/support/fake.rb
|
623
|
+
- spec/support/fake_gem_server.rb
|
624
|
+
- spec/support/fake_gemcutter.rb
|
625
|
+
- spec/support/matchers.rb
|
626
|
+
- spec/support/path.rb
|
627
|
+
- spec/support/project.rb
|