fcl_rails_daemon 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/fcld +3 -1
- data/lib/fcl_rails_daemon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87c1012fbf69e13eb06009fda46b39c711600f9b
|
4
|
+
data.tar.gz: e95bea676094626c1a71a3de0dd16a1e8c6fb898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d24c9108adc75446c41996a279fc4b3e347a108ba3362d32ea8bfe9bbebb7e2e4473a6b177e80a7b4e2149f30deaefe1522589b45a3c177031fdc74703a775b7
|
7
|
+
data.tar.gz: 82d053e9aab109e2322dd4656cdbc685c69e32a1ecc45a50e95b9d715ae82781b90d0fd89ed9812ff0a96dee7fc845c031addfc2754ec90bc33b8901c78cffe4
|
data/bin/fcld
CHANGED
@@ -11,7 +11,9 @@ config_file = File.join(config_dir, 'fcld_rails_daemon.rb')
|
|
11
11
|
if ARGV.include? "--configure"
|
12
12
|
config_file_content = <<-FILE
|
13
13
|
# Carrega arquivo de environment (projeto rails)
|
14
|
-
|
14
|
+
if File.exist?(File.join("#{config_dir}", "environment"))
|
15
|
+
require File.join("#{config_dir}", "environment")
|
16
|
+
end
|
15
17
|
|
16
18
|
# Para registrar seus comandos é necessário adicioná-los conforme o exemplo abaixo
|
17
19
|
# É necessário que seja informado o nome do comando e qual a classe ao qual ele representa
|