artisan-ar-repository 0.0.5 → 0.0.6

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.
Files changed (2) hide show
  1. data/lib/artisan_ar_repository.rb +1 -1
  2. metadata +2 -2
@@ -1,7 +1,7 @@
1
1
  require "active_record"
2
2
  require "acts-as-taggable-on"
3
3
 
4
- dbconfig = YAML::load(File.open('config/database.yml'))
4
+ dbconfig = YAML::load(File.open(Rails.root + '/config/database.yml'))
5
5
  ActiveRecord::Base.establish_connection(dbconfig)
6
6
 
7
7
  require 'artisan/repository'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: artisan-ar-repository
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - 8th Light Craftsmen
@@ -67,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- hash: -1762344199915488473
70
+ hash: 2938800444950424005
71
71
  segments:
72
72
  - 0
73
73
  version: "0"