mutx 0.1.64 → 0.1.65

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: 9b257730c4744554045a3ddfb825e14e9d7803c1
4
- data.tar.gz: c89992c76350f4b3a3bae1090e2c8011cdc0d348
3
+ metadata.gz: 7f32b1b76bb1207b14d47500e23daf62e8dc1ac4
4
+ data.tar.gz: ba60329326ddce8b2fa58bc101d60d922f10f1c1
5
5
  SHA512:
6
- metadata.gz: 651690d6f668b7862f460dc19fa5946f06239f827143fbf0be9ba25f316aacab191b50b0910b14299d0feb3b1826b804a59d432b6fde228f00849b16883ae3c6
7
- data.tar.gz: 350d922f8ee3a4b03d9a776d6afc189e2add57ba58a868d2685947693d3de6f4afffe34664a31e1b5924635e24bcbc3a4e058bfa9fe29bc7217f70f5391d541e
6
+ metadata.gz: 74aa31ac27aee487f140be75cf0429fe43f3d00ede7131f7a85ee833974cfcc2653f4a0f36d02630326c2f465981b5215b82ea4159671ca511241d5f03d74f4f
7
+ data.tar.gz: ff7c1ccaa9597d4512f08f1c58718ad1df7d43e946998593ef28019db863bbe25ac32a970f9ccf94620ca3e0699edd7e83f0c22dc53b3ad44b45e932e702e2c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mutx (0.1.64)
4
+ mutx (0.1.65)
5
5
  basica
6
6
  bson_ext
7
7
  byebug
@@ -95,7 +95,7 @@ GEM
95
95
  raindrops (0.17.0)
96
96
  rake (12.0.0)
97
97
  redcarpet (3.4.0)
98
- redis (3.3.3)
98
+ redis (3.3.2)
99
99
  require_all (1.4.0)
100
100
  rufus-scheduler (3.3.2)
101
101
  tzinfo
@@ -72,14 +72,14 @@ module Mutx
72
72
 
73
73
  end#cron_task
74
74
 
75
- Mutx::Database::MongoConnector.close
75
+ Mutx::Database::MongoConnector.force_close
76
76
  puts "######### ENDING CRON ##########"
77
77
  else ## si hay algo corriendo deja pasar toda la ejecucion hasta que finalice
78
78
  puts
79
79
  puts "HAY EJECUCIONES EN RUNNING O STARTED, SE ESPERA A QUE TERMINEN..."
80
80
  puts
81
81
  puts "######### ENDING CRON ##########"
82
- Mutx::Database::MongoConnector.close
82
+ Mutx::Database::MongoConnector.force_close
83
83
  end
84
84
 
85
85
  end #perform
@@ -50,7 +50,7 @@ module Mutx
50
50
  end
51
51
 
52
52
  def self.force_close
53
- $client = $client.close if $client
53
+ $client.close if $client
54
54
  end
55
55
 
56
56
  def self.close
data/lib/mutx/routes.rb CHANGED
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ f# encoding: utf-8
2
2
  require "cuba"
3
3
  #include Basica
4
4
  require_relative './database/middleware'
@@ -898,7 +898,7 @@ Cuba.define do
898
898
 
899
899
  end
900
900
 
901
- ##Mutx::Database::MongoConnector.close
901
+ Mutx::Database::MongoConnector.force_close
902
902
 
903
903
  rescue => e
904
904
  Mutx::Support::Log.error "Cuba: #{e} #{e.backtrace}" if Mutx::Support::Log
data/lib/mutx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mutx
2
- VERSION = "0.1.64"
2
+ VERSION = "0.1.65"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.64
4
+ version: 0.1.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Rodriguez