Module: Empyrean
- Defined in:
- lib/empyrean/defaults.rb,
lib/empyrean.rb,
lib/empyrean/cli.rb,
lib/empyrean/optparser.rb,
lib/empyrean/tweetloader.rb,
lib/empyrean/tweetparser.rb,
lib/empyrean/configloader.rb,
lib/empyrean/templatelister.rb,
lib/empyrean/templaterenderer.rb
Overview
defaults.rb - some constants
This file is part of Empyrean Copyright © 2015 nilsding, pixeldesu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.
Defined Under Namespace
Classes: CLI, ConfigLoader, OptParser, TemplateLister, TemplateRenderer, TweetLoader, TweetParser
Constant Summary collapse
- APP_NAME =
Application name
"Empyrean"
- VERSION =
Version
"0.1.2"
- VERSION_STR =
Combined version string
"#{APP_NAME} #{VERSION}"
- USERNAME_REGEX =
Regexp for matching user names
/[@]([a-zA-Z0-9_]{1,16})/
- SOURCE_REGEX =
Regexp for matching the client source
/^<a href=\"(https?:\/\/\S+|erased_\d+)\" rel=\"nofollow\">(.+)<\/a>$/
- HASHTAG_REGEX =
Regexp for matching hashtags
/[#]([^{}\[\]().,\-:!*_?#\s]+)/
- TEMPLATE_DIR =
Path to the templates
File. "../templates", __FILE__
- DEFAULT_TEMPLATE =
The default template to use
"default.html.erb"