proxy_pac_rb 0.5.10 → 0.6.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: c8947d531f4f1dad52295ebfce27b5fff8a77393
4
- data.tar.gz: 346759a3aef384fba2aec24b023b95c301bf0128
3
+ metadata.gz: 6f19b7db2a2664d762f8469e2ccd7fc0c2845b05
4
+ data.tar.gz: e8eb19408fd170c6f8b94de93070668a83fd7570
5
5
  SHA512:
6
- metadata.gz: 688dfae547bd7239087380d8b6f00eb076eebd2fc2c1db72f5e5785739515fd30afbc3f78fdf5c8c9fc89e0903ec886a0f37212063c441ad64350b89115d23a1
7
- data.tar.gz: 46b1e53ce947b583a8bab4aa7023e047c0fd73fcffcf52b0a77009195ee4cd9687d9a3805797275b289193d0b43a69c6d862135d6282a3b7bae708ec4be73889
6
+ metadata.gz: 01bca1130ad0ea7d2737867805ded4a20aa5328f5ad8c9909b9535671ac03599f7f526529b687ea5af0a38b81e0ed131845450ce30cccaea0059389e5ae99fc9
7
+ data.tar.gz: 1592ebfd8f3bc6bce732e71d4800991151f7c36bd34e0d8c057557d277b715df0c96523574ad273862539b8dd0e73f348fbccf5f5616081d1637afa07ac20bbc
data/Gemfile.lock CHANGED
@@ -22,7 +22,7 @@ GIT
22
22
  PATH
23
23
  remote: .
24
24
  specs:
25
- proxy_pac_rb (0.5.9)
25
+ proxy_pac_rb (0.5.10)
26
26
  activesupport (~> 4.1)
27
27
  addressable (~> 2.3.8)
28
28
  uglifier (~> 2.7.1)
data/lib/proxy_pac_rb.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'active_support/core_ext/object/blank'
2
2
  require 'active_support/core_ext/string/strip'
3
+ require 'active_support/core_ext/string/filters'
3
4
  require 'addressable/uri'
4
5
  require 'ipaddr'
5
6
  require 'thor'
@@ -13,11 +13,13 @@ RSpec::Matchers.define :be_the_same_proxy_pac_file do |expected|
13
13
  @file_a == @file_b
14
14
  end
15
15
 
16
+ diffable
17
+
16
18
  failure_message do
17
- format(%(expected that proxy.pac "%s" is equal to proxy.pac "%s", but it is not equal.\n\nActual:\n%s\n\nExpected:\n%s), @file_a.source, @file_b.source, @file_a.content, @file_b.content)
19
+ format(%(expected that proxy.pac "%s" is equal to proxy.pac "%s", but it is not equal.), @file_a.source.truncate_words(10), @file_b.source.truncate_words(10))
18
20
  end
19
21
 
20
22
  failure_message_when_negated do
21
- format(%(expected that proxy.pac "%s" is not equal to proxy.pac "%s", but it is equal.\n\nActual:\n%s\n\nExpected:\n%s), @file_a.source, @file_b.source, @file_a.content, @file_b.content)
23
+ format(%(expected that proxy.pac "%s" is not equal to proxy.pac "%s", but it is equal.), @file_a.source.truncate_words(10), @file_b.source.truncate_words(10))
22
24
  end
23
25
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
  # ProxyPacRb
3
3
  module ProxyPacRb
4
- VERSION = '0.5.10'
4
+ VERSION = '0.6.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxy_pac_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Günnewig