yappconfig 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86fa071d295ce243988b61331112c2dddf65b94d
4
- data.tar.gz: 1019201f688b45269d105374848abb18c7e6f87e
3
+ metadata.gz: d149e93a713237ac2431da2d2c5ed4899bc1eb16
4
+ data.tar.gz: b51fef65dc37a8aff80329c7ea3e5ab329e6e338
5
5
  SHA512:
6
- metadata.gz: 0f3f8bafd5eb07fa07a7aeba04eb06ce8390768b1981e4b36057f06952d6ad7d3e7398d98481c8fbf19c0bbd9e66b49dbedae57d561aa42b15ba22f60d8c677c
7
- data.tar.gz: 5b48be30acc6dc5a7305578900689094f0d4b3513cde4f6562b44adabf6dedff43381f4ddd864bc924d9afb68ccf2bcc8bea0571e5bbe9a67fff4e48919fdda0
6
+ metadata.gz: a6de08efa9959812639dd49a56da9362c06cd7f371ffc5b431378b6b5d49cd10168cb5890e90275787b7343ab5e98424f9354358a7211dd48691f120a81a35cd
7
+ data.tar.gz: cee31666466db3ef8a523c6cc0b063b200ef9dc5da80b68ee7a51fbec2e18801732cbce68b19b0609cfc061f2b27b840203cf5764f1d8c9aff79cc66e3c9adce
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -3,6 +3,13 @@ require 'rails'
3
3
  module AppConfig
4
4
  class Railtie < Rails::Railtie
5
5
  config.before_configuration do
6
+
7
+ # AppConfig can be used in conjunction with dotenv, and as per their
8
+ # code, we are running `.load` ahead of them.
9
+ if defined?(Dotenv::Railtie) && Dotenv::Railtie.respond_to?(:load)
10
+ Dotenv::Railtie.load
11
+ end
12
+
6
13
  AppConfig.configure do |config|
7
14
  config.config_file = Rails.root.join("config", "config.yml")
8
15
  config.environment = Rails.env
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: yappconfig 0.3.0 ruby lib
5
+ # stub: yappconfig 0.3.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "yappconfig"
9
- s.version = "0.3.0"
9
+ s.version = "0.3.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yappconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Somers