<commit_before>require 'sinatra'
require 'data_mapper'
require 'roo'
require 'pony'

# HELPERS
require './helpers/code'
require './helpers/check_birthday_users'

# MODELS
require './models/users.rb'
require './models/invitations.rb'

include Code
include CheckUsers


configure :development do
  DataMapper.setup(:default, 'postgres://postgres:12345@localhost/usersmareta')<commit_msg>Set production enviroment for Postgres DB in Heroku<commit_after>require 'sinatra'
require 'data_mapper'
require 'roo'
require 'pony'

# HELPERS
require './helpers/code'
require './helpers/check_birthday_users'

# MODELS
require './models/users.rb'
require './models/invitations.rb'

include Code
include CheckUsers


configure :development do
  DataMapper.setup(:default, 'postgres://postgres:12345@localhost/usersmareta')
end

configure :production do
  DataMapper.setup(:default, ENV['POSTGRES_URL'])
{'fraction_non_alphanumeric': 0.12162162162162163, 'fraction_numerical': 0.01126126126126126, 'mean_word_length': 6.169354838709677, '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': '5761047', 'n_tokens_mistral': 296, 'n_tokens_neox': 284, 'n_words': 66}