fcl_rails_daemon 1.0.4 → 1.0.5

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: 032dae4ed18186d98b3a2cdd33340e61f62c5e24
4
- data.tar.gz: 4f33e6f0f57fd726fe1b00bbdf6f7b7192cca345
3
+ metadata.gz: 19113c03e9929c6d548ebed99543a9758d293fff
4
+ data.tar.gz: 3e665611a6e00aff719b1e2c7f509ca92858f5cd
5
5
  SHA512:
6
- metadata.gz: 8ca34b51bc12fcda5b9bbc504008b58e8dcdb486d1b68cf7c9a49779981c066898deb6e0f96b849ab09810d30097cac2e1b1b3337adb48b731eb0818661d3597
7
- data.tar.gz: 02dd4eef558d02de75c68f02894e3ee322f6b28814f6517e4940a651df1defe925b687030bdf361968e3b312f33ae538ecc0b7414ccf23e817ed23d7cab82f73
6
+ metadata.gz: a255f8e87fdacfadd41cd4ba5cbf7c506808d89480e3bb302eb744b0130022c1f0c2eaa846e19b43edbbaccfb1f6701dbf1880dee05a68f17e1801c9a8c1ba05
7
+ data.tar.gz: ea58d00119bf0e55641edd03cedf16b2569f579a3a80c551fdb7bd5ddc2c88fe6f92599e9221544da3e324d36435fd6e9ad3dd7142dfcb7dcc4f8eaebb8fe8f0
data/bin/fcld CHANGED
@@ -10,6 +10,9 @@ config_file = File.join(config_dir, 'fcld_rails_daemon.rb')
10
10
 
11
11
  if ARGV.include? "--configure"
12
12
  config_file_content = <<-FILE
13
+ # Carrega arquivo de environment (projeto rails)
14
+ require File.join("#{config_dir}", "environment" if File.exist?(File.join("#{config_dir}", "environment" ))
15
+
13
16
  # Para registrar seus comandos é necessário adicioná-los conforme o exemplo abaixo
14
17
  # É necessário que seja informado o nome do comando e qual a classe ao qual ele representa
15
18
  # Ex:
Binary file
@@ -1,3 +1,3 @@
1
1
  module FclRailsDaemon
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Washington Silva
@@ -104,6 +104,7 @@ files:
104
104
  - fcl_rails_daemon-1.0.1.gem
105
105
  - fcl_rails_daemon-1.0.2.gem
106
106
  - fcl_rails_daemon-1.0.3.gem
107
+ - fcl_rails_daemon-1.0.4.gem
107
108
  - fcl_rails_daemon.gemspec
108
109
  - lib/core/daemon.rb
109
110
  - lib/core/gerenciador.rb