buddy 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/buddy/version.rb +1 -1
  2. data/lib/buddy.rb +1 -1
  3. metadata +2 -2
data/lib/buddy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Buddy
2
- VERSION = "2.0.7"
2
+ VERSION = "2.0.8"
3
3
  end
data/lib/buddy.rb CHANGED
@@ -20,7 +20,7 @@ module Buddy
20
20
 
21
21
  def load_configuration(yaml)
22
22
  return false unless File.exist?(yaml)
23
- @buddy_config = YAML.load(ERB.new(File.read(yaml)).result)[::Rails.env]
23
+ @buddy_config = YAML.load(ERB.new(File.read(yaml)).result)[::Rails.env] || false
24
24
 
25
25
  unless self.config['default'].nil?
26
26
  ActiveSupport::Deprecation.warn('Support for multiple apps has been removed and your config format is deprecated. Please remove your app keys (or just the "default" key)')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-27 00:00:00.000000000Z
12
+ date: 2011-10-04 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Facebook library focusing on getting the work done.
15
15
  email: