<commit_before>'use strict';
var yeoman = require('yeoman-generator');
var yosay = require('yosay');


var YuiGenerator = yeoman.generators.Base.extend({
    init: function () {
        this.pkg = require('../package.json');

        this.on('end', function () {
            if (!this.options['skip-install']) {
                this.installDependencies();
            }
        });
    },

    _defaultAuthor: function () {
        var name  = this.user.git.name,
            email = this.user.git.email,
            author = 'Rockstar Developer <<EMAIL>>';

        if (name) {
            author = name;
            if (email) {
                author += (' <' + email + '>');
            }
        }

        return author;
    },<commit_msg>user.git.* are methods instead of getters in yeoman/generator 0.17.1.<commit_after>'use strict';
var yeoman = require('yeoman-generator');
var yosay = require('yosay');


var YuiGenerator = yeoman.generators.Base.extend({
    init: function () {
        this.pkg = require('../package.json');

        this.on('end', function () {
            if (!this.options['skip-install']) {
                this.installDependencies();
            }
        });
    },

    _defaultAuthor: function () {
        var name  = this.user.git.name(),
            email = this.user.git.email(),
            author = 'Rockstar Developer <<EMAIL>>';

        if (name) {
            author = name;
            if (email) {
                author += (' <' + email + '>');
            }
        }

        return author;
    },
{'fraction_non_alphanumeric': 0.1567741935483871, 'fraction_numerical': 0.0025806451612903226, 'mean_word_length': 1.6695352839931152, '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': '594948', 'n_tokens_mistral': 456, 'n_tokens_neox': 433, 'n_words': 90}