httplog 0.99.2 → 0.99.3

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: eafcc7929f68b3ce46123ef8dc6df21cd869b9c9
4
- data.tar.gz: e90cbd7ca93d606009848dc2a903294a77e96bff
3
+ metadata.gz: 581879322147032136323a8a982c028e1b1b063e
4
+ data.tar.gz: 56ec16deb9eebe33c5e6da3df127e5f8ba09d958
5
5
  SHA512:
6
- metadata.gz: 26e90de94f781439e7b703da5d6104d9ab4993aa07377245528add654e9712dcfd7f103a6d7a66a009d6c3bdbb40dd663943ae6e2f2e82e38635392f4582b167
7
- data.tar.gz: 2021b5c083d71d457c6f3406ab1cd089a44e39d33f8837f5b8224eeb63564360756555b6c62baa0cd6724a2ee1756838f926fac20df5876f8a546425c3b39163
6
+ metadata.gz: 70d55fc976c0ce2b3a897d5aee24a2d5b7bc51cd879374f820a2d9911113208552cb76656e7942c734f7683b9098b5946ccc41bc6e60a1823cdbc9d0e3841717
7
+ data.tar.gz: 3024c6779bd1ed1461ecc453af2afb408cfe14d4c64f82d519fb530a24a8c75b1e77a7f7570009b29d39b8679a8cabc0a341dd1062b8fe052ef46ac8c075749d
@@ -23,7 +23,7 @@ module HttpLog
23
23
  def configure
24
24
  yield(configuration)
25
25
  end
26
-
26
+
27
27
  def url_approved?(url)
28
28
  return false if config.url_blacklist_pattern && url.to_s.match(config.url_blacklist_pattern)
29
29
  url.to_s.match(config.url_whitelist_pattern)
@@ -128,7 +128,7 @@ module HttpLog
128
128
  # This is a very naive way of determining if the content type is text-based; but
129
129
  # it will allow application/json and the like without having to resort to more
130
130
  # heavy-handed checks.
131
- content_type =~ /^text/ ||
131
+ content_type =~ /^text/ ||
132
132
  content_type =~ /^application/ && content_type != 'application/octet-stream'
133
133
  end
134
134
 
@@ -1,4 +1,4 @@
1
1
  module HttpLog
2
- VERSION = "0.99.2"
2
+ VERSION = "0.99.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httplog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.2
4
+ version: 0.99.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thilo Rusche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-11 00:00:00.000000000 Z
11
+ date: 2017-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rack
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: thin
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -220,6 +206,20 @@ dependencies:
220
206
  - - ">="
221
207
  - !ruby/object:Gem::Version
222
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rack
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
223
  description: |-
224
224
  Log outgoing HTTP requests made from your application. Helpful for tracking API calls
225
225
  of third party gems that don't provide their own log output.