diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-08-01 16:27:23 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-08-01 16:27:23 -0500 |
commit | c5a1f1a7bbb0a0b88cc448bbf8d6b16f2945d363 (patch) | |
tree | 79cbeeca6e0acfa5e8b73bdf5f1e5bae57042df7 /lib/bundler/lockfile_generator.rb | |
parent | 02ed02ff784f7168d29e5633a094013199db4d46 (diff) | |
download | bundler-c5a1f1a7bbb0a0b88cc448bbf8d6b16f2945d363.tar.gz |
Cleanup
Diffstat (limited to 'lib/bundler/lockfile_generator.rb')
-rw-r--r-- | lib/bundler/lockfile_generator.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bundler/lockfile_generator.rb b/lib/bundler/lockfile_generator.rb index 324b39324b..7fb7255ad7 100644 --- a/lib/bundler/lockfile_generator.rb +++ b/lib/bundler/lockfile_generator.rb @@ -19,7 +19,7 @@ module Bundler add_sources add_platforms add_dependencies - add_section("OPTIONAL GROUPS", definition.optional_groups) + add_optional_groups add_gemfiles add_locked_ruby_version add_bundled_with @@ -74,6 +74,10 @@ module Bundler end end + def add_optional_groups + add_section("OPTIONAL GROUPS", definition.optional_groups) + end + def add_gemfiles return unless SharedHelpers.md5_available? gemfiles = {} |