Commit d55b32682c41cb0da2e704ac8158676f3080427b
1 parent
e6855182
Exists in
staging
and in
42 other branches
Move PROJECT/VERSION constants to their own file
Incidentally this removes warnings when loading the environment.
Showing
2 changed files
with
5 additions
and
2 deletions
Show diff stats
lib/noosfero.rb
| ... | ... | @@ -2,8 +2,6 @@ |
| 2 | 2 | |
| 3 | 3 | require 'fast_gettext' |
| 4 | 4 | module Noosfero |
| 5 | - PROJECT = 'noosfero' | |
| 6 | - VERSION = '0.99.0~rc20140618202455' | |
| 7 | 5 | |
| 8 | 6 | def self.pattern_for_controllers_in_directory(dir) |
| 9 | 7 | disjunction = controllers_in_directory(dir).join('|') |
| ... | ... | @@ -95,5 +93,6 @@ module Noosfero |
| 95 | 93 | |
| 96 | 94 | end |
| 97 | 95 | |
| 96 | +require 'noosfero/version' | |
| 98 | 97 | require 'noosfero/constants' |
| 99 | 98 | require 'noosfero/core_ext' | ... | ... |