turnout 2.2.0 → 2.2.1

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: b2fee460064d100fd288969bbd5f24729f741f30
4
- data.tar.gz: 252ff93aedf7e0762d1f9f0789eda0f338800528
3
+ metadata.gz: c460890aea93aba76cd44000ff00038bbdca6b66
4
+ data.tar.gz: 7c409dc5de8a7ff7ebc6bffb7856aa37bec4dda5
5
5
  SHA512:
6
- metadata.gz: bf17e5dc593d8335f9d0771b589926b0091d019160b789c578118dd2c91a0b0d0ea05f1a3242d3daf3f7d318b8b5ec9a76eb9d80d1e421b94c2cc9f535f767ea
7
- data.tar.gz: 95a70f7afefb4ab37598f9ab42612c8ea9c4d8f26d635fb0392ddcf9f39503874006d2acd04b99e2740d935ec8ec5d0ce5ca65a04df22a58a412e71f8bceecfd
6
+ metadata.gz: b3e4086a25d42b4e838942c343e41f09c3fbf173a14cc509cf7f86611b42fbd22918fe919dda8c0092ed7c3d484e2fd99f80a2a57be42188dda42eee8e8e9832
7
+ data.tar.gz: 893483ca56460d50171c99520856c7e7434a303122aa3eda3d42c16bc5be018db4ee15d25cc6b15e1fcc65af05dfcab5274f6f873538d2e616ddf6b3ef828b2b
@@ -9,6 +9,10 @@ if defined? Rails::Engine
9
9
  initializer 'turnout.add_to_middleware_stack' do |app|
10
10
  app.config.middleware.use Rack::Turnout
11
11
  end
12
+
13
+ rake_tasks do
14
+ load 'tasks/maintenance.rake'
15
+ end
12
16
  end
13
17
  end
14
- end
18
+ end
@@ -14,7 +14,7 @@ module Turnout
14
14
 
15
15
  best = all.find { |page| page.media_types.include? best_type }
16
16
 
17
- best || Turnout.default_maintenance_page
17
+ best || Turnout.config.default_maintenance_page
18
18
  end
19
19
 
20
20
  require 'turnout/maintenance_page/base'
@@ -1,3 +1,3 @@
1
1
  module Turnout
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turnout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2016-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '1.0'
83
83
  description: Turnout makes it easy to put your Rails application into maintenance
84
84
  mode
85
- email: adam@obledesign.com
85
+ email: adam@codenoble.com
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
@@ -129,3 +129,4 @@ signing_key:
129
129
  specification_version: 4
130
130
  summary: A Rack based maintenance mode plugin for Rails
131
131
  test_files: []
132
+ has_rdoc: