rack-config-flexible 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +0 -10
  2. data/lib/rack/config/flexible.rb +1 -12
  3. metadata +1 -1
data/README.md CHANGED
@@ -136,13 +136,3 @@ that particular _section_.
136
136
 
137
137
  See the inline documentation for more details.
138
138
 
139
- Caveats
140
- =======
141
-
142
- Do *not* use this module and _Rack::Config_ at the same time! This module
143
- will remove the constant for _Rack::Config_ to avoid a conflict with _Rack::Config_
144
- being a class, whereas here we use it as a module.
145
-
146
- This means no new instances of _Rack::Config_ can be so easily created after this module is loaded.
147
- However, existing instances should still work.
148
-
@@ -9,18 +9,7 @@
9
9
  require 'yaml'
10
10
 
11
11
  module Rack
12
-
13
- #
14
- # Remove the constant for Rack::Config otherwise we get
15
- # a TypeError since Rack::Config is a class, not a module.
16
- #
17
- # It seems the original instances will still be preserved
18
- #
19
- if Rack::Config.is_a?(Class)
20
- Rack.send(:remove_const,'Config')
21
- end
22
-
23
- module Config
12
+ class Config
24
13
  #
25
14
  # === Overview
26
15
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-config-flexible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: