dashing-rails 2.3.0 → 2.3.1

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yjk3NWM4NDFmMTZhYWViMWJlM2ZhYWIzYzk0ZmVkM2YxMmU2ZDY5NQ==
4
+ MjY4MGE0ZTJjN2U2YmQ0ZWQxNDJhN2NlM2M4OTE0YjhkM2VlMGE5Mw==
5
5
  data.tar.gz: !binary |-
6
- Y2UwM2U0NzVjN2ZkM2UyYmViMzY4MDkzZmJmYWNkZjg5MDU0MTIwZg==
6
+ NmI4OGZiODc3ZjQzMzE3YzdjZmNhMjc4YWYwNGQ5OGFiMjg1YzBhMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTQzNjdhN2Q2OTQ3NjFkZDJhOGE0YzFiMzM0MGM5MTgwNjQwNTVkZjE0YjRk
10
- YWEwMzMyMmRmNDM3ZWQwZTAzMzBlMTAwOTc1ZWNmNTBhNDkzOTFiOTk5NDY5
11
- MGJiZjM0ZjdhZjkxZTI4OGYzNTZkMWI3MTk4OTExZmUyYTI0OTM=
9
+ ZTQ1YjNjOGJhY2JjM2FiZjUwN2VkODQzODJmOGUxMDZiMDMxNTEwNDBmMTlj
10
+ OTY1MDkxMGFkNGNiNGUwNDUyMWY0ZmE3NmIzMWQwNWJlMjliZmYxYmJiNGFj
11
+ M2YwMzU5MDcyMGY3MjI2Y2ZiODRlNWM4ZTgxNjM5NjI3MzU2NmE=
12
12
  data.tar.gz: !binary |-
13
- NTllMDNjYTI5ZjMwYzhlZWNmOGVlMDY5NzA4NmNjY2Y0ZjMwYTFhNzI3YmU5
14
- Yjg2YWE0NmJmOTI4ZTI3NmVhYzVjOTUzOWY3NGU2NjFkYzdkYzE4YWJmZGEy
15
- ZTA4YzhlN2FlYjUzNTViMDZiMTE5MDE2MDQwZjE4ZGJiZGY5NTE=
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dashing-rails (2.3.0)
4
+ dashing-rails (2.3.1)
5
5
  coffee-script (~> 2.2)
6
6
  connection_pool (~> 1.1)
7
7
  jquery-rails (~> 3.0)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Dashing
2
- VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2014-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails