airbrake 4.3.7 → 4.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +11 -0
- data/lib/airbrake/rails/controller_methods.rb +2 -2
- data/lib/airbrake/version.rb +1 -1
- data/test/controller_methods_test.rb +2 -3
- metadata +2 -3
- data/resources/notice.xml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9e654c767701024f31596525a324fd9941a284c
|
4
|
+
data.tar.gz: d8beec9cd6a92be3308a4cb2cf945aaea5150eab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e469080a0f94afeebb3be23db68c551a8ddd864b643436581f9711b7a1546f61977d80b69d9f220c56b6fe0d33e26afcb716a38d4d029ec6a8b2e810b6d52263
|
7
|
+
data.tar.gz: ad08bb1d86cbd84d056bae1e55d261b3b23be3c00712eb094360e99fbfd0e5967bbc0ce2219cc45d3e8477a420bf3d44284c648768b0570b19d39a59b2dca605
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
Version 4.3.8 - 2016-06-24 17:43:35 +0300
|
2
|
+
===============================================================================
|
3
|
+
|
4
|
+
Kyrylo Silin (1):
|
5
|
+
Merge pull request #562 from yui-knk/clear_active_connections_v4
|
6
|
+
|
7
|
+
yui-knk (1):
|
8
|
+
Use `clear_active_connections!` instead of `release_connection`
|
9
|
+
|
10
|
+
|
1
11
|
Version 4.3.7 - 2016-06-14 19:33:24 +0300
|
2
12
|
===============================================================================
|
3
13
|
|
@@ -1701,5 +1711,6 @@ Nick Quaranto (3):
|
|
1701
1711
|
|
1702
1712
|
|
1703
1713
|
|
1714
|
+
|
1704
1715
|
|
1705
1716
|
|
@@ -137,8 +137,8 @@ module Airbrake
|
|
137
137
|
ensure
|
138
138
|
# The Airbrake middleware is first in the chain, before ActiveRecord::ConnectionAdapters::ConnectionManagement
|
139
139
|
# kicks in to do its thing. This can cause the connection pool to run out of connections.
|
140
|
-
if defined?(ActiveRecord::Base) && ActiveRecord::Base.respond_to?(:
|
141
|
-
ActiveRecord::Base.
|
140
|
+
if defined?(ActiveRecord::Base) && ActiveRecord::Base.respond_to?(:clear_active_connections!)
|
141
|
+
ActiveRecord::Base.clear_active_connections!
|
142
142
|
end
|
143
143
|
end
|
144
144
|
end
|
data/lib/airbrake/version.rb
CHANGED
@@ -124,9 +124,8 @@ class ControllerMethodsTest < Test::Unit::TestCase
|
|
124
124
|
end
|
125
125
|
|
126
126
|
should "release DB connections" do
|
127
|
-
::
|
128
|
-
|
129
|
-
::POOL.expects(:release_connection)
|
127
|
+
module ::ActiveRecord; class Base; end; end
|
128
|
+
::ActiveRecord::Base.expects(:clear_active_connections!)
|
130
129
|
|
131
130
|
CurrentUserTestController.new.airbrake_request_data
|
132
131
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airbrake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -387,7 +387,6 @@ files:
|
|
387
387
|
- resources/airbrake_2_4.xsd
|
388
388
|
- resources/airbrake_3_0.json
|
389
389
|
- resources/ca-bundle.crt
|
390
|
-
- resources/notice.xml
|
391
390
|
- script/integration_test.rb
|
392
391
|
- test/airbrake_tasks_test.rb
|
393
392
|
- test/backtrace_test.rb
|
data/resources/notice.xml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><notice version="2.4"><api-key>myapikey</api-key><notifier><name>Airbrake Notifier</name><version>4.3.6</version><url>https://github.com/airbrake/airbrake</url></notifier><error><class>RuntimeError</class><message>RuntimeError: some message</message><backtrace><line number="5" file="[PROJECT_ROOT]/app/controllers/test_controller.rb" method="index"/><line number="4" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/implicit_render.rb" method="send_action"/><line number="189" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/abstract_controller/base.rb" method="process_action"/><line number="10" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/rendering.rb" method="process_action"/><line number="18" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/abstract_controller/callbacks.rb" method="block in process_action"/><line number="383" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/callbacks.rb" method="_run__2015825863713144782__process_action__callbacks"/><line number="80" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/callbacks.rb" method="run_callbacks"/><line number="17" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/abstract_controller/callbacks.rb" method="process_action"/><line number="29" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/rescue.rb" method="process_action"/><line number="31" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb" method="block in process_action"/><line number="159" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/notifications.rb" method="block in instrument"/><line number="20" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/notifications/instrumenter.rb" method="instrument"/><line number="159" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/notifications.rb" method="instrument"/><line number="30" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb" method="process_action"/><line number="250" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/params_wrapper.rb" method="process_action"/><line number="136" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/abstract_controller/base.rb" method="process"/><line number="44" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/abstract_controller/rendering.rb" method="process"/><line number="195" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal.rb" method="dispatch"/><line number="13" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal/rack_delegation.rb" method="dispatch"/><line number="231" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_controller/metal.rb" method="block in action"/><line number="82" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb" method="dispatch"/><line number="50" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb" method="call"/><line number="71" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/journey/router.rb" method="block in call"/><line number="59" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/journey/router.rb" method="each"/><line number="59" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/journey/router.rb" method="call"/><line number="676" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb" method="call"/><line number="23" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/etag.rb" method="call"/><line number="25" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/conditionalget.rb" method="call"/><line number="11" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/head.rb" method="call"/><line number="27" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/params_parser.rb" method="call"/><line number="241" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/flash.rb" method="call"/><line number="225" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/session/abstract/id.rb" method="context"/><line number="220" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/session/abstract/id.rb" method="call"/><line number="486" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/cookies.rb" method="call"/><line number="29" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/callbacks.rb" method="block in call"/><line number="373" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/callbacks.rb" method="_run__1749870935947095276__call__callbacks"/><line number="80" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/callbacks.rb" method="run_callbacks"/><line number="27" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/callbacks.rb" method="call"/><line number="76" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/remote_ip.rb" method="call"/><line number="17" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/debug_exceptions.rb" method="call"/><line number="30" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/show_exceptions.rb" method="call"/><line number="38" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/rack/logger.rb" method="call_app"/><line number="20" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/rack/logger.rb" method="block in call"/><line number="68" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/tagged_logging.rb" method="block in tagged"/><line number="26" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/tagged_logging.rb" method="tagged"/><line number="68" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/tagged_logging.rb" method="tagged"/><line number="20" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/rack/logger.rb" method="call"/><line number="21" file="[GEM_ROOT]/gems/actionpack-4.0.13/lib/action_dispatch/middleware/request_id.rb" method="call"/><line number="21" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/methodoverride.rb" method="call"/><line number="17" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/runtime.rb" method="call"/><line number="83" file="[GEM_ROOT]/gems/activesupport-4.0.13/lib/active_support/cache/strategy/local_cache.rb" method="call"/><line number="112" file="[GEM_ROOT]/gems/rack-1.5.5/lib/rack/sendfile.rb" method="call"/><line number="511" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/engine.rb" method="call"/><line number="97" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/application.rb" method="call"/><line number="30" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/railtie/configurable.rb" method="method_missing"/><line number="4" file="request.rb" method="<top (required)>"/><line number="51" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/commands/runner.rb" method="eval"/><line number="51" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/commands/runner.rb" method="<top (required)>"/><line number="84" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/commands.rb" method="require"/><line number="84" file="[GEM_ROOT]/gems/railties-4.0.13/lib/rails/commands.rb" method="<top (required)>"/><line number="4" file="bin/rails" method="require"/><line number="4" file="bin/rails" method="<main>"/></backtrace></error><request><url>http://example.com:123/test/index</url><component>test</component><action>index</action><params><var key="controller">test</var><var key="action">index</var></params><cgi-data><var key="rack.version">["1", "2"]</var><var key="rack.multithread">true</var><var key="rack.multiprocess">true</var><var key="rack.run_once">false</var><var key="REQUEST_METHOD">GET</var><var key="SERVER_NAME">example.com</var><var key="SERVER_PORT">123</var><var key="QUERY_STRING"></var><var key="PATH_INFO">/test/index</var><var key="rack.url_scheme">http</var><var key="HTTPS">off</var><var key="SCRIPT_NAME"></var><var key="CONTENT_LENGTH">0</var><var key="ORIGINAL_FULLPATH">/test/index</var><var key="ORIGINAL_SCRIPT_NAME"></var><var key="action_dispatch.parameter_filter">["password"]</var><var key="action_dispatch.redirect_filter">[]</var><var key="action_dispatch.show_exceptions">true</var><var key="action_dispatch.show_detailed_exceptions">false</var><var key="ROUTES_70161292926060_SCRIPT_NAME"></var><var key="action_dispatch.request_id">c9d36a59-abe3-426d-aa9a-290ee46b5ae8</var><var key="action_dispatch.remote_ip"></var><var key="action_dispatch.request.path_parameters"><var key="controller">test</var><var key="action">index</var></var><var key="action_dispatch.request.content_type"></var><var key="action_dispatch.request.request_parameters"></var><var key="rack.request.query_string"></var><var key="rack.request.query_hash"></var><var key="action_dispatch.request.query_parameters"></var><var key="action_dispatch.request.parameters"><var key="controller">test</var><var key="action">index</var></var><var key="action_dispatch.request.formats">["text/html"]</var></cgi-data></request><server-environment><project-root>/Users/kyrylo/Code/airbrake/airbrake/tmp/rails_root</project-root><environment-name>production</environment-name><hostname>Kyrylos-MacBook-Pro.local</hostname></server-environment><framework>Rails: 4.0.13</framework></notice>
|