geomash 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: d2a58829bedfce7344567760510778a35fbff6a7
4
- data.tar.gz: ac507932824958db992508935d95cfa0f987e91b
3
+ metadata.gz: 9de5bd2cdc879dc6103df0df9d7b31f195c02e73
4
+ data.tar.gz: 6bc1355c2a93d2886c1d77a00e705894b8720418
5
5
  SHA512:
6
- metadata.gz: 97ad5a46b0af09358cb1ad552df0697026ae3d71cb3427522d7612d6aaf3248d96e2ba2b33c4e39f6026b5c81ceb838cbdfba00df74cac483fb4bb6b433c49aa
7
- data.tar.gz: 6a59649a8dd01d2bba03548e52f84566a4d40301c7932f6145ffbb139f313939518b4cfc151059ebbae420f836aef4ef346851a3eab9f21ea6b53d5c553981c8
6
+ metadata.gz: 6622f04afaae5560a36930441afe000b3b45cb53221b6f7fddf449b5b892bdcc59e35cf1088a50eb11b811edff662ecf43234ef1b348f48f1f6cfac18d4d5486
7
+ data.tar.gz: 22d728689b333961bcc8e37628188797af5c1773732a6d6a5fff2120284ddf1b18fb5eac9e8fd3bfadbf648d97aac5cb827021b796cf2efb8f600cd406ff7d83
@@ -1,3 +1,3 @@
1
1
  module Geomash
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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
- @env = ENV["RAILS_ENV"] = "test" if ENV
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geomash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boston Public Library