bundler 1.11.2 → 1.12.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 +4 -4
- data/.codeclimate.yml +24 -0
- data/.gitignore +2 -2
- data/.rubocop.yml +17 -2
- data/.rubocop_todo.yml +145 -18
- data/.travis.yml +9 -2
- data/CHANGELOG.md +42 -0
- data/Rakefile +20 -13
- data/bin/rake +5 -0
- data/bin/rspec +5 -0
- data/bin/rubocop +7 -1
- data/bundler.gemspec +2 -1
- data/exe/bundle +10 -2
- data/exe/bundle_ruby +2 -1
- data/exe/bundler +3 -1
- data/lib/bundler.rb +54 -51
- data/lib/bundler/capistrano.rb +1 -0
- data/lib/bundler/cli.rb +26 -4
- data/lib/bundler/cli/binstubs.rb +1 -0
- data/lib/bundler/cli/cache.rb +1 -0
- data/lib/bundler/cli/check.rb +4 -1
- data/lib/bundler/cli/clean.rb +1 -0
- data/lib/bundler/cli/common.rb +1 -0
- data/lib/bundler/cli/config.rb +5 -5
- data/lib/bundler/cli/console.rb +1 -0
- data/lib/bundler/cli/exec.rb +4 -9
- data/lib/bundler/cli/gem.rb +12 -9
- data/lib/bundler/cli/init.rb +1 -0
- data/lib/bundler/cli/inject.rb +1 -0
- data/lib/bundler/cli/install.rb +8 -5
- data/lib/bundler/cli/lock.rb +2 -0
- data/lib/bundler/cli/open.rb +1 -0
- data/lib/bundler/cli/outdated.rb +36 -9
- data/lib/bundler/cli/package.rb +1 -0
- data/lib/bundler/cli/platform.rb +4 -1
- data/lib/bundler/cli/show.rb +1 -0
- data/lib/bundler/cli/update.rb +6 -6
- data/lib/bundler/cli/viz.rb +4 -6
- data/lib/bundler/constants.rb +1 -0
- data/lib/bundler/current_ruby.rb +34 -168
- data/lib/bundler/definition.rb +41 -15
- data/lib/bundler/dep_proxy.rb +1 -0
- data/lib/bundler/dependency.rb +10 -0
- data/lib/bundler/deployment.rb +1 -0
- data/lib/bundler/deprecate.rb +1 -0
- data/lib/bundler/dsl.rb +19 -9
- data/lib/bundler/endpoint_specification.rb +37 -8
- data/lib/bundler/env.rb +4 -3
- data/lib/bundler/environment.rb +1 -0
- data/lib/bundler/errors.rb +51 -32
- data/lib/bundler/fetcher.rb +44 -30
- data/lib/bundler/fetcher/base.rb +3 -2
- data/lib/bundler/fetcher/compact_index.rb +98 -0
- data/lib/bundler/fetcher/dependency.rb +36 -36
- data/lib/bundler/fetcher/downloader.rb +14 -8
- data/lib/bundler/fetcher/index.rb +28 -5
- data/lib/bundler/friendly_errors.rb +93 -85
- data/lib/bundler/gem_helper.rb +20 -21
- data/lib/bundler/gem_helpers.rb +9 -2
- data/lib/bundler/gem_remote_fetcher.rb +1 -0
- data/lib/bundler/gem_tasks.rb +1 -0
- data/lib/bundler/graph.rb +16 -17
- data/lib/bundler/index.rb +4 -6
- data/lib/bundler/injector.rb +1 -0
- data/lib/bundler/inline.rb +8 -2
- data/lib/bundler/installer.rb +4 -4
- data/lib/bundler/installer/gem_installer.rb +1 -0
- data/lib/bundler/installer/parallel_installer.rb +3 -2
- data/lib/bundler/installer/standalone.rb +5 -1
- data/lib/bundler/lazy_specification.rb +5 -2
- data/lib/bundler/lockfile_parser.rb +22 -15
- data/lib/bundler/match_platform.rb +1 -0
- data/lib/bundler/mirror.rb +218 -0
- data/lib/bundler/path_preserver.rb +12 -0
- data/lib/bundler/psyched_yaml.rb +1 -0
- data/lib/bundler/remote_specification.rb +4 -1
- data/lib/bundler/resolver.rb +17 -16
- data/lib/bundler/retry.rb +1 -0
- data/lib/bundler/ruby_dsl.rb +8 -2
- data/lib/bundler/ruby_version.rb +58 -61
- data/lib/bundler/rubygems_ext.rb +4 -3
- data/lib/bundler/rubygems_gem_installer.rb +1 -0
- data/lib/bundler/rubygems_integration.rb +9 -14
- data/lib/bundler/runtime.rb +17 -22
- data/lib/bundler/settings.rb +17 -21
- data/lib/bundler/setup.rb +1 -0
- data/lib/bundler/shared_helpers.rb +47 -17
- data/lib/bundler/similarity_detector.rb +1 -0
- data/lib/bundler/source.rb +2 -1
- data/lib/bundler/source/git.rb +2 -1
- data/lib/bundler/source/git/git_proxy.rb +33 -7
- data/lib/bundler/source/path.rb +17 -10
- data/lib/bundler/source/path/installer.rb +1 -0
- data/lib/bundler/source/rubygems.rb +4 -3
- data/lib/bundler/source/rubygems/remote.rb +16 -0
- data/lib/bundler/source_list.rb +1 -0
- data/lib/bundler/spec_set.rb +1 -0
- data/lib/bundler/ssl_certs/certificate_manager.rb +1 -0
- data/lib/bundler/stub_specification.rb +1 -0
- data/lib/bundler/templates/Executable +1 -0
- data/lib/bundler/templates/Gemfile +1 -0
- data/lib/bundler/templates/newgem/.travis.yml.tt +1 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +2 -2
- data/lib/bundler/ui.rb +1 -0
- data/lib/bundler/ui/rg_proxy.rb +1 -0
- data/lib/bundler/ui/shell.rb +2 -1
- data/lib/bundler/ui/silent.rb +1 -0
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client.rb +78 -0
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/cache.rb +97 -0
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb +55 -0
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/version.rb +3 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo.rb +4 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +13 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +5 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +2 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +37 -14
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +7 -7
- data/lib/bundler/vendored_molinillo.rb +1 -0
- data/lib/bundler/vendored_persistent.rb +1 -0
- data/lib/bundler/vendored_thor.rb +1 -0
- data/lib/bundler/version.rb +6 -1
- data/lib/bundler/vlad.rb +1 -0
- data/lib/bundler/worker.rb +12 -2
- data/man/bundle-config.ronn +6 -0
- data/man/bundle-gem.ronn +5 -5
- metadata +14 -6
- data/lib/bundler/gem_path_manipulation.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b760f9de4dfb482173fc42326c0835065a447b4
|
4
|
+
data.tar.gz: 76008afb974bf6f329a58cc41c82c2b5debb695c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f86fc362c9d5734ec0356c53c19c80b896c804cc4c9598359544634d9f144778d4649ee64cfb790a76b21192d079808174088b32af1e84a826e4b2efc1c07b48
|
7
|
+
data.tar.gz: 33716914172bab80e7f76cfeee7a049800055bda2606a41042a43001925c56d1f4d2d1e6fd000a6cbda3875af23a574910ad0da6183a4a5098e04db86b7c1e5f
|
data/.codeclimate.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
engines:
|
3
|
+
duplication:
|
4
|
+
enabled: true
|
5
|
+
config:
|
6
|
+
languages:
|
7
|
+
- ruby
|
8
|
+
fixme:
|
9
|
+
enabled: true
|
10
|
+
rubocop:
|
11
|
+
enabled: false
|
12
|
+
ratings:
|
13
|
+
paths:
|
14
|
+
- "**.rb"
|
15
|
+
- "bin/*"
|
16
|
+
- "exe/*"
|
17
|
+
exclude_paths:
|
18
|
+
- bundler.gemspec
|
19
|
+
- "*.md"
|
20
|
+
- lib/bundler/ssl_certs/*.pem
|
21
|
+
- lib/bundler/vendor/**/*
|
22
|
+
- lib/bundler/templates/**/*.tt
|
23
|
+
- man/*
|
24
|
+
- spec/**/*
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -2,6 +2,7 @@ inherit_from:
|
|
2
2
|
- .rubocop_todo.yml
|
3
3
|
|
4
4
|
AllCops:
|
5
|
+
TargetRubyVersion: 1.9
|
5
6
|
Exclude:
|
6
7
|
- tmp/**/*
|
7
8
|
- lib/bundler/vendor/**/*
|
@@ -15,6 +16,7 @@ Lint/AssignmentInCondition:
|
|
15
16
|
|
16
17
|
Lint/EndAlignment:
|
17
18
|
AlignWith: variable
|
19
|
+
AutoCorrect: true
|
18
20
|
|
19
21
|
Lint/UnusedMethodArgument:
|
20
22
|
Enabled: false
|
@@ -24,9 +26,15 @@ Lint/UnusedMethodArgument:
|
|
24
26
|
Style/AccessModifierIndentation:
|
25
27
|
EnforcedStyle: outdent
|
26
28
|
|
29
|
+
Style/Alias:
|
30
|
+
EnforcedStyle: prefer_alias_method
|
31
|
+
|
27
32
|
Style/AlignParameters:
|
28
33
|
EnforcedStyle: with_fixed_indentation
|
29
34
|
|
35
|
+
Style/FrozenStringLiteralComment:
|
36
|
+
EnforcedStyle: always
|
37
|
+
|
30
38
|
Style/MultilineBlockChain:
|
31
39
|
Enabled: false
|
32
40
|
|
@@ -57,12 +65,16 @@ Style/StringLiteralsInInterpolation:
|
|
57
65
|
|
58
66
|
# Having these make it easier to *not* forget to add one when adding a new
|
59
67
|
# value and you can simply copy the previous line.
|
60
|
-
Style/
|
68
|
+
Style/TrailingCommaInLiteral:
|
61
69
|
EnforcedStyleForMultiline: comma
|
62
70
|
|
63
71
|
Style/TrailingUnderscoreVariable:
|
64
72
|
Enabled: false
|
65
73
|
|
74
|
+
# `String.new` is preferred style with enabled frozen string literal
|
75
|
+
Style/EmptyLiteral:
|
76
|
+
Enabled: false
|
77
|
+
|
66
78
|
# 1.8.7 support
|
67
79
|
|
68
80
|
Style/HashSyntax:
|
@@ -80,7 +92,10 @@ Style/EachWithObject:
|
|
80
92
|
Style/SpecialGlobalVars:
|
81
93
|
Enabled: false
|
82
94
|
|
83
|
-
Style/
|
95
|
+
Style/TrailingCommaInArguments:
|
96
|
+
Enabled: false
|
97
|
+
|
98
|
+
Performance/FlatMap:
|
84
99
|
Enabled: false
|
85
100
|
|
86
101
|
# Metrics
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2016-02-05 10:43:08 -0600 using RuboCop version 0.37.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
|
@@ -13,18 +13,23 @@ Lint/Eval:
|
|
13
13
|
- 'lib/bundler/endpoint_specification.rb'
|
14
14
|
- 'spec/support/streams.rb'
|
15
15
|
|
16
|
-
# Offense count:
|
16
|
+
# Offense count: 4
|
17
17
|
Lint/HandleExceptions:
|
18
18
|
Exclude:
|
19
|
-
- 'lib/bundler/fetcher/dependency.rb'
|
20
19
|
- 'lib/bundler/installer.rb'
|
21
20
|
- 'lib/bundler/psyched_yaml.rb'
|
22
21
|
- 'lib/bundler/vendored_persistent.rb'
|
23
22
|
|
24
23
|
# Offense count: 1
|
24
|
+
Lint/IneffectiveAccessModifier:
|
25
|
+
Exclude:
|
26
|
+
- 'lib/bundler/settings.rb'
|
27
|
+
|
28
|
+
# Offense count: 4
|
25
29
|
Lint/NestedMethodDefinition:
|
26
30
|
Exclude:
|
27
|
-
- 'lib/bundler/
|
31
|
+
- 'lib/bundler/inline.rb'
|
32
|
+
- 'spec/support/builders.rb'
|
28
33
|
|
29
34
|
# Offense count: 5
|
30
35
|
Lint/RescueException:
|
@@ -35,6 +40,11 @@ Lint/RescueException:
|
|
35
40
|
- 'lib/bundler/rubygems_integration.rb'
|
36
41
|
- 'lib/bundler/worker.rb'
|
37
42
|
|
43
|
+
# Offense count: 1
|
44
|
+
Lint/UselessAccessModifier:
|
45
|
+
Exclude:
|
46
|
+
- 'lib/bundler/fetcher.rb'
|
47
|
+
|
38
48
|
# Offense count: 7
|
39
49
|
Lint/UselessAssignment:
|
40
50
|
Exclude:
|
@@ -42,8 +52,9 @@ Lint/UselessAssignment:
|
|
42
52
|
- 'lib/bundler/index.rb'
|
43
53
|
- 'lib/bundler/installer.rb'
|
44
54
|
|
45
|
-
# Offense count:
|
46
|
-
# Configuration parameters: AllowURI, URISchemes.
|
55
|
+
# Offense count: 1291
|
56
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
57
|
+
# URISchemes: http, https
|
47
58
|
Metrics/LineLength:
|
48
59
|
Max: 207
|
49
60
|
|
@@ -52,10 +63,35 @@ Metrics/LineLength:
|
|
52
63
|
Metrics/ParameterLists:
|
53
64
|
Max: 6
|
54
65
|
|
55
|
-
# Offense count:
|
66
|
+
# Offense count: 53
|
56
67
|
Metrics/PerceivedComplexity:
|
57
68
|
Max: 54
|
58
69
|
|
70
|
+
# Offense count: 6
|
71
|
+
# Cop supports --auto-correct.
|
72
|
+
Performance/RedundantBlockCall:
|
73
|
+
Exclude:
|
74
|
+
- 'lib/bundler/dsl.rb'
|
75
|
+
- 'lib/bundler/gem_helper.rb'
|
76
|
+
- 'lib/bundler/retry.rb'
|
77
|
+
- 'lib/bundler/shared_helpers.rb'
|
78
|
+
- 'spec/support/helpers.rb'
|
79
|
+
|
80
|
+
# Offense count: 2
|
81
|
+
# Cop supports --auto-correct.
|
82
|
+
Performance/RedundantMatch:
|
83
|
+
Exclude:
|
84
|
+
- 'lib/bundler/definition.rb'
|
85
|
+
- 'lib/bundler/lockfile_parser.rb'
|
86
|
+
|
87
|
+
# Offense count: 6
|
88
|
+
# Cop supports --auto-correct.
|
89
|
+
# Configuration parameters: MaxKeyValuePairs.
|
90
|
+
Performance/RedundantMerge:
|
91
|
+
Exclude:
|
92
|
+
- 'lib/bundler/cli/gem.rb'
|
93
|
+
- 'spec/support/helpers.rb'
|
94
|
+
|
59
95
|
# Offense count: 1
|
60
96
|
Style/AccessorMethodName:
|
61
97
|
Exclude:
|
@@ -70,19 +106,39 @@ Style/CaseEquality:
|
|
70
106
|
|
71
107
|
# Offense count: 22
|
72
108
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
109
|
+
# SupportedStyles: nested, compact
|
73
110
|
Style/ClassAndModuleChildren:
|
74
111
|
Enabled: false
|
75
112
|
|
76
|
-
# Offense count:
|
77
|
-
#
|
113
|
+
# Offense count: 14
|
114
|
+
# Cop supports --auto-correct.
|
115
|
+
# Configuration parameters: SingleLineConditionsOnly.
|
116
|
+
Style/ConditionalAssignment:
|
117
|
+
Exclude:
|
118
|
+
- 'lib/bundler.rb'
|
119
|
+
- 'lib/bundler/cli.rb'
|
120
|
+
- 'lib/bundler/cli/gem.rb'
|
121
|
+
- 'lib/bundler/cli/lock.rb'
|
122
|
+
- 'lib/bundler/cli/outdated.rb'
|
123
|
+
- 'lib/bundler/cli/platform.rb'
|
124
|
+
- 'lib/bundler/dsl.rb'
|
125
|
+
- 'lib/bundler/lazy_specification.rb'
|
126
|
+
- 'lib/bundler/mirror.rb'
|
127
|
+
- 'lib/bundler/psyched_yaml.rb'
|
128
|
+
- 'lib/bundler/rubygems_integration.rb'
|
129
|
+
- 'lib/bundler/source/git.rb'
|
130
|
+
- 'lib/bundler/source/rubygems.rb'
|
131
|
+
|
132
|
+
# Offense count: 118
|
78
133
|
Style/Documentation:
|
79
134
|
Enabled: false
|
80
135
|
|
81
|
-
# Offense count:
|
82
|
-
#
|
83
|
-
|
136
|
+
# Offense count: 2
|
137
|
+
# Cop supports --auto-correct.
|
138
|
+
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
139
|
+
Style/ExtraSpacing:
|
84
140
|
Exclude:
|
85
|
-
- 'lib/bundler/
|
141
|
+
- 'lib/bundler/cli.rb'
|
86
142
|
|
87
143
|
# Offense count: 4
|
88
144
|
# Configuration parameters: AllowedVariables.
|
@@ -92,10 +148,18 @@ Style/GlobalVars:
|
|
92
148
|
- 'spec/spec_helper.rb'
|
93
149
|
- 'spec/support/helpers.rb'
|
94
150
|
|
95
|
-
# Offense count:
|
96
|
-
|
97
|
-
|
98
|
-
|
151
|
+
# Offense count: 2
|
152
|
+
Style/IfInsideElse:
|
153
|
+
Exclude:
|
154
|
+
- 'lib/bundler/cli/install.rb'
|
155
|
+
- 'lib/bundler/definition.rb'
|
156
|
+
|
157
|
+
# Offense count: 4
|
158
|
+
# Cop supports --auto-correct.
|
159
|
+
# Configuration parameters: SupportedStyles, IndentationWidth.
|
160
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
161
|
+
Style/IndentArray:
|
162
|
+
EnforcedStyle: consistent
|
99
163
|
|
100
164
|
# Offense count: 2
|
101
165
|
Style/ModuleFunction:
|
@@ -103,8 +167,26 @@ Style/ModuleFunction:
|
|
103
167
|
- 'lib/bundler/shared_helpers.rb'
|
104
168
|
- 'spec/support/path.rb'
|
105
169
|
|
170
|
+
# Offense count: 1
|
171
|
+
# Cop supports --auto-correct.
|
172
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
173
|
+
# SupportedStyles: aligned, indented
|
174
|
+
Style/MultilineMethodCallIndentation:
|
175
|
+
Enabled: false
|
176
|
+
|
177
|
+
# Offense count: 5
|
178
|
+
Style/NestedParenthesizedCalls:
|
179
|
+
Exclude:
|
180
|
+
- 'lib/bundler/resolver.rb'
|
181
|
+
- 'spec/bundler/shared_helpers_spec.rb'
|
182
|
+
- 'spec/commands/lock_spec.rb'
|
183
|
+
- 'spec/runtime/setup_spec.rb'
|
184
|
+
|
106
185
|
# Offense count: 8
|
107
186
|
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
187
|
+
# NamePrefix: is_, has_, have_
|
188
|
+
# NamePrefixBlacklist: is_, has_, have_
|
189
|
+
# NameWhitelist: is_a?
|
108
190
|
Style/PredicateName:
|
109
191
|
Exclude:
|
110
192
|
- 'lib/bundler/definition.rb'
|
@@ -114,7 +196,52 @@ Style/PredicateName:
|
|
114
196
|
- 'lib/bundler/source/git/git_proxy.rb'
|
115
197
|
- 'lib/bundler/source/path.rb'
|
116
198
|
|
117
|
-
# Offense count:
|
199
|
+
# Offense count: 22
|
118
200
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
201
|
+
# SupportedStyles: compact, exploded
|
119
202
|
Style/RaiseArgs:
|
120
203
|
Enabled: false
|
204
|
+
|
205
|
+
# Offense count: 2
|
206
|
+
# Cop supports --auto-correct.
|
207
|
+
Style/RedundantParentheses:
|
208
|
+
Exclude:
|
209
|
+
- 'lib/bundler/cli/console.rb'
|
210
|
+
- 'lib/bundler/dsl.rb'
|
211
|
+
|
212
|
+
# Offense count: 1
|
213
|
+
# Cop supports --auto-correct.
|
214
|
+
# Configuration parameters: AllowForAlignment.
|
215
|
+
Style/SpaceAroundOperators:
|
216
|
+
Exclude:
|
217
|
+
- 'lib/bundler/retry.rb'
|
218
|
+
|
219
|
+
# Offense count: 11
|
220
|
+
# Cop supports --auto-correct.
|
221
|
+
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
222
|
+
# SupportedStyles: comma, consistent_comma, no_comma
|
223
|
+
Style/TrailingCommaInLiteral:
|
224
|
+
Exclude:
|
225
|
+
- 'lib/bundler/cli/gem.rb'
|
226
|
+
- 'lib/bundler/dependency.rb'
|
227
|
+
- 'lib/bundler/fetcher.rb'
|
228
|
+
- 'lib/bundler/gem_helpers.rb'
|
229
|
+
- 'lib/bundler/graph.rb'
|
230
|
+
- 'lib/bundler/ruby_version.rb'
|
231
|
+
- 'lib/bundler/similarity_detector.rb'
|
232
|
+
- 'spec/support/artifice/endpoint.rb'
|
233
|
+
- 'spec/support/rubygems_ext.rb'
|
234
|
+
|
235
|
+
# Offense count: 19
|
236
|
+
# Cop supports --auto-correct.
|
237
|
+
Style/UnneededInterpolation:
|
238
|
+
Exclude:
|
239
|
+
- 'lib/bundler/cli/config.rb'
|
240
|
+
- 'lib/bundler/definition.rb'
|
241
|
+
- 'lib/bundler/env.rb'
|
242
|
+
- 'spec/bundler/shared_helpers_spec.rb'
|
243
|
+
- 'spec/cache/git_spec.rb'
|
244
|
+
- 'spec/commands/exec_spec.rb'
|
245
|
+
- 'spec/support/artifice/endpoint.rb'
|
246
|
+
- 'spec/support/artifice/endpoint_500.rb'
|
247
|
+
- 'spec/support/fakeweb/windows.rb'
|
data/.travis.yml
CHANGED
@@ -20,7 +20,13 @@ notifications:
|
|
20
20
|
rooms:
|
21
21
|
- secure: JxBi7DDJGkIF/7f/FSN/HUHpvV4EKfQccZHTPd1b2pNJn3GXo6u+tNVbAw2WjxYzPyPQI3ZcYBCU9SEXp/i7VmG8uMzh8Kyildw+miSKYKVb90uYqcsXWzbxwyNBgJLvyDkzST45H5lgnyAicee3WkFes/WDZikIajbH7ztdb04=
|
22
22
|
|
23
|
+
addons:
|
24
|
+
code_climate:
|
25
|
+
repo_token:
|
26
|
+
secure: "TrzIv116JLGUxm6PAUskCYrv8KTDguncKROVwbnjVPKTGDAgoDderd8JUdDEXrKoZ9qGLD2TPYKExt9/QDl71E+qHdWnVqWv4HKCUk2P9z/VLKzHuggOUBkCXiJUhjywUieCJhI3N92bfq2EjSBbu2/OFHqWOjLQ+QCooTEBjv8="
|
27
|
+
|
23
28
|
rvm:
|
29
|
+
- 2.3.0
|
24
30
|
- 2.2
|
25
31
|
- 2.1
|
26
32
|
- 2.0.0
|
@@ -28,12 +34,12 @@ rvm:
|
|
28
34
|
- 1.8.7
|
29
35
|
|
30
36
|
# Rubygems versions MUST be available as rake tasks
|
31
|
-
# see Rakefile:
|
37
|
+
# see Rakefile:125 for the list of possible RGV values
|
32
38
|
env:
|
33
39
|
# We need to know if changes to rubygems will break bundler on release
|
34
40
|
- RGV=master
|
35
41
|
# Test the latest rubygems release with all of our supported rubies
|
36
|
-
- RGV=v2.5.
|
42
|
+
- RGV=v2.5.2
|
37
43
|
- RGV=v2.4.8
|
38
44
|
|
39
45
|
matrix:
|
@@ -91,6 +97,7 @@ matrix:
|
|
91
97
|
# Ruby-head (we want to know how we're doing, but not fail the build)
|
92
98
|
- rvm: ruby-head
|
93
99
|
env: RGV=master
|
100
|
+
|
94
101
|
allow_failures:
|
95
102
|
- rvm: 1.8.7
|
96
103
|
env: RGV=v2.1.11
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,45 @@
|
|
1
|
+
## 1.12.0.pre.1 (2016-02-09)
|
2
|
+
|
3
|
+
Performance:
|
4
|
+
|
5
|
+
- speed up `bundle install` and `bundle update` by using the new compact gem index (@segiddins, @fotanus, @indirect)
|
6
|
+
- speed up `bundle exec` by avoiding loading the gemfile twice (#2951, #2952, @segiddins)
|
7
|
+
|
8
|
+
Features:
|
9
|
+
|
10
|
+
- add support for using version operators to specify ruby versions in the Gemfile (@jtarchie)
|
11
|
+
- redirect `--help` flag for plugins to that plugin's man page (@RochesterinNYC)
|
12
|
+
- support probing a mirror with a fallback timeout (#4128, @pcarranza)
|
13
|
+
- add `--full-index` option to `bundle lock` (@segiddins)
|
14
|
+
- support running with frozen string literals (@deepj, @segiddins)
|
15
|
+
- add `--major` and `--minor` options to `bundle outdated` (#3805, @cirdes)
|
16
|
+
- allow passing a custom `ui` to `bundler/inline` (@lamont-granquist)
|
17
|
+
- add support for ruby 2.4 (#4266, @segiddins)
|
18
|
+
- add `bundle outdated --parseable` for machine-readable output (@RochesterinNYC)
|
19
|
+
|
20
|
+
Bugfixes:
|
21
|
+
|
22
|
+
- fix `bundle package --all` recursing endlessly (#4158, @RochesterinNYC)
|
23
|
+
- fail fast on more errors when fetching remote resources (#4154, @RochesterinNYC)
|
24
|
+
- give a better error message when a given git commit can't be found (#4140, @doy)
|
25
|
+
- give a better error message when `bundle clean` doesn't have sufficient permissions (#4170, @RochesterinNYC)
|
26
|
+
- give a better error message when reading a bundler config file fails (@segiddins)
|
27
|
+
- restrict platforms when referencing a `gemspec` in the `Gemfile` to those defined in the gemspec (#4102, #4150, @smellsblue)
|
28
|
+
- fix `bundle gem` with minitest to use the correct rake task (@kotoshenya)
|
29
|
+
- give a better error message when ssl isn't available (#4054, @RochesterinNYC)
|
30
|
+
- print the original `require` error when `Bundler.require` fails (#4182, @RochesterinNYC)
|
31
|
+
- give a better error message when certain resources are temporarily unavailable (#4183, @RochesterinNYC)
|
32
|
+
- fix returning case-sensitive gem mirror URIs on ruby 2.3 (@segiddins)
|
33
|
+
- ignore colorized output from `git` when determining the current branch (#4056, @agis-)
|
34
|
+
- fix storing the shared gems config option as a boolean (@vassilevsky)
|
35
|
+
- add support for running `bundle gem --exe` instead of using the `--bin` option (@christhekeele)
|
36
|
+
- fix `exec`-ing with 0 args in a directory with spaces (#4230, @segiddins)
|
37
|
+
- avoid installing extraneous gems when resolving to an older version of a spec (#4101, #4198, @segiddins)
|
38
|
+
- ensure paths resolved when parsing a gemfile are relative to that file (#3349, @dtognazzini)
|
39
|
+
- give a better error message when encountering an invalid gemspec (#4248, #4275, @RochesterinNYC)
|
40
|
+
- preserve the original `PATH` in `Bundler.with_clean_env` (#4251, @segiddins)
|
41
|
+
- ensure standalone file paths are relative to the project root (#4144, @glennpratt)
|
42
|
+
|
1
43
|
## 1.11.2 (2015-12-15)
|
2
44
|
|
3
45
|
Bugfixes:
|
data/Rakefile
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
2
3
|
$:.unshift File.expand_path("../lib", __FILE__)
|
3
4
|
require "shellwords"
|
4
5
|
require "benchmark"
|
@@ -33,7 +34,7 @@ namespace :spec do
|
|
33
34
|
deps = Hash[BUNDLER_SPEC.development_dependencies.map do |d|
|
34
35
|
[d.name, d.requirement.to_s]
|
35
36
|
end]
|
36
|
-
deps["rubocop"] ||= "= 0.
|
37
|
+
deps["rubocop"] ||= "= 0.37.0" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement
|
37
38
|
|
38
39
|
# JRuby can't build ronn or rdiscount, so we skip that
|
39
40
|
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
|
@@ -62,16 +63,15 @@ namespace :spec do
|
|
62
63
|
sh "sudo apt-get install groff-base -y"
|
63
64
|
# Install graphviz so that the viz specs can run
|
64
65
|
sh "sudo apt-get install graphviz -y 2>&1 | tail -n 2"
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
# Install the other gem deps, etc.
|
66
|
+
|
67
|
+
# Install the gems with a consistent version of RubyGems
|
68
|
+
sh "gem update --system 2.5.2"
|
69
|
+
|
70
|
+
$LOAD_PATH.unshift("./spec")
|
71
|
+
require "support/rubygems_ext"
|
72
|
+
Spec::Rubygems::DEPS["codeclimate-test-reporter"] = nil if RUBY_VERSION >= "2.2.0"
|
73
|
+
|
74
|
+
# Install the other gem deps, etc
|
75
75
|
Rake::Task["spec:deps"].invoke
|
76
76
|
end
|
77
77
|
end
|
@@ -88,7 +88,7 @@ begin
|
|
88
88
|
|
89
89
|
if RUBY_VERSION >= "1.9.3"
|
90
90
|
# can't go in the gemspec because of the ruby version requirement
|
91
|
-
gem "rubocop", "= 0.
|
91
|
+
gem "rubocop", "= 0.37.0"
|
92
92
|
require "rubocop/rake_task"
|
93
93
|
RuboCop::RakeTask.new
|
94
94
|
end
|
@@ -122,7 +122,7 @@ begin
|
|
122
122
|
rubyopt = ENV["RUBYOPT"]
|
123
123
|
# When editing this list, also edit .travis.yml!
|
124
124
|
branches = %w(master)
|
125
|
-
releases = %w(v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.2 v1.7.2 v1.8.29 v2.0.14 v2.1.11 v2.2.5 v2.4.8 v2.5.
|
125
|
+
releases = %w(v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.2 v1.7.2 v1.8.29 v2.0.14 v2.1.11 v2.2.5 v2.4.8 v2.5.2)
|
126
126
|
(branches + releases).each do |rg|
|
127
127
|
desc "Run specs with Rubygems #{rg}"
|
128
128
|
RSpec::Core::RakeTask.new(rg) do |t|
|
@@ -276,6 +276,13 @@ end
|
|
276
276
|
begin
|
277
277
|
require "automatiek"
|
278
278
|
|
279
|
+
Automatiek::RakeTask.new("compact_index_client") do |lib|
|
280
|
+
lib.download = { :github => "https://github.com/bundler/compact_index_client" }
|
281
|
+
lib.namespace = "CompactIndexClient"
|
282
|
+
lib.prefix = "Bundler"
|
283
|
+
lib.vendor_lib = "lib/bundler/vendor/compact_index_client"
|
284
|
+
end
|
285
|
+
|
279
286
|
Automatiek::RakeTask.new("molinillo") do |lib|
|
280
287
|
lib.download = { :github => "https://github.com/CocoaPods/Molinillo" }
|
281
288
|
lib.namespace = "Molinillo"
|