bundler 1.10.6 → 1.11.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +105 -0
  3. data/.rubocop_todo.yml +120 -0
  4. data/.travis.yml +8 -23
  5. data/CHANGELOG.md +69 -0
  6. data/CODE_OF_CONDUCT.md +6 -4
  7. data/DEVELOPMENT.md +4 -5
  8. data/README.md +2 -2
  9. data/Rakefile +70 -87
  10. data/bin/rake +14 -0
  11. data/bin/rspec +10 -0
  12. data/bin/rubocop +11 -0
  13. data/bundler.gemspec +17 -15
  14. data/exe/bundle +20 -0
  15. data/{bin → exe}/bundle_ruby +6 -4
  16. data/exe/bundler +20 -0
  17. data/lib/bundler.rb +98 -119
  18. data/lib/bundler/capistrano.rb +2 -2
  19. data/lib/bundler/cli.rb +85 -74
  20. data/lib/bundler/cli/binstubs.rb +1 -2
  21. data/lib/bundler/cli/cache.rb +0 -1
  22. data/lib/bundler/cli/check.rb +7 -5
  23. data/lib/bundler/cli/clean.rb +0 -1
  24. data/lib/bundler/cli/common.rb +6 -7
  25. data/lib/bundler/cli/config.rb +69 -56
  26. data/lib/bundler/cli/console.rb +8 -8
  27. data/lib/bundler/cli/exec.rb +4 -3
  28. data/lib/bundler/cli/gem.rb +50 -39
  29. data/lib/bundler/cli/init.rb +5 -6
  30. data/lib/bundler/cli/inject.rb +1 -2
  31. data/lib/bundler/cli/install.rb +18 -21
  32. data/lib/bundler/cli/lock.rb +8 -3
  33. data/lib/bundler/cli/open.rb +4 -5
  34. data/lib/bundler/cli/outdated.rb +7 -8
  35. data/lib/bundler/cli/package.rb +1 -1
  36. data/lib/bundler/cli/platform.rb +2 -3
  37. data/lib/bundler/cli/show.rb +9 -9
  38. data/lib/bundler/cli/update.rb +2 -3
  39. data/lib/bundler/cli/viz.rb +1 -2
  40. data/lib/bundler/constants.rb +1 -1
  41. data/lib/bundler/current_ruby.rb +38 -3
  42. data/lib/bundler/definition.rb +83 -88
  43. data/lib/bundler/dep_proxy.rb +11 -9
  44. data/lib/bundler/dependency.rb +26 -11
  45. data/lib/bundler/deployment.rb +2 -2
  46. data/lib/bundler/deprecate.rb +3 -3
  47. data/lib/bundler/dsl.rb +63 -44
  48. data/lib/bundler/env.rb +19 -12
  49. data/lib/bundler/environment.rb +1 -2
  50. data/lib/bundler/errors.rb +82 -0
  51. data/lib/bundler/fetcher.rb +45 -39
  52. data/lib/bundler/fetcher/base.rb +20 -7
  53. data/lib/bundler/fetcher/dependency.rb +5 -5
  54. data/lib/bundler/fetcher/downloader.rb +1 -2
  55. data/lib/bundler/fetcher/index.rb +4 -7
  56. data/lib/bundler/friendly_errors.rb +15 -8
  57. data/lib/bundler/gem_helper.rb +44 -35
  58. data/lib/bundler/gem_helpers.rb +7 -8
  59. data/lib/bundler/gem_remote_fetcher.rb +41 -0
  60. data/lib/bundler/gem_tasks.rb +4 -1
  61. data/lib/bundler/graph.rb +25 -24
  62. data/lib/bundler/index.rb +21 -18
  63. data/lib/bundler/injector.rb +2 -4
  64. data/lib/bundler/inline.rb +3 -3
  65. data/lib/bundler/installer.rb +57 -144
  66. data/lib/bundler/installer/gem_installer.rb +76 -0
  67. data/lib/bundler/installer/parallel_installer.rb +22 -13
  68. data/lib/bundler/installer/standalone.rb +48 -0
  69. data/lib/bundler/lazy_specification.rb +3 -4
  70. data/lib/bundler/lockfile_parser.rb +21 -19
  71. data/lib/bundler/match_platform.rb +4 -4
  72. data/lib/bundler/psyched_yaml.rb +3 -3
  73. data/lib/bundler/remote_specification.rb +1 -1
  74. data/lib/bundler/resolver.rb +93 -88
  75. data/lib/bundler/retry.rb +9 -10
  76. data/lib/bundler/ruby_dsl.rb +1 -1
  77. data/lib/bundler/ruby_version.rb +7 -10
  78. data/lib/bundler/rubygems_ext.rb +32 -27
  79. data/lib/bundler/{gem_installer.rb → rubygems_gem_installer.rb} +2 -2
  80. data/lib/bundler/rubygems_integration.rb +85 -70
  81. data/lib/bundler/runtime.rb +57 -61
  82. data/lib/bundler/settings.rb +27 -26
  83. data/lib/bundler/setup.rb +3 -3
  84. data/lib/bundler/shared_helpers.rb +45 -20
  85. data/lib/bundler/similarity_detector.rb +19 -21
  86. data/lib/bundler/source.rb +4 -5
  87. data/lib/bundler/source/git.rb +29 -31
  88. data/lib/bundler/source/git/git_proxy.rb +52 -26
  89. data/lib/bundler/source/path.rb +25 -28
  90. data/lib/bundler/source/path/installer.rb +4 -4
  91. data/lib/bundler/source/rubygems.rb +62 -48
  92. data/lib/bundler/source/rubygems/remote.rb +3 -3
  93. data/lib/bundler/source_list.rb +4 -4
  94. data/lib/bundler/spec_set.rb +17 -15
  95. data/lib/bundler/ssl_certs/certificate_manager.rb +5 -6
  96. data/lib/bundler/stub_specification.rb +2 -2
  97. data/lib/bundler/templates/Executable +5 -5
  98. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +42 -6
  99. data/lib/bundler/templates/newgem/README.md.tt +1 -1
  100. data/lib/bundler/templates/newgem/Rakefile.tt +4 -2
  101. data/lib/bundler/templates/newgem/bin/setup.tt +2 -1
  102. data/lib/bundler/templates/newgem/newgem.gemspec.tt +2 -2
  103. data/lib/bundler/ui.rb +3 -3
  104. data/lib/bundler/ui/rg_proxy.rb +2 -2
  105. data/lib/bundler/ui/shell.rb +10 -6
  106. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +82 -71
  107. data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +1 -1
  108. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +9 -0
  109. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +40 -21
  110. data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +8 -0
  111. data/lib/bundler/vendored_molinillo.rb +1 -1
  112. data/lib/bundler/vendored_persistent.rb +3 -3
  113. data/lib/bundler/vendored_thor.rb +2 -2
  114. data/lib/bundler/version.rb +1 -1
  115. data/lib/bundler/vlad.rb +1 -1
  116. data/lib/bundler/worker.rb +4 -5
  117. data/man/bundle-config.ronn +4 -2
  118. data/man/bundle-gem.ronn +77 -0
  119. data/man/bundle-install.ronn +13 -6
  120. data/man/bundle-lock.ronn +47 -0
  121. data/man/bundle.ronn +1 -1
  122. data/man/gemfile.5.ronn +8 -0
  123. data/man/index.txt +1 -0
  124. metadata +37 -8
  125. data/bin/bundle +0 -21
  126. data/bin/bundler +0 -21
@@ -183,6 +183,8 @@ There are a number of `Gemfile` platforms:
183
183
  _ruby_ `AND` version 2.1
184
184
  * `ruby_22`:
185
185
  _ruby_ `AND` version 2.2
186
+ * `ruby_23`:
187
+ _ruby_ `AND` version 2.3
186
188
  * `mri`:
187
189
  Same as _ruby_, but not Rubinius
188
190
  * `mri_18`:
@@ -195,6 +197,8 @@ There are a number of `Gemfile` platforms:
195
197
  _mri_ `AND` version 2.1
196
198
  * `mri_22`:
197
199
  _mri_ `AND` version 2.2
200
+ * `mri_23`:
201
+ _mri_ `AND` version 2.3
198
202
  * `rbx`:
199
203
  Same as _ruby_, but only Rubinius (not MRI)
200
204
  * `jruby`:
@@ -213,6 +217,8 @@ There are a number of `Gemfile` platforms:
213
217
  _mingw_ `AND` version 2.1
214
218
  * `mingw_22`:
215
219
  _mingw_ `AND` version 2.2
220
+ * `mingw_23`:
221
+ _mingw_ `AND` version 2.3
216
222
  * `x64_mingw`:
217
223
  Windows 64 bit 'mingw32' platform (aka RubyInstaller x64)
218
224
  * `x64_mingw_20`:
@@ -221,6 +227,8 @@ There are a number of `Gemfile` platforms:
221
227
  _x64_mingw_ `AND` version 2.1
222
228
  * `x64_mingw_22`:
223
229
  _x64_mingw_ `AND` version 2.2
230
+ * `x64_mingw_23`:
231
+ _x64_mingw_ `AND` version 2.3
224
232
 
225
233
  As with groups, you can specify one or more platforms:
226
234
 
@@ -5,3 +5,4 @@ bundle-package bundle-package.1
5
5
  bundle-exec bundle-exec.1
6
6
  bundle-config bundle-config.1
7
7
  bundle-platform bundle-platform.1
8
+ bundle-gem bundle-gem.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.6
4
+ version: 1.11.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -9,10 +9,24 @@ authors:
9
9
  - Carl Lerche
10
10
  - Yehuda Katz
11
11
  autorequire:
12
- bindir: bin
12
+ bindir: exe
13
13
  cert_chain: []
14
- date: 2015-07-22 00:00:00.000000000 Z
14
+ date: 2015-11-30 00:00:00.000000000 Z
15
15
  dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: automatiek
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: 0.1.0
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 0.1.0
16
30
  - !ruby/object:Gem::Dependency
17
31
  name: mustache
18
32
  requirement: !ruby/object:Gem::Requirement
@@ -95,6 +109,8 @@ extra_rdoc_files: []
95
109
  files:
96
110
  - ".gitignore"
97
111
  - ".rspec"
112
+ - ".rubocop.yml"
113
+ - ".rubocop_todo.yml"
98
114
  - ".travis.yml"
99
115
  - CHANGELOG.md
100
116
  - CODE_OF_CONDUCT.md
@@ -104,10 +120,13 @@ files:
104
120
  - LICENSE.md
105
121
  - README.md
106
122
  - Rakefile
107
- - bin/bundle
108
- - bin/bundle_ruby
109
- - bin/bundler
123
+ - bin/rake
124
+ - bin/rspec
125
+ - bin/rubocop
110
126
  - bundler.gemspec
127
+ - exe/bundle
128
+ - exe/bundle_ruby
129
+ - exe/bundler
111
130
  - lib/bundler.rb
112
131
  - lib/bundler/capistrano.rb
113
132
  - lib/bundler/cli.rb
@@ -142,6 +161,7 @@ files:
142
161
  - lib/bundler/endpoint_specification.rb
143
162
  - lib/bundler/env.rb
144
163
  - lib/bundler/environment.rb
164
+ - lib/bundler/errors.rb
145
165
  - lib/bundler/fetcher.rb
146
166
  - lib/bundler/fetcher/base.rb
147
167
  - lib/bundler/fetcher/dependency.rb
@@ -150,15 +170,17 @@ files:
150
170
  - lib/bundler/friendly_errors.rb
151
171
  - lib/bundler/gem_helper.rb
152
172
  - lib/bundler/gem_helpers.rb
153
- - lib/bundler/gem_installer.rb
154
173
  - lib/bundler/gem_path_manipulation.rb
174
+ - lib/bundler/gem_remote_fetcher.rb
155
175
  - lib/bundler/gem_tasks.rb
156
176
  - lib/bundler/graph.rb
157
177
  - lib/bundler/index.rb
158
178
  - lib/bundler/injector.rb
159
179
  - lib/bundler/inline.rb
160
180
  - lib/bundler/installer.rb
181
+ - lib/bundler/installer/gem_installer.rb
161
182
  - lib/bundler/installer/parallel_installer.rb
183
+ - lib/bundler/installer/standalone.rb
162
184
  - lib/bundler/lazy_specification.rb
163
185
  - lib/bundler/lockfile_parser.rb
164
186
  - lib/bundler/man/bundle
@@ -166,8 +188,12 @@ files:
166
188
  - lib/bundler/man/bundle-config.txt
167
189
  - lib/bundler/man/bundle-exec
168
190
  - lib/bundler/man/bundle-exec.txt
191
+ - lib/bundler/man/bundle-gem
192
+ - lib/bundler/man/bundle-gem.txt
169
193
  - lib/bundler/man/bundle-install
170
194
  - lib/bundler/man/bundle-install.txt
195
+ - lib/bundler/man/bundle-lock
196
+ - lib/bundler/man/bundle-lock.txt
171
197
  - lib/bundler/man/bundle-package
172
198
  - lib/bundler/man/bundle-package.txt
173
199
  - lib/bundler/man/bundle-platform
@@ -185,6 +211,7 @@ files:
185
211
  - lib/bundler/ruby_dsl.rb
186
212
  - lib/bundler/ruby_version.rb
187
213
  - lib/bundler/rubygems_ext.rb
214
+ - lib/bundler/rubygems_gem_installer.rb
188
215
  - lib/bundler/rubygems_integration.rb
189
216
  - lib/bundler/runtime.rb
190
217
  - lib/bundler/settings.rb
@@ -289,7 +316,9 @@ files:
289
316
  - lib/bundler/worker.rb
290
317
  - man/bundle-config.ronn
291
318
  - man/bundle-exec.ronn
319
+ - man/bundle-gem.ronn
292
320
  - man/bundle-install.ronn
321
+ - man/bundle-lock.ronn
293
322
  - man/bundle-package.ronn
294
323
  - man/bundle-platform.ronn
295
324
  - man/bundle-update.ronn
@@ -316,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
345
  version: 1.3.6
317
346
  requirements: []
318
347
  rubyforge_project:
319
- rubygems_version: 2.4.8
348
+ rubygems_version: 2.5.0
320
349
  signing_key:
321
350
  specification_version: 4
322
351
  summary: The best way to manage your application's dependencies
data/bin/bundle DELETED
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # Exit cleanly from an early interrupt
4
- Signal.trap("INT") { exit 1 }
5
-
6
- require 'bundler'
7
- # Check if an older version of bundler is installed
8
- $LOAD_PATH.each do |path|
9
- if path =~ %r'/bundler-0\.(\d+)' && $1.to_i < 9
10
- err = "Looks like you have a version of bundler that's older than 0.9.\n"
11
- err << "Please remove your old versions.\n"
12
- err << "An easy way to do this is by running `gem cleanup bundler`."
13
- abort(err)
14
- end
15
- end
16
-
17
- require 'bundler/friendly_errors'
18
- Bundler.with_friendly_errors do
19
- require 'bundler/cli'
20
- Bundler::CLI.start(ARGV, :debug => true)
21
- end
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # Exit cleanly from an early interrupt
4
- Signal.trap("INT") { exit 1 }
5
-
6
- require 'bundler'
7
- # Check if an older version of bundler is installed
8
- $LOAD_PATH.each do |path|
9
- if path =~ %r'/bundler-0\.(\d+)' && $1.to_i < 9
10
- err = "Looks like you have a version of bundler that's older than 0.9.\n"
11
- err << "Please remove your old versions.\n"
12
- err << "An easy way to do this is by running `gem cleanup bundler`."
13
- abort(err)
14
- end
15
- end
16
-
17
- require 'bundler/friendly_errors'
18
- Bundler.with_friendly_errors do
19
- require 'bundler/cli'
20
- Bundler::CLI.start(ARGV, :debug => true)
21
- end