mountain-goat 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,12 @@ class MountainGoatController < ActionController::Base
30
30
  end
31
31
 
32
32
  def login
33
- mg_yml = YAML::load(File.open("#{RAILS_ROOT}/config/mountain-goat.yml"))
33
+ mg_yml = nil
34
+ begin
35
+ mg_yml = YAML::load(File.open("#{RAILS_ROOT}/config/mountain-goat.yml"))
36
+ rescue
37
+ end
38
+
34
39
  if mg_yml
35
40
  mg_yml_env = mg_yml.with_indifferent_access[RAILS_ENV]
36
41
  if mg_yml_env
@@ -1,3 +1,3 @@
1
1
  class MountainGoat
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mountain-goat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Geoffrey Hayes
@@ -126,6 +126,7 @@ files:
126
126
  - mountain-goat-0.0.5.gem
127
127
  - mountain-goat-0.0.6.gem
128
128
  - mountain-goat-0.0.8.gem
129
+ - mountain-goat-0.0.9.gem
129
130
  - mountain-goat.gemspec
130
131
  has_rdoc: true
131
132
  homepage: http://github.com/hayesgm/mountain_goat