heroku_db_clone 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  require 'trollop'
2
+ require 'yaml'
2
3
 
3
4
  module HerokuDbClone
4
5
  class Client
@@ -71,7 +72,7 @@ module HerokuDbClone
71
72
  # Internal: Get the configuration of the local development database
72
73
  def load_db_information
73
74
  raise "config/database.yml does not exist at the current location: #{File.expand_path('.')}" unless File.exists?('config/database.yml')
74
- dev_db = YAML.load_file('config/database.yml')["development"]
75
+ dev_db = ::YAML.load_file('config/database.yml')["development"]
75
76
  @db_name = dev_db["database"]
76
77
  @db_user = dev_db['username']
77
78
  @db_password = dev_db['password']
@@ -1,3 +1,3 @@
1
1
  module HerokuDbClone
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_db_clone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
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: 2013-06-24 00:00:00.000000000 Z
12
+ date: 2013-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop