content_signals 0.1.2 → 0.1.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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40efddf4bf2bd9561a74ef21198984384035f1b57b8bd2e5d5389252ce4a3087
|
|
4
|
+
data.tar.gz: 8cfe60a26627777a3d49251a6690783c5db5359639e2883074405aa5ba7f334c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71d8b11d116cb55c96685f6da0577180f109cee39de2092785e2f637b5945cbc081e7ceb1fd4c47dbdabffcd5093c2b9d75c6575e96f27008e2fdb9a4eac9035
|
|
7
|
+
data.tar.gz: 514058c614cc278db7acd9fca5c25e3c588345b661e8d50419016d273ab7193d44c2b55a26d981352cfaf626dbecc776862f867841e554e30887182f032f2230
|
|
@@ -4,7 +4,7 @@ module ContentSignals
|
|
|
4
4
|
# Downloads/refreshes the MaxMind GeoLite2-City database from the public mirror.
|
|
5
5
|
# Only runs when geoip_provider is :maxmind and maxmind_db_path is configured.
|
|
6
6
|
# Schedule via config/recurring.yml (added by `rails generate content_signals:install`).
|
|
7
|
-
class UpdateGeoipDatabaseJob <
|
|
7
|
+
class UpdateGeoipDatabaseJob < ActiveJob::Base
|
|
8
8
|
queue_as :default
|
|
9
9
|
|
|
10
10
|
MIRROR_URL = "https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb"
|