<commit_before>= FeatureToggles

Toggle a feature on or off in an environment.

This gem is made to be used in Rails projects.

1. In your config folder place a file named "feature_toggles.yml"
2. Set features for various environments like so:
  development:
      my_cool_feature:
        enabled: true

      another_feature:
        enabled: true
  test:
    my_cool_feature:
      enabled: false

    another_feature:
      enabled: true
3. require 'feature_toggles' #in application.rb
4. Test if a feature is enabled like the following:
  if FeatureToggles::Feature.is_enabled?(:my_cool_feature)
     render 'my_new_feature' and return
  end
5. Don't forget to delete your toggles if they're no longer needed ;)<commit_msg>fixing up ordered list<commit_after>= FeatureToggles

Toggle a feature on or off in an environment.

This gem is made to be used in Rails projects.

1. In your config folder place a file named "feature_toggles.yml"
2. Set features for various environments like so:
  development:
      my_cool_feature:
        enabled: true

      another_feature:
        enabled: true
  test:
    my_cool_feature:
      enabled: false

    another_feature:
      enabled: true
3. require 'feature_toggles' #in application.rb
4. Test if a feature is enabled like the following:
  if FeatureToggles::Feature.is_enabled?(:my_cool_feature)
     render 'my_new_feature' and return
  end

And don't forget to delete your toggles if they're no longer needed ;)
{'fraction_non_alphanumeric': 0.05794137695978187, 'fraction_numerical': 0.006134969325153374, 'mean_word_length': 3.4484848484848483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1485114', 'n_tokens_mistral': 441, 'n_tokens_neox': 422, 'n_words': 177}