puffing-billy 1.1.1 → 1.1.2
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/billy/proxy.rb +2 -2
- data/lib/billy/version.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee8896f6ee95ff574e8dcd216ac13db988eecfebc52609b19ce98755edf5846c
|
|
4
|
+
data.tar.gz: ce7488982ec0080d91c8642af8cc6e8af30f4b55f15ba67a1b04e12ce92442a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90ff0805d3d80fe4330f98fc75f14b5deb0c4a3a4e93f376f231e2b5f03e26faab2a45029445708a391ffdf21ba6a26f1f0963420906b1d1072e58b316812a0b
|
|
7
|
+
data.tar.gz: '0385adb4b774b54715db94f798521f4d14f100199b9b0dbacc88934022786c6d219319c9cffb55053d7de877d6a492091f912a71e1802c5cfb93492d8caffec8'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
v1.1.2, 2018-07-01
|
|
2
|
+
-------------------
|
|
3
|
+
* Don't attempt to print backtrace when it's not available [#245](https://github.com/oesmith/puffing-billy/pull/245)
|
|
4
|
+
* Rescue on Errno::ENETUNREACH when checking if port is in use [#247](https://github.com/oesmith/puffing-billy/pull/247)
|
|
5
|
+
|
|
1
6
|
v1.1.1, 2018-05-12
|
|
2
7
|
-------------------
|
|
3
8
|
* Fix scope breaking change of request/response interception [#242](https://github.com/oesmith/puffing-billy/pull/242)
|
data/lib/billy/proxy.rb
CHANGED
|
@@ -62,7 +62,7 @@ module Billy
|
|
|
62
62
|
s.close
|
|
63
63
|
Billy.log(:info, "puffing-billy: Waiting for event machine to shutdown on port #{port}")
|
|
64
64
|
s
|
|
65
|
-
rescue Errno::ECONNREFUSED, Errno::EADDRNOTAVAIL
|
|
65
|
+
rescue Errno::ECONNREFUSED, Errno::EADDRNOTAVAIL, Errno::ENETUNREACH
|
|
66
66
|
false
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ module Billy
|
|
|
70
70
|
EM.run do
|
|
71
71
|
EM.error_handler do |e|
|
|
72
72
|
Billy.log :error, "#{e.class} (#{e.message}):"
|
|
73
|
-
Billy.log :error, e.backtrace.join("\n")
|
|
73
|
+
Billy.log :error, e.backtrace.join("\n") unless e.backtrace.nil?
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
@signature = EM.start_server(host, Billy.config.proxy_port, ProxyConnection) do |p|
|
data/lib/billy/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
|
@@ -9,6 +9,7 @@ require 'fileutils'
|
|
|
9
9
|
|
|
10
10
|
browser = Billy::Browsers::Watir.new :phantomjs
|
|
11
11
|
Capybara.app = Rack::Directory.new(File.expand_path('../../examples', __FILE__))
|
|
12
|
+
Capybara.server = :webrick
|
|
12
13
|
Capybara.javascript_driver = :poltergeist_billy
|
|
13
14
|
|
|
14
15
|
Billy.configure do |config|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puffing-billy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Olly Smith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|