proxy_rb 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +4 -0
- data/lib/proxy_rb/announcer.rb +1 -0
- data/lib/proxy_rb/setup.rb +10 -0
- data/lib/proxy_rb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92fe4af2621de95c2c277229cbaaff95f5ca0cbf
|
4
|
+
data.tar.gz: 47bdbe23b2fe02c8ee43e4fd29d12a033b51c9a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4047b08628ac37fa4de5f8bb904216ba151fa81cf0b2e9da64ddf5850026f2b33a68d3a53ce8274f8bcb42e4df50c85475c88a8138634f4ffa9e04030145253
|
7
|
+
data.tar.gz: 8a16a1b9d458fff9dcaefcb3b8603e32206ff4783be3590bd82fa144f0aaab45b8d664c0586c5f4927640fcd8279ccd8b435f791dce654b3eaa49663d701c21d
|
data/History.md
CHANGED
@@ -4,6 +4,10 @@ Empty
|
|
4
4
|
|
5
5
|
# RELEASED
|
6
6
|
|
7
|
+
## [v0.8.2](https://github.com/cucumber/aruba/compare/v0.8.1...v0.8.2)
|
8
|
+
|
9
|
+
* Added warning if one disables `strict`-mode which was
|
10
|
+
|
7
11
|
## [v0.8.1](https://github.com/cucumber/aruba/compare/v0.8.0...v0.8.1)
|
8
12
|
|
9
13
|
* Handle drivers - like `capybara-selenium` which currently not support
|
data/lib/proxy_rb/announcer.rb
CHANGED
@@ -74,6 +74,7 @@ module ProxyRb
|
|
74
74
|
private
|
75
75
|
|
76
76
|
def after_init
|
77
|
+
output_format :warnings, proc { |v| format('WARNING: %s', v) }
|
77
78
|
output_format :proxy, proc { |v| format('Proxy: %s', v) }
|
78
79
|
output_format :proxy_user, proc { |v| format('Proxy User: %s', v) }
|
79
80
|
output_format :resource_user, proc { |v| format('Resource User: %s', v) }
|
data/lib/proxy_rb/setup.rb
CHANGED
@@ -17,6 +17,8 @@ module ProxyRb
|
|
17
17
|
return if runtime.setup_already_done?
|
18
18
|
|
19
19
|
events
|
20
|
+
activate_announcer_channels
|
21
|
+
output_warnings
|
20
22
|
|
21
23
|
runtime.setup_done
|
22
24
|
|
@@ -25,6 +27,14 @@ module ProxyRb
|
|
25
27
|
|
26
28
|
private
|
27
29
|
|
30
|
+
def activate_announcer_channels
|
31
|
+
runtime.announcer.activate :warnings
|
32
|
+
end
|
33
|
+
|
34
|
+
def output_warnings
|
35
|
+
runtime.announcer.announce :warnings, 'You disabled the "strict"-mode in your ProxyRb-configuration. You might not notice all errors.' if runtime.config.strict == false
|
36
|
+
end
|
37
|
+
|
28
38
|
# disable Metrics/MethodLength
|
29
39
|
# rubocop:disable Metrics/AbcSize
|
30
40
|
def events
|
data/lib/proxy_rb/version.rb
CHANGED