fcl_rails_daemon 2.0.1 → 2.0.2

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: d4c30615580b23530b677ed849925b2b5e6f4cf1
4
- data.tar.gz: 92659bf13e163b1ac01e1b762811ad4a43823638
3
+ metadata.gz: a6a40ac5a3d53190d03c296ed185b52a6d409414
4
+ data.tar.gz: d2437c1e1fabd9f983555387be8227750b7ced01
5
5
  SHA512:
6
- metadata.gz: 9e9cfe642ffdaf4f83673c8d72862498954600cba1359518770d92eeeae2dfcf566fe5e101566b1fc37d3bd1a8ce9b68139645bd6e1c46f19a96df589fb12b1f
7
- data.tar.gz: 24d5bf7a3a8ec413cd97aaf35e612781f9a2d9b69ca08affbaa7c49fdb9b748379bab5bd804aa629c30e04cd5cc227f8bde2d9654f2834a7db7d55da90564c2c
6
+ metadata.gz: e2c6d357b5779f448ab46c2aaf049857e5d0d846d774fa256f15311bb559740d6d4f28b8b5eb27b1db88d4bd2efabc13f469c10661417f72096a2ddbc8c003a9
7
+ data.tar.gz: 7a2d54f6e1d2ba68807d5f560591f604cb729cc4cd47aa20d9eb3332e5d35b3fc3bf8ce3f5dcfe44cbbcd6e844e42c205e8a39e3658c8ab1d9788b71ec94febc
data/lib/core/daemon.rb CHANGED
@@ -25,10 +25,12 @@ module FclRailsDaemon
25
25
  end
26
26
 
27
27
  def run(&block)
28
+ #check if exist rails environment file
28
29
  env_file = File.join(DAEMON_ROOT, "config", "environment.rb")
29
30
  raise " ༼ つ ◕_◕ ༽つ OOOPS... Could not find the Rails environment file. " unless File.exist? env_file
30
31
 
31
- @daemon = Daemons.call({ multiple: true, app_name: @process_name }) do
32
+ print @process_name
33
+ @daemon = Daemons.call(multiple: true, app_name: '' ) do
32
34
  #Load environment file (rails project)
33
35
  require env_file
34
36
 
@@ -1,3 +1,3 @@
1
1
  module FclRailsDaemon
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
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: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Washington Silva
@@ -101,20 +101,6 @@ files:
101
101
  - bin/console
102
102
  - bin/fcld
103
103
  - bin/setup
104
- - fcl_rails_daemon-1.0.0.gem
105
- - fcl_rails_daemon-1.0.1.gem
106
- - fcl_rails_daemon-1.0.10.gem
107
- - fcl_rails_daemon-1.0.11.gem
108
- - fcl_rails_daemon-1.0.12.gem
109
- - fcl_rails_daemon-1.0.2.gem
110
- - fcl_rails_daemon-1.0.3.gem
111
- - fcl_rails_daemon-1.0.4.gem
112
- - fcl_rails_daemon-1.0.5.gem
113
- - fcl_rails_daemon-1.0.6.gem
114
- - fcl_rails_daemon-1.0.7.gem
115
- - fcl_rails_daemon-1.0.8.gem
116
- - fcl_rails_daemon-1.0.9.gem
117
- - fcl_rails_daemon-2.0.0.gem
118
104
  - fcl_rails_daemon.gemspec
119
105
  - lib/core/daemon.rb
120
106
  - lib/core/manager.rb
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
File without changes
Binary file
Binary file
Binary file