dashing-rails 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/dashing/railtie.rb +11 -0
- data/lib/dashing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjY4MGE0ZTJjN2U2YmQ0ZWQxNDJhN2NlM2M4OTE0YjhkM2VlMGE5Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmI4OGZiODc3ZjQzMzE3YzdjZmNhMjc4YWYwNGQ5OGFiMjg1YzBhMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTQ1YjNjOGJhY2JjM2FiZjUwN2VkODQzODJmOGUxMDZiMDMxNTEwNDBmMTlj
|
10
|
+
OTY1MDkxMGFkNGNiNGUwNDUyMWY0ZmE3NmIzMWQwNWJlMjliZmYxYmJiNGFj
|
11
|
+
M2YwMzU5MDcyMGY3MjI2Y2ZiODRlNWM4ZTgxNjM5NjI3MzU2NmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTNkMTI0NzU2ZTIzZjA0ODFkMDllZTM5MzUzNTIzYTcyY2VmM2FkMDYwOTE3
|
14
|
+
NmI0YzZhZmEzNzk4MjE0YWM3MjcyNjgxOTM2YTdjMjI1ZGJjZjAzM2JlMGQ3
|
15
|
+
YWNkODRlM2RiMTU1ZGE1ZTM2NjZkZjYzZDA4OWQwMTE2ZWE2ODk=
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 2.3.1
|
2
|
+
|
3
|
+
* Patch redis child connection when using passenger
|
4
|
+
|
1
5
|
## 2.3.0
|
2
6
|
|
3
7
|
* Remove all `Rails.root` occurance and move them to configuration file. Please use a proc or a lambda in the configuration since `Rails` module might not be defined when configuration file is required.
|
data/Gemfile.lock
CHANGED
data/lib/dashing/railtie.rb
CHANGED
@@ -3,5 +3,16 @@ module Dashing
|
|
3
3
|
initializer 'require dashing jobs' do
|
4
4
|
Dir[Dashing.config.jobs_path.call.join('**', '*.rb')].each { |file| require file }
|
5
5
|
end
|
6
|
+
|
7
|
+
initializer 'fix redis child connection' do
|
8
|
+
if defined?(::PhusionPassenger)
|
9
|
+
::PhusionPassenger.on_event(:starting_worker_process) do |forked|
|
10
|
+
if forked
|
11
|
+
::Dashing.redis.client.disconnect
|
12
|
+
::Dashing.redis.client.connect
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
6
17
|
end
|
7
18
|
end
|
data/lib/dashing/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dashing-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre-Louis Gottfrois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|