slowpoke 0.1.2 → 0.1.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: 7218b133076d867f936b395fe4a2c87166b6e227
4
- data.tar.gz: 54be0d4d6b54765a6df112d6fbfce7bbc25e96f0
3
+ metadata.gz: 04cee7305d4bc3abf484d847fe5bbfea96b50e07
4
+ data.tar.gz: d29391739f21509b6d43fae455bc16e7b1f4a466
5
5
  SHA512:
6
- metadata.gz: 9e6ca9a708e66b232143d42416a18eff3579d0e939e4f90f944d0eede0fc4312a6c6118d7c0f3cd55818e14e376c861fa70cba3e0413387b91934ffba7d3fdba
7
- data.tar.gz: aa743cb1419b9ed96d3a902f8ba5c26a205dfb201e976f4241a6d7ca32254bb82ffb8889260812a92e0a984f95874dbf83cfe07b8002f232c5335e6f0f7a6a38
6
+ metadata.gz: 5ebe972633f91bcbb728083ee16f55e36a2200af9115e81c94c9ab9d6eb7f6c72f75fce62de04f76af18ca1f5a527825bb468999934fc828b36d4d88b03e2437
7
+ data.tar.gz: 3cfb727f6695098342f5543da8266472937aaaa3a4b6504d967a6f2e1d9f2bc1204e3c78d2055607bf1c867b01a1502990821e7b3115ff1acf6327d9561e8fad
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.1.3
2
+
3
+ - Fixed deprecation warning in Rails 5
4
+ - No longer requires ActiveRecord
5
+
1
6
  ## 0.1.2
2
7
 
3
8
  - Updated to latest version of rack-timeout, removing the need to bubble timeouts
@@ -16,4 +16,6 @@ module Slowpoke
16
16
  end
17
17
  end
18
18
 
19
- ActiveRecord::Migration.prepend(Slowpoke::Migration)
19
+ ActiveSupport.on_load(:active_record) do
20
+ ActiveRecord::Migration.prepend(Slowpoke::Migration)
21
+ end
@@ -3,7 +3,7 @@ module Slowpoke
3
3
  initializer "slowpoke" do |app|
4
4
  Rack::Timeout.timeout = Slowpoke.timeout
5
5
 
6
- app.config.middleware.insert_before "ActionDispatch::RemoteIp", "Rack::Timeout"
6
+ app.config.middleware.insert_before ActionDispatch::RemoteIp, Rack::Timeout
7
7
 
8
8
  # prevent RequestExpiryError from killing web server
9
9
  app.config.middleware.insert 0, Slowpoke::Middleware
@@ -1,3 +1,3 @@
1
1
  module Slowpoke
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slowpoke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-11 00:00:00.000000000 Z
11
+ date: 2016-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -121,8 +121,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.4.5.1
124
+ rubygems_version: 2.6.1
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Rack::Timeout is great. Slowpoke makes it better.
128
128
  test_files: []
129
+ has_rdoc: