geomash 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/geomash/version.rb +1 -1
- data/lib/geomash.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9de5bd2cdc879dc6103df0df9d7b31f195c02e73
|
4
|
+
data.tar.gz: 6bc1355c2a93d2886c1d77a00e705894b8720418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6622f04afaae5560a36930441afe000b3b45cb53221b6f7fddf449b5b892bdcc59e35cf1088a50eb11b811edff662ecf43234ef1b348f48f1f6cfac18d4d5486
|
7
|
+
data.tar.gz: 22d728689b333961bcc8e37628188797af5c1773732a6d6a5fff2120284ddf1b18fb5eac9e8fd3bfadbf648d97aac5cb827021b796cf2efb8f600cd406ff7d83
|
data/lib/geomash/version.rb
CHANGED
data/lib/geomash.rb
CHANGED
@@ -28,7 +28,8 @@ module Geomash
|
|
28
28
|
|
29
29
|
def self.env
|
30
30
|
return @env if @env
|
31
|
-
|
31
|
+
#The following commented line always returns "test" in a rails c production console. Unsure of how to fix this yet...
|
32
|
+
#@env = ENV["RAILS_ENV"] = "test" if ENV
|
32
33
|
@env ||= Rails.env if defined?(Rails) and defined?(Rails.root)
|
33
34
|
@env ||= 'development'
|
34
35
|
end
|