Skip to content

Commit

Permalink
moved the cache directory for the converting tables to library top fr…
Browse files Browse the repository at this point in the history
…om inside of the src directory
  • Loading branch information
arcage committed Nov 29, 2016
1 parent 946c55b commit 4be6a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/libs/
/.crystal/
/.shards/
/src/cache/
/cache/

# Libraries don't need dependency lock
# Dependencies will be locked in application that uses them
Expand Down
2 changes: 1 addition & 1 deletion src/ip2country.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require "yaml"
class IP2Country
VERSION = "0.1.3"

CACHE_DIR = File.expand_path(File.dirname(__FILE__)) + "/cache"
CACHE_DIR = File.expand_path(File.dirname(File.dirname(__FILE__))) + "/cache"
REGISTRARS = {
"ARIN" => "http://ftp.arin.net/pub/stats/arin/delegated-arin-extended-latest",
"RIPE" => "http://ftp.ripe.net/pub/stats/ripencc/delegated-ripencc-extended-latest",
Expand Down

0 comments on commit 4be6a8e

Please sign in to comment.