melonic-geoip-database 0.0.3 → 0.0.4

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.
@@ -4,7 +4,11 @@ module Melonic
4
4
  module GeoIP
5
5
  module Database
6
6
  def self.get filename
7
- "db/geoip/#{filename}"
7
+ "#{self.root}/db/geoip/#{filename}"
8
+ end
9
+
10
+ def self.root
11
+ File.expand_path '../../../..', __FILE__
8
12
  end
9
13
  end
10
14
  end
@@ -1,7 +1,7 @@
1
1
  module Melonic
2
2
  module GeoIP
3
3
  module Database
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: melonic-geoip-database
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: