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
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe BPM::Credentials do
|
4
|
+
def new_creds
|
5
|
+
BPM::Credentials.new
|
6
|
+
end
|
7
|
+
|
8
|
+
around do |example|
|
9
|
+
cd(home)
|
10
|
+
LibGems.send(:set_home, home)
|
11
|
+
example.call
|
12
|
+
LibGems.clear_paths
|
13
|
+
end
|
14
|
+
|
15
|
+
subject { new_creds }
|
16
|
+
|
17
|
+
it "saves the api key and email" do
|
18
|
+
subject.save("someone@example.com", "secrets")
|
19
|
+
|
20
|
+
new_creds.api_key.should == "secrets"
|
21
|
+
new_creds.email.should == "someone@example.com"
|
22
|
+
end
|
23
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
// Placeholder for test, do not remove
|
@@ -0,0 +1,46 @@
|
|
1
|
+
{
|
2
|
+
"name": "core-test",
|
3
|
+
|
4
|
+
"description": "Flexible testing library for JavaScript.",
|
5
|
+
|
6
|
+
"summary": "A fully featured asynchronous testing library for JavaScript, compatible with other frameworks.",
|
7
|
+
|
8
|
+
"keywords": ["javascript", "testing"],
|
9
|
+
|
10
|
+
"author": "Charles Jolley",
|
11
|
+
|
12
|
+
"homepage": "https://github.com/strobecorp/core-test",
|
13
|
+
|
14
|
+
"version": "0.4.9",
|
15
|
+
|
16
|
+
"licenses": [{
|
17
|
+
"type": "MIT",
|
18
|
+
"url": "https://github.com/strobecorp/core-test/raw/master/LICENSE"
|
19
|
+
}],
|
20
|
+
|
21
|
+
"engines": ["browser", "all"],
|
22
|
+
|
23
|
+
"directories": {
|
24
|
+
"lib": "./lib",
|
25
|
+
"resources": "./resources",
|
26
|
+
"tests": "./tests"
|
27
|
+
},
|
28
|
+
|
29
|
+
"main": "./lib/main",
|
30
|
+
|
31
|
+
"bin": {
|
32
|
+
"cot": "./bin/cot"
|
33
|
+
},
|
34
|
+
|
35
|
+
"dependencies": {
|
36
|
+
"ivory": "= 0.0.1",
|
37
|
+
"optparse": "= 1.0.1"
|
38
|
+
},
|
39
|
+
|
40
|
+
"pipeline": {
|
41
|
+
"css": ["resources"]
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
/* core-test runner.css */
|
@@ -0,0 +1 @@
|
|
1
|
+
// Placeholder for test, do not remove
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
// Placeholder
|
@@ -0,0 +1,19 @@
|
|
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
|
+
"spade": ">= 0"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
require('<%= require_path %>')
|
File without changes
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class CustomProjectGenerator < BPM::ProjectGenerator
|
2
|
+
|
3
|
+
def require_path
|
4
|
+
"#{name}/main.js"
|
5
|
+
end
|
6
|
+
|
7
|
+
private
|
8
|
+
|
9
|
+
def create_files
|
10
|
+
empty_directory "lib"
|
11
|
+
inside "lib" do
|
12
|
+
template "main.js"
|
13
|
+
end
|
14
|
+
|
15
|
+
template "app.js"
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
BPM.register_generator('custom_generator', :project, CustomProjectGenerator)
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2011 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
|
+
# hello_world
|
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,13 @@
|
|
1
|
+
/* =========================================================================
|
2
|
+
BPM Static Dependencies
|
3
|
+
MANIFEST: custom_package (2.0.0) spade (0.5.0)
|
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
|
+
|
8
|
+
//= require_self
|
9
|
+
//= require custom_package
|
10
|
+
//= require custom_package/~not-normal/basic-module
|
11
|
+
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/* =========================================================================
|
2
|
+
BPM Static Dependencies
|
3
|
+
MANIFEST: custom_package (2.0.0) spade (0.5.0)
|
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
|
+
|
8
|
+
/*
|
9
|
+
*= require_tree custom_package/~css
|
10
|
+
*= require_tree core-test/~resources
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "hello_world",
|
3
|
+
"version": "2.0.0",
|
4
|
+
"bpm": "0.1.0",
|
5
|
+
|
6
|
+
"description": "DESCRIPTION HERE",
|
7
|
+
"author": "YOUR NAME HERE",
|
8
|
+
"homepage": "URL",
|
9
|
+
|
10
|
+
"directories": {
|
11
|
+
"lib": "./lib",
|
12
|
+
"test": "./tests"
|
13
|
+
},
|
14
|
+
|
15
|
+
"dependencies": {
|
16
|
+
"spade": "0.5.0",
|
17
|
+
"core-test": "0.4.9"
|
18
|
+
}
|
19
|
+
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
Dummy Content
|
@@ -0,0 +1 @@
|
|
1
|
+
// BASIC MODULE
|
@@ -0,0 +1 @@
|
|
1
|
+
// EX
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"name": "custom_package",
|
3
|
+
"version": "2.0.0",
|
4
|
+
"description": "custom desc",
|
5
|
+
"summary": "custom summary",
|
6
|
+
"homepage": "http://homepage",
|
7
|
+
"author": "Joe",
|
8
|
+
"keywords": ["bundler"],
|
9
|
+
|
10
|
+
"dependencies": {
|
11
|
+
"rake": "0.8.6"
|
12
|
+
},
|
13
|
+
|
14
|
+
"directories": {
|
15
|
+
"lib": "lib",
|
16
|
+
"not-normal": "custom_dir"
|
17
|
+
},
|
18
|
+
|
19
|
+
"pipeline": {
|
20
|
+
"libs": ["lib", "not-normal"]
|
21
|
+
}
|
22
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
// dummy
|
@@ -0,0 +1 @@
|
|
1
|
+
// dummy file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
Unpacked versions of packages used for testing go here.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# system crap
|
2
|
+
.DS_Store
|
3
|
+
.*.swp
|
4
|
+
|
5
|
+
# files created by running the specs
|
6
|
+
tmp
|
7
|
+
|
8
|
+
# built gems
|
9
|
+
pkg
|
10
|
+
*.gem
|
11
|
+
|
12
|
+
# rubinius bytecode
|
13
|
+
*.rbc
|
14
|
+
|
15
|
+
# output from ronn
|
16
|
+
lib/bundler/man
|
17
|
+
|
18
|
+
# output from ci_reporter
|
19
|
+
spec/reports
|
20
|
+
|
21
|
+
# Netbeans
|
22
|
+
nbproject
|
@@ -0,0 +1,646 @@
|
|
1
|
+
## 1.1.pre (January 21, 2010)
|
2
|
+
|
3
|
+
Features:
|
4
|
+
|
5
|
+
- Add bundle clean. Removes unused gems from --path directory
|
6
|
+
- Initial Gemcutter Endpoint API work, BAI Fetching source index
|
7
|
+
- Added bundle install --standalone
|
8
|
+
- Ignore Gemfile.lock when buliding new gems
|
9
|
+
- Make it possible to override a .gemspec dependency's source in the
|
10
|
+
Gemfile
|
11
|
+
|
12
|
+
Removed:
|
13
|
+
|
14
|
+
- Removed bundle lock
|
15
|
+
- Removed bundle install <path>
|
16
|
+
- Removed bundle install --production
|
17
|
+
- Removed bundle install --disable-shared-gems
|
18
|
+
|
19
|
+
## 1.0.9 (January 19, 2010)
|
20
|
+
|
21
|
+
Bugfixes:
|
22
|
+
|
23
|
+
- Fix a bug where Bundler.require could remove gems from the load
|
24
|
+
path. In Rails apps with a default application.rb, this removed
|
25
|
+
all gems in groups other than :default and Rails.env
|
26
|
+
|
27
|
+
## 1.0.8 (January 18, 2010)
|
28
|
+
|
29
|
+
Features:
|
30
|
+
|
31
|
+
- Allow overriding gemspec() deps with :git deps
|
32
|
+
- Add --local option to `bundle update`
|
33
|
+
- Ignore Gemfile.lock in newly generated gems
|
34
|
+
- Use `less` as help pager instead of `more`
|
35
|
+
- Run `bundle exec rake` instead of `rake` in Capistrano tasks
|
36
|
+
|
37
|
+
Bugfixes:
|
38
|
+
|
39
|
+
- Fix --no-cache option for `bundle install`
|
40
|
+
- Allow Vlad deploys to work without Capistrano gem installed
|
41
|
+
- Fix group arguments to `bundle console`
|
42
|
+
- Allow groups to be loaded even if other groups were loaded
|
43
|
+
- Evaluate gemspec() gemspecs in their directory not the cwd
|
44
|
+
- Count on Rake to chdir to the right place in GemHelper
|
45
|
+
- Change Pathnames to Strings for MacRuby
|
46
|
+
- Check git process exit status correctly
|
47
|
+
- Fix some warnings in 1.9.3-trunk (thanks tenderlove)
|
48
|
+
|
49
|
+
## 1.0.7 (November 17, 2010)
|
50
|
+
|
51
|
+
Bugfixes:
|
52
|
+
|
53
|
+
- Remove Bundler version from the lockfile because it broke
|
54
|
+
backwards compatibility with 1.0.0-1.0.5. Sorry. :(
|
55
|
+
|
56
|
+
## 1.0.6 (November 16, 2010)
|
57
|
+
|
58
|
+
Bugfixes:
|
59
|
+
|
60
|
+
- Fix regression in `update` that caused long/wrong results
|
61
|
+
- Allow git gems on other platforms while installing (#579)
|
62
|
+
|
63
|
+
Features:
|
64
|
+
|
65
|
+
- Speed up `install` command using various optimizations
|
66
|
+
- Significantly increase performance of resolver
|
67
|
+
- Use upcoming Rubygems performance improvements (@tmm1)
|
68
|
+
- Warn if the lockfile was generated by a newer version
|
69
|
+
- Set generated gems' homepage to "", so Rubygems will warn
|
70
|
+
|
71
|
+
## 1.0.5 (November 13, 2010)
|
72
|
+
|
73
|
+
Bugfixes:
|
74
|
+
|
75
|
+
- Fix regression disabling all operations that employ sudo
|
76
|
+
|
77
|
+
## 1.0.4 (November 12, 2010)
|
78
|
+
|
79
|
+
Bugfixes:
|
80
|
+
|
81
|
+
- Expand relative :paths from Bundler.root (eg ./foogem)
|
82
|
+
- Allow git gems in --without groups while --frozen
|
83
|
+
- Allow gem :ref to be a symbol as well as a string
|
84
|
+
- Fix exception when Gemfile needs a newer Bundler version
|
85
|
+
- Explanation when the current Bundler version conflicts
|
86
|
+
- Explicit error message if Gemfile needs newer Bundler
|
87
|
+
- Ignore an empty string BUNDLE_GEMFILE
|
88
|
+
- Skeleton gemspec now works with older versions of git
|
89
|
+
- Fix shell quoting and ref fetching in GemHelper
|
90
|
+
- Disable colored output in --deployment
|
91
|
+
- Preserve line endings in lock file
|
92
|
+
|
93
|
+
Features:
|
94
|
+
|
95
|
+
- Add support for 'mingw32' platform (aka RubyInstaller)
|
96
|
+
- Large speed increase when Gemfile.lock is already present
|
97
|
+
- Huge speed increase when many (100+) system gems are present
|
98
|
+
- Significant expansion of ISSUES, man pages, and docs site
|
99
|
+
- Remove Open3 from GemHelper (now it works on Windows™®©)
|
100
|
+
- Allow setting roles in built-in cap and vlad tasks
|
101
|
+
|
102
|
+
## 1.0.3 (October 15, 2010)
|
103
|
+
|
104
|
+
Bugfixes:
|
105
|
+
|
106
|
+
- Use bitwise or in #hash to reduce the chance of overflow
|
107
|
+
- `bundle update` now works with :git + :tag updates
|
108
|
+
- Record relative :path options in the Gemfile.lock
|
109
|
+
- :groups option on gem method in Gemfile now works
|
110
|
+
- Add #platform method and :platform option to Gemfile DSL
|
111
|
+
- --without now accepts a quoted, space-separated list
|
112
|
+
- Installing after --deployment with no lock is now possible
|
113
|
+
- Binstubs can now be symlinked
|
114
|
+
- Print warning if cache for --local install is missing gems
|
115
|
+
- Improve output when installing to a path
|
116
|
+
- The tests all pass! Yay!
|
117
|
+
|
118
|
+
## 1.0.2 (October 2, 2010)
|
119
|
+
|
120
|
+
Bugfix:
|
121
|
+
|
122
|
+
- Actually include the man pages in the gem, so help works
|
123
|
+
|
124
|
+
## 1.0.1 (October 1, 2010)
|
125
|
+
|
126
|
+
Features:
|
127
|
+
|
128
|
+
- Vlad deployment recipe, `require 'bundler/vlad'`
|
129
|
+
- Prettier bundle graphs
|
130
|
+
- Improved gem skeleton for `bundle gem`
|
131
|
+
- Prompt on file clashes when generating a gem
|
132
|
+
- Option to generate binary with gem skeleton
|
133
|
+
- Allow subclassing of GemHelper for custom tasks
|
134
|
+
- Chdir to gem directory during `bundle open`
|
135
|
+
|
136
|
+
Bugfixes:
|
137
|
+
|
138
|
+
- Allow gemspec requirements with a list of versions
|
139
|
+
- Accept lockfiles with windows line endings
|
140
|
+
- Respect BUNDLE_WITHOUT env var
|
141
|
+
- Allow `gem "foo", :platform => :jruby`
|
142
|
+
- Specify loaded_from path in fake gemspec
|
143
|
+
- Flesh out gem_helper tasks, raise errors correctly
|
144
|
+
- Respect RBConfig::CONFIG['ruby_install_name'] in binstubs
|
145
|
+
|
146
|
+
## 1.0.0 (August 29, 2010)
|
147
|
+
|
148
|
+
Features:
|
149
|
+
|
150
|
+
- You can now define `:bundle_cmd` in the capistrano task
|
151
|
+
|
152
|
+
Bugfixes:
|
153
|
+
|
154
|
+
- Various bugfixes to the built-in rake helpers
|
155
|
+
- Fix a bug where shortrefs weren't unique enough and were
|
156
|
+
therfore colliding
|
157
|
+
- Fix a small bug involving checking whether a local git
|
158
|
+
clone is up to date
|
159
|
+
- Correctly handle explicit '=' dependencies with gems
|
160
|
+
pinned to a git source
|
161
|
+
- Fix an issue with Windows-generated lockfiles by reading
|
162
|
+
and writing the lockfile in binary mode
|
163
|
+
- Fix an issue with shelling out to git in Windows by
|
164
|
+
using double quotes around paths
|
165
|
+
- Detect new Rubygems sources in the Gemfile and update
|
166
|
+
the lockfile
|
167
|
+
|
168
|
+
## 1.0.0.rc.6 (August 23, 2010)
|
169
|
+
|
170
|
+
Features:
|
171
|
+
|
172
|
+
- Much better documentation for most of the commands and Gemfile
|
173
|
+
format
|
174
|
+
|
175
|
+
Bugfixes:
|
176
|
+
|
177
|
+
- Don't attempt to create directories if they already exist
|
178
|
+
- Fix the capistrano task so that it actually runs
|
179
|
+
- Update the Gemfile template to reference rubygems.org instead
|
180
|
+
of :gemcutter
|
181
|
+
- bundle exec should exit with a non zero exit code when the gem
|
182
|
+
binary does not exist or the file is not executable.
|
183
|
+
- Expand paths in Gemfile relative to the Gemfile and not the current
|
184
|
+
working directory.
|
185
|
+
|
186
|
+
## 1.0.0.rc.5 (August 10, 2010)
|
187
|
+
|
188
|
+
Features:
|
189
|
+
|
190
|
+
- Make the Capistrano task more concise.
|
191
|
+
|
192
|
+
Bugfixes:
|
193
|
+
|
194
|
+
- Fix a regression with determining whether or not to use sudo
|
195
|
+
- Allow using the --gemfile flag with the --deployment flag
|
196
|
+
|
197
|
+
## 1.0.0.rc.4 (August 9, 2010)
|
198
|
+
|
199
|
+
Features:
|
200
|
+
|
201
|
+
- `bundle gem NAME` command to generate a new gem with Gemfile
|
202
|
+
- Bundle config file location can be specified by BUNDLE_APP_CONFIG
|
203
|
+
- Add --frozen to disable updating the Gemfile.lock at runtime
|
204
|
+
(default with --deployment)
|
205
|
+
- Basic Capistrano task now added as 'bundler/capistrano'
|
206
|
+
|
207
|
+
Bugfixes:
|
208
|
+
|
209
|
+
- Multiple bundler process no longer share a tmp directory
|
210
|
+
- `bundle update GEM` always updates dependencies of GEM as well
|
211
|
+
- Deleting the cache directory no longer causes errors
|
212
|
+
- Moving the bundle after installation no longer causes git errors
|
213
|
+
- Bundle path is now correctly remembered on a read-only filesystem
|
214
|
+
- Gem binaries are installed to Gem.bindir, not #{Gem.dir}/bin
|
215
|
+
- Fetch gems from vendor/cache, even without --local
|
216
|
+
- Sort lockfile by platform as well as spec
|
217
|
+
|
218
|
+
## 1.0.0.rc.3 (August 3, 2010)
|
219
|
+
|
220
|
+
Features:
|
221
|
+
|
222
|
+
- Deprecate --production flag for --deployment, since the former
|
223
|
+
was causing confusion with the :production group
|
224
|
+
- Add --gemfile option to `bundle check`
|
225
|
+
- Reduce memory usage of `bundle install` by 2-4x
|
226
|
+
- Improve message from `bundle check` under various conditions
|
227
|
+
- Better error when a changed Gemfile conflicts with Gemfile.lock
|
228
|
+
|
229
|
+
Bugfixes:
|
230
|
+
|
231
|
+
- Create bin/ directory if it is missing, then install binstubs
|
232
|
+
- Error nicely on the edge case of a pinned gem with no spec
|
233
|
+
- Do not require gems for other platforms
|
234
|
+
- Update git sources along with the gems they contain
|
235
|
+
|
236
|
+
## 1.0.0.rc.2 (July 29, 2010)
|
237
|
+
|
238
|
+
- `bundle install path` was causing confusion, so we now print
|
239
|
+
a clarifying warning. The preferred way to install to a path
|
240
|
+
(which will not print the warning) is
|
241
|
+
`bundle install --path path/to/install`.
|
242
|
+
- `bundle install --system` installs to the default system
|
243
|
+
location ($BUNDLE_PATH or $GEM_HOME) even if you previously
|
244
|
+
used `bundle install --path`
|
245
|
+
- completely remove `--disable-shared-gems`. If you install to
|
246
|
+
system, you will not be isolated, while if you install to
|
247
|
+
another path, you will be isolated from gems installed to
|
248
|
+
the system. This was mostly an internal option whose naming
|
249
|
+
and semantics were extremely confusing.
|
250
|
+
- Add a `--production` option to `bundle install`:
|
251
|
+
- by default, installs to `vendor/bundle`. This can be
|
252
|
+
overridden with the `--path` option
|
253
|
+
- uses `--local` if `vendor/cache` is found. This will
|
254
|
+
guarantee that Bundler does not attempt to connect to
|
255
|
+
Rubygems and will use the gems cached in `vendor/cache`
|
256
|
+
instead
|
257
|
+
- Raises an exception if a Gemfile.lock is not found
|
258
|
+
- Raises an exception if you modify your Gemfile in development
|
259
|
+
but do not check in an updated Gemfile.lock
|
260
|
+
- Fixes a bug where switching a source from Rubygems to git
|
261
|
+
would always say "the git source is not checked out" when
|
262
|
+
running `bundle install`
|
263
|
+
|
264
|
+
NOTE: We received several reports of "the git source has not
|
265
|
+
been checked out. Please run bundle install". As far as we
|
266
|
+
can tell, these problems have two possible causes:
|
267
|
+
|
268
|
+
1. `bundle install ~/.bundle` in one user, but actually running
|
269
|
+
the application as another user. Never install gems to a
|
270
|
+
directory scoped to a user (`~` or `$HOME`) in deployment.
|
271
|
+
2. A bug that happened when changing a gem to a git source.
|
272
|
+
|
273
|
+
To mitigate several common causes of `(1)`, please use the
|
274
|
+
new `--production` flag. This flag is simply a roll-up of
|
275
|
+
the best practices we have been encouraging people to use
|
276
|
+
for deployment.
|
277
|
+
|
278
|
+
If you want to share gems across deployments, and you use
|
279
|
+
Capistrano, symlink release_path/current/vendor/bundle to
|
280
|
+
release_path/shared/bundle. This will keep deployments
|
281
|
+
snappy while maintaining the benefits of clean, deploy-time
|
282
|
+
isolation.
|
283
|
+
|
284
|
+
## 1.0.0.rc.1 (July 26, 2010)
|
285
|
+
|
286
|
+
- Fixed a bug with `bundle install` on multiple machines and git
|
287
|
+
|
288
|
+
## 1.0.0.beta.10 (July 25, 2010)
|
289
|
+
|
290
|
+
- Last release before 1.0.0.rc.1
|
291
|
+
- Added :mri as a valid platform (platforms :mri { gem "ruby-debug" })
|
292
|
+
- Fix `bundle install` immediately after modifying the :submodule option
|
293
|
+
- Don't write to Gemfile.lock if nothing has changed, fixing situations
|
294
|
+
where bundle install was run with a different user than the app
|
295
|
+
itself
|
296
|
+
- Fix a bug where other platforms were being wiped on `bundle update`
|
297
|
+
- Don't ask for root password on `bundle install` if not needed
|
298
|
+
- Avoid setting `$GEM_HOME` where not needed
|
299
|
+
- First solid pass of `bundle config`
|
300
|
+
- Add build options
|
301
|
+
- `bundle config build.mysql --with-mysql-config=/path/to/config`
|
302
|
+
|
303
|
+
## 1.0.0.beta.9 (July 21, 2010)
|
304
|
+
|
305
|
+
- Fix install failure when switching from a path to git source
|
306
|
+
- Fix `bundle exec bundle *` in a bundle with --disable-shared-gems
|
307
|
+
- Fix `bundle *` from inside a bundle with --disable-shared-gem
|
308
|
+
- Shim Gem.refresh. This is used by Unicorn
|
309
|
+
- Fix install failure when a path's dependencies changed
|
310
|
+
|
311
|
+
## 1.0.0.beta.8 (July 20, 2010)
|
312
|
+
|
313
|
+
- Fix a Beta 7 bug involving Ruby 1.9
|
314
|
+
|
315
|
+
## 1.0.0.beta.7 (July 20, 2010, yanked)
|
316
|
+
|
317
|
+
- Running `bundle install` twice in a row with a git source always crashed
|
318
|
+
|
319
|
+
## 1.0.0.beta.6 (July 20, 2010, yanked)
|
320
|
+
|
321
|
+
- Create executables with bundle install --binstubs
|
322
|
+
- You can customize the location (default is app/bin) with --binstubs other/location
|
323
|
+
- Fix a bug where the Gemfile.lock would be deleted even if the update was exited
|
324
|
+
- Fix a bug where cached gems for other platforms were sometimes deleted
|
325
|
+
- Clean up output when nothing was deleted from cache (it previously said
|
326
|
+
"Removing outdated gems ...")
|
327
|
+
- Improve performance of bundle install if the git gem was already checked out,
|
328
|
+
and the revision being used already exists locally
|
329
|
+
- Fix bundle show bundler in some cases
|
330
|
+
- Fix bugs with bundle update
|
331
|
+
- Don't ever run git commands at runtime (fixes a number of common passenger issues)
|
332
|
+
- Fixes an obscure bug where switching the source of a gem could fail to correctly
|
333
|
+
change the source of its dependencies
|
334
|
+
- Support multiple version dependencies in the Gemfile
|
335
|
+
(gem "rails", ">= 3.0.0.beta1", "<= 3.0.0")
|
336
|
+
- Raise an exception for ambiguous uses of multiple declarations of the same gem
|
337
|
+
(for instance, with different versions or sources).
|
338
|
+
- Fix cases where the same dependency appeared several times in the Gemfile.lock
|
339
|
+
- Fix a bug where require errors were being swallowed during Bundler.require
|
340
|
+
|
341
|
+
## 1.0.0.beta.1
|
342
|
+
|
343
|
+
- No `bundle lock` command. Locking happens automatically on install or update
|
344
|
+
- No .bundle/environment.rb. Require 'bundler/setup' instead.
|
345
|
+
- $BUNDLE_HOME defaults to $GEM_HOME instead of ~/.bundle
|
346
|
+
- Remove lockfiles generated by 0.9
|
347
|
+
|
348
|
+
## 0.9.26
|
349
|
+
|
350
|
+
Features:
|
351
|
+
|
352
|
+
- error nicely on incompatible 0.10 lockfiles
|
353
|
+
|
354
|
+
## 0.9.25 (May 3, 2010)
|
355
|
+
|
356
|
+
Bugfixes:
|
357
|
+
|
358
|
+
- explicitly coerce Pathname objects to Strings for Ruby 1.9
|
359
|
+
- fix some newline weirdness in output from install command
|
360
|
+
|
361
|
+
## 0.9.24 (April 22, 2010)
|
362
|
+
|
363
|
+
Features:
|
364
|
+
|
365
|
+
- fetch submodules for git sources
|
366
|
+
- limit the bundled version of bundler to the same as the one installing
|
367
|
+
- force relative paths in git gemspecs to avoid raising Gem::NameTooLong
|
368
|
+
- serialize GemCache sources correctly, so locking works
|
369
|
+
- raise Bundler::GemNotFound instead of calling exit! inside library code
|
370
|
+
- Rubygems 1.3.5 compatibility for the adventurous, not supported by me :)
|
371
|
+
|
372
|
+
Bugfixes:
|
373
|
+
|
374
|
+
- don't try to regenerate environment.rb if it is read-only
|
375
|
+
- prune outdated gems with the platform "ruby"
|
376
|
+
- prune cache without errors when there are directories or non-gem files
|
377
|
+
- don't re-write environment.rb if running after it has been loaded
|
378
|
+
- do not monkeypatch Specification#load_paths twice when inside a bundle
|
379
|
+
|
380
|
+
## 0.9.23 (April 20, 2010)
|
381
|
+
|
382
|
+
Bugfixes:
|
383
|
+
|
384
|
+
- cache command no longer prunes gems created by an older rubygems version
|
385
|
+
- cache command no longer prunes gems that are for other platforms
|
386
|
+
|
387
|
+
## 0.9.22 (April 20, 2010)
|
388
|
+
|
389
|
+
Features:
|
390
|
+
|
391
|
+
- cache command now prunes stale .gem files from vendor/cache
|
392
|
+
- init --gemspec command now generates development dependencies
|
393
|
+
- handle Polyglot's changes to Kernel#require with Bundler::ENV_LOADED (#287)
|
394
|
+
- remove .gem files generated after installing a gem from a :path (#286)
|
395
|
+
- improve install/lock messaging (#284)
|
396
|
+
|
397
|
+
Bugfixes:
|
398
|
+
|
399
|
+
- ignore cached gems that are for another platform (#288)
|
400
|
+
- install Windows gems that have no architecture set, like rcov (#277)
|
401
|
+
- exec command while locked now includes the bundler lib in $LOAD_PATH (#293)
|
402
|
+
- fix the `rake install` task
|
403
|
+
- add GemspecError so it can be raised without (further) error (#292)
|
404
|
+
- create a parent directory before cloning for git 1.5 compatibility (#285)
|
405
|
+
|
406
|
+
## 0.9.21 (April 16, 2010)
|
407
|
+
|
408
|
+
Bugfixes:
|
409
|
+
|
410
|
+
- don't raise 'omg wtf' when lockfile is outdated
|
411
|
+
|
412
|
+
## 0.9.20 (April 15, 2010)
|
413
|
+
|
414
|
+
Features:
|
415
|
+
|
416
|
+
- load YAML format gemspecs
|
417
|
+
- no backtraces when calling Bundler.setup if gems are missing
|
418
|
+
- no backtraces when trying to exec a file without the executable bit
|
419
|
+
|
420
|
+
Bugfixes:
|
421
|
+
|
422
|
+
- fix infinite recursion in Bundler.setup after loading a bundled Bundler gem
|
423
|
+
- request install instead of lock when env.rb is out of sync with Gemfile.lock
|
424
|
+
|
425
|
+
## 0.9.19 (April 12, 2010)
|
426
|
+
|
427
|
+
Features:
|
428
|
+
|
429
|
+
- suggest `bundle install --relock` when the Gemfile has changed (#272)
|
430
|
+
- source support for Rubygems servers without prerelease gem indexes (#262)
|
431
|
+
|
432
|
+
Bugfixes:
|
433
|
+
|
434
|
+
- don't set up all groups every time Bundler.setup is called while locked (#263)
|
435
|
+
- fix #full_gem_path for git gems while locked (#268)
|
436
|
+
- eval gemspecs at the top level, not inside the Bundler class (#269)
|
437
|
+
|
438
|
+
|
439
|
+
## 0.9.18 (April 8, 2010)
|
440
|
+
|
441
|
+
Features:
|
442
|
+
|
443
|
+
- console command that runs irb with bundle (and optional group) already loaded
|
444
|
+
|
445
|
+
Bugfixes:
|
446
|
+
|
447
|
+
- Bundler.setup now fully disables system gems, even when unlocked (#266, #246)
|
448
|
+
- fixes Yard, which found plugins in Gem.source_index that it could not load
|
449
|
+
- makes behaviour of `Bundler.require` consistent between locked and unlocked loads
|
450
|
+
|
451
|
+
## 0.9.17 (April 7, 2010)
|
452
|
+
|
453
|
+
Features:
|
454
|
+
|
455
|
+
- Bundler.require now calls Bundler.setup automatically
|
456
|
+
- Gem::Specification#add_bundler_dependencies added for gemspecs
|
457
|
+
|
458
|
+
Bugfixes:
|
459
|
+
|
460
|
+
- Gem paths are not longer duplicated while loading bundler
|
461
|
+
- exec no longer duplicates RUBYOPT if it is already set correctly
|
462
|
+
|
463
|
+
## 0.9.16 (April 3, 2010)
|
464
|
+
|
465
|
+
Features:
|
466
|
+
|
467
|
+
- exit gracefully on INT signal
|
468
|
+
- resolver output now indicates whether remote sources were checked
|
469
|
+
- print error instead of backtrace when exec cannot find a binary (#241)
|
470
|
+
|
471
|
+
Bugfixes:
|
472
|
+
|
473
|
+
- show, check, and open commands work again while locked (oops)
|
474
|
+
- show command for git gems
|
475
|
+
- outputs branch names other than master
|
476
|
+
- gets the correct sha from the checkout
|
477
|
+
- doesn't print sha twice if :ref is set
|
478
|
+
- report errors from bundler/setup.rb without backtraces (#243)
|
479
|
+
- fix Gem::Spec#git_version to not error on unloaded specs
|
480
|
+
- improve deprecation, Gemfile, and command error messages (#242)
|
481
|
+
|
482
|
+
## 0.9.15 (April 1, 2010)
|
483
|
+
|
484
|
+
Features:
|
485
|
+
|
486
|
+
- use the env_file if possible instead of doing a runtime resolve
|
487
|
+
- huge speedup when calling Bundler.setup while locked
|
488
|
+
- ensures bundle exec is fast while locked
|
489
|
+
- regenerates env_file if it was generated by an older version
|
490
|
+
- update cached/packed gems when you update gems via bundle install
|
491
|
+
|
492
|
+
Bugfixes:
|
493
|
+
|
494
|
+
- prep for Rubygems 1.3.7 changes
|
495
|
+
- install command now pulls git branches correctly (#211)
|
496
|
+
- raise errors on invalid options in the Gemfile
|
497
|
+
|
498
|
+
## 0.9.14 (March 30, 2010)
|
499
|
+
|
500
|
+
Features:
|
501
|
+
|
502
|
+
- install command output vastly improved
|
503
|
+
- installation message now accurate, with 'using' and 'installing'
|
504
|
+
- bundler gems no longer listed as 'system gems'
|
505
|
+
- show command output now includes sha and branch name for git gems
|
506
|
+
- init command now takes --gemspec option for bootstrapping gem Gemfiles
|
507
|
+
- Bundler.with_clean_env for shelling out to ruby scripts
|
508
|
+
- show command now aliased as 'list'
|
509
|
+
- VISUAL env var respected for GUI editors
|
510
|
+
|
511
|
+
Bugfixes:
|
512
|
+
|
513
|
+
- exec command now finds binaries from gems with no gemspec
|
514
|
+
- note source of Gemfile resolver errors
|
515
|
+
- don't blow up if git urls are changed
|
516
|
+
|
517
|
+
## 0.9.13 (March 23, 2010)
|
518
|
+
|
519
|
+
Bugfixes:
|
520
|
+
|
521
|
+
- exec command now finds binaries from gems installed via :path
|
522
|
+
- gem dependencies are pulled in even if their type is nil
|
523
|
+
- paths with spaces have double-quotes to work on Windows
|
524
|
+
- set GEM_PATH in environment.rb so generators work with Rails 2
|
525
|
+
|
526
|
+
## 0.9.12 (March 17, 2010)
|
527
|
+
|
528
|
+
- refactoring, internal cleanup, more solid specs
|
529
|
+
|
530
|
+
Features:
|
531
|
+
|
532
|
+
- check command takes a --without option
|
533
|
+
- check command exits 1 if the check fails
|
534
|
+
|
535
|
+
Bugfixes:
|
536
|
+
|
537
|
+
- perform a topological sort on resolved gems (#191)
|
538
|
+
- gems from git work even when paths or repos have spaces (#196)
|
539
|
+
- Specification#loaded_from returns a String, like Gem::Specification (#197)
|
540
|
+
- specs eval from inside the gem directory, even when locked
|
541
|
+
- virtual gemspecs are now saved in environment.rb for use when loading
|
542
|
+
- unify the Installer's local index and the runtime index (#204)
|
543
|
+
|
544
|
+
## 0.9.11 (March 9, 2010)
|
545
|
+
|
546
|
+
- added roadmap with future development plans
|
547
|
+
|
548
|
+
Features:
|
549
|
+
|
550
|
+
- install command can take the path to the gemfile with --gemfile (#125)
|
551
|
+
- unknown command line options are now rejected (#163)
|
552
|
+
- exec command hugely sped up while locked (#177)
|
553
|
+
- show command prints the install path if you pass it a gem name (#148)
|
554
|
+
- open command edits an installed gem with $EDITOR (#148)
|
555
|
+
- Gemfile allows assigning an array of groups to a gem (#114)
|
556
|
+
- Gemfile allows :tag option on :git sources
|
557
|
+
- improve backtraces when a gemspec is invalid
|
558
|
+
- improve performance by installing gems from the cache if present
|
559
|
+
|
560
|
+
Bugfixes:
|
561
|
+
|
562
|
+
- normalize parameters to Bundler.require (#153)
|
563
|
+
- check now checks installed gems rather than cached gems (#162)
|
564
|
+
- don't update the gem index when installing after locking (#169)
|
565
|
+
- bundle parenthesises arguments for 1.8.6 (#179)
|
566
|
+
- gems can now be assigned to multiple groups without problems (#135)
|
567
|
+
- fix the warning when building extensions for a gem from git with Rubygems 1.3.6
|
568
|
+
- fix a Dependency.to_yaml error due to accidentally including sources and groups
|
569
|
+
- don't reinstall packed gems
|
570
|
+
- fix gems with git sources that are private repositories
|
571
|
+
|
572
|
+
## 0.9.10 (March 1, 2010)
|
573
|
+
|
574
|
+
- depends on Rubygems 1.3.6
|
575
|
+
|
576
|
+
Bugfixes:
|
577
|
+
|
578
|
+
- support locking after install --without
|
579
|
+
- don't reinstall gems from the cache if they're already in the bundle
|
580
|
+
- fixes for Ruby 1.8.7 and 1.9
|
581
|
+
|
582
|
+
## 0.9.9 (February 25, 2010)
|
583
|
+
|
584
|
+
Bugfixes:
|
585
|
+
|
586
|
+
- don't die if GEM_HOME is an empty string
|
587
|
+
- fixes for Ruby 1.8.6 and 1.9
|
588
|
+
|
589
|
+
## 0.9.8 (February 23, 2010)
|
590
|
+
|
591
|
+
Features:
|
592
|
+
|
593
|
+
- pack command which both caches and locks
|
594
|
+
- descriptive error if a cached gem is missing
|
595
|
+
- remember the --without option after installing
|
596
|
+
- expand paths given in the Gemfile via the :path option
|
597
|
+
- add block syntax to the git and group options in the Gemfile
|
598
|
+
- support gems with extensions that don't admit they depend on rake
|
599
|
+
- generate gems using gem build gemspec so git gems can have native extensions
|
600
|
+
- print a useful warning if building a gem fails
|
601
|
+
- allow manual configuration via BUNDLE_PATH
|
602
|
+
|
603
|
+
Bugfixes:
|
604
|
+
|
605
|
+
- eval gemspecs in the gem directory so relative paths work
|
606
|
+
- make default spec for git sources valid
|
607
|
+
- don't reinstall gems that are already packed
|
608
|
+
|
609
|
+
## 0.9.7 (February 17, 2010)
|
610
|
+
|
611
|
+
Bugfixes:
|
612
|
+
|
613
|
+
- don't say that a gem from an excluded group is "installing"
|
614
|
+
- improve crippling rubygems in locked scenarios
|
615
|
+
|
616
|
+
## 0.9.6 (February 16, 2010)
|
617
|
+
|
618
|
+
Features:
|
619
|
+
|
620
|
+
- allow String group names
|
621
|
+
- a number of improvements in the documentation and error messages
|
622
|
+
|
623
|
+
Bugfixes:
|
624
|
+
|
625
|
+
- set SourceIndex#spec_dirs to solve a problem involving Rails 2.3 in unlocked mode
|
626
|
+
- ensure Rubygems is fully loaded in Ruby 1.9 before patching it
|
627
|
+
- fix `bundle install` for a locked app without a .bundle directory
|
628
|
+
- require gems in the order that the resolver determines
|
629
|
+
- make the tests platform agnostic so we can confirm that they're green on JRuby
|
630
|
+
- fixes for Ruby 1.9
|
631
|
+
|
632
|
+
## 0.9.5 (Feburary 12, 2010)
|
633
|
+
|
634
|
+
Features:
|
635
|
+
|
636
|
+
- added support for :path => "relative/path"
|
637
|
+
- added support for older versions of git
|
638
|
+
- added `bundle install --disable-shared-gems`
|
639
|
+
- Bundler.require fails silently if a library does not have a file on the load path with its name
|
640
|
+
- Basic support for multiple rubies by namespacing the default bundle path using the version and engine
|
641
|
+
|
642
|
+
Bugfixes:
|
643
|
+
|
644
|
+
- if the bundle is locked and .bundle/environment.rb is not present when Bundler.setup is called, generate it
|
645
|
+
- same if it's not present with `bundle check`
|
646
|
+
- same if it's not present with `bundle install`
|