rabid_mq 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rabid_mq/config.rb +1 -1
- data/lib/rabid_mq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c2add2307630ebf7878db9a4efdb14ae8613519
|
4
|
+
data.tar.gz: 555bab4be1814e4e38a29547ed6b3984e22e28cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ac5ea5fd70fff53bf0392aacf685d03bf09860647e5da0214169de53a1e85e4795ca502a73a704554f519960e4c67e7cc1601fc6356a425f846010c68c3f86e
|
7
|
+
data.tar.gz: 70fe4b733a316207ce10c4a95ccfbd3539b9d61d593eb2c2c1d35d106e0aeedb2dd3166ba98557a17783786490ec2f675f6c7da33a1f0dddc89f772a58d14045
|
data/lib/rabid_mq/config.rb
CHANGED
@@ -2,7 +2,7 @@ module RabidMQ
|
|
2
2
|
module Config
|
3
3
|
class << self
|
4
4
|
def load_config
|
5
|
-
@config ||= YAML.load(File.read(file_name))[Rails.env]
|
5
|
+
@config ||= YAML.load(ERB.new(File.read("#{Rails.root}/#{file_name}")).result)[Rails.env]
|
6
6
|
rescue Errno::ENOENT, NameError => e
|
7
7
|
puts "[WARN] #{e.message} in #{__FILE__}. Falling back to default config"
|
8
8
|
default_config
|
data/lib/rabid_mq/version.rb
CHANGED