bragi-app 0.2.3 → 0.2.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.
Files changed (3) hide show
  1. data/lib/app.rb +2 -1
  2. data/test/app_test.rb +1 -1
  3. metadata +1 -1
data/lib/app.rb CHANGED
@@ -59,7 +59,8 @@ unless __FILE__ == "(eval)"
59
59
  end
60
60
 
61
61
  # Iterate through other App configs and namespace them.
62
- Dir[Rails.root.join("config", "app", "**/*.yml")].sort.each do |config|
62
+ path = Rails.root.join("config", "app", "**/*.yml").to_s
63
+ Dir[path].sort.each do |config|
63
64
  name = config.gsub(/#{Rails.root.join("config")}\/|\.yml/) {}.classify
64
65
 
65
66
  # Recognize all parents.
data/test/app_test.rb CHANGED
@@ -59,7 +59,7 @@ class AppTest < ActiveSupport::TestCase
59
59
  end
60
60
 
61
61
  test "should be frozen" do
62
- assert_raise(TypeError) { App.config["loaded_at"] = Time.now }
62
+ assert_raise(RuntimeError) { App.config["loaded_at"] = Time.now }
63
63
  end
64
64
 
65
65
  test "should ignore null nested keys" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bragi-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Celis