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.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +24 -0
  3. data/.gitignore +2 -2
  4. data/.rubocop.yml +17 -2
  5. data/.rubocop_todo.yml +145 -18
  6. data/.travis.yml +9 -2
  7. data/CHANGELOG.md +42 -0
  8. data/Rakefile +20 -13
  9. data/bin/rake +5 -0
  10. data/bin/rspec +5 -0
  11. data/bin/rubocop +7 -1
  12. data/bundler.gemspec +2 -1
  13. data/exe/bundle +10 -2
  14. data/exe/bundle_ruby +2 -1
  15. data/exe/bundler +3 -1
  16. data/lib/bundler.rb +54 -51
  17. data/lib/bundler/capistrano.rb +1 -0
  18. data/lib/bundler/cli.rb +26 -4
  19. data/lib/bundler/cli/binstubs.rb +1 -0
  20. data/lib/bundler/cli/cache.rb +1 -0
  21. data/lib/bundler/cli/check.rb +4 -1
  22. data/lib/bundler/cli/clean.rb +1 -0
  23. data/lib/bundler/cli/common.rb +1 -0
  24. data/lib/bundler/cli/config.rb +5 -5
  25. data/lib/bundler/cli/console.rb +1 -0
  26. data/lib/bundler/cli/exec.rb +4 -9
  27. data/lib/bundler/cli/gem.rb +12 -9
  28. data/lib/bundler/cli/init.rb +1 -0
  29. data/lib/bundler/cli/inject.rb +1 -0
  30. data/lib/bundler/cli/install.rb +8 -5
  31. data/lib/bundler/cli/lock.rb +2 -0
  32. data/lib/bundler/cli/open.rb +1 -0
  33. data/lib/bundler/cli/outdated.rb +36 -9
  34. data/lib/bundler/cli/package.rb +1 -0
  35. data/lib/bundler/cli/platform.rb +4 -1
  36. data/lib/bundler/cli/show.rb +1 -0
  37. data/lib/bundler/cli/update.rb +6 -6
  38. data/lib/bundler/cli/viz.rb +4 -6
  39. data/lib/bundler/constants.rb +1 -0
  40. data/lib/bundler/current_ruby.rb +34 -168
  41. data/lib/bundler/definition.rb +41 -15
  42. data/lib/bundler/dep_proxy.rb +1 -0
  43. data/lib/bundler/dependency.rb +10 -0
  44. data/lib/bundler/deployment.rb +1 -0
  45. data/lib/bundler/deprecate.rb +1 -0
  46. data/lib/bundler/dsl.rb +19 -9
  47. data/lib/bundler/endpoint_specification.rb +37 -8
  48. data/lib/bundler/env.rb +4 -3
  49. data/lib/bundler/environment.rb +1 -0
  50. data/lib/bundler/errors.rb +51 -32
  51. data/lib/bundler/fetcher.rb +44 -30
  52. data/lib/bundler/fetcher/base.rb +3 -2
  53. data/lib/bundler/fetcher/compact_index.rb +98 -0
  54. data/lib/bundler/fetcher/dependency.rb +36 -36
  55. data/lib/bundler/fetcher/downloader.rb +14 -8
  56. data/lib/bundler/fetcher/index.rb +28 -5
  57. data/lib/bundler/friendly_errors.rb +93 -85
  58. data/lib/bundler/gem_helper.rb +20 -21
  59. data/lib/bundler/gem_helpers.rb +9 -2
  60. data/lib/bundler/gem_remote_fetcher.rb +1 -0
  61. data/lib/bundler/gem_tasks.rb +1 -0
  62. data/lib/bundler/graph.rb +16 -17
  63. data/lib/bundler/index.rb +4 -6
  64. data/lib/bundler/injector.rb +1 -0
  65. data/lib/bundler/inline.rb +8 -2
  66. data/lib/bundler/installer.rb +4 -4
  67. data/lib/bundler/installer/gem_installer.rb +1 -0
  68. data/lib/bundler/installer/parallel_installer.rb +3 -2
  69. data/lib/bundler/installer/standalone.rb +5 -1
  70. data/lib/bundler/lazy_specification.rb +5 -2
  71. data/lib/bundler/lockfile_parser.rb +22 -15
  72. data/lib/bundler/match_platform.rb +1 -0
  73. data/lib/bundler/mirror.rb +218 -0
  74. data/lib/bundler/path_preserver.rb +12 -0
  75. data/lib/bundler/psyched_yaml.rb +1 -0
  76. data/lib/bundler/remote_specification.rb +4 -1
  77. data/lib/bundler/resolver.rb +17 -16
  78. data/lib/bundler/retry.rb +1 -0
  79. data/lib/bundler/ruby_dsl.rb +8 -2
  80. data/lib/bundler/ruby_version.rb +58 -61
  81. data/lib/bundler/rubygems_ext.rb +4 -3
  82. data/lib/bundler/rubygems_gem_installer.rb +1 -0
  83. data/lib/bundler/rubygems_integration.rb +9 -14
  84. data/lib/bundler/runtime.rb +17 -22
  85. data/lib/bundler/settings.rb +17 -21
  86. data/lib/bundler/setup.rb +1 -0
  87. data/lib/bundler/shared_helpers.rb +47 -17
  88. data/lib/bundler/similarity_detector.rb +1 -0
  89. data/lib/bundler/source.rb +2 -1
  90. data/lib/bundler/source/git.rb +2 -1
  91. data/lib/bundler/source/git/git_proxy.rb +33 -7
  92. data/lib/bundler/source/path.rb +17 -10
  93. data/lib/bundler/source/path/installer.rb +1 -0
  94. data/lib/bundler/source/rubygems.rb +4 -3
  95. data/lib/bundler/source/rubygems/remote.rb +16 -0
  96. data/lib/bundler/source_list.rb +1 -0
  97. data/lib/bundler/spec_set.rb +1 -0
  98. data/lib/bundler/ssl_certs/certificate_manager.rb +1 -0
  99. data/lib/bundler/stub_specification.rb +1 -0
  100. data/lib/bundler/templates/Executable +1 -0
  101. data/lib/bundler/templates/Gemfile +1 -0
  102. data/lib/bundler/templates/newgem/.travis.yml.tt +1 -0
  103. data/lib/bundler/templates/newgem/newgem.gemspec.tt +2 -2
  104. data/lib/bundler/ui.rb +1 -0
  105. data/lib/bundler/ui/rg_proxy.rb +1 -0
  106. data/lib/bundler/ui/shell.rb +2 -1
  107. data/lib/bundler/ui/silent.rb +1 -0
  108. data/lib/bundler/vendor/compact_index_client/lib/compact_index_client.rb +78 -0
  109. data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/cache.rb +97 -0
  110. data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb +55 -0
  111. data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/version.rb +3 -0
  112. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +4 -0
  113. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +13 -0
  114. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +5 -0
  115. data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  116. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +2 -1
  117. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +37 -14
  118. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -1
  119. data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +7 -7
  120. data/lib/bundler/vendored_molinillo.rb +1 -0
  121. data/lib/bundler/vendored_persistent.rb +1 -0
  122. data/lib/bundler/vendored_thor.rb +1 -0
  123. data/lib/bundler/version.rb +6 -1
  124. data/lib/bundler/vlad.rb +1 -0
  125. data/lib/bundler/worker.rb +12 -2
  126. data/man/bundle-config.ronn +6 -0
  127. data/man/bundle-gem.ronn +5 -5
  128. metadata +14 -6
  129. data/lib/bundler/gem_path_manipulation.rb +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f010e74275ffca21b538d97309eec4237614dd72
4
- data.tar.gz: ece9b51ab577ac564a7252e9f73052ae2ff075f4
3
+ metadata.gz: 7b760f9de4dfb482173fc42326c0835065a447b4
4
+ data.tar.gz: 76008afb974bf6f329a58cc41c82c2b5debb695c
5
5
  SHA512:
6
- metadata.gz: b59a79de3d4ef0ef10d5777b1f66f18afdbd06cad9840ecd9fbb6487b9bf9e2c2129b0cc1bd0cf51efbff65f50ed42ffbf8d5b2f5e90d1ac36ca6c08f501392c
7
- data.tar.gz: 902c4f09bddf505198142e3bfc80cf958acfdad3c7a2c39a8beef840beaa823209cea2c883ceb88bbf87db56744be441f7a8bc06cce9c8ff57a7695fc58f71b4
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
@@ -12,5 +12,5 @@
12
12
  # output from ronn
13
13
  /lib/bundler/man/
14
14
 
15
- # output from ci_reporter
16
- /spec/reports/
15
+ # rspec failure tracking
16
+ .rspec_status
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/TrailingComma:
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/TrailingComma:
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 2015-11-21 00:03:12 -0600 using RuboCop version 0.35.1.
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: 5
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/graph.rb'
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: 1031
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: 50
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: 119
77
- # Configuration parameters: Exclude.
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: 1
82
- # Configuration parameters: Exclude.
83
- Style/FileName:
136
+ # Offense count: 2
137
+ # Cop supports --auto-correct.
138
+ # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
139
+ Style/ExtraSpacing:
84
140
  Exclude:
85
- - 'lib/bundler/templates/Executable'
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: 32
96
- # Configuration parameters: MinBodyLength.
97
- Style/GuardClause:
98
- Enabled: false
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: 7
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:66 for the list of possible RGV values
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.0
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.35.1" if RUBY_VERSION >= "1.9.3" # can't go in the gemspec because of the ruby version requirement
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
- if RUBY_VERSION < "1.9"
66
- # Downgrade Rubygems on 1.8 so Ronn can be required
67
- # https://github.com/rubygems/rubygems/issues/784
68
- sh "gem update --system 2.1.11"
69
- else
70
- # Downgrade Rubygems so RSpec 3 can be installed
71
- # https://github.com/rubygems/rubygems/issues/813
72
- sh "gem update --system 2.2.0"
73
- end
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.35.1"
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.0)
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"