ruby-conf 2.5.2 → 2.5.3
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.
- data/VERSION +1 -1
- data/lib/ruby-conf.rb +4 -2
- data/ruby-conf.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5.
|
|
1
|
+
2.5.3
|
data/lib/ruby-conf.rb
CHANGED
|
@@ -8,6 +8,8 @@ require 'digest/md5'
|
|
|
8
8
|
module RubyConf
|
|
9
9
|
|
|
10
10
|
class Loader < BasicObject
|
|
11
|
+
EXTENTIONS = %w{rbc rbcnf rbconf rbconfig rubyconf rubyconfig ruby-conf ruby-config}
|
|
12
|
+
|
|
11
13
|
@@conf = @@path = @@mtime = @@md5 = nil
|
|
12
14
|
|
|
13
15
|
class << self
|
|
@@ -30,8 +32,8 @@ module RubyConf
|
|
|
30
32
|
|
|
31
33
|
if @@conf.nil?
|
|
32
34
|
Find.find('.') do |path|
|
|
33
|
-
next unless @@conf.nil? && path =~ /\.(?:rb|config|conf)$/
|
|
34
|
-
if path =~ /\.(
|
|
35
|
+
next unless @@conf.nil? && path =~ /\.(?:rb|config|conf|#{EXTENTIONS.join('|')})$/
|
|
36
|
+
if path =~ /\.(?:#{EXTENTIONS.join('|')})$/ || File.read(path) =~ /^\s*\#\s*\:\s*ruby-conf\s*$/mi
|
|
35
37
|
break if __rc_load(path)
|
|
36
38
|
end
|
|
37
39
|
end
|
data/ruby-conf.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "ruby-conf"
|
|
8
|
-
s.version = "2.5.
|
|
8
|
+
s.version = "2.5.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Curtis Schofield & Hollin Wilkins & Mason"]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-conf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
115
115
|
version: '0'
|
|
116
116
|
segments:
|
|
117
117
|
- 0
|
|
118
|
-
hash:
|
|
118
|
+
hash: 540271139098183150
|
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
none: false
|
|
121
121
|
requirements:
|