pliny 0.16.1 → 0.16.2

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: 215a2ad7a3f04331fc7f30589fbfb65ba259fe92
4
- data.tar.gz: 9aaccd16d6d4e5284154747ed90936b8f787b0be
3
+ metadata.gz: 0eac932d9dd63eb309d53c1f1644f72c5e7f585b
4
+ data.tar.gz: 75977292981e3d87ac3dd2a1790e0ee5adac7641
5
5
  SHA512:
6
- metadata.gz: 7446fc7067621c604683a566d5f6daa06c578a302af5e6aab6b881c8911ac6f63ca3401882ab8c26168c08f00ac006c859da33fec97e51d00ea0f88bbeaf7274
7
- data.tar.gz: 6d1c7d86a2727a3318cd78a9679ae5452229682ba7b7a2b4aaaec6a6c9d8c66e407a9b16d3e8627b03fd88263275ba3ec5ebe4c494f3d39dd0b4095568b5d804
6
+ metadata.gz: 996beea305d2e92b42a45544013b6f2a29d8a8bce29e1e9766860d4b0193bc7659fa6ce96bddb9b575bd93ac8ca29a4857a679d6f39f6aa999c8782da85b248f
7
+ data.tar.gz: e8cb10f633e948695d9856b02b5dfd0d680be70cfc4ed25d53ad1c99e16881a6e234daa2b6835604d38b664fb5e1da382aad73ee8123c076af07025d3a6f6051
data/lib/pliny/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pliny
2
- VERSION = "0.16.1"
2
+ VERSION = "0.16.2"
3
3
  end
data/lib/template/Gemfile CHANGED
@@ -8,7 +8,7 @@ gem "pliny", "~> 0.16"
8
8
  gem "pry"
9
9
  gem "puma", "~> 2.15"
10
10
  gem "rack-ssl"
11
- gem "rack-timeout", "~> 0.3"
11
+ gem "rack-timeout", "~> 0.4"
12
12
  gem "rake"
13
13
  gem "rollbar", require: "rollbar/middleware/sinatra"
14
14
  gem "sequel", "~> 4.30"
@@ -8,6 +8,10 @@
8
8
  "PLINY_ENV": "production"
9
9
  },
10
10
 
11
+ "scripts": {
12
+ "postdeploy": "bundle exec rake db:schema:load db:migrate"
13
+ },
14
+
11
15
  "addons": [
12
16
  "heroku-postgresql"
13
17
  ]
@@ -5,7 +5,8 @@ Routes = Rack::Builder.new do
5
5
  use Pliny::Middleware::Instruments
6
6
  use Pliny::Middleware::RescueErrors, raise: Config.raise_errors?
7
7
  use Pliny::Middleware::RequestStore, store: Pliny::RequestStore
8
- use Rack::Timeout if Config.timeout > 0
8
+ use Rack::Timeout,
9
+ service_timeout: Config.timeout if Config.timeout > 0
9
10
  use Pliny::Middleware::Versioning,
10
11
  default: Config.versioning_default,
11
12
  app_name: Config.versioning_app_name if Config.versioning?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pliny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandur Leach
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-16 00:00:00.000000000 Z
12
+ date: 2016-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -404,7 +404,6 @@ files:
404
404
  - lib/template/config/config.rb
405
405
  - lib/template/config/initializers/database.rb
406
406
  - lib/template/config/initializers/log.rb
407
- - lib/template/config/initializers/rack_timeout.rb
408
407
  - lib/template/config/initializers/rollbar.rb
409
408
  - lib/template/config/puma.rb
410
409
  - lib/template/db/schema.sql
@@ -1,3 +0,0 @@
1
- if Config.timeout > 0
2
- Rack::Timeout.timeout = Config.timeout
3
- end