<commit_before>require "buildtasks/mixins/dsl"

module BuildTasks
  module FPMCookery
    class DSL
      include BuildTasks::Mixins::DSL

      def initialize(&block)
        @recipe              = "recipe.rb"
        @fpm_cookery_version = "~> 0.25.0"
        @fpm_version         = "~> 1.3.3"

        instance_eval(&block) if block_given?
      end

      def recipe(arg = nil)
        set_or_return(:recipe, arg, :kind_of => String)
      end

      def fpm_cookery_version(arg = nil)
        set_or_return(:fpm_cookery_version, arg, :kind_of => String)
      end

      def fpm_version(arg = nil)
        set_or_return(:fpm_version, arg, :kind_of => String)
      end
    end
  end
end
<commit_msg>Update fpm-cookery to avoid installing Puppet 4.x<commit_after>require "buildtasks/mixins/dsl"

module BuildTasks
  module FPMCookery
    class DSL
      include BuildTasks::Mixins::DSL

      def initialize(&block)
        @recipe              = "recipe.rb"
        @fpm_cookery_version = "~> 0.27.0"
        @fpm_version         = "~> 1.3.3"

        instance_eval(&block) if block_given?
      end

      def recipe(arg = nil)
        set_or_return(:recipe, arg, :kind_of => String)
      end

      def fpm_cookery_version(arg = nil)
        set_or_return(:fpm_cookery_version, arg, :kind_of => String)
      end

      def fpm_version(arg = nil)
        set_or_return(:fpm_version, arg, :kind_of => String)
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.10110803324099724, 'fraction_numerical': 0.01038781163434903, 'mean_word_length': 2.2766439909297054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '5304098', 'n_tokens_mistral': 521, 'n_tokens_neox': 492, 'n_words': 104}