lalala 4.0.0.dev.193 → 4.0.0.dev.194

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
2
  SHA1:
3
- metadata.gz: 5b766002f6e11f7c27fd4fc29028ddc643520b8f
4
- data.tar.gz: 2ce333aae540a87fd11d437fe684df76388ca38e
3
+ metadata.gz: c80ca1ebcffb031dde3e435252d89f23bf60cfa9
4
+ data.tar.gz: 26f97680b06596592e6fe058307264d0da1479ac
5
5
  SHA512:
6
- metadata.gz: ae55015b36de18dec5b9fc01ebde579ce55305fc874c5821c12a264bc5d9aef98ecde9bb0cab3c78283e1274704864c6f7c1361158859d3577c80a3d71f58e12
7
- data.tar.gz: 82b9fa0178a25fcff09dd2b3578f4055fccecf8c222d4ef9f9e05d1274807af82ff0bf4900ab9259a338571ff4693d32b97736fb144e8e90747b103b7bf3a2e9
6
+ metadata.gz: ce70258673578e29a871209897b3f2edc386e64029575f1342940480b6c780d0f92fd8cb0c41119c5bb4691b445fa6db8d32a3903a8ebf1a2a59ad967f5c57d0
7
+ data.tar.gz: d915f57bb8b74525003cd6b5f33415bf12ad9829eb472699fa2e6342dfb5dd5a8b9858b6ecea9722d8f8c8b994623817a252f42a5aa0622259d88e6aecbaac38
@@ -0,0 +1,10 @@
1
+ Rails.application.config.after_initialize do
2
+ ActiveRecord::Base.connection_pool.disconnect!
3
+
4
+ ActiveSupport.on_load(:active_record) do
5
+ config = Rails.application.config.database_configuration[Rails.env]
6
+ config['reaping_frequency'] = ENV['DB_REAP_FREQ'] || 10 # seconds
7
+ config['pool'] = ENV['DB_POOL'] || 16
8
+ ActiveRecord::Base.establish_connection(config)
9
+ end
10
+ end
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "193"
3
+ BUILD = "194"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.193
4
+ version: 4.0.0.dev.194
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-06-04 00:00:00.000000000 Z
16
+ date: 2013-06-07 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: carrierwave
@@ -1347,6 +1347,7 @@ files:
1347
1347
  - app/views/layouts/lalala/markdown.html.erb
1348
1348
  - config/initializers/active_admin.rb
1349
1349
  - config/initializers/carrierwave.rb
1350
+ - config/initializers/database.rb
1350
1351
  - config/initializers/devise.rb
1351
1352
  - config/routes.rb
1352
1353
  - db/migrate/20130321140345_devise_create_admin_users.rb