gris 0.2.2 → 0.2.3

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: 8d20ee54cd68f8114a89f4c0a3395393961f9699
4
- data.tar.gz: 74dcbe89b0563d637c5f6866148536aa8f6bb750
3
+ metadata.gz: b4098bdc1e372dca7d74e81b22f6ecc30c29983c
4
+ data.tar.gz: efddb7d75fc120b81c95eada659121ebb0a8ddf4
5
5
  SHA512:
6
- metadata.gz: d779fbbfb89c625123cf69f19a9faa7bf8f239954a96addb5d8385ebc18da4902157e6b06a60daee850c46c3c299ed667506b2fafaea68c0d7979294aabf7a13
7
- data.tar.gz: 1973b2ba6aa51da0ae991f35bf26eb4adbe4e82b8f042f34b5d42377847ac98f90832ad09684a9fb6df4d4dc5d27f19f31d21c8ae385d2252a66ffffa7549d90
6
+ metadata.gz: d0f9914e1967856aec2e8033ebca2e4c41bd3c8d9a74f704f14d63320bdae1a0fbaf43b0f8a7e92cafa7aec5a7ffe92cc7553430993ab94ae1c0cc8086ad8b9e
7
+ data.tar.gz: 6ab40f2d5bc61ba52138002f2f694159e0e223c6f06abc1861c1ea2379b5f70aa67442c01bde92e81061d83a691ea1216192070a946f58f23324394f612526d2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gris (0.2.2)
4
+ gris (0.2.3)
5
5
  activesupport (~> 4.2, >= 4.2.0)
6
6
  chronic (~> 0.10.0)
7
7
  dalli (~> 2.7)
@@ -135,7 +135,7 @@ GEM
135
135
  rack-test (>= 0.5)
136
136
  rainbow (2.0.0)
137
137
  rake (10.4.2)
138
- representable (2.2.0)
138
+ representable (2.2.1)
139
139
  multi_json
140
140
  nokogiri
141
141
  uber (~> 0.0.7)
@@ -17,7 +17,6 @@ module Gris
17
17
 
18
18
  def self.instance(config = {})
19
19
  @instance ||= Rack::Builder.new do
20
- use ActiveRecord::ConnectionAdapters::ConnectionManagement
21
20
  use Gris::Middleware::Health unless config[:use_health_middleware] == false
22
21
  use Rack::Cors do
23
22
  allow do
@@ -1,3 +1,5 @@
1
1
  require File.expand_path('../config/application.rb', __FILE__)
2
2
 
3
+ use ActiveRecord::ConnectionAdapters::ConnectionManagement
4
+
3
5
  run <%= app_name.classify %>::Application.instance
@@ -5,6 +5,7 @@ defaults: &defaults
5
5
  username: <%%= ENV['DATABASE_USER'] %>
6
6
  password: <%%= ENV['DATABASE_PASSWORD'] %>
7
7
  database: <%%= ENV['DATABASE_NAME'] %>
8
+ pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %>
8
9
 
9
10
  production:
10
11
  <<: *defaults
@@ -1,5 +1,5 @@
1
1
  module Gris
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
 
4
4
  class Version
5
5
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Fareed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-21 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor