bundler 1.0.21 → 1.1.rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. data/.travis.yml +7 -0
  2. data/CHANGELOG.md +153 -1
  3. data/README.md +3 -3
  4. data/Rakefile +15 -27
  5. data/bin/bundle +7 -0
  6. data/bundler.gemspec +1 -1
  7. data/lib/bundler/cli.rb +126 -45
  8. data/lib/bundler/definition.rb +22 -5
  9. data/lib/bundler/dep_proxy.rb +35 -0
  10. data/lib/bundler/dsl.rb +17 -34
  11. data/lib/bundler/endpoint_specification.rb +69 -0
  12. data/lib/bundler/fetcher.rb +221 -0
  13. data/lib/bundler/gem_helper.rb +0 -1
  14. data/lib/bundler/gem_helpers.rb +23 -0
  15. data/lib/bundler/index.rb +77 -38
  16. data/lib/bundler/installer.rb +43 -1
  17. data/lib/bundler/man/bundle-benchmark +19 -0
  18. data/lib/bundler/man/bundle-benchmark.txt +27 -0
  19. data/lib/bundler/man/bundle-config +1 -1
  20. data/lib/bundler/man/bundle-config.txt +3 -3
  21. data/lib/bundler/man/bundle-install +288 -0
  22. data/lib/bundler/man/bundle-install.txt +74 -79
  23. data/lib/bundler/man/bundle-package +1 -1
  24. data/lib/bundler/man/bundle-package.txt +1 -1
  25. data/lib/bundler/man/bundle-update +1 -1
  26. data/lib/bundler/man/bundle-update.txt +41 -41
  27. data/lib/bundler/man/gemfile.5 +6 -7
  28. data/lib/bundler/man/gemfile.5.txt +9 -9
  29. data/lib/bundler/match_platform.rb +13 -0
  30. data/lib/bundler/remote_specification.rb +6 -8
  31. data/lib/bundler/resolver.rb +32 -19
  32. data/lib/bundler/rubygems_ext.rb +2 -86
  33. data/lib/bundler/rubygems_integration.rb +35 -0
  34. data/lib/bundler/runtime.rb +84 -1
  35. data/lib/bundler/source.rb +85 -88
  36. data/lib/bundler/spec_set.rb +2 -0
  37. data/lib/bundler/templates/Executable +1 -1
  38. data/lib/bundler/templates/newgem/Gemfile.tt +1 -1
  39. data/lib/bundler/templates/newgem/Rakefile.tt +1 -0
  40. data/lib/bundler/templates/newgem/bin/newgem.tt +1 -1
  41. data/lib/bundler/templates/newgem/gitignore.tt +14 -1
  42. data/lib/bundler/templates/newgem/newgem.gemspec.tt +13 -20
  43. data/lib/bundler/ui.rb +32 -17
  44. data/lib/bundler/vendor/net/http/faster.rb +27 -0
  45. data/lib/bundler/vendor/net/http/persistent.rb +468 -0
  46. data/lib/bundler/version.rb +1 -1
  47. data/lib/bundler.rb +56 -23
  48. data/man/bundle-install.ronn +7 -0
  49. data/man/bundle.ronn +3 -0
  50. data/man/gemfile.5.ronn +6 -6
  51. data/spec/bundler/dsl_spec.rb +22 -0
  52. data/spec/bundler/source_spec.rb +25 -0
  53. data/spec/install/deprecated_spec.rb +2 -3
  54. data/spec/install/gems/dependency_api_spec.rb +358 -0
  55. data/spec/install/gems/flex_spec.rb +1 -1
  56. data/spec/install/gems/groups_spec.rb +17 -8
  57. data/spec/install/gems/platform_spec.rb +16 -0
  58. data/spec/install/gems/post_install_spec.rb +47 -0
  59. data/spec/install/gems/simple_case_spec.rb +61 -64
  60. data/spec/install/gems/standalone_spec.rb +238 -0
  61. data/spec/install/git_spec.rb +62 -0
  62. data/spec/other/check_spec.rb +30 -0
  63. data/spec/other/clean_spec.rb +397 -0
  64. data/spec/other/exec_spec.rb +0 -29
  65. data/spec/other/newgem_spec.rb +39 -0
  66. data/spec/other/outdated_spec.rb +93 -0
  67. data/spec/other/show_spec.rb +6 -0
  68. data/spec/quality_spec.rb +1 -1
  69. data/spec/realworld/edgecases_spec.rb +12 -0
  70. data/spec/runtime/executable_spec.rb +10 -0
  71. data/spec/runtime/require_spec.rb +8 -9
  72. data/spec/runtime/with_clean_env_spec.rb +60 -7
  73. data/spec/spec_helper.rb +8 -1
  74. data/spec/support/artifice/endopint_marshal_fail_basic_authentication.rb +13 -0
  75. data/spec/support/artifice/endpoint.rb +54 -0
  76. data/spec/support/artifice/endpoint_500.rb +37 -0
  77. data/spec/support/artifice/endpoint_api_missing.rb +16 -0
  78. data/spec/support/artifice/endpoint_basic_authentication.rb +13 -0
  79. data/spec/support/artifice/endpoint_extra.rb +27 -0
  80. data/spec/support/artifice/endpoint_extra_missing.rb +15 -0
  81. data/spec/support/artifice/endpoint_fallback.rb +18 -0
  82. data/spec/support/artifice/endpoint_marshal_fail.rb +11 -0
  83. data/spec/support/artifice/endpoint_redirect.rb +15 -0
  84. data/spec/support/builders.rb +7 -0
  85. data/spec/support/fakeweb/rack-1.0.0.marshal +2 -0
  86. data/spec/support/fakeweb/windows.rb +23 -0
  87. data/spec/support/helpers.rb +36 -3
  88. data/spec/support/path.rb +2 -0
  89. data/spec/support/rubygems_ext.rb +3 -3
  90. metadata +48 -74
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
5
- prerelease: false
4
+ hash: 7712070
5
+ prerelease: true
6
6
  segments:
7
7
  - 1
8
- - 0
9
- - 21
10
- version: 1.0.21
8
+ - 1
9
+ - rc
10
+ version: 1.1.rc
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Andr\xC3\xA9 Arko"
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-09-30 00:00:00 -07:00
21
+ date: 2011-10-04 00:00:00 -05:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
@@ -41,12 +41,13 @@ dependencies:
41
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
- - - ">="
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
46
  hash: 3
47
47
  segments:
48
+ - 2
48
49
  - 0
49
- version: "0"
50
+ version: "2.0"
50
51
  type: :development
51
52
  version_requirements: *id002
52
53
  description: Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
@@ -73,11 +74,15 @@ files:
73
74
  - lib/bundler/capistrano.rb
74
75
  - lib/bundler/cli.rb
75
76
  - lib/bundler/definition.rb
77
+ - lib/bundler/dep_proxy.rb
76
78
  - lib/bundler/dependency.rb
77
79
  - lib/bundler/deployment.rb
78
80
  - lib/bundler/dsl.rb
81
+ - lib/bundler/endpoint_specification.rb
79
82
  - lib/bundler/environment.rb
83
+ - lib/bundler/fetcher.rb
80
84
  - lib/bundler/gem_helper.rb
85
+ - lib/bundler/gem_helpers.rb
81
86
  - lib/bundler/gem_installer.rb
82
87
  - lib/bundler/gem_tasks.rb
83
88
  - lib/bundler/graph.rb
@@ -85,6 +90,7 @@ files:
85
90
  - lib/bundler/installer.rb
86
91
  - lib/bundler/lazy_specification.rb
87
92
  - lib/bundler/lockfile_parser.rb
93
+ - lib/bundler/match_platform.rb
88
94
  - lib/bundler/remote_specification.rb
89
95
  - lib/bundler/resolver.rb
90
96
  - lib/bundler/rubygems_ext.rb
@@ -105,6 +111,8 @@ files:
105
111
  - lib/bundler/templates/newgem/lib/newgem/version.rb.tt
106
112
  - lib/bundler/templates/newgem/newgem.gemspec.tt
107
113
  - lib/bundler/ui.rb
114
+ - lib/bundler/vendor/net/http/faster.rb
115
+ - lib/bundler/vendor/net/http/persistent.rb
108
116
  - lib/bundler/vendor/thor.rb
109
117
  - lib/bundler/vendor/thor/actions.rb
110
118
  - lib/bundler/vendor/thor/actions/create_file.rb
@@ -145,7 +153,9 @@ files:
145
153
  - man/bundle.ronn
146
154
  - man/gemfile.5.ronn
147
155
  - man/index.txt
156
+ - spec/bundler/dsl_spec.rb
148
157
  - spec/bundler/gem_helper_spec.rb
158
+ - spec/bundler/source_spec.rb
149
159
  - spec/cache/gems_spec.rb
150
160
  - spec/cache/git_spec.rb
151
161
  - spec/cache/path_spec.rb
@@ -153,13 +163,16 @@ files:
153
163
  - spec/install/deploy_spec.rb
154
164
  - spec/install/deprecated_spec.rb
155
165
  - spec/install/gems/c_ext_spec.rb
166
+ - spec/install/gems/dependency_api_spec.rb
156
167
  - spec/install/gems/env_spec.rb
157
168
  - spec/install/gems/flex_spec.rb
158
169
  - spec/install/gems/groups_spec.rb
159
170
  - spec/install/gems/packed_spec.rb
160
171
  - spec/install/gems/platform_spec.rb
172
+ - spec/install/gems/post_install_spec.rb
161
173
  - spec/install/gems/resolving_spec.rb
162
174
  - spec/install/gems/simple_case_spec.rb
175
+ - spec/install/gems/standalone_spec.rb
163
176
  - spec/install/gems/sudo_spec.rb
164
177
  - spec/install/gems/win32_spec.rb
165
178
  - spec/install/gemspec_spec.rb
@@ -170,6 +183,7 @@ files:
170
183
  - spec/lock/git_spec.rb
171
184
  - spec/lock/lockfile_spec.rb
172
185
  - spec/other/check_spec.rb
186
+ - spec/other/clean_spec.rb
173
187
  - spec/other/config_spec.rb
174
188
  - spec/other/console_spec.rb
175
189
  - spec/other/exec_spec.rb
@@ -178,8 +192,10 @@ files:
178
192
  - spec/other/init_spec.rb
179
193
  - spec/other/newgem_spec.rb
180
194
  - spec/other/open_spec.rb
195
+ - spec/other/outdated_spec.rb
181
196
  - spec/other/show_spec.rb
182
197
  - spec/quality_spec.rb
198
+ - spec/realworld/edgecases_spec.rb
183
199
  - spec/resolver/basic_spec.rb
184
200
  - spec/resolver/platform_spec.rb
185
201
  - spec/runtime/executable_spec.rb
@@ -189,7 +205,19 @@ files:
189
205
  - spec/runtime/setup_spec.rb
190
206
  - spec/runtime/with_clean_env_spec.rb
191
207
  - spec/spec_helper.rb
208
+ - spec/support/artifice/endopint_marshal_fail_basic_authentication.rb
209
+ - spec/support/artifice/endpoint.rb
210
+ - spec/support/artifice/endpoint_500.rb
211
+ - spec/support/artifice/endpoint_api_missing.rb
212
+ - spec/support/artifice/endpoint_basic_authentication.rb
213
+ - spec/support/artifice/endpoint_extra.rb
214
+ - spec/support/artifice/endpoint_extra_missing.rb
215
+ - spec/support/artifice/endpoint_fallback.rb
216
+ - spec/support/artifice/endpoint_marshal_fail.rb
217
+ - spec/support/artifice/endpoint_redirect.rb
192
218
  - spec/support/builders.rb
219
+ - spec/support/fakeweb/rack-1.0.0.marshal
220
+ - spec/support/fakeweb/windows.rb
193
221
  - spec/support/helpers.rb
194
222
  - spec/support/indexes.rb
195
223
  - spec/support/matchers.rb
@@ -202,20 +230,22 @@ files:
202
230
  - spec/update/gems_spec.rb
203
231
  - spec/update/git_spec.rb
204
232
  - spec/update/source_spec.rb
205
- - lib/bundler/man/bundle
206
- - lib/bundler/man/bundle-config
207
- - lib/bundler/man/bundle-config.txt
208
233
  - lib/bundler/man/bundle-exec
209
- - lib/bundler/man/bundle-exec.txt
234
+ - lib/bundler/man/bundle
210
235
  - lib/bundler/man/bundle-install
211
- - lib/bundler/man/bundle-install.txt
236
+ - lib/bundler/man/gemfile.5
237
+ - lib/bundler/man/bundle-benchmark
212
238
  - lib/bundler/man/bundle-package
213
- - lib/bundler/man/bundle-package.txt
214
239
  - lib/bundler/man/bundle-update
240
+ - lib/bundler/man/bundle-exec.txt
241
+ - lib/bundler/man/gemfile.5.txt
215
242
  - lib/bundler/man/bundle-update.txt
243
+ - lib/bundler/man/bundle-config
244
+ - lib/bundler/man/bundle-config.txt
245
+ - lib/bundler/man/bundle-benchmark.txt
216
246
  - lib/bundler/man/bundle.txt
217
- - lib/bundler/man/gemfile.5
218
- - lib/bundler/man/gemfile.5.txt
247
+ - lib/bundler/man/bundle-package.txt
248
+ - lib/bundler/man/bundle-install.txt
219
249
  has_rdoc: true
220
250
  homepage: http://gembundler.com
221
251
  licenses: []
@@ -252,61 +282,5 @@ rubygems_version: 1.3.7
252
282
  signing_key:
253
283
  specification_version: 3
254
284
  summary: The best way to manage your application's dependencies
255
- test_files:
256
- - spec/bundler/gem_helper_spec.rb
257
- - spec/cache/gems_spec.rb
258
- - spec/cache/git_spec.rb
259
- - spec/cache/path_spec.rb
260
- - spec/cache/platform_spec.rb
261
- - spec/install/deploy_spec.rb
262
- - spec/install/deprecated_spec.rb
263
- - spec/install/gems/c_ext_spec.rb
264
- - spec/install/gems/env_spec.rb
265
- - spec/install/gems/flex_spec.rb
266
- - spec/install/gems/groups_spec.rb
267
- - spec/install/gems/packed_spec.rb
268
- - spec/install/gems/platform_spec.rb
269
- - spec/install/gems/resolving_spec.rb
270
- - spec/install/gems/simple_case_spec.rb
271
- - spec/install/gems/sudo_spec.rb
272
- - spec/install/gems/win32_spec.rb
273
- - spec/install/gemspec_spec.rb
274
- - spec/install/git_spec.rb
275
- - spec/install/invalid_spec.rb
276
- - spec/install/path_spec.rb
277
- - spec/install/upgrade_spec.rb
278
- - spec/lock/git_spec.rb
279
- - spec/lock/lockfile_spec.rb
280
- - spec/other/check_spec.rb
281
- - spec/other/config_spec.rb
282
- - spec/other/console_spec.rb
283
- - spec/other/exec_spec.rb
284
- - spec/other/ext_spec.rb
285
- - spec/other/help_spec.rb
286
- - spec/other/init_spec.rb
287
- - spec/other/newgem_spec.rb
288
- - spec/other/open_spec.rb
289
- - spec/other/show_spec.rb
290
- - spec/quality_spec.rb
291
- - spec/resolver/basic_spec.rb
292
- - spec/resolver/platform_spec.rb
293
- - spec/runtime/executable_spec.rb
294
- - spec/runtime/load_spec.rb
295
- - spec/runtime/platform_spec.rb
296
- - spec/runtime/require_spec.rb
297
- - spec/runtime/setup_spec.rb
298
- - spec/runtime/with_clean_env_spec.rb
299
- - spec/spec_helper.rb
300
- - spec/support/builders.rb
301
- - spec/support/helpers.rb
302
- - spec/support/indexes.rb
303
- - spec/support/matchers.rb
304
- - spec/support/path.rb
305
- - spec/support/platforms.rb
306
- - spec/support/ruby_ext.rb
307
- - spec/support/rubygems_ext.rb
308
- - spec/support/rubygems_hax/platform.rb
309
- - spec/support/sudo.rb
310
- - spec/update/gems_spec.rb
311
- - spec/update/git_spec.rb
312
- - spec/update/source_spec.rb
285
+ test_files: []
286
+