<commit_before><?php
/**
 * @package   Twig PCRE
 * @author    <NAME>.
 * @copyright Copyright 2016
 * @link      https://github.com/victor-in/Craft-TwigPCRE
 * @license   MIT
 */
namespace Craft;

class TwigPcrePlugin extends BasePlugin
{
    public function getName()
    {
        return Craft::t('Twig PCRE Filters');
    }

    public function getVersion()
    {
        return '0.3';
    }
	
	public function getSchemaVersion() {
		return '0.1';
	}

    public function getDeveloper()
    {
        return '<NAME>.';
    }

    public function getDeveloperUrl()
    {
        return 'https://github.com/victor-in/';
    }
	
    public function getDocumentationUrl()
    {
        return 'https://github.com/victor-in/Craft-TwigPCRE';
    }
	
	public function getReleaseFeedUrl()
	{
		return 'https://github.com/victor-in/Craft-TwigPCRE/blob/master/changelog.json';
	}

    public function addTwigExtension()
    {
        Craft::import('plugins.twigpcre.twigextensions.TwigPcreTwigExtension');
        return new TwigPcreTwigExtension();
    }
}
<commit_msg>Fixed getReleaseFeedUrl to point to raw JSON file<commit_after><?php
/**
 * @package   Twig PCRE
 * @author    <NAME>.
 * @copyright Copyright 2016
 * @link      https://github.com/victor-in/Craft-TwigPCRE
 * @license   MIT
 */
namespace Craft;

class TwigPcrePlugin extends BasePlugin
{
    public function getName()
    {
        return Craft::t('Twig PCRE Filters');
    }

    public function getVersion()
    {
        return '0.3.1';
    }
    
    public function getSchemaVersion() {
    	return '0.1';
    }

    public function getDeveloper()
    {
        return '<NAME>.';
    }

    public function getDeveloperUrl()
    {
        return 'https://github.com/victor-in/';
    }
	
    public function getDocumentationUrl()
    {
        return 'https://github.com/victor-in/Craft-TwigPCRE';
    }
    
    public function getReleaseFeedUrl()
    {
        return 'https://raw.githubusercontent.com/victor-in/Craft-TwigPCRE/master/changelog.json';
    }

    public function addTwigExtension()
    {
        Craft::import('plugins.twigpcre.twigextensions.TwigPcreTwigExtension');
        return new TwigPcreTwigExtension();
    }
}

{'fraction_non_alphanumeric': 0.12375339981867634, 'fraction_numerical': 0.0077062556663644605, 'mean_word_length': 2.5199362041467306, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1753883', 'n_tokens_mistral': 744, 'n_tokens_neox': 707, 'n_words': 133}