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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0aba62da10596c17599a7e48845ba04963fd62ec
4
- data.tar.gz: d6019eb3ef5644dd60209053144e563f0665e299
3
+ metadata.gz: 9c2add2307630ebf7878db9a4efdb14ae8613519
4
+ data.tar.gz: 555bab4be1814e4e38a29547ed6b3984e22e28cc
5
5
  SHA512:
6
- metadata.gz: 07da052ed5ac8efdbcc9de9c7d519a1983339ec7259b44a87356717bd14b19f3fc8721cebdbf3cc32cdb149ff4c10d53d4f8e18171fcef3dc498b3eee2da8e5e
7
- data.tar.gz: 5359db58b2131ac29b9b26b75eb8b6975a740481896027fbee046ea3d9dfde0a5f3f3782b5779f670cb498289fae01b626851f5da1ae7c3c703fbd6f3730cf2b
6
+ metadata.gz: 3ac5ea5fd70fff53bf0392aacf685d03bf09860647e5da0214169de53a1e85e4795ca502a73a704554f519960e4c67e7cc1601fc6356a425f846010c68c3f86e
7
+ data.tar.gz: 70fe4b733a316207ce10c4a95ccfbd3539b9d61d593eb2c2c1d35d106e0aeedb2dd3166ba98557a17783786490ec2f675f6c7da33a1f0dddc89f772a58d14045
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RabidMQ
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabid_mq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyrone Wilson