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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19113c03e9929c6d548ebed99543a9758d293fff
4
- data.tar.gz: 3e665611a6e00aff719b1e2c7f509ca92858f5cd
3
+ metadata.gz: 87c1012fbf69e13eb06009fda46b39c711600f9b
4
+ data.tar.gz: e95bea676094626c1a71a3de0dd16a1e8c6fb898
5
5
  SHA512:
6
- metadata.gz: a255f8e87fdacfadd41cd4ba5cbf7c506808d89480e3bb302eb744b0130022c1f0c2eaa846e19b43edbbaccfb1f6701dbf1880dee05a68f17e1801c9a8c1ba05
7
- data.tar.gz: ea58d00119bf0e55641edd03cedf16b2569f579a3a80c551fdb7bd5ddc2c88fe6f92599e9221544da3e324d36435fd6e9ad3dd7142dfcb7dcc4f8eaebb8fe8f0
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
- require File.join("#{config_dir}", "environment" if File.exist?(File.join("#{config_dir}", "environment" ))
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
@@ -1,3 +1,3 @@
1
1
  module FclRailsDaemon
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcl_rails_daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Washington Silva