spade 0.0.8.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/.gitmodules +4 -4
- data/README.md +4 -0
- data/bin/spade +1 -1
- data/lib/spade.rb +0 -51
- data/lib/spade/cli.rb +10 -4
- data/lib/spade/version.rb +1 -1
- data/spade.gemspec +4 -21
- metadata +13 -482
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -40
- data/lib/index.js +0 -14
- data/lib/node/loader.js +0 -146
- data/lib/node/sandbox.js +0 -44
- data/lib/spade.js +0 -1130
- data/lib/spade/bundle.rb +0 -171
- data/lib/spade/cli/base.rb +0 -354
- data/lib/spade/cli/owner.rb +0 -45
- data/lib/spade/cli/project_generator.rb +0 -58
- data/lib/spade/compiler.rb +0 -34
- data/lib/spade/console.rb +0 -39
- data/lib/spade/context.rb +0 -116
- data/lib/spade/credentials.rb +0 -36
- data/lib/spade/dependency_installer.rb +0 -103
- data/lib/spade/environment.rb +0 -35
- data/lib/spade/exports.rb +0 -71
- data/lib/spade/installer.rb +0 -40
- data/lib/spade/loader.rb +0 -238
- data/lib/spade/local.rb +0 -46
- data/lib/spade/package.rb +0 -157
- data/lib/spade/reactor.rb +0 -159
- data/lib/spade/remote.rb +0 -99
- data/lib/spade/repository.rb +0 -18
- data/lib/spade/server.rb +0 -66
- data/lib/spade/shell.rb +0 -36
- data/lib/spade/templates/project/LICENSE +0 -19
- data/lib/spade/templates/project/README.md +0 -21
- data/lib/spade/templates/project/lib/main.js +0 -9
- data/lib/spade/templates/project/project.json +0 -31
- data/lib/spade/templates/project/tests/main-test.js +0 -8
- data/package.json +0 -27
- data/packages/coffee-script/.gitignore +0 -8
- data/packages/coffee-script/.npmignore +0 -11
- data/packages/coffee-script/Cakefile +0 -229
- data/packages/coffee-script/LICENSE +0 -22
- data/packages/coffee-script/README +0 -47
- data/packages/coffee-script/Rakefile +0 -78
- data/packages/coffee-script/bin/cake +0 -7
- data/packages/coffee-script/bin/coffee +0 -7
- data/packages/coffee-script/documentation/coffee/aliases.coffee +0 -11
- data/packages/coffee-script/documentation/coffee/array_comprehensions.coffee +0 -2
- data/packages/coffee-script/documentation/coffee/block_comment.coffee +0 -6
- data/packages/coffee-script/documentation/coffee/cake_tasks.coffee +0 -9
- data/packages/coffee-script/documentation/coffee/classes.coffee +0 -25
- data/packages/coffee-script/documentation/coffee/comparisons.coffee +0 -5
- data/packages/coffee-script/documentation/coffee/conditionals.coffee +0 -13
- data/packages/coffee-script/documentation/coffee/default_args.coffee +0 -8
- data/packages/coffee-script/documentation/coffee/do.coffee +0 -4
- data/packages/coffee-script/documentation/coffee/embedded.coffee +0 -5
- data/packages/coffee-script/documentation/coffee/existence.coffee +0 -10
- data/packages/coffee-script/documentation/coffee/expressions.coffee +0 -9
- data/packages/coffee-script/documentation/coffee/expressions_assignment.coffee +0 -3
- data/packages/coffee-script/documentation/coffee/expressions_comprehension.coffee +0 -3
- data/packages/coffee-script/documentation/coffee/expressions_try.coffee +0 -7
- data/packages/coffee-script/documentation/coffee/fat_arrow.coffee +0 -6
- data/packages/coffee-script/documentation/coffee/functions.coffee +0 -2
- data/packages/coffee-script/documentation/coffee/heredocs.coffee +0 -7
- data/packages/coffee-script/documentation/coffee/heregexes.coffee +0 -11
- data/packages/coffee-script/documentation/coffee/interpolation.coffee +0 -6
- data/packages/coffee-script/documentation/coffee/multiple_return_values.coffee +0 -7
- data/packages/coffee-script/documentation/coffee/object_comprehensions.coffee +0 -4
- data/packages/coffee-script/documentation/coffee/object_extraction.coffee +0 -13
- data/packages/coffee-script/documentation/coffee/objects_and_arrays.coffee +0 -19
- data/packages/coffee-script/documentation/coffee/objects_reserved.coffee +0 -5
- data/packages/coffee-script/documentation/coffee/overview.coffee +0 -28
- data/packages/coffee-script/documentation/coffee/parallel_assignment.coffee +0 -6
- data/packages/coffee-script/documentation/coffee/patterns_and_splats.coffee +0 -7
- data/packages/coffee-script/documentation/coffee/prototypes.coffee +0 -3
- data/packages/coffee-script/documentation/coffee/range_comprehensions.coffee +0 -2
- data/packages/coffee-script/documentation/coffee/scope.coffee +0 -5
- data/packages/coffee-script/documentation/coffee/slices.coffee +0 -7
- data/packages/coffee-script/documentation/coffee/soaks.coffee +0 -1
- data/packages/coffee-script/documentation/coffee/splats.coffee +0 -27
- data/packages/coffee-script/documentation/coffee/splices.coffee +0 -5
- data/packages/coffee-script/documentation/coffee/strings.coffee +0 -8
- data/packages/coffee-script/documentation/coffee/switch.coffee +0 -10
- data/packages/coffee-script/documentation/coffee/try.coffee +0 -8
- data/packages/coffee-script/documentation/coffee/while.coffee +0 -10
- data/packages/coffee-script/documentation/css/docs.css +0 -374
- data/packages/coffee-script/documentation/css/idle.css +0 -64
- data/packages/coffee-script/documentation/docs/browser.html +0 -25
- data/packages/coffee-script/documentation/docs/cake.html +0 -43
- data/packages/coffee-script/documentation/docs/coffee-script.html +0 -51
- data/packages/coffee-script/documentation/docs/command.html +0 -161
- data/packages/coffee-script/documentation/docs/docco.css +0 -186
- data/packages/coffee-script/documentation/docs/grammar.html +0 -399
- data/packages/coffee-script/documentation/docs/helpers.html +0 -31
- data/packages/coffee-script/documentation/docs/index.html +0 -3
- data/packages/coffee-script/documentation/docs/lexer.html +0 -490
- data/packages/coffee-script/documentation/docs/nodes.html +0 -1338
- data/packages/coffee-script/documentation/docs/optparse.html +0 -78
- data/packages/coffee-script/documentation/docs/repl.html +0 -24
- data/packages/coffee-script/documentation/docs/rewriter.html +0 -251
- data/packages/coffee-script/documentation/docs/scope.html +0 -54
- data/packages/coffee-script/documentation/docs/underscore.html +0 -295
- data/packages/coffee-script/documentation/images/background.png +0 -0
- data/packages/coffee-script/documentation/images/banding.png +0 -0
- data/packages/coffee-script/documentation/images/button_bg.png +0 -0
- data/packages/coffee-script/documentation/images/button_bg_dark.gif +0 -0
- data/packages/coffee-script/documentation/images/button_bg_green.gif +0 -0
- data/packages/coffee-script/documentation/images/favicon.ico +0 -0
- data/packages/coffee-script/documentation/images/logo.png +0 -0
- data/packages/coffee-script/documentation/images/screenshadow.png +0 -0
- data/packages/coffee-script/documentation/index.html.erb +0 -1607
- data/packages/coffee-script/documentation/js/aliases.js +0 -17
- data/packages/coffee-script/documentation/js/array_comprehensions.js +0 -6
- data/packages/coffee-script/documentation/js/block_comment.js +0 -4
- data/packages/coffee-script/documentation/js/cake_tasks.js +0 -10
- data/packages/coffee-script/documentation/js/classes.js +0 -44
- data/packages/coffee-script/documentation/js/comparisons.js +0 -3
- data/packages/coffee-script/documentation/js/conditionals.js +0 -12
- data/packages/coffee-script/documentation/js/default_args.js +0 -7
- data/packages/coffee-script/documentation/js/do.js +0 -10
- data/packages/coffee-script/documentation/js/embedded.js +0 -4
- data/packages/coffee-script/documentation/js/existence.js +0 -6
- data/packages/coffee-script/documentation/js/expressions.js +0 -15
- data/packages/coffee-script/documentation/js/expressions_assignment.js +0 -2
- data/packages/coffee-script/documentation/js/expressions_comprehension.js +0 -9
- data/packages/coffee-script/documentation/js/expressions_try.js +0 -7
- data/packages/coffee-script/documentation/js/fat_arrow.js +0 -9
- data/packages/coffee-script/documentation/js/functions.js +0 -7
- data/packages/coffee-script/documentation/js/heredocs.js +0 -2
- data/packages/coffee-script/documentation/js/heregexes.js +0 -2
- data/packages/coffee-script/documentation/js/interpolation.js +0 -4
- data/packages/coffee-script/documentation/js/multiple_return_values.js +0 -5
- data/packages/coffee-script/documentation/js/object_comprehensions.js +0 -15
- data/packages/coffee-script/documentation/js/object_extraction.js +0 -10
- data/packages/coffee-script/documentation/js/objects_and_arrays.js +0 -17
- data/packages/coffee-script/documentation/js/objects_reserved.js +0 -4
- data/packages/coffee-script/documentation/js/overview.js +0 -35
- data/packages/coffee-script/documentation/js/parallel_assignment.js +0 -4
- data/packages/coffee-script/documentation/js/patterns_and_splats.js +0 -4
- data/packages/coffee-script/documentation/js/prototypes.js +0 -3
- data/packages/coffee-script/documentation/js/range_comprehensions.js +0 -9
- data/packages/coffee-script/documentation/js/scope.js +0 -8
- data/packages/coffee-script/documentation/js/slices.js +0 -4
- data/packages/coffee-script/documentation/js/soaks.js +0 -2
- data/packages/coffee-script/documentation/js/splats.js +0 -15
- data/packages/coffee-script/documentation/js/splices.js +0 -3
- data/packages/coffee-script/documentation/js/strings.js +0 -2
- data/packages/coffee-script/documentation/js/switch.js +0 -23
- data/packages/coffee-script/documentation/js/try.js +0 -8
- data/packages/coffee-script/documentation/js/while.js +0 -18
- data/packages/coffee-script/documentation/vendor/jquery-1.4.2.js +0 -6240
- data/packages/coffee-script/examples/beautiful_code/binary_search.coffee +0 -16
- data/packages/coffee-script/examples/beautiful_code/quicksort_runtime.coffee +0 -13
- data/packages/coffee-script/examples/beautiful_code/regular_expression_matcher.coffee +0 -34
- data/packages/coffee-script/examples/blocks.coffee +0 -54
- data/packages/coffee-script/examples/code.coffee +0 -167
- data/packages/coffee-script/examples/computer_science/README +0 -4
- data/packages/coffee-script/examples/computer_science/binary_search.coffee +0 -25
- data/packages/coffee-script/examples/computer_science/bubble_sort.coffee +0 -11
- data/packages/coffee-script/examples/computer_science/linked_list.coffee +0 -108
- data/packages/coffee-script/examples/computer_science/luhn_algorithm.coffee +0 -36
- data/packages/coffee-script/examples/computer_science/merge_sort.coffee +0 -19
- data/packages/coffee-script/examples/computer_science/selection_sort.coffee +0 -23
- data/packages/coffee-script/examples/poignant.coffee +0 -181
- data/packages/coffee-script/examples/potion.coffee +0 -206
- data/packages/coffee-script/examples/underscore.coffee +0 -682
- data/packages/coffee-script/examples/web_server.coffee +0 -12
- data/packages/coffee-script/extras/EXTRAS +0 -7
- data/packages/coffee-script/extras/coffee-script.js +0 -8
- data/packages/coffee-script/extras/jsl.conf +0 -44
- data/packages/coffee-script/index.html +0 -2515
- data/packages/coffee-script/lib/browser.js +0 -52
- data/packages/coffee-script/lib/cake.js +0 -76
- data/packages/coffee-script/lib/coffee-script.js +0 -82
- data/packages/coffee-script/lib/command.js +0 -263
- data/packages/coffee-script/lib/grammar.js +0 -581
- data/packages/coffee-script/lib/helpers.js +0 -66
- data/packages/coffee-script/lib/index.js +0 -8
- data/packages/coffee-script/lib/lexer.js +0 -633
- data/packages/coffee-script/lib/nodes.js +0 -2165
- data/packages/coffee-script/lib/optparse.js +0 -111
- data/packages/coffee-script/lib/parser.js +0 -649
- data/packages/coffee-script/lib/repl.js +0 -42
- data/packages/coffee-script/lib/rewriter.js +0 -353
- data/packages/coffee-script/lib/scope.js +0 -120
- data/packages/coffee-script/lib/spade-format.js +0 -45
- data/packages/coffee-script/package.json +0 -26
- data/packages/coffee-script/src/browser.coffee +0 -43
- data/packages/coffee-script/src/cake.coffee +0 -69
- data/packages/coffee-script/src/coffee-script.coffee +0 -92
- data/packages/coffee-script/src/command.coffee +0 -214
- data/packages/coffee-script/src/grammar.coffee +0 -590
- data/packages/coffee-script/src/helpers.coffee +0 -56
- data/packages/coffee-script/src/index.coffee +0 -2
- data/packages/coffee-script/src/lexer.coffee +0 -653
- data/packages/coffee-script/src/nodes.coffee +0 -1754
- data/packages/coffee-script/src/optparse.coffee +0 -99
- data/packages/coffee-script/src/repl.coffee +0 -42
- data/packages/coffee-script/src/rewriter.coffee +0 -326
- data/packages/coffee-script/src/scope.coffee +0 -94
- data/packages/coffee-script/test/arguments.coffee +0 -127
- data/packages/coffee-script/test/assignment.coffee +0 -98
- data/packages/coffee-script/test/break.coffee +0 -18
- data/packages/coffee-script/test/comments.coffee +0 -201
- data/packages/coffee-script/test/conditionals.coffee +0 -181
- data/packages/coffee-script/test/exception_handling.coffee +0 -90
- data/packages/coffee-script/test/helpers.coffee +0 -96
- data/packages/coffee-script/test/importing.coffee +0 -18
- data/packages/coffee-script/test/operators.coffee +0 -225
- data/packages/coffee-script/test/ranges_slices_and_splices.coffee +0 -186
- data/packages/coffee-script/test/regular_expressions.coffee +0 -56
- data/packages/coffee-script/test/test.html +0 -123
- data/packages/coffee-script/test/test_chaining.coffee +0 -77
- data/packages/coffee-script/test/test_classes.coffee +0 -372
- data/packages/coffee-script/test/test_compilation.coffee +0 -26
- data/packages/coffee-script/test/test_comprehensions.coffee +0 -318
- data/packages/coffee-script/test/test_existence.coffee +0 -165
- data/packages/coffee-script/test/test_functions.coffee +0 -379
- data/packages/coffee-script/test/test_heredocs.coffee +0 -111
- data/packages/coffee-script/test/test_literals.coffee +0 -270
- data/packages/coffee-script/test/test_option_parser.coffee +0 -27
- data/packages/coffee-script/test/test_pattern_matching.coffee +0 -162
- data/packages/coffee-script/test/test_returns.coffee +0 -63
- data/packages/coffee-script/test/test_splats.coffee +0 -102
- data/packages/coffee-script/test/test_strings.coffee +0 -118
- data/packages/coffee-script/test/test_switch.coffee +0 -103
- data/packages/coffee-script/test/test_while.coffee +0 -71
- data/packages/ivory/LICENSE.txt +0 -1
- data/packages/ivory/README.md +0 -19
- data/packages/ivory/lib/buffer.js +0 -111
- data/packages/ivory/lib/events.js +0 -137
- data/packages/ivory/lib/fs.js +0 -266
- data/packages/ivory/lib/main.js +0 -13
- data/packages/ivory/lib/path.js +0 -158
- data/packages/ivory/lib/ruby/buffer.rb +0 -145
- data/packages/ivory/lib/ruby/constants.rb +0 -585
- data/packages/ivory/lib/ruby/events.rb +0 -32
- data/packages/ivory/lib/ruby/fs.rb +0 -245
- data/packages/ivory/lib/ruby/process.rb +0 -28
- data/packages/ivory/lib/stream.js +0 -115
- data/packages/ivory/lib/util.js +0 -414
- data/packages/ivory/package.json +0 -11
- data/packages/jquery/main.js +0 -7179
- data/packages/jquery/package.json +0 -10
- data/packages/json/lib/main.js +0 -14
- data/packages/json/package.json +0 -8
- data/packages/lproj/README.md +0 -77
- data/packages/lproj/examples/demo-app/en.lproj/localized.strings +0 -2
- data/packages/lproj/examples/demo-app/fr.lproj/localized.strings +0 -3
- data/packages/lproj/examples/demo-app/index.html +0 -8
- data/packages/lproj/examples/demo-app/lib/main.js +0 -7
- data/packages/lproj/examples/demo-app/package.json +0 -9
- data/packages/lproj/lib/main.js +0 -78
- data/packages/lproj/lib/strings-format.js +0 -6
- data/packages/lproj/package.json +0 -9
- data/packages/optparse/README.md +0 -161
- data/packages/optparse/TODO +0 -1
- data/packages/optparse/examples/browser-test.html +0 -75
- data/packages/optparse/examples/nodejs-test.js +0 -90
- data/packages/optparse/lib/optparse.js +0 -309
- data/packages/optparse/package.json +0 -13
- data/packages/optparse/seed.yml +0 -5
- data/packages/text/lib/main.js +0 -8
- data/packages/text/package.json +0 -9
- data/packages/web-file/README.md +0 -7
- data/packages/web-file/lib/errors.js +0 -32
- data/packages/web-file/lib/file-reader.js +0 -10
- data/packages/web-file/lib/file-system.js +0 -234
- data/packages/web-file/lib/file-writer.js +0 -10
- data/packages/web-file/lib/file.js +0 -9
- data/packages/web-file/lib/main.js +0 -34
- data/packages/web-file/lib/platform.js +0 -25
- data/packages/web-file/lib/ruby/file.rb +0 -252
- data/packages/web-file/lib/ruby/file_reader.rb +0 -69
- data/packages/web-file/lib/ruby/file_system.rb +0 -134
- data/packages/web-file/lib/ruby/file_writer.rb +0 -78
- data/packages/web-file/package.json +0 -12
- data/packages/web-typed-array/README.md +0 -7
- data/packages/web-typed-array/lib/array-buffer-view.js +0 -9
- data/packages/web-typed-array/lib/array-buffer.js +0 -7
- data/packages/web-typed-array/lib/main.js +0 -33
- data/packages/web-typed-array/lib/platform.js +0 -20
- data/packages/web-typed-array/lib/ruby/array_buffer.rb +0 -31
- data/packages/web-typed-array/lib/ruby/array_buffer_view.rb +0 -130
- data/packages/web-typed-array/lib/ruby/typed_array.rb +0 -133
- data/packages/web-typed-array/lib/typed-array.js +0 -26
- data/packages/web-typed-array/package.json +0 -9
- data/spec/cli/build_spec.rb +0 -59
- data/spec/cli/install_spec.rb +0 -120
- data/spec/cli/installed_spec.rb +0 -55
- data/spec/cli/list_spec.rb +0 -75
- data/spec/cli/login_spec.rb +0 -76
- data/spec/cli/new_spec.rb +0 -5
- data/spec/cli/owner_spec.rb +0 -115
- data/spec/cli/push_spec.rb +0 -74
- data/spec/cli/uninstall_spec.rb +0 -58
- data/spec/cli/unpack_spec.rb +0 -73
- data/spec/cli/unyank_spec.rb +0 -74
- data/spec/cli/update_spec.rb +0 -8
- data/spec/cli/yank_spec.rb +0 -74
- data/spec/credentials_spec.rb +0 -24
- data/spec/fixtures/coffee-1.0.1.pre.spd +0 -0
- data/spec/fixtures/core-test-0.4.3.spd +0 -0
- data/spec/fixtures/core-test/bin/cot +0 -3
- data/spec/fixtures/core-test/lib/main.js +0 -1
- data/spec/fixtures/core-test/resources/runner.css +0 -0
- data/spec/fixtures/core-test/tests/test.js +0 -1
- 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/package.json +0 -30
- data/spec/gauntlet_spec.rb +0 -27
- data/spec/javascript/async-test.js +0 -123
- data/spec/javascript/compiler/javascript.js +0 -13
- data/spec/javascript/compiler/ruby.js +0 -14
- data/spec/javascript/loader-test.js +0 -64
- data/spec/javascript/normalize-test.js +0 -73
- data/spec/javascript/packages-test.js +0 -44
- data/spec/javascript/relative-require-test.js +0 -72
- data/spec/javascript/require-test.js +0 -117
- data/spec/javascript/sandbox/compile.js +0 -37
- data/spec/javascript/sandbox/creation.js +0 -44
- data/spec/javascript/sandbox/format.js +0 -79
- data/spec/javascript/sandbox/misc.js +0 -57
- data/spec/javascript/sandbox/preprocessor.js +0 -81
- data/spec/javascript/sandbox/require.js +0 -48
- data/spec/javascript/sandbox/run-command.js +0 -21
- data/spec/javascript/spade/externs.js +0 -14
- data/spec/javascript/spade/load-factory.js +0 -15
- data/spec/javascript/spade/misc.js +0 -23
- data/spec/javascript/spade/ready.js +0 -12
- data/spec/javascript/spade/register.js +0 -13
- data/spec/javascript_spec.rb +0 -7
- data/spec/package_spec.rb +0 -267
- data/spec/spec_helper.rb +0 -30
- data/spec/support/cli.rb +0 -94
- data/spec/support/core_test.rb +0 -59
- data/spec/support/fake.rb +0 -44
- data/spec/support/fake_gem_server.rb +0 -66
- data/spec/support/fake_gemcutter.rb +0 -49
- data/spec/support/matchers.rb +0 -31
- data/spec/support/path.rb +0 -54
- data/test-spade.html +0 -8
data/.gitignore
CHANGED
data/.gitmodules
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
[submodule "packages/optparse"]
|
2
|
-
path = packages/optparse
|
1
|
+
[submodule "vendor/spade-packager/packages/optparse"]
|
2
|
+
path = vendor/spade-packager/packages/optparse
|
3
3
|
url = https://github.com/qrush/optparse-js.git
|
4
|
-
[submodule "packages/coffee-script"]
|
5
|
-
path = packages/coffee-script
|
4
|
+
[submodule "vendor/spade-packager/packages/coffee-script"]
|
5
|
+
path = vendor/spade-packager/packages/coffee-script
|
6
6
|
url = https://github.com/charlesjolley/coffee-script.git
|
data/README.md
CHANGED
@@ -8,6 +8,10 @@ command line.
|
|
8
8
|
|
9
9
|
# Setup
|
10
10
|
|
11
|
+
Please note that, as of now, Spade depends on your rubygem to be version 1.7.2.
|
12
|
+
You can install rubygems 1.7.2 with the following command:
|
13
|
+
gem update --system 1.7.2
|
14
|
+
|
11
15
|
The following commands will get you started on spade with an initial set of
|
12
16
|
packages:
|
13
17
|
|
data/bin/spade
CHANGED
data/lib/spade.rb
CHANGED
@@ -1,53 +1,2 @@
|
|
1
|
-
# ==========================================================================
|
2
|
-
# Project: Spade - CommonJS Runtime
|
3
|
-
# Copyright: ©2010 Strobe Inc. All rights reserved.
|
4
|
-
# License: Licened under MIT license (see LICENSE)
|
5
|
-
# ==========================================================================
|
6
|
-
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubygems/user_interaction'
|
9
|
-
require 'rubygems/uninstaller'
|
10
|
-
require 'rubygems/dependency_installer'
|
11
|
-
require 'rubygems/gemcutter_utilities'
|
12
|
-
require 'rubygems/validator'
|
13
|
-
require 'rubygems_plugin' # Gemcutter
|
14
|
-
|
15
|
-
require 'fileutils'
|
16
|
-
require 'net/http'
|
17
|
-
require 'net/https'
|
18
|
-
require 'uri'
|
19
|
-
require 'yaml'
|
20
|
-
|
21
|
-
require 'eventmachine'
|
22
|
-
require 'highline'
|
23
|
-
require 'thor'
|
24
|
-
require 'v8'
|
25
|
-
|
26
1
|
module Spade
|
27
|
-
SPADE_DIR = '.spade' # Would be nice to share this with node.js loader
|
28
|
-
|
29
|
-
# find the current path with a package.json or .packages or cur_path
|
30
|
-
def self.discover_root(cur_path)
|
31
|
-
ret = File.expand_path(cur_path)
|
32
|
-
while ret != '/' && ret != '.'
|
33
|
-
return ret if File.exists?(File.join(ret,'package.json')) || File.exists?(File.join(ret,'.spade'))
|
34
|
-
ret = File.dirname ret
|
35
|
-
end
|
36
|
-
|
37
|
-
return cur_path
|
38
|
-
end
|
39
2
|
end
|
40
|
-
|
41
|
-
require 'spade/bundle'
|
42
|
-
require 'spade/repository'
|
43
|
-
|
44
|
-
require 'spade/cli'
|
45
|
-
require 'spade/context'
|
46
|
-
require 'spade/credentials'
|
47
|
-
require 'spade/environment'
|
48
|
-
require 'spade/exports'
|
49
|
-
require 'spade/local'
|
50
|
-
require 'spade/package'
|
51
|
-
require 'spade/remote'
|
52
|
-
require 'spade/shell'
|
53
|
-
require 'spade/version'
|
data/lib/spade/cli.rb
CHANGED
@@ -4,12 +4,18 @@
|
|
4
4
|
# License: Licened under MIT license (see LICENSE)
|
5
5
|
# ==========================================================================
|
6
6
|
|
7
|
+
require 'thor'
|
8
|
+
require 'spade/packager'
|
9
|
+
require 'spade/runtime'
|
10
|
+
|
7
11
|
module Spade
|
8
12
|
module CLI
|
9
|
-
|
10
|
-
|
11
|
-
|
13
|
+
class Base < Thor
|
14
|
+
desc "package", "Manage packages"
|
15
|
+
subcommand "package", Spade::Packager::CLI::Base
|
12
16
|
|
13
|
-
|
17
|
+
desc "runtime", "Run Spade packages and applications"
|
18
|
+
subcommand "runtime", Spade::Runtime::CLI::Base
|
19
|
+
end
|
14
20
|
end
|
15
21
|
end
|
data/lib/spade/version.rb
CHANGED
data/spade.gemspec
CHANGED
@@ -13,29 +13,12 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = "http://github.com/strobecorp/spade"
|
14
14
|
s.summary = s.description = "Unified JavaScript runner for browser and command line"
|
15
15
|
|
16
|
-
s.
|
16
|
+
s.add_dependency 'spade-packager', "~> 0.1.0"
|
17
|
+
s.add_dependency 'spade-runtime', "~> 0.1.0"
|
17
18
|
|
18
|
-
|
19
|
-
mri = !mswin && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby")
|
19
|
+
s.add_development_dependency 'rspec'
|
20
20
|
|
21
|
-
s.
|
22
|
-
s.add_dependency "eventmachine", "~> 0.12.10"
|
23
|
-
s.add_dependency "highline", "~> 1.6.1"
|
24
|
-
s.add_dependency "json_pure", "~> 1.4.6"
|
25
|
-
s.add_dependency "rack", "~> 1.2.1"
|
26
|
-
s.add_dependency "thor", "~> 0.14.3"
|
27
|
-
s.add_dependency "childlabor", "~> 0.0.3"
|
28
|
-
s.add_dependency "therubyracer", "~> 0.8.0" if mri
|
29
|
-
|
30
|
-
s.add_development_dependency "rspec"
|
31
|
-
s.add_development_dependency "system_timer" if mri && RUBY_VERSION < "1.9"
|
32
|
-
|
33
|
-
paths = `git submodule`.split("\n").map do |line|
|
34
|
-
path = line.gsub(/^ \w+ ([^\s]+) .+$/,'\1')
|
35
|
-
`cd #{path}; git ls-files`.split("\n").map { |p| File.join(path, p) }
|
36
|
-
end
|
37
|
-
paths << `git ls-files`.split("\n")
|
38
|
-
s.files = paths.flatten
|
21
|
+
s.files = `git ls-files`.split("\n")
|
39
22
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
40
23
|
|
41
24
|
s.executables = ['spade']
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: spade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0
|
5
|
+
version: 0.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Charles Jolley
|
@@ -11,107 +11,41 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-06-13 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
17
|
+
name: spade-packager
|
18
18
|
prerelease: false
|
19
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.
|
24
|
+
version: 0.1.0
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: spade-runtime
|
29
29
|
prerelease: false
|
30
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.1.0
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: highline
|
40
|
-
prerelease: false
|
41
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
|
-
requirements:
|
44
|
-
- - ~>
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 1.6.1
|
47
|
-
type: :runtime
|
48
|
-
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: json_pure
|
51
|
-
prerelease: false
|
52
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: 1.4.6
|
58
|
-
type: :runtime
|
59
|
-
version_requirements: *id004
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: rack
|
62
|
-
prerelease: false
|
63
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.2.1
|
69
|
-
type: :runtime
|
70
|
-
version_requirements: *id005
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: thor
|
73
|
-
prerelease: false
|
74
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
|
-
requirements:
|
77
|
-
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 0.14.3
|
80
|
-
type: :runtime
|
81
|
-
version_requirements: *id006
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: childlabor
|
84
|
-
prerelease: false
|
85
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
|
-
requirements:
|
88
|
-
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 0.0.3
|
91
|
-
type: :runtime
|
92
|
-
version_requirements: *id007
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: therubyracer
|
95
|
-
prerelease: false
|
96
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ~>
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: 0.8.0
|
102
|
-
type: :runtime
|
103
|
-
version_requirements: *id008
|
104
38
|
- !ruby/object:Gem::Dependency
|
105
39
|
name: rspec
|
106
40
|
prerelease: false
|
107
|
-
requirement: &
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
108
42
|
none: false
|
109
43
|
requirements:
|
110
44
|
- - ">="
|
111
45
|
- !ruby/object:Gem::Version
|
112
46
|
version: "0"
|
113
47
|
type: :development
|
114
|
-
version_requirements: *
|
48
|
+
version_requirements: *id003
|
115
49
|
description: Unified JavaScript runner for browser and command line
|
116
50
|
email:
|
117
51
|
- charles@sproutcore.com
|
@@ -123,208 +57,10 @@ extensions: []
|
|
123
57
|
extra_rdoc_files: []
|
124
58
|
|
125
59
|
files:
|
126
|
-
- packages/coffee-script/.gitignore
|
127
|
-
- packages/coffee-script/.npmignore
|
128
|
-
- packages/coffee-script/Cakefile
|
129
|
-
- packages/coffee-script/LICENSE
|
130
|
-
- packages/coffee-script/README
|
131
|
-
- packages/coffee-script/Rakefile
|
132
|
-
- packages/coffee-script/bin/cake
|
133
|
-
- packages/coffee-script/bin/coffee
|
134
|
-
- packages/coffee-script/documentation/coffee/aliases.coffee
|
135
|
-
- packages/coffee-script/documentation/coffee/array_comprehensions.coffee
|
136
|
-
- packages/coffee-script/documentation/coffee/block_comment.coffee
|
137
|
-
- packages/coffee-script/documentation/coffee/cake_tasks.coffee
|
138
|
-
- packages/coffee-script/documentation/coffee/classes.coffee
|
139
|
-
- packages/coffee-script/documentation/coffee/comparisons.coffee
|
140
|
-
- packages/coffee-script/documentation/coffee/conditionals.coffee
|
141
|
-
- packages/coffee-script/documentation/coffee/default_args.coffee
|
142
|
-
- packages/coffee-script/documentation/coffee/do.coffee
|
143
|
-
- packages/coffee-script/documentation/coffee/embedded.coffee
|
144
|
-
- packages/coffee-script/documentation/coffee/existence.coffee
|
145
|
-
- packages/coffee-script/documentation/coffee/expressions.coffee
|
146
|
-
- packages/coffee-script/documentation/coffee/expressions_assignment.coffee
|
147
|
-
- packages/coffee-script/documentation/coffee/expressions_comprehension.coffee
|
148
|
-
- packages/coffee-script/documentation/coffee/expressions_try.coffee
|
149
|
-
- packages/coffee-script/documentation/coffee/fat_arrow.coffee
|
150
|
-
- packages/coffee-script/documentation/coffee/functions.coffee
|
151
|
-
- packages/coffee-script/documentation/coffee/heredocs.coffee
|
152
|
-
- packages/coffee-script/documentation/coffee/heregexes.coffee
|
153
|
-
- packages/coffee-script/documentation/coffee/interpolation.coffee
|
154
|
-
- packages/coffee-script/documentation/coffee/multiple_return_values.coffee
|
155
|
-
- packages/coffee-script/documentation/coffee/object_comprehensions.coffee
|
156
|
-
- packages/coffee-script/documentation/coffee/object_extraction.coffee
|
157
|
-
- packages/coffee-script/documentation/coffee/objects_and_arrays.coffee
|
158
|
-
- packages/coffee-script/documentation/coffee/objects_reserved.coffee
|
159
|
-
- packages/coffee-script/documentation/coffee/overview.coffee
|
160
|
-
- packages/coffee-script/documentation/coffee/parallel_assignment.coffee
|
161
|
-
- packages/coffee-script/documentation/coffee/patterns_and_splats.coffee
|
162
|
-
- packages/coffee-script/documentation/coffee/prototypes.coffee
|
163
|
-
- packages/coffee-script/documentation/coffee/range_comprehensions.coffee
|
164
|
-
- packages/coffee-script/documentation/coffee/scope.coffee
|
165
|
-
- packages/coffee-script/documentation/coffee/slices.coffee
|
166
|
-
- packages/coffee-script/documentation/coffee/soaks.coffee
|
167
|
-
- packages/coffee-script/documentation/coffee/splats.coffee
|
168
|
-
- packages/coffee-script/documentation/coffee/splices.coffee
|
169
|
-
- packages/coffee-script/documentation/coffee/strings.coffee
|
170
|
-
- packages/coffee-script/documentation/coffee/switch.coffee
|
171
|
-
- packages/coffee-script/documentation/coffee/try.coffee
|
172
|
-
- packages/coffee-script/documentation/coffee/while.coffee
|
173
|
-
- packages/coffee-script/documentation/css/docs.css
|
174
|
-
- packages/coffee-script/documentation/css/idle.css
|
175
|
-
- packages/coffee-script/documentation/docs/browser.html
|
176
|
-
- packages/coffee-script/documentation/docs/cake.html
|
177
|
-
- packages/coffee-script/documentation/docs/coffee-script.html
|
178
|
-
- packages/coffee-script/documentation/docs/command.html
|
179
|
-
- packages/coffee-script/documentation/docs/docco.css
|
180
|
-
- packages/coffee-script/documentation/docs/grammar.html
|
181
|
-
- packages/coffee-script/documentation/docs/helpers.html
|
182
|
-
- packages/coffee-script/documentation/docs/index.html
|
183
|
-
- packages/coffee-script/documentation/docs/lexer.html
|
184
|
-
- packages/coffee-script/documentation/docs/nodes.html
|
185
|
-
- packages/coffee-script/documentation/docs/optparse.html
|
186
|
-
- packages/coffee-script/documentation/docs/repl.html
|
187
|
-
- packages/coffee-script/documentation/docs/rewriter.html
|
188
|
-
- packages/coffee-script/documentation/docs/scope.html
|
189
|
-
- packages/coffee-script/documentation/docs/underscore.html
|
190
|
-
- packages/coffee-script/documentation/images/background.png
|
191
|
-
- packages/coffee-script/documentation/images/banding.png
|
192
|
-
- packages/coffee-script/documentation/images/button_bg.png
|
193
|
-
- packages/coffee-script/documentation/images/button_bg_dark.gif
|
194
|
-
- packages/coffee-script/documentation/images/button_bg_green.gif
|
195
|
-
- packages/coffee-script/documentation/images/favicon.ico
|
196
|
-
- packages/coffee-script/documentation/images/logo.png
|
197
|
-
- packages/coffee-script/documentation/images/screenshadow.png
|
198
|
-
- packages/coffee-script/documentation/index.html.erb
|
199
|
-
- packages/coffee-script/documentation/js/aliases.js
|
200
|
-
- packages/coffee-script/documentation/js/array_comprehensions.js
|
201
|
-
- packages/coffee-script/documentation/js/block_comment.js
|
202
|
-
- packages/coffee-script/documentation/js/cake_tasks.js
|
203
|
-
- packages/coffee-script/documentation/js/classes.js
|
204
|
-
- packages/coffee-script/documentation/js/comparisons.js
|
205
|
-
- packages/coffee-script/documentation/js/conditionals.js
|
206
|
-
- packages/coffee-script/documentation/js/default_args.js
|
207
|
-
- packages/coffee-script/documentation/js/do.js
|
208
|
-
- packages/coffee-script/documentation/js/embedded.js
|
209
|
-
- packages/coffee-script/documentation/js/existence.js
|
210
|
-
- packages/coffee-script/documentation/js/expressions.js
|
211
|
-
- packages/coffee-script/documentation/js/expressions_assignment.js
|
212
|
-
- packages/coffee-script/documentation/js/expressions_comprehension.js
|
213
|
-
- packages/coffee-script/documentation/js/expressions_try.js
|
214
|
-
- packages/coffee-script/documentation/js/fat_arrow.js
|
215
|
-
- packages/coffee-script/documentation/js/functions.js
|
216
|
-
- packages/coffee-script/documentation/js/heredocs.js
|
217
|
-
- packages/coffee-script/documentation/js/heregexes.js
|
218
|
-
- packages/coffee-script/documentation/js/interpolation.js
|
219
|
-
- packages/coffee-script/documentation/js/multiple_return_values.js
|
220
|
-
- packages/coffee-script/documentation/js/object_comprehensions.js
|
221
|
-
- packages/coffee-script/documentation/js/object_extraction.js
|
222
|
-
- packages/coffee-script/documentation/js/objects_and_arrays.js
|
223
|
-
- packages/coffee-script/documentation/js/objects_reserved.js
|
224
|
-
- packages/coffee-script/documentation/js/overview.js
|
225
|
-
- packages/coffee-script/documentation/js/parallel_assignment.js
|
226
|
-
- packages/coffee-script/documentation/js/patterns_and_splats.js
|
227
|
-
- packages/coffee-script/documentation/js/prototypes.js
|
228
|
-
- packages/coffee-script/documentation/js/range_comprehensions.js
|
229
|
-
- packages/coffee-script/documentation/js/scope.js
|
230
|
-
- packages/coffee-script/documentation/js/slices.js
|
231
|
-
- packages/coffee-script/documentation/js/soaks.js
|
232
|
-
- packages/coffee-script/documentation/js/splats.js
|
233
|
-
- packages/coffee-script/documentation/js/splices.js
|
234
|
-
- packages/coffee-script/documentation/js/strings.js
|
235
|
-
- packages/coffee-script/documentation/js/switch.js
|
236
|
-
- packages/coffee-script/documentation/js/try.js
|
237
|
-
- packages/coffee-script/documentation/js/while.js
|
238
|
-
- packages/coffee-script/documentation/vendor/jquery-1.4.2.js
|
239
|
-
- packages/coffee-script/examples/beautiful_code/binary_search.coffee
|
240
|
-
- packages/coffee-script/examples/beautiful_code/quicksort_runtime.coffee
|
241
|
-
- packages/coffee-script/examples/beautiful_code/regular_expression_matcher.coffee
|
242
|
-
- packages/coffee-script/examples/blocks.coffee
|
243
|
-
- packages/coffee-script/examples/code.coffee
|
244
|
-
- packages/coffee-script/examples/computer_science/README
|
245
|
-
- packages/coffee-script/examples/computer_science/binary_search.coffee
|
246
|
-
- packages/coffee-script/examples/computer_science/bubble_sort.coffee
|
247
|
-
- packages/coffee-script/examples/computer_science/linked_list.coffee
|
248
|
-
- packages/coffee-script/examples/computer_science/luhn_algorithm.coffee
|
249
|
-
- packages/coffee-script/examples/computer_science/merge_sort.coffee
|
250
|
-
- packages/coffee-script/examples/computer_science/selection_sort.coffee
|
251
|
-
- packages/coffee-script/examples/poignant.coffee
|
252
|
-
- packages/coffee-script/examples/potion.coffee
|
253
|
-
- packages/coffee-script/examples/underscore.coffee
|
254
|
-
- packages/coffee-script/examples/web_server.coffee
|
255
|
-
- packages/coffee-script/extras/EXTRAS
|
256
|
-
- packages/coffee-script/extras/coffee-script.js
|
257
|
-
- packages/coffee-script/extras/jsl.conf
|
258
|
-
- packages/coffee-script/index.html
|
259
|
-
- packages/coffee-script/lib/browser.js
|
260
|
-
- packages/coffee-script/lib/cake.js
|
261
|
-
- packages/coffee-script/lib/coffee-script.js
|
262
|
-
- packages/coffee-script/lib/command.js
|
263
|
-
- packages/coffee-script/lib/grammar.js
|
264
|
-
- packages/coffee-script/lib/helpers.js
|
265
|
-
- packages/coffee-script/lib/index.js
|
266
|
-
- packages/coffee-script/lib/lexer.js
|
267
|
-
- packages/coffee-script/lib/nodes.js
|
268
|
-
- packages/coffee-script/lib/optparse.js
|
269
|
-
- packages/coffee-script/lib/parser.js
|
270
|
-
- packages/coffee-script/lib/repl.js
|
271
|
-
- packages/coffee-script/lib/rewriter.js
|
272
|
-
- packages/coffee-script/lib/scope.js
|
273
|
-
- packages/coffee-script/lib/spade-format.js
|
274
|
-
- packages/coffee-script/package.json
|
275
|
-
- packages/coffee-script/src/browser.coffee
|
276
|
-
- packages/coffee-script/src/cake.coffee
|
277
|
-
- packages/coffee-script/src/coffee-script.coffee
|
278
|
-
- packages/coffee-script/src/command.coffee
|
279
|
-
- packages/coffee-script/src/grammar.coffee
|
280
|
-
- packages/coffee-script/src/helpers.coffee
|
281
|
-
- packages/coffee-script/src/index.coffee
|
282
|
-
- packages/coffee-script/src/lexer.coffee
|
283
|
-
- packages/coffee-script/src/nodes.coffee
|
284
|
-
- packages/coffee-script/src/optparse.coffee
|
285
|
-
- packages/coffee-script/src/repl.coffee
|
286
|
-
- packages/coffee-script/src/rewriter.coffee
|
287
|
-
- packages/coffee-script/src/scope.coffee
|
288
|
-
- packages/coffee-script/test/arguments.coffee
|
289
|
-
- packages/coffee-script/test/assignment.coffee
|
290
|
-
- packages/coffee-script/test/break.coffee
|
291
|
-
- packages/coffee-script/test/comments.coffee
|
292
|
-
- packages/coffee-script/test/conditionals.coffee
|
293
|
-
- packages/coffee-script/test/exception_handling.coffee
|
294
|
-
- packages/coffee-script/test/helpers.coffee
|
295
|
-
- packages/coffee-script/test/importing.coffee
|
296
|
-
- packages/coffee-script/test/operators.coffee
|
297
|
-
- packages/coffee-script/test/ranges_slices_and_splices.coffee
|
298
|
-
- packages/coffee-script/test/regular_expressions.coffee
|
299
|
-
- packages/coffee-script/test/test.html
|
300
|
-
- packages/coffee-script/test/test_chaining.coffee
|
301
|
-
- packages/coffee-script/test/test_classes.coffee
|
302
|
-
- packages/coffee-script/test/test_compilation.coffee
|
303
|
-
- packages/coffee-script/test/test_comprehensions.coffee
|
304
|
-
- packages/coffee-script/test/test_existence.coffee
|
305
|
-
- packages/coffee-script/test/test_functions.coffee
|
306
|
-
- packages/coffee-script/test/test_heredocs.coffee
|
307
|
-
- packages/coffee-script/test/test_literals.coffee
|
308
|
-
- packages/coffee-script/test/test_option_parser.coffee
|
309
|
-
- packages/coffee-script/test/test_pattern_matching.coffee
|
310
|
-
- packages/coffee-script/test/test_returns.coffee
|
311
|
-
- packages/coffee-script/test/test_splats.coffee
|
312
|
-
- packages/coffee-script/test/test_strings.coffee
|
313
|
-
- packages/coffee-script/test/test_switch.coffee
|
314
|
-
- packages/coffee-script/test/test_while.coffee
|
315
|
-
- packages/optparse/README.md
|
316
|
-
- packages/optparse/TODO
|
317
|
-
- packages/optparse/examples/browser-test.html
|
318
|
-
- packages/optparse/examples/nodejs-test.js
|
319
|
-
- packages/optparse/lib/optparse.js
|
320
|
-
- packages/optparse/package.json
|
321
|
-
- packages/optparse/seed.yml
|
322
60
|
- .gitignore
|
323
61
|
- .gitmodules
|
324
62
|
- .rspec
|
325
63
|
- Buildfile
|
326
|
-
- Gemfile
|
327
|
-
- Gemfile.lock
|
328
64
|
- README.md
|
329
65
|
- Rakefile
|
330
66
|
- bin/spade
|
@@ -353,155 +89,10 @@ files:
|
|
353
89
|
- examples/web-app/tests.html
|
354
90
|
- examples/web-app/tests/ct-example-test.js
|
355
91
|
- examples/web-app/tests/qunit-test.js
|
356
|
-
- lib/index.js
|
357
|
-
- lib/node/loader.js
|
358
|
-
- lib/node/sandbox.js
|
359
|
-
- lib/spade.js
|
360
92
|
- lib/spade.rb
|
361
|
-
- lib/spade/bundle.rb
|
362
93
|
- lib/spade/cli.rb
|
363
|
-
- lib/spade/cli/base.rb
|
364
|
-
- lib/spade/cli/owner.rb
|
365
|
-
- lib/spade/cli/project_generator.rb
|
366
|
-
- lib/spade/compiler.rb
|
367
|
-
- lib/spade/console.rb
|
368
|
-
- lib/spade/context.rb
|
369
|
-
- lib/spade/credentials.rb
|
370
|
-
- lib/spade/dependency_installer.rb
|
371
|
-
- lib/spade/environment.rb
|
372
|
-
- lib/spade/exports.rb
|
373
|
-
- lib/spade/installer.rb
|
374
|
-
- lib/spade/loader.rb
|
375
|
-
- lib/spade/local.rb
|
376
|
-
- lib/spade/package.rb
|
377
|
-
- lib/spade/reactor.rb
|
378
|
-
- lib/spade/remote.rb
|
379
|
-
- lib/spade/repository.rb
|
380
|
-
- lib/spade/server.rb
|
381
|
-
- lib/spade/shell.rb
|
382
|
-
- lib/spade/templates/project/LICENSE
|
383
|
-
- lib/spade/templates/project/README.md
|
384
|
-
- lib/spade/templates/project/lib/main.js
|
385
|
-
- lib/spade/templates/project/project.json
|
386
|
-
- lib/spade/templates/project/tests/main-test.js
|
387
94
|
- lib/spade/version.rb
|
388
|
-
- package.json
|
389
|
-
- packages/ivory/LICENSE.txt
|
390
|
-
- packages/ivory/README.md
|
391
|
-
- packages/ivory/lib/buffer.js
|
392
|
-
- packages/ivory/lib/events.js
|
393
|
-
- packages/ivory/lib/fs.js
|
394
|
-
- packages/ivory/lib/main.js
|
395
|
-
- packages/ivory/lib/path.js
|
396
|
-
- packages/ivory/lib/ruby/buffer.rb
|
397
|
-
- packages/ivory/lib/ruby/constants.rb
|
398
|
-
- packages/ivory/lib/ruby/events.rb
|
399
|
-
- packages/ivory/lib/ruby/fs.rb
|
400
|
-
- packages/ivory/lib/ruby/process.rb
|
401
|
-
- packages/ivory/lib/stream.js
|
402
|
-
- packages/ivory/lib/util.js
|
403
|
-
- packages/ivory/package.json
|
404
|
-
- packages/jquery/main.js
|
405
|
-
- packages/jquery/package.json
|
406
|
-
- packages/json/lib/main.js
|
407
|
-
- packages/json/package.json
|
408
|
-
- packages/lproj/README.md
|
409
|
-
- packages/lproj/examples/demo-app/en.lproj/localized.strings
|
410
|
-
- packages/lproj/examples/demo-app/fr.lproj/localized.strings
|
411
|
-
- packages/lproj/examples/demo-app/index.html
|
412
|
-
- packages/lproj/examples/demo-app/lib/main.js
|
413
|
-
- packages/lproj/examples/demo-app/package.json
|
414
|
-
- packages/lproj/lib/main.js
|
415
|
-
- packages/lproj/lib/strings-format.js
|
416
|
-
- packages/lproj/package.json
|
417
|
-
- packages/text/lib/main.js
|
418
|
-
- packages/text/package.json
|
419
|
-
- packages/web-file/README.md
|
420
|
-
- packages/web-file/lib/errors.js
|
421
|
-
- packages/web-file/lib/file-reader.js
|
422
|
-
- packages/web-file/lib/file-system.js
|
423
|
-
- packages/web-file/lib/file-writer.js
|
424
|
-
- packages/web-file/lib/file.js
|
425
|
-
- packages/web-file/lib/main.js
|
426
|
-
- packages/web-file/lib/platform.js
|
427
|
-
- packages/web-file/lib/ruby/file.rb
|
428
|
-
- packages/web-file/lib/ruby/file_reader.rb
|
429
|
-
- packages/web-file/lib/ruby/file_system.rb
|
430
|
-
- packages/web-file/lib/ruby/file_writer.rb
|
431
|
-
- packages/web-file/package.json
|
432
|
-
- packages/web-typed-array/README.md
|
433
|
-
- packages/web-typed-array/lib/array-buffer-view.js
|
434
|
-
- packages/web-typed-array/lib/array-buffer.js
|
435
|
-
- packages/web-typed-array/lib/main.js
|
436
|
-
- packages/web-typed-array/lib/platform.js
|
437
|
-
- packages/web-typed-array/lib/ruby/array_buffer.rb
|
438
|
-
- packages/web-typed-array/lib/ruby/array_buffer_view.rb
|
439
|
-
- packages/web-typed-array/lib/ruby/typed_array.rb
|
440
|
-
- packages/web-typed-array/lib/typed-array.js
|
441
|
-
- packages/web-typed-array/package.json
|
442
95
|
- spade.gemspec
|
443
|
-
- spec/cli/build_spec.rb
|
444
|
-
- spec/cli/install_spec.rb
|
445
|
-
- spec/cli/installed_spec.rb
|
446
|
-
- spec/cli/list_spec.rb
|
447
|
-
- spec/cli/login_spec.rb
|
448
|
-
- spec/cli/new_spec.rb
|
449
|
-
- spec/cli/owner_spec.rb
|
450
|
-
- spec/cli/push_spec.rb
|
451
|
-
- spec/cli/uninstall_spec.rb
|
452
|
-
- spec/cli/unpack_spec.rb
|
453
|
-
- spec/cli/unyank_spec.rb
|
454
|
-
- spec/cli/update_spec.rb
|
455
|
-
- spec/cli/yank_spec.rb
|
456
|
-
- spec/credentials_spec.rb
|
457
|
-
- spec/fixtures/badrake-0.8.7.gem
|
458
|
-
- spec/fixtures/builder-3.0.0.gem
|
459
|
-
- spec/fixtures/bundler-1.1.pre.gem
|
460
|
-
- spec/fixtures/coffee-1.0.1.pre.spd
|
461
|
-
- spec/fixtures/core-test-0.4.3.spd
|
462
|
-
- spec/fixtures/core-test/bin/cot
|
463
|
-
- spec/fixtures/core-test/lib/main.js
|
464
|
-
- spec/fixtures/core-test/resources/runner.css
|
465
|
-
- spec/fixtures/core-test/tests/test.js
|
466
|
-
- spec/fixtures/highline-1.6.1.gem
|
467
|
-
- spec/fixtures/ivory-0.0.1.spd
|
468
|
-
- spec/fixtures/jquery-1.4.3.spd
|
469
|
-
- spec/fixtures/optparse-1.0.1.spd
|
470
|
-
- spec/fixtures/package.json
|
471
|
-
- spec/fixtures/rake-0.8.6.gem
|
472
|
-
- spec/fixtures/rake-0.8.7.gem
|
473
|
-
- spec/gauntlet_spec.rb
|
474
|
-
- spec/javascript/async-test.js
|
475
|
-
- spec/javascript/compiler/javascript.js
|
476
|
-
- spec/javascript/compiler/ruby.js
|
477
|
-
- spec/javascript/loader-test.js
|
478
|
-
- spec/javascript/normalize-test.js
|
479
|
-
- spec/javascript/packages-test.js
|
480
|
-
- spec/javascript/relative-require-test.js
|
481
|
-
- spec/javascript/require-test.js
|
482
|
-
- spec/javascript/sandbox/compile.js
|
483
|
-
- spec/javascript/sandbox/creation.js
|
484
|
-
- spec/javascript/sandbox/format.js
|
485
|
-
- spec/javascript/sandbox/misc.js
|
486
|
-
- spec/javascript/sandbox/preprocessor.js
|
487
|
-
- spec/javascript/sandbox/require.js
|
488
|
-
- spec/javascript/sandbox/run-command.js
|
489
|
-
- spec/javascript/spade/externs.js
|
490
|
-
- spec/javascript/spade/load-factory.js
|
491
|
-
- spec/javascript/spade/misc.js
|
492
|
-
- spec/javascript/spade/ready.js
|
493
|
-
- spec/javascript/spade/register.js
|
494
|
-
- spec/javascript_spec.rb
|
495
|
-
- spec/package_spec.rb
|
496
|
-
- spec/spec_helper.rb
|
497
|
-
- spec/support/cli.rb
|
498
|
-
- spec/support/core_test.rb
|
499
|
-
- spec/support/fake.rb
|
500
|
-
- spec/support/fake_gem_server.rb
|
501
|
-
- spec/support/fake_gemcutter.rb
|
502
|
-
- spec/support/matchers.rb
|
503
|
-
- spec/support/path.rb
|
504
|
-
- test-spade.html
|
505
96
|
homepage: http://github.com/strobecorp/spade
|
506
97
|
licenses: []
|
507
98
|
|
@@ -519,75 +110,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
519
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
520
111
|
none: false
|
521
112
|
requirements:
|
522
|
-
- -
|
113
|
+
- - ">="
|
523
114
|
- !ruby/object:Gem::Version
|
524
|
-
version:
|
115
|
+
version: "0"
|
525
116
|
requirements: []
|
526
117
|
|
527
118
|
rubyforge_project:
|
528
|
-
rubygems_version: 1.
|
119
|
+
rubygems_version: 1.8.5
|
529
120
|
signing_key:
|
530
121
|
specification_version: 3
|
531
122
|
summary: Unified JavaScript runner for browser and command line
|
532
|
-
test_files:
|
533
|
-
|
534
|
-
- spec/cli/install_spec.rb
|
535
|
-
- spec/cli/installed_spec.rb
|
536
|
-
- spec/cli/list_spec.rb
|
537
|
-
- spec/cli/login_spec.rb
|
538
|
-
- spec/cli/new_spec.rb
|
539
|
-
- spec/cli/owner_spec.rb
|
540
|
-
- spec/cli/push_spec.rb
|
541
|
-
- spec/cli/uninstall_spec.rb
|
542
|
-
- spec/cli/unpack_spec.rb
|
543
|
-
- spec/cli/unyank_spec.rb
|
544
|
-
- spec/cli/update_spec.rb
|
545
|
-
- spec/cli/yank_spec.rb
|
546
|
-
- spec/credentials_spec.rb
|
547
|
-
- spec/fixtures/badrake-0.8.7.gem
|
548
|
-
- spec/fixtures/builder-3.0.0.gem
|
549
|
-
- spec/fixtures/bundler-1.1.pre.gem
|
550
|
-
- spec/fixtures/coffee-1.0.1.pre.spd
|
551
|
-
- spec/fixtures/core-test-0.4.3.spd
|
552
|
-
- spec/fixtures/core-test/bin/cot
|
553
|
-
- spec/fixtures/core-test/lib/main.js
|
554
|
-
- spec/fixtures/core-test/resources/runner.css
|
555
|
-
- spec/fixtures/core-test/tests/test.js
|
556
|
-
- spec/fixtures/highline-1.6.1.gem
|
557
|
-
- spec/fixtures/ivory-0.0.1.spd
|
558
|
-
- spec/fixtures/jquery-1.4.3.spd
|
559
|
-
- spec/fixtures/optparse-1.0.1.spd
|
560
|
-
- spec/fixtures/package.json
|
561
|
-
- spec/fixtures/rake-0.8.6.gem
|
562
|
-
- spec/fixtures/rake-0.8.7.gem
|
563
|
-
- spec/gauntlet_spec.rb
|
564
|
-
- spec/javascript/async-test.js
|
565
|
-
- spec/javascript/compiler/javascript.js
|
566
|
-
- spec/javascript/compiler/ruby.js
|
567
|
-
- spec/javascript/loader-test.js
|
568
|
-
- spec/javascript/normalize-test.js
|
569
|
-
- spec/javascript/packages-test.js
|
570
|
-
- spec/javascript/relative-require-test.js
|
571
|
-
- spec/javascript/require-test.js
|
572
|
-
- spec/javascript/sandbox/compile.js
|
573
|
-
- spec/javascript/sandbox/creation.js
|
574
|
-
- spec/javascript/sandbox/format.js
|
575
|
-
- spec/javascript/sandbox/misc.js
|
576
|
-
- spec/javascript/sandbox/preprocessor.js
|
577
|
-
- spec/javascript/sandbox/require.js
|
578
|
-
- spec/javascript/sandbox/run-command.js
|
579
|
-
- spec/javascript/spade/externs.js
|
580
|
-
- spec/javascript/spade/load-factory.js
|
581
|
-
- spec/javascript/spade/misc.js
|
582
|
-
- spec/javascript/spade/ready.js
|
583
|
-
- spec/javascript/spade/register.js
|
584
|
-
- spec/javascript_spec.rb
|
585
|
-
- spec/package_spec.rb
|
586
|
-
- spec/spec_helper.rb
|
587
|
-
- spec/support/cli.rb
|
588
|
-
- spec/support/core_test.rb
|
589
|
-
- spec/support/fake.rb
|
590
|
-
- spec/support/fake_gem_server.rb
|
591
|
-
- spec/support/fake_gemcutter.rb
|
592
|
-
- spec/support/matchers.rb
|
593
|
-
- spec/support/path.rb
|
123
|
+
test_files: []
|
124
|
+
|