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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b6481a511001f8deb9af5c1e00a4a3a4b91e96cb1bd7b039ef25e2685e70930
4
- data.tar.gz: 037f87e67fc52e5798e3024947f36b5233cd017429589eccda6993691d6529de
3
+ metadata.gz: ee8896f6ee95ff574e8dcd216ac13db988eecfebc52609b19ce98755edf5846c
4
+ data.tar.gz: ce7488982ec0080d91c8642af8cc6e8af30f4b55f15ba67a1b04e12ce92442a3
5
5
  SHA512:
6
- metadata.gz: 1fe9255112bc4031b859f6a0ad016a6f9c7a2fcef38176ff6a60804f3068e3309e3798be59f6bd1e9fa5dd814753bf6a4b42e541cb46919021d2f4126628a1db
7
- data.tar.gz: 6f081f4ec79141bc5ea1d349d12f1edfe219faaec27cec3eeebd3327683a07b994b1c3960f3227b49974538445093475375dd0378332c2c908d22ed803e5ba2d
6
+ metadata.gz: 90ff0805d3d80fe4330f98fc75f14b5deb0c4a3a4e93f376f231e2b5f03e26faab2a45029445708a391ffdf21ba6a26f1f0963420906b1d1072e58b316812a0b
7
+ data.tar.gz: '0385adb4b774b54715db94f798521f4d14f100199b9b0dbacc88934022786c6d219319c9cffb55053d7de877d6a492091f912a71e1802c5cfb93492d8caffec8'
@@ -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)
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module Billy
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
@@ -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.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-05-12 00:00:00.000000000 Z
11
+ date: 2018-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec