rspectacular 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 156b3e7af9d1d8a507d270ccae8d198bc43a6ead
4
- data.tar.gz: 79e4e0f764643e85f29a65463c0059de0d103fd8
3
+ metadata.gz: ae8296d314dc3f827b91c8a70432ad65b9eda16b
4
+ data.tar.gz: 314ce8040adf0cbfb09b6f8a066d0fc68867e576
5
5
  SHA512:
6
- metadata.gz: f4c51378589b473054e107f28f0b41e9f6bc948658d7dc89353229a8cae1031d4db59989b92c896211dc04fd145cbbbcb0a71f4192b4f19fabaac2e412f543bc
7
- data.tar.gz: 2ad504011c50e4b44bf33aede0ba01c3d6253d86e4635303152e82f4f735d7fac927f8cc15e4fa08613fcb5b68c269fccc9396da1f801822d01b907d5ec1c8ba
6
+ metadata.gz: 738b3cf2116e24aa16dc182a5fa6136c7634b1e37f4dea16b4a9c71f3fd93440973e2791372f6ca2a603f3bd4caea90f2175b4537f2402078731d87dcbdbada8
7
+ data.tar.gz: 19d6d07abe7cb82aea9b384a50161be4012a41af8cfd167ba6e7f5dea14556e9d61f5ed2973f45c74a55549dea9ffbcf00d895d89be744ec7f04ccdf744ff08f
@@ -0,0 +1,29 @@
1
+ ##############################################################################
2
+ # Bullet Plugin
3
+ ##############################################################################
4
+
5
+ begin
6
+ require 'bullet'
7
+
8
+ Bullet.enable = true
9
+ Bullet.bullet_logger = true
10
+ Bullet.raise = true
11
+
12
+ if defined?(Chamber) && Chamber.env.bugsnag
13
+ Bullet.bugsnag = { api_key: Chamber.env.bugsnag.api_key }
14
+ end
15
+
16
+ RSpec.configure do |config|
17
+ config.before(:each) do
18
+ Bullet.start_request if Bullet.enable?
19
+ end
20
+
21
+ config.after(:each) do
22
+ if Bullet.enable?
23
+ Bullet.perform_out_of_channel_notifications if Bullet.notification?
24
+ Bullet.end_request
25
+ end
26
+ end
27
+ end
28
+ rescue LoadError
29
+ end
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.30.0'
2
+ VERSION = '0.31.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-29 00:00:00.000000000 Z
11
+ date: 2014-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -72,6 +72,7 @@ files:
72
72
  - lib/rspectacular/mock_authentications/omniauth/facebook.rb
73
73
  - lib/rspectacular/mock_authentications/omniauth/twitter.rb
74
74
  - lib/rspectacular/plugins.rb
75
+ - lib/rspectacular/plugins/bullet.rb
75
76
  - lib/rspectacular/plugins/capybara.rb
76
77
  - lib/rspectacular/plugins/carrier_wave.rb
77
78
  - lib/rspectacular/plugins/code_climate.rb