dbenvy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4cbf40ffe72b693dd603e82176a823ad5b36d8f
4
- data.tar.gz: 1ee3cffdba2ed2b609736d7ce19bc121af998b9a
3
+ metadata.gz: d5d630b349b664aca52a34ee3bd22c9c06854623
4
+ data.tar.gz: eba148428cf42be62c8e7bc166bb6847eab4f227
5
5
  SHA512:
6
- metadata.gz: ef5b63db0130967cf8bf74efdec9466453de491a48521d0df78ba844b7a60902dbbb71fe5ab4d2ce9f9cbdae05b11b1c465367ffff93590f5299d3f779810857
7
- data.tar.gz: 99472c23d5c814e41c188ce9698ccf96231309e2b31cd6a55a9bd805800908b9ae7b373ecf1d2a893f4312178a87498ba79424bdc64e9a5745559ba93806f46e
6
+ metadata.gz: 2dcf56f7d29df58cb43d1ca007ef7543121ac6782d4fca5175772db14cf6ef26bc3800c68a1c54b8cd617eebbc7e5604c2503d6f29265c8877fe070669797c46
7
+ data.tar.gz: 2f8dc8c6fcbac0478c23d7678ca3a5654c955f5c54b000959aef0747e3ac2ae5a99ed8512b78c2e60969b3bc322ca4c8236c60e08445e743b6eedf0f86fe1694
@@ -29,7 +29,7 @@ class DBEnvy
29
29
  private
30
30
 
31
31
  def rails_env
32
- ENV['RAILS_ENV'] || Rails.env if defined?(Rails)
32
+ ENV['RAILS_ENV'] || "#{Rails.env}" if defined?(Rails)
33
33
  end
34
34
 
35
35
  def credentials
@@ -1,3 +1,3 @@
1
1
  class DBEnvy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbenvy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson