bundler 1.14.6 → 1.15.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.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +131 -43
- data/.travis.yml +5 -5
- data/CHANGELOG.md +52 -8
- data/CONTRIBUTING.md +10 -29
- data/README.md +13 -6
- data/Rakefile +4 -2
- data/bin/rubocop +1 -1
- data/doc/README.md +30 -0
- data/doc/TROUBLESHOOTING.md +64 -0
- data/doc/contributing/BUG_TRIAGE.md +36 -0
- data/doc/contributing/COMMUNITY.md +13 -0
- data/doc/contributing/GETTING_HELP.md +11 -0
- data/doc/contributing/HOW_YOU_CAN_HELP.md +27 -0
- data/doc/contributing/ISSUES.md +51 -0
- data/doc/contributing/README.md +38 -0
- data/doc/development/NEW_FEATURES.md +10 -0
- data/doc/development/PULL_REQUESTS.md +40 -0
- data/doc/development/README.md +19 -0
- data/doc/development/RELEASING.md +9 -0
- data/doc/development/SETUP.md +29 -0
- data/doc/documentation/README.md +29 -0
- data/doc/documentation/VISION.md +26 -0
- data/doc/documentation/WRITING.md +54 -0
- data/exe/bundle +4 -1
- data/lib/bundler.rb +20 -13
- data/lib/bundler/cli.rb +67 -3
- data/lib/bundler/cli/add.rb +26 -0
- data/lib/bundler/cli/config.rb +24 -6
- data/lib/bundler/cli/gem.rb +13 -8
- data/lib/bundler/cli/info.rb +51 -0
- data/lib/bundler/cli/inject.rb +8 -2
- data/lib/bundler/cli/install.rb +1 -1
- data/lib/bundler/cli/issue.rb +40 -0
- data/lib/bundler/cli/outdated.rb +16 -18
- data/lib/bundler/cli/pristine.rb +33 -0
- data/lib/bundler/cli/viz.rb +1 -1
- data/lib/bundler/definition.rb +64 -48
- data/lib/bundler/dsl.rb +6 -0
- data/lib/bundler/endpoint_specification.rb +3 -9
- data/lib/bundler/env.rb +3 -3
- data/lib/bundler/errors.rb +1 -1
- data/lib/bundler/fetcher/downloader.rb +3 -2
- data/lib/bundler/gem_helper.rb +5 -0
- data/lib/bundler/index.rb +9 -3
- data/lib/bundler/injector.rb +32 -11
- data/lib/bundler/installer.rb +1 -1
- data/lib/bundler/installer/parallel_installer.rb +15 -1
- data/lib/bundler/lazy_specification.rb +6 -0
- data/lib/bundler/lockfile_parser.rb +42 -34
- data/lib/bundler/mirror.rb +2 -0
- data/lib/bundler/plugin.rb +5 -1
- data/lib/bundler/plugin/api/source.rb +1 -1
- data/lib/bundler/plugin/index.rb +2 -0
- data/lib/bundler/remote_specification.rb +16 -7
- data/lib/bundler/resolver.rb +13 -3
- data/lib/bundler/rubygems_ext.rb +8 -3
- data/lib/bundler/rubygems_integration.rb +85 -36
- data/lib/bundler/runtime.rb +4 -1
- data/lib/bundler/settings.rb +2 -1
- data/lib/bundler/setup.rb +1 -1
- data/lib/bundler/shared_helpers.rb +26 -1
- data/lib/bundler/source.rb +17 -1
- data/lib/bundler/source/git.rb +16 -0
- data/lib/bundler/source/path.rb +13 -3
- data/lib/bundler/source/path/installer.rb +2 -2
- data/lib/bundler/source/rubygems.rb +5 -2
- data/lib/bundler/spec_set.rb +22 -13
- data/lib/bundler/stub_specification.rb +64 -2
- data/lib/bundler/templates/Executable +1 -1
- data/lib/bundler/templates/Executable.standalone +5 -5
- data/lib/bundler/templates/newgem/Gemfile.tt +2 -2
- data/lib/bundler/templates/newgem/LICENSE.txt.tt +1 -1
- data/lib/bundler/templates/newgem/README.md.tt +12 -6
- data/lib/bundler/templates/newgem/Rakefile.tt +5 -5
- data/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +4 -4
- data/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +3 -3
- data/lib/bundler/templates/newgem/lib/newgem.rb.tt +6 -6
- data/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +4 -4
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +9 -9
- data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +3 -0
- data/lib/bundler/templates/newgem/test/newgem_test.rb.tt +1 -1
- data/lib/bundler/templates/newgem/test/test_helper.rb.tt +3 -3
- data/lib/bundler/ui/shell.rb +9 -6
- data/lib/bundler/vendor/thor/lib/thor.rb +31 -23
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +21 -22
- data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +8 -8
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +23 -12
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +10 -14
- data/lib/bundler/vendor/thor/lib/thor/base.rb +30 -30
- data/lib/bundler/vendor/thor/lib/thor/command.rb +9 -9
- data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +9 -1
- data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +7 -5
- data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +94 -63
- data/lib/bundler/vendor/thor/lib/thor/error.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/group.rb +12 -12
- data/lib/bundler/vendor/thor/lib/thor/invocation.rb +4 -5
- data/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +4 -7
- data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +16 -16
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +40 -19
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +7 -5
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +25 -25
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +41 -26
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/util.rb +8 -7
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/version.rb +14 -1
- data/lib/bundler/version_ranges.rb +75 -0
- data/lib/bundler/worker.rb +2 -1
- data/man/bundle-check.ronn +26 -0
- data/man/bundle-clean.ronn +18 -0
- data/man/bundle-config.ronn +4 -1
- data/man/bundle-info.ronn +17 -0
- data/man/bundle-init.ronn +18 -0
- data/man/bundle-inject.ronn +22 -0
- data/man/bundle-open.ronn +19 -0
- data/man/bundle-show.ronn +20 -0
- data/man/bundle-update.ronn +5 -2
- data/man/bundle-viz.ronn +30 -0
- data/man/bundle.ronn +3 -0
- data/man/gemfile.5.ronn +24 -64
- data/task/release.rake +115 -0
- metadata +49 -5
- data/DEVELOPMENT.md +0 -150
- data/ISSUES.md +0 -117
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3f5c3cfea6018ae18799cb8d0d6c68f271bf2b77
|
4
|
+
data.tar.gz: bf3d00e24ba99f5a26ce3eb1a5ad4527c779dd36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c630eea80f696e889d637331100fd135d707768d5a1e386f13fc1aba4858613584ab29820e412fff661c5d156a198014fa04d70251319d7c2b8d7fc46074aa4
|
7
|
+
data.tar.gz: dccd06fcba8de7d284f8cba7aa62fac1ee4906c52fcfda8dfd279b4a8072a31b7d33cbb0f2a3c5d80cf7303e8a3e6de2e5183baf442e63b66944bc2716ab82c0
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,24 +1,32 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2017-04-08 17:26:10 -0500 using RuboCop version 0.48.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
+
# Offense count: 23
|
10
|
+
Lint/AmbiguousBlockAssociation:
|
11
|
+
Exclude:
|
12
|
+
- 'lib/bundler/definition.rb'
|
13
|
+
- 'lib/bundler/resolver.rb'
|
14
|
+
- 'lib/bundler/runtime.rb'
|
15
|
+
- 'lib/bundler/source/path.rb'
|
16
|
+
- 'spec/bundler/compact_index_client/updater_spec.rb'
|
17
|
+
- 'spec/commands/init_spec.rb'
|
18
|
+
- 'spec/commands/install_spec.rb'
|
19
|
+
- 'spec/install/gems/flex_spec.rb'
|
20
|
+
- 'spec/lock/lockfile_spec.rb'
|
21
|
+
- 'spec/runtime/setup_spec.rb'
|
22
|
+
- 'spec/support/indexes.rb'
|
23
|
+
|
9
24
|
# Offense count: 2
|
10
25
|
Lint/EmptyWhen:
|
11
26
|
Exclude:
|
12
27
|
- 'lib/bundler/friendly_errors.rb'
|
13
28
|
- 'spec/support/builders.rb'
|
14
29
|
|
15
|
-
# Offense count: 4
|
16
|
-
Lint/Eval:
|
17
|
-
Exclude:
|
18
|
-
- 'lib/bundler.rb'
|
19
|
-
- 'lib/bundler/endpoint_specification.rb'
|
20
|
-
- 'spec/support/streams.rb'
|
21
|
-
|
22
30
|
# Offense count: 4
|
23
31
|
Lint/HandleExceptions:
|
24
32
|
Exclude:
|
@@ -46,8 +54,14 @@ Lint/RescueException:
|
|
46
54
|
- 'lib/bundler/rubygems_integration.rb'
|
47
55
|
- 'lib/bundler/worker.rb'
|
48
56
|
|
57
|
+
# Offense count: 2
|
58
|
+
Lint/ShadowedException:
|
59
|
+
Exclude:
|
60
|
+
- 'lib/bundler.rb'
|
61
|
+
- 'lib/bundler/rubygems_integration.rb'
|
62
|
+
|
49
63
|
# Offense count: 1
|
50
|
-
# Configuration parameters: ContextCreatingMethods.
|
64
|
+
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
|
51
65
|
Lint/UselessAccessModifier:
|
52
66
|
Exclude:
|
53
67
|
- 'lib/bundler/fetcher.rb'
|
@@ -58,18 +72,18 @@ Lint/UselessAssignment:
|
|
58
72
|
- 'lib/bundler/index.rb'
|
59
73
|
- 'lib/bundler/installer.rb'
|
60
74
|
|
61
|
-
# Offense count:
|
62
|
-
# Configuration parameters: CountComments.
|
75
|
+
# Offense count: 451
|
76
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
63
77
|
Metrics/BlockLength:
|
64
|
-
Max:
|
78
|
+
Max: 988
|
65
79
|
|
66
|
-
# Offense count:
|
67
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
|
80
|
+
# Offense count: 2035
|
81
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
68
82
|
# URISchemes: http, https
|
69
83
|
Metrics/LineLength:
|
70
84
|
Max: 207
|
71
85
|
|
72
|
-
# Offense count:
|
86
|
+
# Offense count: 7
|
73
87
|
# Cop supports --auto-correct.
|
74
88
|
Performance/RedundantBlockCall:
|
75
89
|
Exclude:
|
@@ -86,13 +100,35 @@ Performance/RedundantMatch:
|
|
86
100
|
- 'lib/bundler/definition.rb'
|
87
101
|
- 'lib/bundler/lockfile_parser.rb'
|
88
102
|
|
89
|
-
# Offense count:
|
103
|
+
# Offense count: 6
|
90
104
|
# Cop supports --auto-correct.
|
91
105
|
# Configuration parameters: MaxKeyValuePairs.
|
92
106
|
Performance/RedundantMerge:
|
93
107
|
Exclude:
|
94
108
|
- 'lib/bundler/cli/gem.rb'
|
95
109
|
|
110
|
+
# Offense count: 4
|
111
|
+
Security/Eval:
|
112
|
+
Exclude:
|
113
|
+
- 'lib/bundler.rb'
|
114
|
+
- 'lib/bundler/endpoint_specification.rb'
|
115
|
+
- 'spec/support/streams.rb'
|
116
|
+
|
117
|
+
# Offense count: 6
|
118
|
+
Security/MarshalLoad:
|
119
|
+
Exclude:
|
120
|
+
- 'lib/bundler.rb'
|
121
|
+
- 'spec/install/gems/resolving_spec.rb'
|
122
|
+
- 'spec/support/artifice/compact_index.rb'
|
123
|
+
- 'spec/support/artifice/endpoint.rb'
|
124
|
+
|
125
|
+
# Offense count: 2
|
126
|
+
# Cop supports --auto-correct.
|
127
|
+
Security/YAMLLoad:
|
128
|
+
Exclude:
|
129
|
+
- 'spec/bundler/yaml_serializer_spec.rb'
|
130
|
+
- 'spec/commands/inject_spec.rb'
|
131
|
+
|
96
132
|
# Offense count: 1
|
97
133
|
Style/AccessorMethodName:
|
98
134
|
Exclude:
|
@@ -105,7 +141,7 @@ Style/CaseEquality:
|
|
105
141
|
- 'lib/bundler/match_platform.rb'
|
106
142
|
- 'lib/bundler/rubygems_ext.rb'
|
107
143
|
|
108
|
-
# Offense count:
|
144
|
+
# Offense count: 25
|
109
145
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
110
146
|
# SupportedStyles: nested, compact
|
111
147
|
Style/ClassAndModuleChildren:
|
@@ -113,7 +149,7 @@ Style/ClassAndModuleChildren:
|
|
113
149
|
|
114
150
|
# Offense count: 9
|
115
151
|
# Cop supports --auto-correct.
|
116
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
|
152
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
117
153
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
118
154
|
Style/ConditionalAssignment:
|
119
155
|
Exclude:
|
@@ -127,10 +163,34 @@ Style/ConditionalAssignment:
|
|
127
163
|
- 'lib/bundler/source/git.rb'
|
128
164
|
- 'lib/bundler/source/rubygems.rb'
|
129
165
|
|
130
|
-
# Offense count:
|
166
|
+
# Offense count: 158
|
131
167
|
Style/Documentation:
|
132
168
|
Enabled: false
|
133
169
|
|
170
|
+
# Offense count: 304
|
171
|
+
# Cop supports --auto-correct.
|
172
|
+
Style/EmptyLineAfterMagicComment:
|
173
|
+
Enabled: false
|
174
|
+
|
175
|
+
# Offense count: 2
|
176
|
+
# Cop supports --auto-correct.
|
177
|
+
Style/EmptyLinesAroundExceptionHandlingKeywords:
|
178
|
+
Exclude:
|
179
|
+
- 'Rakefile'
|
180
|
+
|
181
|
+
# Offense count: 17
|
182
|
+
# Cop supports --auto-correct.
|
183
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
184
|
+
# SupportedStyles: compact, expanded
|
185
|
+
Style/EmptyMethod:
|
186
|
+
Exclude:
|
187
|
+
- 'exe/bundle_ruby'
|
188
|
+
- 'lib/bundler/cli.rb'
|
189
|
+
- 'lib/bundler/plugin/api/source.rb'
|
190
|
+
- 'lib/bundler/rubygems_integration.rb'
|
191
|
+
- 'lib/bundler/ui/silent.rb'
|
192
|
+
- 'spec/support/artifice/fail.rb'
|
193
|
+
|
134
194
|
# Offense count: 2
|
135
195
|
# Cop supports --auto-correct.
|
136
196
|
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
@@ -145,7 +205,7 @@ Style/GlobalVars:
|
|
145
205
|
- 'lib/bundler/cli.rb'
|
146
206
|
- 'spec/spec_helper.rb'
|
147
207
|
|
148
|
-
# Offense count:
|
208
|
+
# Offense count: 17
|
149
209
|
# Configuration parameters: MinBodyLength.
|
150
210
|
Style/GuardClause:
|
151
211
|
Exclude:
|
@@ -157,9 +217,7 @@ Style/GuardClause:
|
|
157
217
|
- 'lib/bundler/definition.rb'
|
158
218
|
- 'lib/bundler/dsl.rb'
|
159
219
|
- 'lib/bundler/installer.rb'
|
160
|
-
- 'lib/bundler/lockfile_parser.rb'
|
161
220
|
- 'lib/bundler/runtime.rb'
|
162
|
-
- 'lib/bundler/shared_helpers.rb'
|
163
221
|
- 'lib/bundler/source/path/installer.rb'
|
164
222
|
- 'lib/bundler/source_list.rb'
|
165
223
|
- 'spec/commands/newgem_spec.rb'
|
@@ -182,6 +240,24 @@ Style/IfUnlessModifierOfIfUnless:
|
|
182
240
|
Style/IndentArray:
|
183
241
|
EnforcedStyle: consistent
|
184
242
|
|
243
|
+
# Offense count: 34
|
244
|
+
# Cop supports --auto-correct.
|
245
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
246
|
+
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
|
247
|
+
Style/IndentHeredoc:
|
248
|
+
Enabled: false
|
249
|
+
|
250
|
+
# Offense count: 9
|
251
|
+
# Cop supports --auto-correct.
|
252
|
+
# Configuration parameters: InverseMethods, InverseBlocks.
|
253
|
+
Style/InverseMethods:
|
254
|
+
Exclude:
|
255
|
+
- 'lib/bundler/cli/doctor.rb'
|
256
|
+
- 'lib/bundler/definition.rb'
|
257
|
+
- 'lib/bundler/dsl.rb'
|
258
|
+
- 'lib/bundler/index.rb'
|
259
|
+
- 'lib/bundler/resolver.rb'
|
260
|
+
|
185
261
|
# Offense count: 6
|
186
262
|
Style/MethodMissing:
|
187
263
|
Exclude:
|
@@ -192,6 +268,14 @@ Style/MethodMissing:
|
|
192
268
|
- 'lib/bundler/remote_specification.rb'
|
193
269
|
- 'spec/support/builders.rb'
|
194
270
|
|
271
|
+
# Offense count: 2
|
272
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
273
|
+
# SupportedStyles: separated, grouped
|
274
|
+
Style/MixinGrouping:
|
275
|
+
Exclude:
|
276
|
+
- 'lib/bundler/spec_set.rb'
|
277
|
+
- 'spec/runtime/setup_spec.rb'
|
278
|
+
|
195
279
|
# Offense count: 2
|
196
280
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
197
281
|
# SupportedStyles: module_function, extend_self
|
@@ -255,12 +339,27 @@ Style/PredicateName:
|
|
255
339
|
- 'lib/bundler/source/git/git_proxy.rb'
|
256
340
|
- 'lib/bundler/source/path.rb'
|
257
341
|
|
258
|
-
# Offense count:
|
342
|
+
# Offense count: 24
|
259
343
|
# Cop supports --auto-correct.
|
260
344
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
261
345
|
# SupportedStyles: compact, exploded
|
262
346
|
Style/RaiseArgs:
|
263
|
-
|
347
|
+
Exclude:
|
348
|
+
- 'lib/bundler/cli/install.rb'
|
349
|
+
- 'lib/bundler/deployment.rb'
|
350
|
+
- 'lib/bundler/fetcher/downloader.rb'
|
351
|
+
- 'lib/bundler/fetcher/index.rb'
|
352
|
+
- 'lib/bundler/installer/standalone.rb'
|
353
|
+
- 'lib/bundler/rubygems_integration.rb'
|
354
|
+
- 'lib/bundler/shared_helpers.rb'
|
355
|
+
- 'lib/bundler/source/git/git_proxy.rb'
|
356
|
+
- 'lib/bundler/source/rubygems/remote.rb'
|
357
|
+
- 'spec/bundler/endpoint_specification_spec.rb'
|
358
|
+
- 'spec/bundler/fetcher/dependency_spec.rb'
|
359
|
+
- 'spec/bundler/fetcher/downloader_spec.rb'
|
360
|
+
- 'spec/bundler/fetcher/index_spec.rb'
|
361
|
+
- 'spec/bundler/rubygems_integration_spec.rb'
|
362
|
+
- 'spec/bundler/shared_helpers_spec.rb'
|
264
363
|
|
265
364
|
# Offense count: 2
|
266
365
|
# Cop supports --auto-correct.
|
@@ -276,10 +375,11 @@ Style/SpaceAroundOperators:
|
|
276
375
|
Exclude:
|
277
376
|
- 'lib/bundler/retry.rb'
|
278
377
|
|
279
|
-
# Offense count:
|
378
|
+
# Offense count: 2
|
280
379
|
# Cop supports --auto-correct.
|
281
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
380
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
|
282
381
|
# SupportedStyles: space, no_space
|
382
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
283
383
|
Style/SpaceInsideBlockBraces:
|
284
384
|
Exclude:
|
285
385
|
- 'lib/bundler/installer/parallel_installer.rb'
|
@@ -287,20 +387,19 @@ Style/SpaceInsideBlockBraces:
|
|
287
387
|
# Offense count: 2
|
288
388
|
# Cop supports --auto-correct.
|
289
389
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
|
290
|
-
# SupportedStyles: require_parentheses, require_no_parentheses
|
390
|
+
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
291
391
|
Style/TernaryParentheses:
|
292
392
|
Exclude:
|
293
393
|
- 'lib/bundler/cli/common.rb'
|
294
394
|
- 'lib/bundler/gem_version_promoter.rb'
|
295
395
|
|
296
|
-
# Offense count:
|
396
|
+
# Offense count: 9
|
297
397
|
# Cop supports --auto-correct.
|
298
|
-
# Configuration parameters: EnforcedStyleForMultiline,
|
299
|
-
#
|
398
|
+
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline.
|
399
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
300
400
|
Style/TrailingCommaInLiteral:
|
301
401
|
Exclude:
|
302
402
|
- 'lib/bundler/cli/gem.rb'
|
303
|
-
- 'lib/bundler/dependency.rb'
|
304
403
|
- 'lib/bundler/fetcher.rb'
|
305
404
|
- 'lib/bundler/gem_helpers.rb'
|
306
405
|
- 'lib/bundler/graph.rb'
|
@@ -308,7 +407,7 @@ Style/TrailingCommaInLiteral:
|
|
308
407
|
- 'lib/bundler/similarity_detector.rb'
|
309
408
|
- 'spec/support/artifice/endpoint.rb'
|
310
409
|
|
311
|
-
# Offense count:
|
410
|
+
# Offense count: 7
|
312
411
|
# Cop supports --auto-correct.
|
313
412
|
Style/UnneededInterpolation:
|
314
413
|
Exclude:
|
@@ -317,14 +416,3 @@ Style/UnneededInterpolation:
|
|
317
416
|
- 'spec/bundler/shared_helpers_spec.rb'
|
318
417
|
- 'spec/cache/git_spec.rb'
|
319
418
|
- 'spec/commands/exec_spec.rb'
|
320
|
-
- 'spec/support/artifice/endpoint.rb'
|
321
|
-
- 'spec/support/artifice/endpoint_500.rb'
|
322
|
-
|
323
|
-
# Offense count: 2
|
324
|
-
# Configuration parameters: SupportedStyles.
|
325
|
-
# SupportedStyles: snake_case, normalcase, non_integer
|
326
|
-
Style/VariableNumber:
|
327
|
-
EnforcedStyle: normalcase
|
328
|
-
Exclude:
|
329
|
-
- 'spec/commands/help_spec.rb'
|
330
|
-
- 'spec/other/ext_spec.rb'
|
data/.travis.yml
CHANGED
@@ -25,10 +25,10 @@ addons:
|
|
25
25
|
secure: "TrzIv116JLGUxm6PAUskCYrv8KTDguncKROVwbnjVPKTGDAgoDderd8JUdDEXrKoZ9qGLD2TPYKExt9/QDl71E+qHdWnVqWv4HKCUk2P9z/VLKzHuggOUBkCXiJUhjywUieCJhI3N92bfq2EjSBbu2/OFHqWOjLQ+QCooTEBjv8="
|
26
26
|
|
27
27
|
rvm:
|
28
|
-
- 2.4.
|
29
|
-
- 2.3.
|
30
|
-
- 2.2.
|
31
|
-
- 2.1.
|
28
|
+
- 2.4.1
|
29
|
+
- 2.3.4
|
30
|
+
- 2.2.7
|
31
|
+
- 2.1.10
|
32
32
|
- 2.0.0
|
33
33
|
- 1.9.3
|
34
34
|
- 1.8.7
|
@@ -51,7 +51,7 @@ matrix:
|
|
51
51
|
- rvm: 2.2.6
|
52
52
|
env: RGV=v2.4.8
|
53
53
|
# Ruby 2.1, Rubygems 2.2.2 and up
|
54
|
-
- rvm: 2.1.
|
54
|
+
- rvm: 2.1.10
|
55
55
|
env: RGV=v2.2.5
|
56
56
|
# Ruby 2.0.0, Rubygems 2.0.0 and up
|
57
57
|
- rvm: 2.0.0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,47 @@
|
|
1
|
+
## 1.15.0.pre.1 (2017-04-16)
|
2
|
+
|
3
|
+
Features:
|
4
|
+
|
5
|
+
- print a notification when a newer version of bundler is available (#4683, @segiddins)
|
6
|
+
- add man pages for all bundler commands (#4988, @feministy)
|
7
|
+
- add the `bundle info` command (@fredrb, @colby-swandale)
|
8
|
+
- all files created with `bundle gem` comply with the bundler style guide (@zachahn)
|
9
|
+
- if installing a gem fails, print out the reason the gem needed to be installed (#5078, @segiddins)
|
10
|
+
- allow setting `gem.push_key` to set the key used when running `rake release` (@DTrierweiler)
|
11
|
+
- print gem versions that are regressing during `bundle update` in yellow (#5506, @brchristian)
|
12
|
+
- avoid printing extraneous dependencies when the resolver encounters a conflict (@segiddins)
|
13
|
+
- add the `bundle issue` command that prints instructions for reporting issues (#4871, @jonathanpike)
|
14
|
+
- add `--source` and `--group` options to the `bundle inject` command (#5452, @Shekharrajak)
|
15
|
+
- add the `bundle add` command to add a gem to the gemfile (@denniss)
|
16
|
+
- add the `bundle pristine` command to re-install gems from cached `.gem` files (#4509, @denniss)
|
17
|
+
- add a `--parseable` option for `bundle config` (@JuanitoFatas, @colby-swandale)
|
18
|
+
|
19
|
+
Performance:
|
20
|
+
|
21
|
+
- speed up gemfile initialization by storing locked dependencies as a hash (@jules2689)
|
22
|
+
- speed up gemfile initialization by making locked dependency comparison lazy, avoiding object allocation (@jules2689)
|
23
|
+
- only validate git gems when they are downloaded, instead of every time `Bundler.setup` is run (@segiddins)
|
24
|
+
- avoid regenerating the lockfile when nothing has changed (@segiddins)
|
25
|
+
- avoid diffing large arrays when no sources in the gemfile have changed (@segiddins)
|
26
|
+
- avoid evaluating full gemspecs when running with RubyGems 2.5+ (@segiddins)
|
27
|
+
|
28
|
+
Bugfixes:
|
29
|
+
|
30
|
+
- fix cases where `bundle update` would print a resolver conflict instead of updating the selected gems (#5031, #5095, @segiddins)
|
31
|
+
- print out a stack trace after an interrupt when running in debug mode (@segiddins)
|
32
|
+
- print out when bundler starts fetching a gem from a remote server (@segiddins)
|
33
|
+
- fix `bundle gem` failing when `git` is unavailable (#5458, @Shekharrajak, @colby-swandale)
|
34
|
+
- suggest the appropriate command to unfreeze a bundle (#5009, @denniss)
|
35
|
+
- ensure nested calls to `bundle exec` resolve default gems correctly (#5500, @segiddins)
|
36
|
+
- ensure that a plugin failing to install doesn't uninstall other plugins (@kerrizor, @roseaboveit)
|
37
|
+
- ensure `socket` is required before being referenced (#5533, @rafaelfranca)
|
38
|
+
- allow running `bundle outdated` when gems aren't installed locally (#5553, @segiddins)
|
39
|
+
- print a helpful error when `bundle exec`ing to a gem that isn't included in the bundle (#5487, @segiddins)
|
40
|
+
- print an error message when a non-git gem is given a `branch` option (#5530, @colby-swandale)
|
41
|
+
- allow interrupts to exit the process after gems have been installed (@segiddins)
|
42
|
+
- print the underlying error when downloading gem metadata fails (#5579, @segiddins)
|
43
|
+
- avoid deadlocking when installing with a lockfile that is missing dependencies (#5378, #5480, #5519, #5526, #5529, #5549, #5572, @segiddins)
|
44
|
+
|
1
45
|
## 1.14.6 (2017-03-03)
|
2
46
|
|
3
47
|
Bugfixes:
|
@@ -40,7 +84,7 @@ Bugfixes:
|
|
40
84
|
|
41
85
|
Bugfixes:
|
42
86
|
|
43
|
-
- fix the resolver
|
87
|
+
- fix the resolver attempting to activate ruby-platform gems when the bundle is only for other platforms (#5349, #5356, @segiddins)
|
44
88
|
- avoid re-resolving a locked gemfile that uses `gemspec` and includes development dependencies (#5349, @segiddins)
|
45
89
|
|
46
90
|
## 1.14.2 (2017-01-22)
|
@@ -169,7 +213,7 @@ Bugfixes:
|
|
169
213
|
|
170
214
|
- allow `Settings` to be initialized without a root directory (@m1k3)
|
171
215
|
- allow specifying ruby engines in the gemfile as a symbol (#4919, @JuanitoFatas)
|
172
|
-
- avoid an
|
216
|
+
- avoid an exception when using `bundler/deployment` with Vlad (@srbaker)
|
173
217
|
- ensure redefined methods have the same visibility as the one they're replacing, fixing `Kernel.require` failing on JRuby (#4975, @segiddins)
|
174
218
|
- ensure that Bundler won't complain about a corrupt lockfile when no lockfile exists when using `gemspec` in the Gemfile (#5006, @segiddins)
|
175
219
|
- fail gracefully when parsing the metadata for a gemspec from the compact index fails (@segiddins)
|
@@ -1405,13 +1449,13 @@ Bugfixes:
|
|
1405
1449
|
|
1406
1450
|
Features:
|
1407
1451
|
|
1408
|
-
-
|
1409
|
-
-
|
1452
|
+
- compatible with Ruby 2.0.0-preview2
|
1453
|
+
- compatible with Rubygems 2.0.0.preview2 (@drbrain, @evanphx)
|
1410
1454
|
- ruby 2.0 added to the `:ruby19` ABI-compatible platform
|
1411
1455
|
- lazy load YAML, allowing Psych to be specified in the Gemfile
|
1412
1456
|
- significant performance improvements (@cheald, #2181)
|
1413
1457
|
- `inject` command for scripted Gemfile additions (Engine Yard)
|
1414
|
-
- :github option uses slashless
|
1458
|
+
- :github option uses slashless arguments as repo owner (@rking)
|
1415
1459
|
- `open` suggests gem names for typos (@jdelStrother)
|
1416
1460
|
- `update` reports non-existent gems (@jdelStrother)
|
1417
1461
|
- `gem` option --test can generate rspec stubs (@MafcoCinco)
|
@@ -1835,7 +1879,7 @@ Features:
|
|
1835
1879
|
- Add bundle clean. Removes unused gems from --path directory
|
1836
1880
|
- Initial Gemcutter Endpoint API work, BAI Fetching source index
|
1837
1881
|
- Added bundle install --standalone
|
1838
|
-
- Ignore Gemfile.lock when
|
1882
|
+
- Ignore Gemfile.lock when building new gems
|
1839
1883
|
- Make it possible to override a .gemspec dependency's source in the
|
1840
1884
|
Gemfile
|
1841
1885
|
|
@@ -1886,7 +1930,7 @@ Bugfixes:
|
|
1886
1930
|
|
1887
1931
|
Features:
|
1888
1932
|
|
1889
|
-
-
|
1933
|
+
- Compatibility with Rubygems 1.8.10 installer changes
|
1890
1934
|
- Report gem installation failures clearly (@rwilcox, #1380)
|
1891
1935
|
- Useful error for cap and vlad on first deploy (@nexmat, @kirs)
|
1892
1936
|
|
@@ -2636,7 +2680,7 @@ Bugfixes:
|
|
2636
2680
|
- make the tests platform agnostic so we can confirm that they're green on JRuby
|
2637
2681
|
- fixes for Ruby 1.9
|
2638
2682
|
|
2639
|
-
## 0.9.5 (
|
2683
|
+
## 0.9.5 (February 12, 2010)
|
2640
2684
|
|
2641
2685
|
Features:
|
2642
2686
|
|