ultrafast 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 2bac1e666079459720b36636e1293674470aaa6e080b9c9ba4c6a39328116bb9
4
- data.tar.gz: 9898490b5976f31b66f2f3234bd25e6b8cd4e5ff7d564acb7f632d79ca0adba0
2
+ SHA1:
3
+ metadata.gz: b45c9177b0e8cc8b7aae0bad56095ce8afda1872
4
+ data.tar.gz: 28f51cc9103e68abe49f4921c8633d96817c67b0
5
5
  SHA512:
6
- metadata.gz: f8579ba7acc140aeab4e59b38fe04cb931f9ee5db74fda346d7c09d9e9d5f49e1b9711522826e66f2ea63ad083b8a3e46d726329f3d999ed0a207964f3193dce
7
- data.tar.gz: d7e9b7787409ed3e3ead92732923eced3183d4b00c09442de709a93c56b77acdf181e99f43d96a195d869df37d5074e5325e93de3ec81f7257c3310497198829
6
+ metadata.gz: c04298b45d67e5fcc4ca4f71bdfa3e496e50b2297aebe1f5ec1b58c3b6348d8d223d1ed6a6942eb385e806ba0265e6c76d53328cbce1166637134d723ee7dff2
7
+ data.tar.gz: fedbc75456fa5ee78bc960d47aa7912eac98d5c81428f0bb2442f3e1b5db2a2955e60392a094b7b15ee6ab740d428603b45d96e9049a38170588abf073dc9539
@@ -7,8 +7,8 @@ module Ultrafast
7
7
 
8
8
  redis_connection.set(store_key, content)
9
9
  self.new(attributes)
10
- rescue
11
- error_message
10
+ rescue => exception
11
+ error_message(exception)
12
12
  self.create(*attributes)
13
13
  end
14
14
 
@@ -28,10 +28,11 @@ module Ultrafast
28
28
  Ultrafast::CurrentApplication.name
29
29
  end
30
30
 
31
- def error_message
32
- Rails.logger.warn '-----------------------------------------------------'
33
- Rails.logger.warn '[WARN Error] on try use fastcreate, running fallback'
34
- Rails.logger.warn '-----------------------------------------------------'
31
+ def error_message(exception)
32
+ Rails.logger.error exception.backtrace
33
+ Rails.logger.error '-----------------------------------------------------'
34
+ Rails.logger.error '[WARN Error] on try use fastcreate, running fallback'
35
+ Rails.logger.error '-----------------------------------------------------'
35
36
  end
36
37
  end
37
38
  end
@@ -1,3 +1,3 @@
1
1
  module Ultrafast
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultrafast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dayvson Lima
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-11 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -123,7 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.0.3
126
+ rubyforge_project:
127
+ rubygems_version: 2.6.11
127
128
  signing_key:
128
129
  specification_version: 4
129
130
  summary: optimize atomic inserts using the redis as buffer