diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-18 15:32:12 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-18 15:36:36 -0500 |
commit | 4a787997c6fb9b520251cd10ce0f2bda4e1c0e64 (patch) | |
tree | 48b243e906bb5c4406346f80aec46bf91ae37382 /lib/bundler/plugin.rb | |
parent | 54ff7a4fb827ec36d5cac2fac843993f28b19077 (diff) | |
download | bundler-4a787997c6fb9b520251cd10ce0f2bda4e1c0e64.tar.gz |
Add FeatureFlag class
Main use will be code showing what is true setting vs what is flagged
Also can be used to develop for future major versions without needing a separate dev branch
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r-- | lib/bundler/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb index 1f0297f2..015be99a 100644 --- a/lib/bundler/plugin.rb +++ b/lib/bundler/plugin.rb @@ -158,7 +158,7 @@ module Bundler # # @param [String] event def hook(event, *args, &arg_blk) - return unless Bundler.settings[:plugins] + return unless Bundler.feature_flag.plugins? plugins = index.hook_plugins(event) return unless plugins.any? |