rack-cloudflare 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 011cc369434439d481e71bd8010799cd88e87d982210c67981ac7105760aeff5
4
- data.tar.gz: fe54456b3085e508bffffb3cab92a198bd0daba4ee91d9fd4166645bb6b2c8c3
3
+ metadata.gz: ab4c47613f24dc1d1cfb47b75324a3ed31c46eb8d509069304f803b56ff2bcb1
4
+ data.tar.gz: 2470bf3a84bd1436bc30d8bf796f2f7d8ae8c9f79072981273ff798b559d844d
5
5
  SHA512:
6
- metadata.gz: 63b836789620e7ea49f7f278077918177f51df466e6a7ebddf4eb9e2d8f11c9fc2f03cc923cdf2ddbb7d291d77e7a1a10d7885699b1fe450986a9f1349ca9c4f
7
- data.tar.gz: ef8a50c433d5d64fe98ab645a7d3163615c5986ca00f17cb8a54517d3c5dffe6f0415c5fc8b4a6dbeb13b1374f0a8e601a975ae5442335f3b66c590924156bd8
6
+ metadata.gz: a7bc139b0d11dc4050bb21720c8fd1bab5a3bca26939175da26b8ff54742bbf325d9a9561df60ca2aa079f29e7d52c9f55b924ebf155c5d4c56eac22fb3ce428
7
+ data.tar.gz: 21ac336b1586f7c770b8f63016093445beb4d19b2869526b563d1948c53dde128129fbe314e10daac02322ac75c3c1b09c23b85d2440d70349af8db9c56b9496
@@ -24,6 +24,7 @@ module Rack
24
24
  end
25
25
 
26
26
  def fetch(url)
27
+ Cloudflare.info "[#{name}] Updating Cloudflare IP list: #{url.inspect}"
27
28
  parse URI(url).read
28
29
  rescue OpenURI::HTTPError => ex
29
30
  Cloudflare.error "[#{name}] #{ex.class.name} fetching #{url.inspect}: #{ex.message}"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rack
4
4
  class Cloudflare
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-cloudflare
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Van Horn