<commit_before>#
# Cookbook Name:: chef-sugar-rackspace
# Recipe:: default
#
# Copyright 2015, <NAME> <<EMAIL>>
#

gem_version = run_context.cookbook_collection[cookbook_name].metadata.version

chef_gem('chef-sugar-rackspace') do
  version gem_version
  action :nothing
end.run_action(:install)

require 'chef/sugar/rackspace'<commit_msg>Fixed Chef 12 warning by setting compile_time true if supported<commit_after>#
# Cookbook Name:: chef-sugar-rackspace
# Recipe:: default
#
# Copyright 2015, <NAME> <<EMAIL>>
#

gem_version = run_context.cookbook_collection[cookbook_name].metadata.version

chef_gem 'chef-sugar-rackspace' do
  version gem_version
  compile_time true if Chef::Resource::ChefGem.instance_methods(false)
                                              .include?(:compile_time)
end

require 'chef/sugar/rackspace'
{'fraction_non_alphanumeric': 0.10990338164251208, 'fraction_numerical': 0.012077294685990338, 'mean_word_length': 4.639455782312925, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5151887', 'n_tokens_mistral': 284, 'n_tokens_neox': 264, 'n_words': 54}