raindeer 0.8.0 → 0.8.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e658170ed7da3124e736b68df8a271a9c6bfce0eae60d2b25e36196bec2e3c2
4
- data.tar.gz: 22c8a59224ba2cdf3956c18b57261460334798015570e134c5da1bc7e5e85501
3
+ metadata.gz: 451e4170add3ea5fd9949709b266c0895e9c6f07ada0890c83d7bf3f9fc90a57
4
+ data.tar.gz: 9d39cb5f8134a67a98fca198fd7b3b35bd9ad35eb8228d2197a09cca5dc5c6a3
5
5
  SHA512:
6
- metadata.gz: 861bb11691f40b9436b73d24754c2a2c0391d6910318a59dde2ec5f809308cf6cdce7da132b31dd794db3c99c1708bdb84d299e5c0e4e91b4fb2a2217db3abda
7
- data.tar.gz: 36b8b720352d4152e18e142ae66479b278848fc74f3cc1959441285d8f8612893ae9932bf2129336f23192582e68b26b46451962a527b5e4eddaf7375bd1a47a
6
+ metadata.gz: 4e573edce3febcce5e82f11a2ddccc85a08931ecf3dd60dabf5d1aeb8ff9cc1e8a27b985852049ac6143dcaab95dbb65026dbe1984d75a0910c167d484624b2e
7
+ data.tar.gz: a1bc95cb75ed6d2a65b87cf2995f333fcc13fb2aeba3f4aa0e1da727c441ef20014a424bf4d8d8aff42b829299e0a3ee3dab04eec171c57f633b95108b788bda
@@ -70,7 +70,6 @@ module Rain
70
70
  mirror_mode: ConfigLoader.parse_boolean(ENV.fetch('RAIN_MIRROR', nil)),
71
71
  }
72
72
  config_path = File.expand_path('config/config.yaml', Dir.pwd)
73
-
74
73
  ConfigLoader.load(config_path, env)
75
74
  end
76
75
  end
@@ -7,7 +7,7 @@ module Rain
7
7
  class ConfigLoader
8
8
  class << self
9
9
  def load(file_path, overrides = {})
10
- file_path = File.expand_path("../../../config/#{file_path}", __FILE__) unless File.exist?(file_path)
10
+ file_path = File.expand_path("config/#{file_path}", Dir.pwd) unless File.exist?(file_path)
11
11
  config_file = YAML.safe_load_file(file_path, permitted_classes: [Symbol], symbolize_names: true)
12
12
 
13
13
  # Environment variables override config file.
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Raindeer
4
- VERSION = '0.8.0'
4
+ VERSION = '0.8.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raindeer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - maedi