<commit_before>require "puppet/moddeps/version"
require 'rubygems'
require 'json'

module Puppet
  module Moddeps

    @@default_module_path = '/etc/puppet/modules'

    def self.installModuleDependencies(puppet_module)

      @puppet_module = puppet_module
      @metadata      = File.read("#{@@default_module_path}/#{@puppet_module}/metadata.json")
      @data          = JSON.parse(@metadata)

      @data['dependencies'].each do |dep|
        @note    = 'Installing dependency'
        @depname = dep["name"].sub '/', '-'
        @cmd     = "puppet module install #{@depname}"
        puts "#{@cmd}"
        exec("#{@cmd}")
      end
    end

  end
end<commit_msg>Replaced double quotes with singles and added a blank line at the end of the file<commit_after>require 'puppet/moddeps/version'
require 'rubygems'
require 'json'

module Puppet
  module Moddeps

    @@default_module_path = '/etc/puppet/modules'

    def self.installModuleDependencies(puppet_module)

      @puppet_module = puppet_module
      @metadata      = File.read("#{@@default_module_path}/#{@puppet_module}/metadata.json")
      @data          = JSON.parse(@metadata)

      @data['dependencies'].each do |dep|
        @note    = 'Installing dependency'
        @depname = dep["name"].sub '/', '-'
        @cmd     = "puppet module install #{@depname}"
        puts "#{@cmd}"
        exec("#{@cmd}")
      end
    end

  end
end

{'fraction_non_alphanumeric': 0.13807829181494663, 'fraction_numerical': 0.0, 'mean_word_length': 2.81029810298103, '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': '3060487', 'n_tokens_mistral': 463, 'n_tokens_neox': 449, 'n_words': 94}