djoini 0.1.3 → 0.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34a71a0db65d4024e67e0803aa1cf65448863ed3
4
- data.tar.gz: d58e772585d90145b09d2cc103276356522877fe
3
+ metadata.gz: 829b521dfc0f4f4fe7af2345322b7777d81a7391
4
+ data.tar.gz: 49e944cd80f06342dc33ae36bee4715c527455df
5
5
  SHA512:
6
- metadata.gz: 4ee443c72bc06ea95cb86e1f5e0fc02a415b2bd865f625ccf3a228f9e0632c8eb85bd22f1928a80f2fa13b14daa4a2bb373c2aa11ea0665f36323139a11402b5
7
- data.tar.gz: e48ccdc6d6e2415092ed3d783ea1c6a2604e4ff34e695b97ef82ae7ccd38171e6561afc2114275626f16b9b6ef27b31deeb14259d9bafe14c3903c5f93c852e9
6
+ metadata.gz: 7b96045361d806d349c4dbcb09711b157b8333ebfef16c8fef5efdb8485606010dd860b14ec047330837562808e5c85dd6143827d2df69046175b00628b6e1f7
7
+ data.tar.gz: bc3117ffe557469068b8fe263e05cc71a7010c002949c330629d40b16b79380a674190dbd5d574c32b50c59a88ef65313c56d5b41da002158af602aed5ac5f63
@@ -1,3 +1,3 @@
1
1
  module Djoini
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
@@ -4,8 +4,9 @@ namespace :djoini do
4
4
  task :load do |_, args|
5
5
  require_relative '../djoini'
6
6
 
7
- require File.expand_path('/config/initializers/djoini.rb')
8
- # To make sure configure was called if initializer wasn't foundw
7
+ _config_path = File.join(Dir.pwd, '/config/initializers/djoini.rb')
8
+ require _config_path if File.file?(_config_path)
9
+ # To make sure configure was called if initializer wasn't found
9
10
  Djoini.configure {}
10
11
 
11
12
  _conn_info = YAML.load(File.read(Dir.pwd + '/config/database.yml'))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: djoini
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - faul