bpm 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +0 -13
  3. data/TODO.md +1 -0
  4. data/bpm.gemspec +8 -3
  5. data/lib/bpm/cli/base.rb +22 -20
  6. data/lib/bpm/generator.rb +3 -3
  7. data/lib/bpm/libgems_ext/dependency_installer.rb +4 -4
  8. data/lib/bpm/libgems_ext/installer.rb +1 -1
  9. data/lib/bpm/package.rb +13 -9
  10. data/lib/bpm/pipeline/generated_asset.rb +30 -3
  11. data/lib/bpm/pipeline/transport_processor.rb +20 -12
  12. data/lib/bpm/pipeline.rb +17 -9
  13. data/lib/bpm/project.rb +42 -10
  14. data/lib/bpm/server.rb +5 -0
  15. data/lib/bpm/version.rb +1 -1
  16. data/lib/bpm.rb +2 -0
  17. data/lib/vendored_sprockets.rb +7 -0
  18. data/spec/cli/add_spec.rb +40 -37
  19. data/spec/cli/build_spec.rb +5 -5
  20. data/spec/cli/new_spec.rb +49 -23
  21. data/spec/cli/push_spec.rb +5 -5
  22. data/spec/cli/unpack_spec.rb +14 -14
  23. data/spec/fixtures/{badrake-0.8.7.spd → badrake-0.8.7.bpkg} +0 -0
  24. data/spec/fixtures/{builder-3.0.0.spd → builder-3.0.0.bpkg} +0 -0
  25. data/spec/fixtures/{bundler-1.1.pre.spd → bundler-1.1.pre.bpkg} +0 -0
  26. data/spec/fixtures/{coffee-1.0.1.pre.spd → coffee-1.0.1.pre.bpkg} +0 -0
  27. data/spec/fixtures/{core-test-0.4.9.spd → core-test-0.4.9.bpkg} +0 -0
  28. data/spec/fixtures/{custom_generator-1.0.spd → custom_generator-1.0.bpkg} +0 -0
  29. data/spec/fixtures/custom_name/MyProject.json +4 -0
  30. data/spec/fixtures/hello_world/css/dummy.css +3 -0
  31. data/spec/fixtures/{highline-1.6.1.spd → highline-1.6.1.bpkg} +0 -0
  32. data/spec/fixtures/{ivory-0.0.1.spd → ivory-0.0.1.bpkg} +0 -0
  33. data/spec/fixtures/{jquery-1.4.3.spd → jquery-1.4.3.bpkg} +0 -0
  34. data/spec/fixtures/minitest/assets/bpm_packages.js +1 -0
  35. data/spec/fixtures/minitest/assets/bpm_styles.css +0 -0
  36. data/spec/fixtures/minitest/assets/minitest/app_package.js +1 -0
  37. data/spec/fixtures/minitest/lib/main.js +1 -0
  38. data/spec/fixtures/minitest/minitest.json +22 -0
  39. data/spec/fixtures/minitest/packages/uglyduck/lib/main.js +1 -0
  40. data/spec/fixtures/minitest/packages/uglyduck/minifier/main.js +4 -0
  41. data/spec/fixtures/minitest/packages/uglyduck/package.json +21 -0
  42. data/spec/fixtures/{optparse-1.0.1.spd → optparse-1.0.1.bpkg} +0 -0
  43. data/spec/fixtures/{rake-0.8.6.spd → rake-0.8.6.bpkg} +0 -0
  44. data/spec/fixtures/{rake-0.8.7.spd → rake-0.8.7.bpkg} +0 -0
  45. data/spec/fixtures/{spade-0.5.0.spd → spade-0.5.0.bpkg} +0 -0
  46. data/spec/fixtures/transporter/packages/transport/lib/main.js +1 -0
  47. data/spec/fixtures/transporter/packages/transport/package.json +1 -1
  48. data/spec/fixtures/transporter/packages/transport/transports/wrapper.js +5 -0
  49. data/spec/gauntlet_spec.rb +2 -2
  50. data/spec/package_spec.rb +3 -3
  51. data/spec/pipeline_spec.rb +175 -54
  52. data/spec/project_spec.rb +19 -3
  53. data/spec/support/fake_gem_server.rb +4 -4
  54. data/templates/init/project.json +3 -1
  55. data/templates/project/index.html +1 -1
  56. data/vendor/sprockets/.gitignore +7 -0
  57. data/vendor/sprockets/.travis.yml +6 -0
  58. data/vendor/sprockets/Gemfile +8 -0
  59. data/vendor/sprockets/LICENSE +20 -0
  60. data/vendor/sprockets/README.md +22 -0
  61. data/vendor/sprockets/Rakefile +8 -0
  62. data/vendor/sprockets/lib/sprockets/asset.rb +203 -0
  63. data/vendor/sprockets/lib/sprockets/asset_attributes.rb +161 -0
  64. data/vendor/sprockets/lib/sprockets/base.rb +147 -0
  65. data/vendor/sprockets/lib/sprockets/bundled_asset.rb +222 -0
  66. data/vendor/sprockets/lib/sprockets/cache/file_store.rb +41 -0
  67. data/vendor/sprockets/lib/sprockets/caching.rb +121 -0
  68. data/vendor/sprockets/lib/sprockets/charset_normalizer.rb +41 -0
  69. data/vendor/sprockets/lib/sprockets/context.rb +191 -0
  70. data/vendor/sprockets/lib/sprockets/digest.rb +73 -0
  71. data/vendor/sprockets/lib/sprockets/directive_processor.rb +380 -0
  72. data/vendor/sprockets/lib/sprockets/eco_template.rb +39 -0
  73. data/vendor/sprockets/lib/sprockets/ejs_template.rb +38 -0
  74. data/vendor/sprockets/lib/sprockets/engines.rb +92 -0
  75. data/vendor/sprockets/lib/sprockets/environment.rb +93 -0
  76. data/vendor/sprockets/lib/sprockets/errors.rb +17 -0
  77. data/vendor/sprockets/lib/sprockets/index.rb +80 -0
  78. data/vendor/sprockets/lib/sprockets/jst_processor.rb +26 -0
  79. data/vendor/sprockets/lib/sprockets/processing.rb +310 -0
  80. data/vendor/sprockets/lib/sprockets/processor.rb +32 -0
  81. data/vendor/sprockets/lib/sprockets/safety_colons.rb +28 -0
  82. data/vendor/sprockets/lib/sprockets/server.rb +270 -0
  83. data/vendor/sprockets/lib/sprockets/static_asset.rb +87 -0
  84. data/vendor/sprockets/lib/sprockets/static_compilation.rb +82 -0
  85. data/vendor/sprockets/lib/sprockets/trail.rb +122 -0
  86. data/vendor/sprockets/lib/sprockets/utils.rb +67 -0
  87. data/vendor/sprockets/lib/sprockets/version.rb +3 -0
  88. data/vendor/sprockets/lib/sprockets.rb +31 -0
  89. data/vendor/sprockets/sprockets.gemspec +30 -0
  90. data/vendor/sprockets/test/fixtures/asset/POW.png +0 -0
  91. data/vendor/sprockets/test/fixtures/asset/application.js +6 -0
  92. data/vendor/sprockets/test/fixtures/asset/bar-utf8.css +2 -0
  93. data/vendor/sprockets/test/fixtures/asset/charset.css +2 -0
  94. data/vendor/sprockets/test/fixtures/asset/circle/a.js +2 -0
  95. data/vendor/sprockets/test/fixtures/asset/circle/b.js +2 -0
  96. data/vendor/sprockets/test/fixtures/asset/circle/c.js +2 -0
  97. data/vendor/sprockets/test/fixtures/asset/compat.js +4 -0
  98. data/vendor/sprockets/test/fixtures/asset/constants.js +2 -0
  99. data/vendor/sprockets/test/fixtures/asset/constants.yml +1 -0
  100. data/vendor/sprockets/test/fixtures/asset/default_mime_type.js +1 -0
  101. data/vendor/sprockets/test/fixtures/asset/filename.js.erb +1 -0
  102. data/vendor/sprockets/test/fixtures/asset/foo-utf8.css +2 -0
  103. data/vendor/sprockets/test/fixtures/asset/included_header.js +4 -0
  104. data/vendor/sprockets/test/fixtures/asset/jquery.tmpl.min.js +1 -0
  105. data/vendor/sprockets/test/fixtures/asset/mismatch.js +1 -0
  106. data/vendor/sprockets/test/fixtures/asset/multiple.js +2 -0
  107. data/vendor/sprockets/test/fixtures/asset/multipleengine.js +1 -0
  108. data/vendor/sprockets/test/fixtures/asset/noengine.js +1 -0
  109. data/vendor/sprockets/test/fixtures/asset/noformat.coffee +1 -0
  110. data/vendor/sprockets/test/fixtures/asset/one.css +1 -0
  111. data/vendor/sprockets/test/fixtures/asset/oneengine.js +1 -0
  112. data/vendor/sprockets/test/fixtures/asset/project.css +1 -0
  113. data/vendor/sprockets/test/fixtures/asset/project.js.erb +4 -0
  114. data/vendor/sprockets/test/fixtures/asset/relative/include.js +4 -0
  115. data/vendor/sprockets/test/fixtures/asset/relative/require.js +1 -0
  116. data/vendor/sprockets/test/fixtures/asset/relative/require_outside_path.js +1 -0
  117. data/vendor/sprockets/test/fixtures/asset/require_self.css +9 -0
  118. data/vendor/sprockets/test/fixtures/asset/require_self_twice.css +8 -0
  119. data/vendor/sprockets/test/fixtures/asset/semicolons/bar.js +1 -0
  120. data/vendor/sprockets/test/fixtures/asset/semicolons/index.js +5 -0
  121. data/vendor/sprockets/test/fixtures/asset/sprite.css.erb +12 -0
  122. data/vendor/sprockets/test/fixtures/asset/tree/all/b/c/d.js +2 -0
  123. data/vendor/sprockets/test/fixtures/asset/tree/all/b/c/e.js +1 -0
  124. data/vendor/sprockets/test/fixtures/asset/tree/all/b/c.js +1 -0
  125. data/vendor/sprockets/test/fixtures/asset/tree/all/b.css +2 -0
  126. data/vendor/sprockets/test/fixtures/asset/tree/all/b.js.erb +1 -0
  127. data/vendor/sprockets/test/fixtures/asset/tree/all/d/c.js.coffee +1 -0
  128. data/vendor/sprockets/test/fixtures/asset/tree/all/d/e.js +1 -0
  129. data/vendor/sprockets/test/fixtures/asset/tree/all_with_require.js +7 -0
  130. data/vendor/sprockets/test/fixtures/asset/tree/all_with_require_directory.js +1 -0
  131. data/vendor/sprockets/test/fixtures/asset/tree/all_with_require_tree.js +2 -0
  132. data/vendor/sprockets/test/fixtures/asset/tree/directory/application.js +2 -0
  133. data/vendor/sprockets/test/fixtures/asset/tree/directory/bar.js +1 -0
  134. data/vendor/sprockets/test/fixtures/asset/tree/directory/foo.js +1 -0
  135. data/vendor/sprockets/test/fixtures/asset/tree/tree/application.js +2 -0
  136. data/vendor/sprockets/test/fixtures/asset/tree/tree/bar.js +1 -0
  137. data/vendor/sprockets/test/fixtures/asset/tree/tree/foo.js +1 -0
  138. data/vendor/sprockets/test/fixtures/asset/tree/with_logical_path/a/a.js +1 -0
  139. data/vendor/sprockets/test/fixtures/asset/tree/with_logical_path/require_tree_with_logical_path.js +1 -0
  140. data/vendor/sprockets/test/fixtures/asset/tree/without_argument/a.js +1 -0
  141. data/vendor/sprockets/test/fixtures/asset/tree/without_argument/b.js +1 -0
  142. data/vendor/sprockets/test/fixtures/asset/tree/without_argument/require_tree_without_argument.js +1 -0
  143. data/vendor/sprockets/test/fixtures/asset/two.css +1 -0
  144. data/vendor/sprockets/test/fixtures/asset/unicode.js +2 -0
  145. data/vendor/sprockets/test/fixtures/asset/unknownexts.min.js +2 -0
  146. data/vendor/sprockets/test/fixtures/asset/users.js.erb.str +4 -0
  147. data/vendor/sprockets/test/fixtures/context/POW.png +0 -0
  148. data/vendor/sprockets/test/fixtures/context/application.js.yml +3 -0
  149. data/vendor/sprockets/test/fixtures/context/bar.js +1 -0
  150. data/vendor/sprockets/test/fixtures/context/foo.js +2 -0
  151. data/vendor/sprockets/test/fixtures/context/helpers.css.erb +3 -0
  152. data/vendor/sprockets/test/fixtures/context/properties.js.erb +7 -0
  153. data/vendor/sprockets/test/fixtures/context/require_glob.js +1 -0
  154. data/vendor/sprockets/test/fixtures/context/resolve_content_type.js.erb +4 -0
  155. data/vendor/sprockets/test/fixtures/context/sprite.css.embed +3 -0
  156. data/vendor/sprockets/test/fixtures/default/application.js.coffee +4 -0
  157. data/vendor/sprockets/test/fixtures/default/coffee/foo.coffee +1 -0
  158. data/vendor/sprockets/test/fixtures/default/coffee/index.js +3 -0
  159. data/vendor/sprockets/test/fixtures/default/empty +0 -0
  160. data/vendor/sprockets/test/fixtures/default/gallery.css.erb +3 -0
  161. data/vendor/sprockets/test/fixtures/default/gallery.js +1 -0
  162. data/vendor/sprockets/test/fixtures/default/goodbye.jst.eco +1 -0
  163. data/vendor/sprockets/test/fixtures/default/hello.jst.ejs +1 -0
  164. data/vendor/sprockets/test/fixtures/default/hello.txt +1 -0
  165. data/vendor/sprockets/test/fixtures/default/interpolation.js +1 -0
  166. data/vendor/sprockets/test/fixtures/default/missing_require.js +1 -0
  167. data/vendor/sprockets/test/fixtures/default/mobile/a.js +1 -0
  168. data/vendor/sprockets/test/fixtures/default/mobile/b.js +1 -0
  169. data/vendor/sprockets/test/fixtures/default/mobile/c.css +1 -0
  170. data/vendor/sprockets/test/fixtures/default/mobile/d.css +1 -0
  171. data/vendor/sprockets/test/fixtures/default/mobile/index.css +3 -0
  172. data/vendor/sprockets/test/fixtures/default/mobile/index.js +1 -0
  173. data/vendor/sprockets/test/fixtures/default/noreturn.js +1 -0
  174. data/vendor/sprockets/test/fixtures/default/project.js.coffee.erb +2 -0
  175. data/vendor/sprockets/test/fixtures/directives/code_before_comment +3 -0
  176. data/vendor/sprockets/test/fixtures/directives/comment_without_directives +6 -0
  177. data/vendor/sprockets/test/fixtures/directives/directive_word_splitting +6 -0
  178. data/vendor/sprockets/test/fixtures/directives/directives_after_header +16 -0
  179. data/vendor/sprockets/test/fixtures/directives/double_slash +9 -0
  180. data/vendor/sprockets/test/fixtures/directives/hash +8 -0
  181. data/vendor/sprockets/test/fixtures/directives/no_header +2 -0
  182. data/vendor/sprockets/test/fixtures/directives/slash_star +10 -0
  183. data/vendor/sprockets/test/fixtures/directives/slash_star_single +4 -0
  184. data/vendor/sprockets/test/fixtures/directives/space_between_directive_word +2 -0
  185. data/vendor/sprockets/test/fixtures/directives/triple_hash +10 -0
  186. data/vendor/sprockets/test/fixtures/encoding/ascii.js +1 -0
  187. data/vendor/sprockets/test/fixtures/encoding/ascii_utf8.js +2 -0
  188. data/vendor/sprockets/test/fixtures/encoding/utf16.js +0 -0
  189. data/vendor/sprockets/test/fixtures/encoding/utf8.js +1 -0
  190. data/vendor/sprockets/test/fixtures/encoding/utf8_bom.js +1 -0
  191. data/vendor/sprockets/test/fixtures/engines/hello.alert +1 -0
  192. data/vendor/sprockets/test/fixtures/engines/moo.js.str +1 -0
  193. data/vendor/sprockets/test/fixtures/public/compiled-digest-0aa2105d29558f3eb790d411d7d8fb66.js +3 -0
  194. data/vendor/sprockets/test/fixtures/public/compiled-digest-1c41eb0cf934a0c76babe875f982f9d1.js +1 -0
  195. data/vendor/sprockets/test/fixtures/server/app/javascripts/application.js +5 -0
  196. data/vendor/sprockets/test/fixtures/server/app/javascripts/bar.js +1 -0
  197. data/vendor/sprockets/test/fixtures/server/app/javascripts/foo.js +1 -0
  198. data/vendor/sprockets/test/fixtures/server/app/javascripts/hello.txt +2 -0
  199. data/vendor/sprockets/test/fixtures/server/app/javascripts/tree.js +1 -0
  200. data/vendor/sprockets/test/fixtures/server/vendor/javascripts/missing_require.js +1 -0
  201. data/vendor/sprockets/test/fixtures/server/vendor/stylesheets/missing_require.css +1 -0
  202. data/vendor/sprockets/test/sprockets_test.rb +56 -0
  203. data/vendor/sprockets/test/test_asset.rb +593 -0
  204. data/vendor/sprockets/test/test_asset_attributes.rb +86 -0
  205. data/vendor/sprockets/test/test_caching.rb +62 -0
  206. data/vendor/sprockets/test/test_context.rb +115 -0
  207. data/vendor/sprockets/test/test_directive_processor.rb +124 -0
  208. data/vendor/sprockets/test/test_encoding.rb +65 -0
  209. data/vendor/sprockets/test/test_engines.rb +73 -0
  210. data/vendor/sprockets/test/test_environment.rb +610 -0
  211. data/vendor/sprockets/test/test_server.rb +227 -0
  212. metadata +258 -54
  213. data/spec/fixtures/transporter/packages/transport/lib/wrapper.js +0 -5
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-06-29 00:00:00.000000000Z
13
+ date: 2011-07-02 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: libgems
17
- requirement: &2152929580 !ruby/object:Gem::Requirement
17
+ requirement: &2152900100 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.0.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2152929580
25
+ version_requirements: *2152900100
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: gemcutter
28
- requirement: &2152928260 !ruby/object:Gem::Requirement
28
+ requirement: &2152899580 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 0.6.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2152928260
36
+ version_requirements: *2152899580
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: highline
39
- requirement: &2152927740 !ruby/object:Gem::Requirement
39
+ requirement: &2152892580 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.6.1
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2152927740
47
+ version_requirements: *2152892580
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: json_pure
50
- requirement: &2152927040 !ruby/object:Gem::Requirement
50
+ requirement: &2152892040 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.4.6
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2152927040
58
+ version_requirements: *2152892040
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: thor
61
- requirement: &2152926320 !ruby/object:Gem::Requirement
61
+ requirement: &2152891520 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,32 +66,57 @@ dependencies:
66
66
  version: 0.14.3
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *2152926320
69
+ version_requirements: *2152891520
70
70
  - !ruby/object:Gem::Dependency
71
- name: sprockets
72
- requirement: &2152925640 !ruby/object:Gem::Requirement
71
+ name: therubyracer
72
+ requirement: &2152890860 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ! '>='
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 0.9.2
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *2152925640
80
+ version_requirements: *2152890860
81
81
  - !ruby/object:Gem::Dependency
82
- name: spade
83
- requirement: &2152924840 !ruby/object:Gem::Requirement
82
+ name: hike
83
+ requirement: &2152890280 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
- - - ! '>='
86
+ - - ~>
87
87
  - !ruby/object:Gem::Version
88
- version: '0'
88
+ version: '1.1'
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: *2152890280
92
+ - !ruby/object:Gem::Dependency
93
+ name: rack
94
+ requirement: &2152889680 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: '1.0'
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: *2152889680
103
+ - !ruby/object:Gem::Dependency
104
+ name: tilt
105
+ requirement: &2152889020 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '1.1'
111
+ - - ! '!='
112
+ - !ruby/object:Gem::Version
113
+ version: 1.3.0
89
114
  type: :runtime
90
115
  prerelease: false
91
- version_requirements: *2152924840
116
+ version_requirements: *2152889020
92
117
  - !ruby/object:Gem::Dependency
93
118
  name: rspec
94
- requirement: &2152924380 !ruby/object:Gem::Requirement
119
+ requirement: &2152888020 !ruby/object:Gem::Requirement
95
120
  none: false
96
121
  requirements:
97
122
  - - ! '>='
@@ -99,10 +124,10 @@ dependencies:
99
124
  version: '0'
100
125
  type: :development
101
126
  prerelease: false
102
- version_requirements: *2152924380
127
+ version_requirements: *2152888020
103
128
  - !ruby/object:Gem::Dependency
104
129
  name: rack
105
- requirement: &2152923760 !ruby/object:Gem::Requirement
130
+ requirement: &2152886700 !ruby/object:Gem::Requirement
106
131
  none: false
107
132
  requirements:
108
133
  - - ~>
@@ -110,7 +135,7 @@ dependencies:
110
135
  version: 1.2.1
111
136
  type: :development
112
137
  prerelease: false
113
- version_requirements: *2152923760
138
+ version_requirements: *2152886700
114
139
  description: Package Manager for JavaScript
115
140
  email:
116
141
  - charles@sproutcore.com
@@ -120,6 +145,162 @@ executables:
120
145
  extensions: []
121
146
  extra_rdoc_files: []
122
147
  files:
148
+ - vendor/sprockets/.gitignore
149
+ - vendor/sprockets/.travis.yml
150
+ - vendor/sprockets/Gemfile
151
+ - vendor/sprockets/LICENSE
152
+ - vendor/sprockets/README.md
153
+ - vendor/sprockets/Rakefile
154
+ - vendor/sprockets/lib/sprockets.rb
155
+ - vendor/sprockets/lib/sprockets/asset.rb
156
+ - vendor/sprockets/lib/sprockets/asset_attributes.rb
157
+ - vendor/sprockets/lib/sprockets/base.rb
158
+ - vendor/sprockets/lib/sprockets/bundled_asset.rb
159
+ - vendor/sprockets/lib/sprockets/cache/file_store.rb
160
+ - vendor/sprockets/lib/sprockets/caching.rb
161
+ - vendor/sprockets/lib/sprockets/charset_normalizer.rb
162
+ - vendor/sprockets/lib/sprockets/context.rb
163
+ - vendor/sprockets/lib/sprockets/digest.rb
164
+ - vendor/sprockets/lib/sprockets/directive_processor.rb
165
+ - vendor/sprockets/lib/sprockets/eco_template.rb
166
+ - vendor/sprockets/lib/sprockets/ejs_template.rb
167
+ - vendor/sprockets/lib/sprockets/engines.rb
168
+ - vendor/sprockets/lib/sprockets/environment.rb
169
+ - vendor/sprockets/lib/sprockets/errors.rb
170
+ - vendor/sprockets/lib/sprockets/index.rb
171
+ - vendor/sprockets/lib/sprockets/jst_processor.rb
172
+ - vendor/sprockets/lib/sprockets/processing.rb
173
+ - vendor/sprockets/lib/sprockets/processor.rb
174
+ - vendor/sprockets/lib/sprockets/safety_colons.rb
175
+ - vendor/sprockets/lib/sprockets/server.rb
176
+ - vendor/sprockets/lib/sprockets/static_asset.rb
177
+ - vendor/sprockets/lib/sprockets/static_compilation.rb
178
+ - vendor/sprockets/lib/sprockets/trail.rb
179
+ - vendor/sprockets/lib/sprockets/utils.rb
180
+ - vendor/sprockets/lib/sprockets/version.rb
181
+ - vendor/sprockets/sprockets.gemspec
182
+ - vendor/sprockets/test/fixtures/asset/POW.png
183
+ - vendor/sprockets/test/fixtures/asset/application.js
184
+ - vendor/sprockets/test/fixtures/asset/bar-utf8.css
185
+ - vendor/sprockets/test/fixtures/asset/charset.css
186
+ - vendor/sprockets/test/fixtures/asset/circle/a.js
187
+ - vendor/sprockets/test/fixtures/asset/circle/b.js
188
+ - vendor/sprockets/test/fixtures/asset/circle/c.js
189
+ - vendor/sprockets/test/fixtures/asset/compat.js
190
+ - vendor/sprockets/test/fixtures/asset/constants.js
191
+ - vendor/sprockets/test/fixtures/asset/constants.yml
192
+ - vendor/sprockets/test/fixtures/asset/default_mime_type.js
193
+ - vendor/sprockets/test/fixtures/asset/filename.js.erb
194
+ - vendor/sprockets/test/fixtures/asset/foo-utf8.css
195
+ - vendor/sprockets/test/fixtures/asset/included_header.js
196
+ - vendor/sprockets/test/fixtures/asset/jquery.tmpl.min.js
197
+ - vendor/sprockets/test/fixtures/asset/mismatch.js
198
+ - vendor/sprockets/test/fixtures/asset/multiple.js
199
+ - vendor/sprockets/test/fixtures/asset/multipleengine.js
200
+ - vendor/sprockets/test/fixtures/asset/noengine.js
201
+ - vendor/sprockets/test/fixtures/asset/noformat.coffee
202
+ - vendor/sprockets/test/fixtures/asset/one.css
203
+ - vendor/sprockets/test/fixtures/asset/oneengine.js
204
+ - vendor/sprockets/test/fixtures/asset/project.css
205
+ - vendor/sprockets/test/fixtures/asset/project.js.erb
206
+ - vendor/sprockets/test/fixtures/asset/relative/include.js
207
+ - vendor/sprockets/test/fixtures/asset/relative/require.js
208
+ - vendor/sprockets/test/fixtures/asset/relative/require_outside_path.js
209
+ - vendor/sprockets/test/fixtures/asset/require_self.css
210
+ - vendor/sprockets/test/fixtures/asset/require_self_twice.css
211
+ - vendor/sprockets/test/fixtures/asset/semicolons/bar.js
212
+ - vendor/sprockets/test/fixtures/asset/semicolons/index.js
213
+ - vendor/sprockets/test/fixtures/asset/sprite.css.erb
214
+ - vendor/sprockets/test/fixtures/asset/tree/all/b.css
215
+ - vendor/sprockets/test/fixtures/asset/tree/all/b.js.erb
216
+ - vendor/sprockets/test/fixtures/asset/tree/all/b/c.js
217
+ - vendor/sprockets/test/fixtures/asset/tree/all/b/c/d.js
218
+ - vendor/sprockets/test/fixtures/asset/tree/all/b/c/e.js
219
+ - vendor/sprockets/test/fixtures/asset/tree/all/d/c.js.coffee
220
+ - vendor/sprockets/test/fixtures/asset/tree/all/d/e.js
221
+ - vendor/sprockets/test/fixtures/asset/tree/all_with_require.js
222
+ - vendor/sprockets/test/fixtures/asset/tree/all_with_require_directory.js
223
+ - vendor/sprockets/test/fixtures/asset/tree/all_with_require_tree.js
224
+ - vendor/sprockets/test/fixtures/asset/tree/directory/application.js
225
+ - vendor/sprockets/test/fixtures/asset/tree/directory/bar.js
226
+ - vendor/sprockets/test/fixtures/asset/tree/directory/foo.js
227
+ - vendor/sprockets/test/fixtures/asset/tree/tree/application.js
228
+ - vendor/sprockets/test/fixtures/asset/tree/tree/bar.js
229
+ - vendor/sprockets/test/fixtures/asset/tree/tree/foo.js
230
+ - vendor/sprockets/test/fixtures/asset/tree/with_logical_path/a/a.js
231
+ - vendor/sprockets/test/fixtures/asset/tree/with_logical_path/require_tree_with_logical_path.js
232
+ - vendor/sprockets/test/fixtures/asset/tree/without_argument/a.js
233
+ - vendor/sprockets/test/fixtures/asset/tree/without_argument/b.js
234
+ - vendor/sprockets/test/fixtures/asset/tree/without_argument/require_tree_without_argument.js
235
+ - vendor/sprockets/test/fixtures/asset/two.css
236
+ - vendor/sprockets/test/fixtures/asset/unicode.js
237
+ - vendor/sprockets/test/fixtures/asset/unknownexts.min.js
238
+ - vendor/sprockets/test/fixtures/asset/users.js.erb.str
239
+ - vendor/sprockets/test/fixtures/context/POW.png
240
+ - vendor/sprockets/test/fixtures/context/application.js.yml
241
+ - vendor/sprockets/test/fixtures/context/bar.js
242
+ - vendor/sprockets/test/fixtures/context/foo.js
243
+ - vendor/sprockets/test/fixtures/context/helpers.css.erb
244
+ - vendor/sprockets/test/fixtures/context/properties.js.erb
245
+ - vendor/sprockets/test/fixtures/context/require_glob.js
246
+ - vendor/sprockets/test/fixtures/context/resolve_content_type.js.erb
247
+ - vendor/sprockets/test/fixtures/context/sprite.css.embed
248
+ - vendor/sprockets/test/fixtures/default/application.js.coffee
249
+ - vendor/sprockets/test/fixtures/default/coffee/foo.coffee
250
+ - vendor/sprockets/test/fixtures/default/coffee/index.js
251
+ - vendor/sprockets/test/fixtures/default/empty
252
+ - vendor/sprockets/test/fixtures/default/gallery.css.erb
253
+ - vendor/sprockets/test/fixtures/default/gallery.js
254
+ - vendor/sprockets/test/fixtures/default/goodbye.jst.eco
255
+ - vendor/sprockets/test/fixtures/default/hello.jst.ejs
256
+ - vendor/sprockets/test/fixtures/default/hello.txt
257
+ - vendor/sprockets/test/fixtures/default/interpolation.js
258
+ - vendor/sprockets/test/fixtures/default/missing_require.js
259
+ - vendor/sprockets/test/fixtures/default/mobile/a.js
260
+ - vendor/sprockets/test/fixtures/default/mobile/b.js
261
+ - vendor/sprockets/test/fixtures/default/mobile/c.css
262
+ - vendor/sprockets/test/fixtures/default/mobile/d.css
263
+ - vendor/sprockets/test/fixtures/default/mobile/index.css
264
+ - vendor/sprockets/test/fixtures/default/mobile/index.js
265
+ - vendor/sprockets/test/fixtures/default/noreturn.js
266
+ - vendor/sprockets/test/fixtures/default/project.js.coffee.erb
267
+ - vendor/sprockets/test/fixtures/directives/code_before_comment
268
+ - vendor/sprockets/test/fixtures/directives/comment_without_directives
269
+ - vendor/sprockets/test/fixtures/directives/directive_word_splitting
270
+ - vendor/sprockets/test/fixtures/directives/directives_after_header
271
+ - vendor/sprockets/test/fixtures/directives/double_slash
272
+ - vendor/sprockets/test/fixtures/directives/hash
273
+ - vendor/sprockets/test/fixtures/directives/no_header
274
+ - vendor/sprockets/test/fixtures/directives/slash_star
275
+ - vendor/sprockets/test/fixtures/directives/slash_star_single
276
+ - vendor/sprockets/test/fixtures/directives/space_between_directive_word
277
+ - vendor/sprockets/test/fixtures/directives/triple_hash
278
+ - vendor/sprockets/test/fixtures/encoding/ascii.js
279
+ - vendor/sprockets/test/fixtures/encoding/ascii_utf8.js
280
+ - vendor/sprockets/test/fixtures/encoding/utf16.js
281
+ - vendor/sprockets/test/fixtures/encoding/utf8.js
282
+ - vendor/sprockets/test/fixtures/encoding/utf8_bom.js
283
+ - vendor/sprockets/test/fixtures/engines/hello.alert
284
+ - vendor/sprockets/test/fixtures/engines/moo.js.str
285
+ - vendor/sprockets/test/fixtures/public/compiled-digest-0aa2105d29558f3eb790d411d7d8fb66.js
286
+ - vendor/sprockets/test/fixtures/public/compiled-digest-1c41eb0cf934a0c76babe875f982f9d1.js
287
+ - vendor/sprockets/test/fixtures/server/app/javascripts/application.js
288
+ - vendor/sprockets/test/fixtures/server/app/javascripts/bar.js
289
+ - vendor/sprockets/test/fixtures/server/app/javascripts/foo.js
290
+ - vendor/sprockets/test/fixtures/server/app/javascripts/hello.txt
291
+ - vendor/sprockets/test/fixtures/server/app/javascripts/tree.js
292
+ - vendor/sprockets/test/fixtures/server/vendor/javascripts/missing_require.js
293
+ - vendor/sprockets/test/fixtures/server/vendor/stylesheets/missing_require.css
294
+ - vendor/sprockets/test/sprockets_test.rb
295
+ - vendor/sprockets/test/test_asset.rb
296
+ - vendor/sprockets/test/test_asset_attributes.rb
297
+ - vendor/sprockets/test/test_caching.rb
298
+ - vendor/sprockets/test/test_context.rb
299
+ - vendor/sprockets/test/test_directive_processor.rb
300
+ - vendor/sprockets/test/test_encoding.rb
301
+ - vendor/sprockets/test/test_engines.rb
302
+ - vendor/sprockets/test/test_environment.rb
303
+ - vendor/sprockets/test/test_server.rb
123
304
  - .gitignore
124
305
  - .gitmodules
125
306
  - Gemfile
@@ -153,6 +334,7 @@ files:
153
334
  - lib/bpm/repository.rb
154
335
  - lib/bpm/server.rb
155
336
  - lib/bpm/version.rb
337
+ - lib/vendored_sprockets.rb
156
338
  - spec/cli/add_spec.rb
157
339
  - spec/cli/build_spec.rb
158
340
  - spec/cli/fetch_spec.rb
@@ -168,28 +350,30 @@ files:
168
350
  - spec/cli/unyank_spec.rb
169
351
  - spec/cli/yank_spec.rb
170
352
  - spec/credentials_spec.rb
171
- - spec/fixtures/badrake-0.8.7.spd
172
- - spec/fixtures/builder-3.0.0.spd
173
- - spec/fixtures/bundler-1.1.pre.spd
174
- - spec/fixtures/coffee-1.0.1.pre.spd
175
- - spec/fixtures/core-test-0.4.9.spd
353
+ - spec/fixtures/badrake-0.8.7.bpkg
354
+ - spec/fixtures/builder-3.0.0.bpkg
355
+ - spec/fixtures/bundler-1.1.pre.bpkg
356
+ - spec/fixtures/coffee-1.0.1.pre.bpkg
357
+ - spec/fixtures/core-test-0.4.9.bpkg
176
358
  - spec/fixtures/core-test/bin/cot
177
359
  - spec/fixtures/core-test/lib/main.js
178
360
  - spec/fixtures/core-test/package.json
179
361
  - spec/fixtures/core-test/resources/runner.css
180
362
  - spec/fixtures/core-test/tests/test.js
181
- - spec/fixtures/custom_generator-1.0.spd
363
+ - spec/fixtures/custom_generator-1.0.bpkg
182
364
  - spec/fixtures/custom_generator/lib/main.js
183
365
  - spec/fixtures/custom_generator/package.json
184
366
  - spec/fixtures/custom_generator/templates/init/project.json
185
367
  - spec/fixtures/custom_generator/templates/project/app.js
186
368
  - spec/fixtures/custom_generator/templates/project/lib/main.js
187
369
  - spec/fixtures/custom_generator/templates/project_generator.rb
370
+ - spec/fixtures/custom_name/MyProject.json
188
371
  - spec/fixtures/hello_world/LICENSE
189
372
  - spec/fixtures/hello_world/README.md
190
373
  - spec/fixtures/hello_world/assets/bpm_packages.js
191
374
  - spec/fixtures/hello_world/assets/bpm_styles.css
192
375
  - spec/fixtures/hello_world/assets/papa-smurf.jpg
376
+ - spec/fixtures/hello_world/css/dummy.css
193
377
  - spec/fixtures/hello_world/hello_world.json
194
378
  - spec/fixtures/hello_world/lib/main.js
195
379
  - spec/fixtures/hello_world/packages/custom_package/assets/dummy.txt
@@ -198,15 +382,23 @@ files:
198
382
  - spec/fixtures/hello_world/packages/custom_package/lib/main.js
199
383
  - spec/fixtures/hello_world/packages/custom_package/package.json
200
384
  - spec/fixtures/hello_world/tests/main-test.js
201
- - spec/fixtures/highline-1.6.1.spd
202
- - spec/fixtures/ivory-0.0.1.spd
203
- - spec/fixtures/jquery-1.4.3.spd
204
- - spec/fixtures/optparse-1.0.1.spd
205
- - spec/fixtures/rake-0.8.6.spd
206
- - spec/fixtures/rake-0.8.7.spd
385
+ - spec/fixtures/highline-1.6.1.bpkg
386
+ - spec/fixtures/ivory-0.0.1.bpkg
387
+ - spec/fixtures/jquery-1.4.3.bpkg
388
+ - spec/fixtures/minitest/assets/bpm_packages.js
389
+ - spec/fixtures/minitest/assets/bpm_styles.css
390
+ - spec/fixtures/minitest/assets/minitest/app_package.js
391
+ - spec/fixtures/minitest/lib/main.js
392
+ - spec/fixtures/minitest/minitest.json
393
+ - spec/fixtures/minitest/packages/uglyduck/lib/main.js
394
+ - spec/fixtures/minitest/packages/uglyduck/minifier/main.js
395
+ - spec/fixtures/minitest/packages/uglyduck/package.json
396
+ - spec/fixtures/optparse-1.0.1.bpkg
397
+ - spec/fixtures/rake-0.8.6.bpkg
398
+ - spec/fixtures/rake-0.8.7.bpkg
207
399
  - spec/fixtures/simple_hello/assets/bpm_packages.js
208
400
  - spec/fixtures/simple_hello/lib/main.js
209
- - spec/fixtures/spade-0.5.0.spd
401
+ - spec/fixtures/spade-0.5.0.bpkg
210
402
  - spec/fixtures/src/README.txt
211
403
  - spec/fixtures/src/bundler-1.1.pre/.gitignore
212
404
  - spec/fixtures/src/bundler-1.1.pre/CHANGELOG.md
@@ -357,8 +549,9 @@ files:
357
549
  - spec/fixtures/src/spade/lib/main.js
358
550
  - spec/fixtures/src/spade/package.json
359
551
  - spec/fixtures/transporter/lib/main.js
360
- - spec/fixtures/transporter/packages/transport/lib/wrapper.js
552
+ - spec/fixtures/transporter/packages/transport/lib/main.js
361
553
  - spec/fixtures/transporter/packages/transport/package.json
554
+ - spec/fixtures/transporter/packages/transport/transports/wrapper.js
362
555
  - spec/fixtures/transporter/transporter.json
363
556
  - spec/gauntlet_spec.rb
364
557
  - spec/package_spec.rb
@@ -420,28 +613,30 @@ test_files:
420
613
  - spec/cli/unyank_spec.rb
421
614
  - spec/cli/yank_spec.rb
422
615
  - spec/credentials_spec.rb
423
- - spec/fixtures/badrake-0.8.7.spd
424
- - spec/fixtures/builder-3.0.0.spd
425
- - spec/fixtures/bundler-1.1.pre.spd
426
- - spec/fixtures/coffee-1.0.1.pre.spd
427
- - spec/fixtures/core-test-0.4.9.spd
616
+ - spec/fixtures/badrake-0.8.7.bpkg
617
+ - spec/fixtures/builder-3.0.0.bpkg
618
+ - spec/fixtures/bundler-1.1.pre.bpkg
619
+ - spec/fixtures/coffee-1.0.1.pre.bpkg
620
+ - spec/fixtures/core-test-0.4.9.bpkg
428
621
  - spec/fixtures/core-test/bin/cot
429
622
  - spec/fixtures/core-test/lib/main.js
430
623
  - spec/fixtures/core-test/package.json
431
624
  - spec/fixtures/core-test/resources/runner.css
432
625
  - spec/fixtures/core-test/tests/test.js
433
- - spec/fixtures/custom_generator-1.0.spd
626
+ - spec/fixtures/custom_generator-1.0.bpkg
434
627
  - spec/fixtures/custom_generator/lib/main.js
435
628
  - spec/fixtures/custom_generator/package.json
436
629
  - spec/fixtures/custom_generator/templates/init/project.json
437
630
  - spec/fixtures/custom_generator/templates/project/app.js
438
631
  - spec/fixtures/custom_generator/templates/project/lib/main.js
439
632
  - spec/fixtures/custom_generator/templates/project_generator.rb
633
+ - spec/fixtures/custom_name/MyProject.json
440
634
  - spec/fixtures/hello_world/LICENSE
441
635
  - spec/fixtures/hello_world/README.md
442
636
  - spec/fixtures/hello_world/assets/bpm_packages.js
443
637
  - spec/fixtures/hello_world/assets/bpm_styles.css
444
638
  - spec/fixtures/hello_world/assets/papa-smurf.jpg
639
+ - spec/fixtures/hello_world/css/dummy.css
445
640
  - spec/fixtures/hello_world/hello_world.json
446
641
  - spec/fixtures/hello_world/lib/main.js
447
642
  - spec/fixtures/hello_world/packages/custom_package/assets/dummy.txt
@@ -450,15 +645,23 @@ test_files:
450
645
  - spec/fixtures/hello_world/packages/custom_package/lib/main.js
451
646
  - spec/fixtures/hello_world/packages/custom_package/package.json
452
647
  - spec/fixtures/hello_world/tests/main-test.js
453
- - spec/fixtures/highline-1.6.1.spd
454
- - spec/fixtures/ivory-0.0.1.spd
455
- - spec/fixtures/jquery-1.4.3.spd
456
- - spec/fixtures/optparse-1.0.1.spd
457
- - spec/fixtures/rake-0.8.6.spd
458
- - spec/fixtures/rake-0.8.7.spd
648
+ - spec/fixtures/highline-1.6.1.bpkg
649
+ - spec/fixtures/ivory-0.0.1.bpkg
650
+ - spec/fixtures/jquery-1.4.3.bpkg
651
+ - spec/fixtures/minitest/assets/bpm_packages.js
652
+ - spec/fixtures/minitest/assets/bpm_styles.css
653
+ - spec/fixtures/minitest/assets/minitest/app_package.js
654
+ - spec/fixtures/minitest/lib/main.js
655
+ - spec/fixtures/minitest/minitest.json
656
+ - spec/fixtures/minitest/packages/uglyduck/lib/main.js
657
+ - spec/fixtures/minitest/packages/uglyduck/minifier/main.js
658
+ - spec/fixtures/minitest/packages/uglyduck/package.json
659
+ - spec/fixtures/optparse-1.0.1.bpkg
660
+ - spec/fixtures/rake-0.8.6.bpkg
661
+ - spec/fixtures/rake-0.8.7.bpkg
459
662
  - spec/fixtures/simple_hello/assets/bpm_packages.js
460
663
  - spec/fixtures/simple_hello/lib/main.js
461
- - spec/fixtures/spade-0.5.0.spd
664
+ - spec/fixtures/spade-0.5.0.bpkg
462
665
  - spec/fixtures/src/README.txt
463
666
  - spec/fixtures/src/bundler-1.1.pre/.gitignore
464
667
  - spec/fixtures/src/bundler-1.1.pre/CHANGELOG.md
@@ -609,8 +812,9 @@ test_files:
609
812
  - spec/fixtures/src/spade/lib/main.js
610
813
  - spec/fixtures/src/spade/package.json
611
814
  - spec/fixtures/transporter/lib/main.js
612
- - spec/fixtures/transporter/packages/transport/lib/wrapper.js
815
+ - spec/fixtures/transporter/packages/transport/lib/main.js
613
816
  - spec/fixtures/transporter/packages/transport/package.json
817
+ - spec/fixtures/transporter/packages/transport/transports/wrapper.js
614
818
  - spec/fixtures/transporter/transporter.json
615
819
  - spec/gauntlet_spec.rb
616
820
  - spec/package_spec.rb
@@ -1,5 +0,0 @@
1
-
2
- exports.compileTransport = function(body, pkg, moduleId) {
3
- return "define_transport(function() {\n"+body+"\n});";
4
- };
5
-