Skip to content
This repository
Browse code

Vendor ruby dependencies to ease build process for those uncomfortabl…

…e with installing gems.

Update and simplify build steps.
  • Loading branch information...
commit 22df75f1c6b95ec4c4b2e68b16d308a443cf6bf6 1 parent 572dad4
tomhuda authored

Showing 236 changed files with 20,736 additions and 29 deletions. Show diff stats Hide diff stats

  1. +1 0  .gitignore
  2. +1 7 Gemfile
  3. +12 5 README.md
  4. +26 17 Rakefile
  5. +6 0 vendor/bundler/setup.rb
  6. +19 0 vendor/ruby/1.9.1/bin/rake
  7. +1 0  vendor/ruby/1.9.1/bundler/gems/abbot-from-scratch-754164ff560e
  8. +1 0  vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/HEAD
  9. +7 0 vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/config
  10. +1 0  vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/description
  11. +15 0 ...1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/applypatch-msg.sample
  12. +24 0 ...1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/commit-msg.sample
  13. +8 0 ....9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/post-commit.sample
  14. +15 0 ...9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/post-receive.sample
  15. +8 0 ....9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/post-update.sample
  16. +14 0 ...1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/pre-applypatch.sample
  17. +46 0 ...1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/pre-commit.sample
  18. +169 0 ...1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/pre-rebase.sample
  19. +36 0 ...che/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/prepare-commit-msg.sample
  20. +128 0 ...uby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/update.sample
  21. +6 0 vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/info/exclude
  22. BIN  ...tch-a58a1a082ef9c607ccb0938f161fe212895a4a59/objects/pack/pack-82f2e7b2597f4176734e27f33569b95ac546cf10.idx
  23. BIN  ...ch-a58a1a082ef9c607ccb0938f161fe212895a4a59/objects/pack/pack-82f2e7b2597f4176734e27f33569b95ac546cf10.pack
  24. +2 0  vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/packed-refs
  25. BIN  vendor/ruby/1.9.1/cache/execjs-1.2.0.gem
  26. BIN  vendor/ruby/1.9.1/cache/multi_json-1.0.3.gem
  27. BIN  vendor/ruby/1.9.1/cache/rake-0.9.2.gem
  28. BIN  vendor/ruby/1.9.1/cache/uglifier-1.0.0.gem
  29. +21 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/LICENSE
  30. +47 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/README.md
  31. +6 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs.rb
  32. +160 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/external_runtime.rb
  33. +112 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/johnson_runtime.rb
  34. +38 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/module.rb
  35. +78 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/mustang_runtime.rb
  36. +117 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/ruby_racer_runtime.rb
  37. +94 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/ruby_rhino_runtime.rb
  38. +89 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/runtimes.rb
  39. +19 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/support/basic_runner.js
  40. +21 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/support/jscript_runner.js
  41. +481 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/support/json2.js
  42. +20 0 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/support/node_runner.js
  43. +2 0  vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/support/which.bat
  44. +3 0  vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/version.rb
  45. +5 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/.document
  46. 0  vendor/ruby/1.9.1/gems/multi_json-1.0.3/.gemtest
  47. +34 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/.gitignore
  48. +3 0  vendor/ruby/1.9.1/gems/multi_json-1.0.3/.rspec
  49. +9 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/.travis.yml
  50. +7 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/Gemfile
  51. +20 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/LICENSE.md
  52. +70 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/README.md
  53. +23 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/Rakefile
  54. +74 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json.rb
  55. +21 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json/engines/json_gem.rb
  56. +21 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json/engines/json_pure.rb
  57. +48 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json/engines/ok_json.rb
  58. +18 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json/engines/yajl.rb
  59. +581 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json/vendor/ok_json.rb
  60. +3 0  vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib/multi_json/version.rb
  61. +23 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/multi_json.gemspec
  62. +11 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/spec/helper.rb
  63. +134 0 vendor/ruby/1.9.1/gems/multi_json-1.0.3/spec/multi_json_spec.rb
  64. 0  vendor/ruby/1.9.1/gems/rake-0.9.2/.gemtest
  65. +509 0 vendor/ruby/1.9.1/gems/rake-0.9.2/CHANGES
  66. +21 0 vendor/ruby/1.9.1/gems/rake-0.9.2/MIT-LICENSE
  67. +200 0 vendor/ruby/1.9.1/gems/rake-0.9.2/README.rdoc
  68. +9 0 vendor/ruby/1.9.1/gems/rake-0.9.2/RRR
  69. +405 0 vendor/ruby/1.9.1/gems/rake-0.9.2/Rakefile
  70. +20 0 vendor/ruby/1.9.1/gems/rake-0.9.2/TODO
  71. +32 0 vendor/ruby/1.9.1/gems/rake-0.9.2/bin/rake
  72. +114 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/command_line_usage.rdoc
  73. +38 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/example/Rakefile1
  74. +35 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/example/Rakefile2
  75. +6 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/example/a.c
  76. +6 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/example/b.c
  77. +11 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/example/main.c
  78. +51 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/glossary.rdoc
  79. +591 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/jamis.rb
  80. +127 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/proto_rake.rdoc
  81. BIN  vendor/ruby/1.9.1/gems/rake-0.9.2/doc/rake.1.gz
  82. +557 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/rakefile.rdoc
  83. +151 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/rational.rdoc
  84. +23 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.4.14.rdoc
  85. +35 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.4.15.rdoc
  86. +53 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.5.0.rdoc
  87. +78 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.5.3.rdoc
  88. +46 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.5.4.rdoc
  89. +141 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.6.0.rdoc
  90. +119 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.7.0.rdoc
  91. +59 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.7.1.rdoc
  92. +121 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.7.2.rdoc
  93. +47 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.7.3.rdoc
  94. +114 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.0.rdoc
  95. +165 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.2.rdoc
  96. +112 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.3.rdoc
  97. +147 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.4.rdoc
  98. +53 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.5.rdoc
  99. +55 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.6.rdoc
  100. +55 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.8.7.rdoc
  101. +112 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.9.0.rdoc
  102. +52 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.9.1.rdoc
  103. +49 0 vendor/ruby/1.9.1/gems/rake-0.9.2/doc/release_notes/rake-0.9.2.rdoc
  104. +90 0 vendor/ruby/1.9.1/gems/rake-0.9.2/install.rb
  105. +65 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake.rb
  106. +109 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/alt_system.rb
  107. +589 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb
  108. +9 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/classic_namespace.rb
  109. +31 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/clean.rb
  110. +25 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/cloneable.rb
  111. +21 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/contrib/compositepublisher.rb
  112. +150 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/contrib/ftptools.rb
  113. +69 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/contrib/publisher.rb
  114. +16 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/contrib/rubyforgepublisher.rb
  115. +45 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/contrib/sshpublisher.rb
  116. +191 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/contrib/sys.rb
  117. +10 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/default_loader.rb
  118. +167 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/dsl_definition.rb
  119. +18 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/early_time.rb
  120. +27 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/ext/core.rb
  121. +39 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/ext/module.rb
  122. +167 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/ext/string.rb
  123. +14 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/ext/time.rb
  124. +24 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_creation_task.rb
  125. +403 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_list.rb
  126. +47 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_task.rb
  127. +112 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb
  128. +142 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils_ext.rb
  129. +13 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/gempackagetask.rb
  130. +51 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/invocation_chain.rb
  131. +16 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/invocation_exception_mixin.rb
  132. +40 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/loaders/makefile.rb
  133. +16 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/multi_task.rb
  134. +25 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/name_space.rb
  135. +185 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/packagetask.rb
  136. +1 0  vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pathmap.rb
  137. +24 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
  138. +29 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
  139. +13 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader.rb
  140. +230 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rdoctask.rb
  141. +25 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/ruby182_test_unit_fix.rb
  142. +20 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rule_recursion_overflow_error.rb
  143. +21 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/runtest.rb
  144. +327 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb
  145. +7 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task_argument_error.rb
  146. +74 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task_arguments.rb
  147. +307 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task_manager.rb
  148. +22 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb
  149. +191 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/testtask.rb
  150. +10 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/version.rb
  151. +55 0 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/win32.rb
  152. +5 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/check_expansion.rb
  153. +5 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/check_no_expansion.rb
  154. +35 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/access/Rakefile
  155. +15 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/chains/Rakefile
  156. +18 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/comments/Rakefile
  157. +17 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/default/Rakefile
  158. +1 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/deprecated_import/Rakefile
  159. +22 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/dryrun/Rakefile
  160. +1 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/extra/Rakefile
  161. +31 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/file_creation_task/Rakefile
  162. +19 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/imports/Rakefile
  163. +1 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/imports/deps.mf
  164. +15 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/multidesc/Rakefile
  165. +64 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/namespace/Rakefile
  166. +4 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/rakelib/test1.rb
  167. +3 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/rbext/rakefile.rb
  168. +14 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/sample.mf
  169. +6 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/statusreturn/Rakefile
  170. +1 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/unittest/Rakefile
  171. +34 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/data/verbose/Rakefile
  172. +34 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/file_creation.rb
  173. +44 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/helper.rb
  174. +35 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/in_environment.rb
  175. +3 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/reqfile.rb
  176. +3 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/reqfile2.rb
  177. +3 0  vendor/ruby/1.9.1/gems/rake-0.9.2/test/shellcommand.rb
  178. +38 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake.rb
  179. +364 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_application.rb
  180. +382 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_application_options.rb
  181. +12 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_clean.rb
  182. +80 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_definitions.rb
  183. +55 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_directory_task.rb
  184. +73 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_dsl.rb
  185. +31 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_early_time.rb
  186. +59 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_extension.rb
  187. +62 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_file_creation_task.rb
  188. +633 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_file_list.rb
  189. +8 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_file_list_path_map.rb
  190. +104 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_file_task.rb
  191. +252 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_file_utils.rb
  192. +59 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_ftp_file.rb
  193. +468 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_functional.rb
  194. +52 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_invocation_chain.rb
  195. +23 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_makefile_loader.rb
  196. +51 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_multi_task.rb
  197. +43 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_name_space.rb
  198. +78 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_package_task.rb
  199. +157 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_path_map.rb
  200. +31 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_path_map_explode.rb
  201. +18 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_path_map_partial.rb
  202. +20 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_pseudo_status.rb
  203. +81 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_rdoc_task.rb
  204. +35 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_require.rb
  205. +346 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_rules.rb
  206. +271 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task.rb
  207. +116 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task_argument_parsing.rb
  208. +86 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task_arguments.rb
  209. +9 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task_lib.rb
  210. +145 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task_manager.rb
  211. +36 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task_manager_argument_resolution.rb
  212. +162 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_task_with_arguments.rb
  213. +122 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_test_task.rb
  214. +76 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_top_level_functions.rb
  215. +83 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_rake_win32.rb
  216. +20 0 vendor/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
  217. +5 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/.document
  218. +3 0  vendor/ruby/1.9.1/gems/uglifier-1.0.0/.gitmodules
  219. +1 0  vendor/ruby/1.9.1/gems/uglifier-1.0.0/.rspec
  220. +5 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/.travis.yml
  221. +25 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/Gemfile
  222. +20 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/LICENSE.txt
  223. +65 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/README.rdoc
  224. +44 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/Rakefile
  225. +1 0  vendor/ruby/1.9.1/gems/uglifier-1.0.0/VERSION
  226. +23 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/build.js
  227. +78 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/lib/es5.js
  228. +121 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/lib/uglifier.rb
  229. +3,064 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/lib/uglify.js
  230. +11 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/spec/spec_helper.rb
  231. +99 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/spec/uglifier_spec.rb
  232. +68 0 vendor/ruby/1.9.1/gems/uglifier-1.0.0/uglifier.gemspec
  233. +44 0 vendor/ruby/1.9.1/specifications/execjs-1.2.0.gemspec
  234. +40 0 vendor/ruby/1.9.1/specifications/multi_json-1.0.3.gemspec
  235. +41 0 vendor/ruby/1.9.1/specifications/rake-0.9.2.gemspec
  236. +44 0 vendor/ruby/1.9.1/specifications/uglifier-1.0.0.gemspec
1  .gitignore
@@ -9,4 +9,5 @@ lib/*/tests/all.js
9 9 lib/*/tests/qunit*
10 10 test_*.html
11 11 tmp
  12 +dist
12 13 .DS_Store
8 Gemfile
@@ -2,13 +2,7 @@
2 2 source "http://rubygems.org"
3 3
4 4 gem "rake"
5   -gem "bpm"
6   -gem "spade"
7 5 gem "uglifier"
8 6
9   -if abbot_path = ENV["ABBOT_PATH"]
10   - gem "sproutcore", :path => abbot_path
11   -else
12   - gem "sproutcore", :git => "git://github.com/wycats/abbot-from-scratch.git"
13   -end
  7 +gem "sproutcore", :git => "git://github.com/wycats/abbot-from-scratch.git"
14 8
17 README.md
Source Rendered
@@ -85,6 +85,18 @@ We also recommend that you check out the [annotated Todos example](http://annota
85 85
86 86 To learn more about what we're up to, follow [@sproutcore on Twitter](http://twitter.com/sproutcore), [subscribe to the blog](http://blog.sproutcore.com), or [read the original SproutCore 2.0 announcement](http://blog.sproutcore.com/announcing-sproutcore-2-0/).
87 87
  88 +# Building SproutCore 2.0
  89 +
  90 +1. Run `rake` to build SproutCore. Two builds will be placed in the `dist/` directory.
  91 + * `sproutcore.js` and `sproutcore.min.js` - unminified and minified
  92 + builds of SproutCore 2.0
  93 + * `sproutcore-datastore.js` and `sproutcore-datastore.min.js` -
  94 + unminified and minified of the data store framework
  95 +
  96 +If you are building under Linux, you will need a JavaScript runtime for
  97 +minification. You can either install nodejs or `gem install
  98 +therubyracer`.
  99 +
88 100 # How to Run Unit Tests
89 101
90 102 1. Install Ruby and Rubygems. There are many resources on the web can help you to do so, one of the best ways may be [rvm](http://rvm.beginrescueend.com/). (WARNING: There is a bug in RubyGems 1.7.2, please upgrade to 1.8.5+ or downgrade.)
@@ -109,8 +121,3 @@ Be sure you include the new package as a dependency in the global `package.json`
109 121
110 122 Note that unless you are adding new __tests__ or adding a new package you should not need to run `spaderun update`.
111 123
112   -# Building SproutCore 2.0
113   -
114   -1. Follow the installation instructions for running the unit tests.
115   -
116   -2. Run `bundle exec rake` to build SproutCore. The build will be placed in the tmp directory.
43 Rakefile
... ... @@ -1,7 +1,7 @@
1   -require "bundler/setup"
2   -require "sproutcore"
  1 +require File.expand_path("../vendor/bundler/setup", __FILE__)
3 2 require "erb"
4 3 require "uglifier"
  4 +require "sproutcore"
5 5
6 6 LICENSE = File.read("generators/license.js")
7 7
@@ -40,6 +40,8 @@ task :handlebars => compile_package_task("handlebars")
40 40
41 41 task :build => ["sproutcore:metal", "sproutcore:indexset", "sproutcore:runtime", "sproutcore:handlebars", "sproutcore:views", "sproutcore:datastore", :handlebars]
42 42
  43 +directory "dist"
  44 +
43 45 file "tmp/static/sproutcore.js" => :build do
44 46 File.open("tmp/static/sproutcore.js", "w") do |file|
45 47 file.puts File.read("tmp/static/handlebars.js")
@@ -58,12 +60,6 @@ file "tmp/static/sproutcore.stripped.js" => "tmp/static/sproutcore.js" do
58 60 end
59 61 end
60 62
61   -file "tmp/sproutcore.js" => "tmp/static/sproutcore.stripped.js" do
62   - File.open("tmp/sproutcore.js", "w") do |file|
63   - file.puts File.read("tmp/static/sproutcore.stripped.js")
64   - end
65   -end
66   -
67 63 file "tmp/static/sproutcore-datastore.stripped.js" => "tmp/static/sproutcore-datastore.js" do
68 64 File.open("tmp/static/sproutcore-datastore.stripped.js", "w") do |file|
69 65 indexset = File.read("tmp/static/sproutcore-indexset.js")
@@ -77,22 +73,35 @@ file "tmp/static/sproutcore-datastore.stripped.js" => "tmp/static/sproutcore-dat
77 73 end
78 74 end
79 75
80   -file "tmp/sproutcore-datastore.js" => "tmp/static/sproutcore-datastore.stripped.js" do
81   - File.open("tmp/sproutcore-datastore.js", "w") do |file|
  76 +file "dist/sproutcore.js" => ["dist", "tmp/static/sproutcore.stripped.js"] do
  77 + puts "Generating sproutcore.js"
  78 +
  79 + File.open("dist/sproutcore.js", "w") do |file|
  80 + file.puts File.read("tmp/static/sproutcore.stripped.js")
  81 + end
  82 +end
  83 +
  84 +file "dist/sproutcore-datastore.js" => ["dist", "tmp/static/sproutcore-datastore.stripped.js"] do
  85 + puts "Generating sproutcore-datastore.js"
  86 +
  87 + File.open("dist/sproutcore-datastore.js", "w") do |file|
82 88 file.puts File.read("tmp/static/sproutcore-datastore.stripped.js")
83 89 end
84 90 end
85 91
86   -file "tmp/sproutcore.min.js" => "tmp/sproutcore.js" do
87   - File.open("tmp/sproutcore.min.js", "w") do |file|
88   - uglified = Uglifier.compile(File.read("tmp/sproutcore.js"))
  92 +file "dist/sproutcore.min.js" => "dist/sproutcore.js" do
  93 + puts "Generating sproutcore.min.js"
  94 + File.open("dist/sproutcore.min.js", "w") do |file|
  95 + uglified = Uglifier.compile(File.read("dist/sproutcore.js"))
89 96 file.puts "#{LICENSE}\n#{uglified}"
90 97 end
91 98 end
92 99
93   -file "tmp/sproutcore-datastore.min.js" => "tmp/sproutcore-datastore.js" do
94   - File.open("tmp/sproutcore-datastore.min.js", "w") do |file|
95   - uglified = Uglifier.compile(File.read("tmp/sproutcore-datastore.js"))
  100 +file "dist/sproutcore-datastore.min.js" => "dist/sproutcore-datastore.js" do
  101 + puts "Generating sproutcore-datastore.min.js"
  102 +
  103 + File.open("dist/sproutcore-datastore.min.js", "w") do |file|
  104 + uglified = Uglifier.compile(File.read("dist/sproutcore-datastore.js"))
96 105 file.puts "#{LICENSE}\n#{uglified}"
97 106 end
98 107 end
@@ -288,5 +297,5 @@ namespace :starter_kit do
288 297 task :deploy => "tmp/starter-kit.#{VERSION}.zip"
289 298 end
290 299
291   -task :default => ["tmp/sproutcore.min.js", "tmp/sproutcore-datastore.min.js"]
  300 +task :default => ["dist/sproutcore.min.js", "dist/sproutcore-datastore.min.js"]
292 301
6 vendor/bundler/setup.rb
... ... @@ -0,0 +1,6 @@
  1 +path = File.expand_path('..', __FILE__)
  2 +$:.unshift File.expand_path("#{path}/../../vendor/ruby/1.9.1/gems/rake-0.9.2/lib")
  3 +$:.unshift File.expand_path("#{path}/../../vendor/ruby/1.9.1/gems/multi_json-1.0.3/lib")
  4 +$:.unshift File.expand_path("#{path}/../../vendor/ruby/1.9.1/gems/execjs-1.2.0/lib")
  5 +$:.unshift File.expand_path("#{path}/../../vendor/ruby/1.9.1/bundler/gems/abbot-from-scratch-754164ff560e/lib")
  6 +$:.unshift File.expand_path("#{path}/../../vendor/ruby/1.9.1/gems/uglifier-1.0.0/lib")
19 vendor/ruby/1.9.1/bin/rake
... ... @@ -0,0 +1,19 @@
  1 +#!/usr/bin/env ruby
  2 +#
  3 +# This file was generated by RubyGems.
  4 +#
  5 +# The application 'rake' is installed as part of a gem, and
  6 +# this file is here to facilitate running it.
  7 +#
  8 +
  9 +require 'rubygems'
  10 +
  11 +version = ">= 0"
  12 +
  13 +if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
  14 + version = $1
  15 + ARGV.shift
  16 +end
  17 +
  18 +gem 'rake', version
  19 +load Gem.bin_path('rake', 'rake', version)
1  vendor/ruby/1.9.1/bundler/gems/abbot-from-scratch-754164ff560e
... ... @@ -0,0 +1 @@
  1 +Subproject commit 754164ff560e2597b62fb326358fb8b9f7fc3ed4
1  vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/HEAD
... ... @@ -0,0 +1 @@
  1 +ref: refs/heads/master
7 vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/config
... ... @@ -0,0 +1,7 @@
  1 +[core]
  2 + repositoryformatversion = 0
  3 + filemode = true
  4 + bare = true
  5 + ignorecase = true
  6 +[remote "origin"]
  7 + url = git://github.com/wycats/abbot-from-scratch.git
1  vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/description
... ... @@ -0,0 +1 @@
  1 +Unnamed repository; edit this file 'description' to name the repository.
15 ...ache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/applypatch-msg.sample
... ... @@ -0,0 +1,15 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to check the commit log message taken by
  4 +# applypatch from an e-mail message.
  5 +#
  6 +# The hook should exit with non-zero status after issuing an
  7 +# appropriate message if it wants to stop the commit. The hook is
  8 +# allowed to edit the commit message file.
  9 +#
  10 +# To enable this hook, rename this file to "applypatch-msg".
  11 +
  12 +. git-sh-setup
  13 +test -x "$GIT_DIR/hooks/commit-msg" &&
  14 + exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
  15 +:
24 ....1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/commit-msg.sample
... ... @@ -0,0 +1,24 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to check the commit log message.
  4 +# Called by "git commit" with one argument, the name of the file
  5 +# that has the commit message. The hook should exit with non-zero
  6 +# status after issuing an appropriate message if it wants to stop the
  7 +# commit. The hook is allowed to edit the commit message file.
  8 +#
  9 +# To enable this hook, rename this file to "commit-msg".
  10 +
  11 +# Uncomment the below to add a Signed-off-by line to the message.
  12 +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
  13 +# hook is more suited to it.
  14 +#
  15 +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
  16 +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
  17 +
  18 +# This example catches duplicate Signed-off-by lines.
  19 +
  20 +test "" = "$(grep '^Signed-off-by: ' "$1" |
  21 + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
  22 + echo >&2 Duplicate Signed-off-by lines.
  23 + exit 1
  24 +}
8 ...1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/post-commit.sample
... ... @@ -0,0 +1,8 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script that is called after a successful
  4 +# commit is made.
  5 +#
  6 +# To enable this hook, rename this file to "post-commit".
  7 +
  8 +: Nothing
15 .../cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/post-receive.sample
... ... @@ -0,0 +1,15 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script for the "post-receive" event.
  4 +#
  5 +# The "post-receive" script is run after receive-pack has accepted a pack
  6 +# and the repository has been updated. It is passed arguments in through
  7 +# stdin in the form
  8 +# <oldrev> <newrev> <refname>
  9 +# For example:
  10 +# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
  11 +#
  12 +# see contrib/hooks/ for a sample, or uncomment the next line and
  13 +# rename the file to "post-receive".
  14 +
  15 +#. /usr/share/doc/git-core/contrib/hooks/post-receive-email
8 ...1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/post-update.sample
... ... @@ -0,0 +1,8 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to prepare a packed repository for use over
  4 +# dumb transports.
  5 +#
  6 +# To enable this hook, rename this file to "post-update".
  7 +
  8 +exec git update-server-info
14 ...ache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/pre-applypatch.sample
... ... @@ -0,0 +1,14 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to verify what is about to be committed
  4 +# by applypatch from an e-mail message.
  5 +#
  6 +# The hook should exit with non-zero status after issuing an
  7 +# appropriate message if it wants to stop the commit.
  8 +#
  9 +# To enable this hook, rename this file to "pre-applypatch".
  10 +
  11 +. git-sh-setup
  12 +test -x "$GIT_DIR/hooks/pre-commit" &&
  13 + exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
  14 +:
46 ....1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/pre-commit.sample
... ... @@ -0,0 +1,46 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to verify what is about to be committed.
  4 +# Called by "git commit" with no arguments. The hook should
  5 +# exit with non-zero status after issuing an appropriate message if
  6 +# it wants to stop the commit.
  7 +#
  8 +# To enable this hook, rename this file to "pre-commit".
  9 +
  10 +if git rev-parse --verify HEAD >/dev/null 2>&1
  11 +then
  12 + against=HEAD
  13 +else
  14 + # Initial commit: diff against an empty tree object
  15 + against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
  16 +fi
  17 +
  18 +# If you want to allow non-ascii filenames set this variable to true.
  19 +allownonascii=$(git config hooks.allownonascii)
  20 +
  21 +# Cross platform projects tend to avoid non-ascii filenames; prevent
  22 +# them from being added to the repository. We exploit the fact that the
  23 +# printable range starts at the space character and ends with tilde.
  24 +if [ "$allownonascii" != "true" ] &&
  25 + # Note that the use of brackets around a tr range is ok here, (it's
  26 + # even required, for portability to Solaris 10's /usr/bin/tr), since
  27 + # the square bracket bytes happen to fall in the designated range.
  28 + test "$(git diff --cached --name-only --diff-filter=A -z $against |
  29 + LC_ALL=C tr -d '[ -~]\0')"
  30 +then
  31 + echo "Error: Attempt to add a non-ascii file name."
  32 + echo
  33 + echo "This can cause problems if you want to work"
  34 + echo "with people on other platforms."
  35 + echo
  36 + echo "To be portable it is advisable to rename the file ..."
  37 + echo
  38 + echo "If you know what you are doing you can disable this"
  39 + echo "check using:"
  40 + echo
  41 + echo " git config hooks.allownonascii true"
  42 + echo
  43 + exit 1
  44 +fi
  45 +
  46 +exec git diff-index --check --cached $against --
169 ....1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/pre-rebase.sample
... ... @@ -0,0 +1,169 @@
  1 +#!/bin/sh
  2 +#
  3 +# Copyright (c) 2006, 2008 Junio C Hamano
  4 +#
  5 +# The "pre-rebase" hook is run just before "git rebase" starts doing
  6 +# its job, and can prevent the command from running by exiting with
  7 +# non-zero status.
  8 +#
  9 +# The hook is called with the following parameters:
  10 +#
  11 +# $1 -- the upstream the series was forked from.
  12 +# $2 -- the branch being rebased (or empty when rebasing the current branch).
  13 +#
  14 +# This sample shows how to prevent topic branches that are already
  15 +# merged to 'next' branch from getting rebased, because allowing it
  16 +# would result in rebasing already published history.
  17 +
  18 +publish=next
  19 +basebranch="$1"
  20 +if test "$#" = 2
  21 +then
  22 + topic="refs/heads/$2"
  23 +else
  24 + topic=`git symbolic-ref HEAD` ||
  25 + exit 0 ;# we do not interrupt rebasing detached HEAD
  26 +fi
  27 +
  28 +case "$topic" in
  29 +refs/heads/??/*)
  30 + ;;
  31 +*)
  32 + exit 0 ;# we do not interrupt others.
  33 + ;;
  34 +esac
  35 +
  36 +# Now we are dealing with a topic branch being rebased
  37 +# on top of master. Is it OK to rebase it?
  38 +
  39 +# Does the topic really exist?
  40 +git show-ref -q "$topic" || {
  41 + echo >&2 "No such branch $topic"
  42 + exit 1
  43 +}
  44 +
  45 +# Is topic fully merged to master?
  46 +not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
  47 +if test -z "$not_in_master"
  48 +then
  49 + echo >&2 "$topic is fully merged to master; better remove it."
  50 + exit 1 ;# we could allow it, but there is no point.
  51 +fi
  52 +
  53 +# Is topic ever merged to next? If so you should not be rebasing it.
  54 +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
  55 +only_next_2=`git rev-list ^master ${publish} | sort`
  56 +if test "$only_next_1" = "$only_next_2"
  57 +then
  58 + not_in_topic=`git rev-list "^$topic" master`
  59 + if test -z "$not_in_topic"
  60 + then
  61 + echo >&2 "$topic is already up-to-date with master"
  62 + exit 1 ;# we could allow it, but there is no point.
  63 + else
  64 + exit 0
  65 + fi
  66 +else
  67 + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
  68 + /usr/bin/perl -e '
  69 + my $topic = $ARGV[0];
  70 + my $msg = "* $topic has commits already merged to public branch:\n";
  71 + my (%not_in_next) = map {
  72 + /^([0-9a-f]+) /;
  73 + ($1 => 1);
  74 + } split(/\n/, $ARGV[1]);
  75 + for my $elem (map {
  76 + /^([0-9a-f]+) (.*)$/;
  77 + [$1 => $2];
  78 + } split(/\n/, $ARGV[2])) {
  79 + if (!exists $not_in_next{$elem->[0]}) {
  80 + if ($msg) {
  81 + print STDERR $msg;
  82 + undef $msg;
  83 + }
  84 + print STDERR " $elem->[1]\n";
  85 + }
  86 + }
  87 + ' "$topic" "$not_in_next" "$not_in_master"
  88 + exit 1
  89 +fi
  90 +
  91 +exit 0
  92 +
  93 +################################################################
  94 +
  95 +This sample hook safeguards topic branches that have been
  96 +published from being rewound.
  97 +
  98 +The workflow assumed here is:
  99 +
  100 + * Once a topic branch forks from "master", "master" is never
  101 + merged into it again (either directly or indirectly).
  102 +
  103 + * Once a topic branch is fully cooked and merged into "master",
  104 + it is deleted. If you need to build on top of it to correct
  105 + earlier mistakes, a new topic branch is created by forking at
  106 + the tip of the "master". This is not strictly necessary, but
  107 + it makes it easier to keep your history simple.
  108 +
  109 + * Whenever you need to test or publish your changes to topic
  110 + branches, merge them into "next" branch.
  111 +
  112 +The script, being an example, hardcodes the publish branch name
  113 +to be "next", but it is trivial to make it configurable via
  114 +$GIT_DIR/config mechanism.
  115 +
  116 +With this workflow, you would want to know:
  117 +
  118 +(1) ... if a topic branch has ever been merged to "next". Young
  119 + topic branches can have stupid mistakes you would rather
  120 + clean up before publishing, and things that have not been
  121 + merged into other branches can be easily rebased without
  122 + affecting other people. But once it is published, you would
  123 + not want to rewind it.
  124 +
  125 +(2) ... if a topic branch has been fully merged to "master".
  126 + Then you can delete it. More importantly, you should not
  127 + build on top of it -- other people may already want to
  128 + change things related to the topic as patches against your
  129 + "master", so if you need further changes, it is better to
  130 + fork the topic (perhaps with the same name) afresh from the
  131 + tip of "master".
  132 +
  133 +Let's look at this example:
  134 +
  135 + o---o---o---o---o---o---o---o---o---o "next"
  136 + / / / /
  137 + / a---a---b A / /
  138 + / / / /
  139 + / / c---c---c---c B /
  140 + / / / \ /
  141 + / / / b---b C \ /
  142 + / / / / \ /
  143 + ---o---o---o---o---o---o---o---o---o---o---o "master"
  144 +
  145 +
  146 +A, B and C are topic branches.
  147 +
  148 + * A has one fix since it was merged up to "next".
  149 +
  150 + * B has finished. It has been fully merged up to "master" and "next",
  151 + and is ready to be deleted.
  152 +
  153 + * C has not merged to "next" at all.
  154 +
  155 +We would want to allow C to be rebased, refuse A, and encourage
  156 +B to be deleted.
  157 +
  158 +To compute (1):
  159 +
  160 + git rev-list ^master ^topic next
  161 + git rev-list ^master next
  162 +
  163 + if these match, topic has not merged in next at all.
  164 +
  165 +To compute (2):
  166 +
  167 + git rev-list master..topic
  168 +
  169 + if this is empty, it is fully merged to "master".
36 .../bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/prepare-commit-msg.sample
... ... @@ -0,0 +1,36 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to prepare the commit log message.
  4 +# Called by "git commit" with the name of the file that has the
  5 +# commit message, followed by the description of the commit
  6 +# message's source. The hook's purpose is to edit the commit
  7 +# message file. If the hook fails with a non-zero status,
  8 +# the commit is aborted.
  9 +#
  10 +# To enable this hook, rename this file to "prepare-commit-msg".
  11 +
  12 +# This hook includes three examples. The first comments out the
  13 +# "Conflicts:" part of a merge commit.
  14 +#
  15 +# The second includes the output of "git diff --name-status -r"
  16 +# into the message, just before the "git status" output. It is
  17 +# commented because it doesn't cope with --amend or with squashed
  18 +# commits.
  19 +#
  20 +# The third example adds a Signed-off-by line to the message, that can
  21 +# still be edited. This is rarely a good idea.
  22 +
  23 +case "$2,$3" in
  24 + merge,)
  25 + /usr/bin/perl -i.bak -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;;
  26 +
  27 +# ,|template,)
  28 +# /usr/bin/perl -i.bak -pe '
  29 +# print "\n" . `git diff --cached --name-status -r`
  30 +# if /^#/ && $first++ == 0' "$1" ;;
  31 +
  32 + *) ;;
  33 +esac
  34 +
  35 +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
  36 +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
128 .../1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/hooks/update.sample
... ... @@ -0,0 +1,128 @@
  1 +#!/bin/sh
  2 +#
  3 +# An example hook script to blocks unannotated tags from entering.
  4 +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
  5 +#
  6 +# To enable this hook, rename this file to "update".
  7 +#
  8 +# Config
  9 +# ------
  10 +# hooks.allowunannotated
  11 +# This boolean sets whether unannotated tags will be allowed into the
  12 +# repository. By default they won't be.
  13 +# hooks.allowdeletetag
  14 +# This boolean sets whether deleting tags will be allowed in the
  15 +# repository. By default they won't be.
  16 +# hooks.allowmodifytag
  17 +# This boolean sets whether a tag may be modified after creation. By default
  18 +# it won't be.
  19 +# hooks.allowdeletebranch
  20 +# This boolean sets whether deleting branches will be allowed in the
  21 +# repository. By default they won't be.
  22 +# hooks.denycreatebranch
  23 +# This boolean sets whether remotely creating branches will be denied
  24 +# in the repository. By default this is allowed.
  25 +#
  26 +
  27 +# --- Command line
  28 +refname="$1"
  29 +oldrev="$2"
  30 +newrev="$3"
  31 +
  32 +# --- Safety check
  33 +if [ -z "$GIT_DIR" ]; then
  34 + echo "Don't run this script from the command line." >&2
  35 + echo " (if you want, you could supply GIT_DIR then run" >&2
  36 + echo " $0 <ref> <oldrev> <newrev>)" >&2
  37 + exit 1
  38 +fi
  39 +
  40 +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
  41 + echo "Usage: $0 <ref> <oldrev> <newrev>" >&2
  42 + exit 1
  43 +fi
  44 +
  45 +# --- Config
  46 +allowunannotated=$(git config --bool hooks.allowunannotated)
  47 +allowdeletebranch=$(git config --bool hooks.allowdeletebranch)
  48 +denycreatebranch=$(git config --bool hooks.denycreatebranch)
  49 +allowdeletetag=$(git config --bool hooks.allowdeletetag)
  50 +allowmodifytag=$(git config --bool hooks.allowmodifytag)
  51 +
  52 +# check for no description
  53 +projectdesc=$(sed -e '1q' "$GIT_DIR/description")
  54 +case "$projectdesc" in
  55 +"Unnamed repository"* | "")
  56 + echo "*** Project description file hasn't been set" >&2
  57 + exit 1
  58 + ;;
  59 +esac
  60 +
  61 +# --- Check types
  62 +# if $newrev is 0000...0000, it's a commit to delete a ref.
  63 +zero="0000000000000000000000000000000000000000"
  64 +if [ "$newrev" = "$zero" ]; then
  65 + newrev_type=delete
  66 +else
  67 + newrev_type=$(git cat-file -t $newrev)
  68 +fi
  69 +
  70 +case "$refname","$newrev_type" in
  71 + refs/tags/*,commit)
  72 + # un-annotated tag
  73 + short_refname=${refname##refs/tags/}
  74 + if [ "$allowunannotated" != "true" ]; then
  75 + echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
  76 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
  77 + exit 1
  78 + fi
  79 + ;;
  80 + refs/tags/*,delete)
  81 + # delete tag
  82 + if [ "$allowdeletetag" != "true" ]; then
  83 + echo "*** Deleting a tag is not allowed in this repository" >&2
  84 + exit 1
  85 + fi
  86 + ;;
  87 + refs/tags/*,tag)
  88 + # annotated tag
  89 + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
  90 + then
  91 + echo "*** Tag '$refname' already exists." >&2
  92 + echo "*** Modifying a tag is not allowed in this repository." >&2
  93 + exit 1
  94 + fi
  95 + ;;
  96 + refs/heads/*,commit)
  97 + # branch
  98 + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
  99 + echo "*** Creating a branch is not allowed in this repository" >&2
  100 + exit 1
  101 + fi
  102 + ;;
  103 + refs/heads/*,delete)
  104 + # delete branch
  105 + if [ "$allowdeletebranch" != "true" ]; then
  106 + echo "*** Deleting a branch is not allowed in this repository" >&2
  107 + exit 1
  108 + fi
  109 + ;;
  110 + refs/remotes/*,commit)
  111 + # tracking branch
  112 + ;;
  113 + refs/remotes/*,delete)
  114 + # delete tracking branch
  115 + if [ "$allowdeletebranch" != "true" ]; then
  116 + echo "*** Deleting a tracking branch is not allowed in this repository" >&2
  117 + exit 1
  118 + fi
  119 + ;;
  120 + *)
  121 + # Anything else (is there anything else?)
  122 + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
  123 + exit 1
  124 + ;;
  125 +esac
  126 +
  127 +# --- Finished
  128 +exit 0
6 ...or/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/info/exclude
... ... @@ -0,0 +1,6 @@
  1 +# git ls-files --others --exclude-from=.git/info/exclude
  2 +# Lines that start with '#' are comments.
  3 +# For a project mostly in C, the following would be a good set of
  4 +# exclude patterns (uncomment them if you want to use them):
  5 +# *.[oa]
  6 +# *~
BIN  ...-a58a1a082ef9c607ccb0938f161fe212895a4a59/objects/pack/pack-82f2e7b2597f4176734e27f33569b95ac546cf10.idx
Binary file not shown
BIN  ...a58a1a082ef9c607ccb0938f161fe212895a4a59/objects/pack/pack-82f2e7b2597f4176734e27f33569b95ac546cf10.pack
Binary file not shown
2  vendor/ruby/1.9.1/cache/bundler/git/abbot-from-scratch-a58a1a082ef9c607ccb0938f161fe212895a4a59/packed-refs
... ... @@ -0,0 +1,2 @@
  1 +# pack-refs with: peeled
  2 +754164ff560e2597b62fb326358fb8b9f7fc3ed4 refs/heads/master
BIN  vendor/ruby/1.9.1/cache/execjs-1.2.0.gem
Binary file not shown
BIN  vendor/ruby/1.9.1/cache/multi_json-1.0.3.gem
Binary file not shown
BIN  vendor/ruby/1.9.1/cache/rake-0.9.2.gem
Binary file not shown
BIN  vendor/ruby/1.9.1/cache/uglifier-1.0.0.gem
Binary file not shown
21 vendor/ruby/1.9.1/gems/execjs-1.2.0/LICENSE
... ... @@ -0,0 +1,21 @@
  1 +Copyright (c) 2011 Sam Stephenson
  2 +Copyright (c) 2011 Josh Peek
  3 +
  4 +Permission is hereby granted, free of charge, to any person obtaining
  5 +a copy of this software and associated documentation files (the
  6 +"Software"), to deal in the Software without restriction, including
  7 +without limitation the rights to use, copy, modify, merge, publish,
  8 +distribute, sublicense, and/or sell copies of the Software, and to
  9 +permit persons to whom the Software is furnished to do so, subject to
  10 +the following conditions:
  11 +
  12 +The above copyright notice and this permission notice shall be
  13 +included in all copies or substantial portions of the Software.
  14 +
  15 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  16 +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  17 +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  18 +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  19 +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  20 +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  21 +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
47 vendor/ruby/1.9.1/gems/execjs-1.2.0/README.md
Source Rendered
... ... @@ -0,0 +1,47 @@
  1 +ExecJS
  2 +======
  3 +
  4 +ExecJS lets you run JavaScript code from Ruby. It automatically picks
  5 +the best runtime available to evaluate your JavaScript program, then
  6 +returns the result to you as a Ruby object.
  7 +
  8 +ExecJS supports these runtimes:
  9 +
  10 +* [therubyracer](https://github.com/cowboyd/therubyracer) - Google V8
  11 + embedded within Ruby
  12 +* [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla
  13 + Rhino embedded within JRuby
  14 +* [Johnson](https://github.com/jbarnette/johnson) - Mozilla
  15 + SpiderMonkey embedded within Ruby
  16 +* [Mustang](https://github.com/nu7hatch/mustang) - Mustang V8
  17 + embedded within Ruby
  18 +* [Node.js](http://nodejs.org/)
  19 +* Apple JavaScriptCore - Included with Mac OS X
  20 +* [Mozilla SpiderMonkey](http://www.mozilla.org/js/spidermonkey/)
  21 +* [Microsoft Windows Script Host](http://msdn.microsoft.com/en-us/library/9bbdkx3k.aspx) (JScript)
  22 +
  23 +A short example:
  24 +
  25 + require "execjs"
  26 + ExecJS.eval "'red yellow blue'.split(' ')"
  27 + # => ["red", "yellow", "blue"]
  28 +
  29 +A longer example, demonstrating how to invoke the CoffeeScript compiler:
  30 +
  31 + require "execjs"
  32 + require "open-uri"
  33 + source = open("http://jashkenas.github.com/coffee-script/extras/coffee-script.js").read
  34 +
  35 + context = ExecJS.compile(source)
  36 + context.call("CoffeeScript.compile", "square = (x) -> x * x", :bare => true)
  37 + # => "var square;\nsquare = function(x) {\n return x * x;\n};"
  38 +
  39 +# Installation
  40 +
  41 + $ gem install execjs
  42 +
  43 +# License
  44 +
  45 +Copyright (c) 2011 Sam Stephenson and Josh Peek.
  46 +
  47 +Released under the MIT license. See `LICENSE` for details.
6 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs.rb
... ... @@ -0,0 +1,6 @@
  1 +require "execjs/module"
  2 +require "execjs/runtimes"
  3 +
  4 +module ExecJS
  5 + self.runtime ||= Runtimes.autodetect
  6 +end
160 vendor/ruby/1.9.1/gems/execjs-1.2.0/lib/execjs/external_runtime.rb
... ... @@ -0,0 +1,160 @@
  1 +require "tempfile"
  2 +
  3 +module ExecJS
  4 + class ExternalRuntime
  5 + class Context
  6 + def initialize(runtime, source = "")
  7 + source = source.encode('UTF-8') if source.respond_to?(:encode)
  8 +
  9 + @runtime = runtime
  10 + @source = source
  11 + end
  12 +
  13 + def eval(source, options = {})
  14 + source = source.encode('UTF-8') if source.respond_to?(:encode)
  15 +
  16 + if /\S/ =~ source
  17 + exec("return eval(#{MultiJson.encode("(#{source})")})")
  18 + end
  19 + end
  20 +
  21 + def exec(source, options = {})
  22 + source = source.encode('UTF-8') if source.respond_to?(:encode)
  23 +
  24 + compile_to_tempfile([@source, source].join("\n")) do |file|
  25 + extract_result(@runtime.send(:exec_runtime, file.path))
  26 + end
  27 + end
  28 +
  29 + def call(identifier, *args)
  30 + eval "#{identifier}.apply(this, #{MultiJson.encode(args)})"
  31 + end
  32 +
  33 + protected
  34 + def compile_to_tempfile(source)
  35 + tempfile = Tempfile.open(['execjs', '.js'])
  36 + tempfile.write compile(source)
  37 + tempfile.close
  38 + yield tempfile
  39 + ensure
  40 + tempfile.close!
  41 + end
  42 +
  43 + def compile(source)
  44 + @runtime.send(:runner_source).dup.tap do |output|
  45 + output.sub!('#{source}') do
  46 + source
  47 + end
  48 + output.sub!('#{json2_source}') do
  49 + IO.read(ExecJS.root + "/support/json2.js")
  50 + end
  51 + end
  52 + end
  53 +
  54 + def extract_result(output)
  55 + status, value = output.empty? ? [] : MultiJson.decode(output)
  56 + if status == "ok"
  57 + value
  58 + else
  59 + raise ProgramError, value
  60 + end
  61 + end
  62 + end
  63 +