log_sense 1.0.1 → 1.0.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: 36209fb0a05cd3a37c53cd0ff6f69b66253657b09350d722cb4a9fdc685bdb84
4
- data.tar.gz: 25ab9b31861ce1880cdd1b024a7ec91b3a83ed77beef537253f4bfd2774214c4
3
+ metadata.gz: 4a9cbdc26d433b3946a5c3dcdd59afbf594f5858a4dccee98b3c42e13291bb40
4
+ data.tar.gz: ed770c3bd6119352fc3834ff072d5da8543e3dd4cdb23b86508a272a62050249
5
5
  SHA512:
6
- metadata.gz: fe037c3f7a3d0c61d3a2ffe62af517a1dc226714178493c47ee0e4d939c04e2eabdf641d1df84e5797623398cc80794617c5ecc054458d37b19b6f3c646d2ebf
7
- data.tar.gz: a60aece4b6ec4a5d134fa2c5a53855bba53764f8cd3603002a0d4a9ac72a3e24b5c8c845cd69c83c50a153753c6220b5f22a50648090e45e3884016926a045be
6
+ metadata.gz: 5f49e74384c7a144232e74b00697f34ee2e837ee8f369746fcaa1373d81b5d111702120af4d209b8ee29770fa4c089a55d97b451b9572cac441f924091f1111f
7
+ data.tar.gz: 7f40610b3b8f9aae530cfa176cf4eaef54b225884f8a87f9b9561637f3248d02eeca39eeaaafaf07e861a606206fb2b231a5bedd83e4f99a1533671208e7671f
@@ -5,7 +5,7 @@ require 'iso_country_codes'
5
5
 
6
6
  module LogSense
7
7
  module IpLocator
8
- DB_FILE = "ip_locations/dbip-country-lite.sqlite3"
8
+ DB_FILE = File.join(File.dirname(__FILE__), "..", "..", "ip_locations", "dbip-country-lite.sqlite3")
9
9
 
10
10
  def self.dbip_to_sqlite db_location
11
11
  db = SQLite3::Database.new ":memory:"
@@ -1,3 +1,3 @@
1
1
  module LogSense
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_sense
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita