burninator 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/burninator/broadcaster.rb +1 -0
- data/lib/burninator/warmer.rb +1 -2
- metadata +6 -7
data/lib/burninator/warmer.rb
CHANGED
@@ -18,12 +18,11 @@ class Burninator
|
|
18
18
|
private
|
19
19
|
|
20
20
|
def process(event)
|
21
|
-
query = event[:sql]
|
21
|
+
query = event[:sql].squish
|
22
22
|
binds = event[:binds]
|
23
23
|
|
24
24
|
@connection.execute(query, binds)
|
25
25
|
rescue ActiveRecord::StatementInvalid => e
|
26
|
-
Rails.logger.error("Error running #{query}")
|
27
26
|
Rails.logger.error("#{e.class}: #{e.message}")
|
28
27
|
end
|
29
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: burninator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.2.0
|
22
22
|
type: :runtime
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.2.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
@@ -85,20 +85,19 @@ require_paths:
|
|
85
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - '>='
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
92
|
none: false
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
|
-
rubygems_version: 1.8.
|
99
|
+
rubygems_version: 1.8.25
|
100
100
|
signing_key:
|
101
101
|
specification_version: 3
|
102
102
|
summary: Keep your follower database warm
|
103
103
|
test_files: []
|
104
|
-
has_rdoc:
|