<commit_before>var request = require('supertest');
var loopback = require('loopback');
var cloudinary = require('cloudinary');
var path = require('path');

var app = loopback();

var TEST_TAG = 'loopback-component-cloudinary-test';

var cloudinaryConfig = {
	'cloud_name': process.env.CLOUDINARY_CLOUD_NAME,
	'api_key': process.env.CLOUDINARY_API_KEY,
	'api_secret': process.env.CLOUDINARY_CLOUD_SECRET
};

// expose a rest api
app.use(loopback.rest());

var ds = loopback.createDataSource({
	connector: require('../../lib/cloudinary-connector'),
	config: cloudinaryConfig
});

var Image = ds.createModel('image', {}, {base: 'Model'});

app.model(Image);<commit_msg>add tag env variable<commit_after>var request = require('supertest');
var loopback = require('loopback');
var cloudinary = require('cloudinary');
var path = require('path');

var app = loopback();

var TEST_TAG = process.env.CLOUDINARY_TEST_TAG || 'loopback-component-cloudinary-test';

var cloudinaryConfig = {
	'cloud_name': process.env.CLOUDINARY_CLOUD_NAME,
	'api_key': process.env.CLOUDINARY_API_KEY,
	'api_secret': process.env.CLOUDINARY_CLOUD_SECRET
};

// expose a rest api
app.use(loopback.rest());

var ds = loopback.createDataSource({
	connector: require('../../lib/cloudinary-connector'),
	config: cloudinaryConfig
});

var Image = ds.createModel('image', {}, {base: 'Model'});

app.model(Image);
{'fraction_non_alphanumeric': 0.16302765647743814, 'fraction_numerical': 0.0, 'mean_word_length': 6.087628865979381, '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': '6792451', 'n_tokens_mistral': 461, 'n_tokens_neox': 471, 'n_words': 91}