arkaan 1.4.4 → 1.4.5

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: 97931a657691180c2b1fef1fc3c69d1a5e4e4b16
4
- data.tar.gz: ca4ab3b60cc0f4041ee5a5cfda177bd33692dd4c
3
+ metadata.gz: 618ff18c9f85ac89f8a6cd2dcddcc065ae18ab82
4
+ data.tar.gz: 33e137602ec1d81d48d962a3237d46bdfe817c40
5
5
  SHA512:
6
- metadata.gz: 98ea4b75dfc3d55781a40a92e75ae8f0ab996448c51fcebd42faf55fa749bc94b229a74c41d203970f32b944176d3e1da64ad51037c89ed6298d91a454341718
7
- data.tar.gz: 8960dcc97322c3c5b426ac60b21bfceb92c291e4234f7c0b1cf43ee8b54c23450079281cde7c83e771482364665e449235dfbb66fbd982e775a02e240e28863a
6
+ metadata.gz: f9e7f479e88aed090eb97b69cd30ab0b7a003c6ec044e2313e4e14e91002c54b4988728978f09a5d884d9857b96ea3899c6970eccdf36ee1b29a349af5b579bf
7
+ data.tar.gz: 43f788e4041bc6e5f36513212772e6f6421ae6b64ae5f099ed655f7e624c2fcb34d5f8ad03bd149b1ec673b197d76cf3c35425d463fdf91725bfde4e55cb70e5
@@ -7,6 +7,7 @@ require 'platform-api'
7
7
  require 'draper'
8
8
  require 'faraday'
9
9
  require 'sinatra/custom_logger'
10
+ require 'dotenv/load'
10
11
 
11
12
  # Main module of the application, holding all the subsequent classes.
12
13
  # @author Vincent Courtois <courtois.vincent@outlook.com>
@@ -119,6 +119,7 @@ module Arkaan
119
119
  # @param test_mode [Boolean] TRUE to run in test mode (from /spec), FALSE otherwise.
120
120
  # @return [Arkaan::Utils::MicroService] the current instance of the micro service to chain other calls.
121
121
  def load_application(test_mode: false)
122
+ Dotenv.load
122
123
  load_mongoid_configuration(test_mode: test_mode)
123
124
  if !!(@name && location)
124
125
  @service = Arkaan::Monitoring::Service.where(key: @name).first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkaan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Courtois
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-04 00:00:00.000000000 Z
11
+ date: 2019-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -248,6 +248,20 @@ dependencies:
248
248
  - - '='
249
249
  - !ruby/object:Gem::Version
250
250
  version: 3.0.1
251
+ - !ruby/object:Gem::Dependency
252
+ name: dotenv
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '='
256
+ - !ruby/object:Gem::Version
257
+ version: 2.7.2
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - '='
263
+ - !ruby/object:Gem::Version
264
+ version: 2.7.2
251
265
  description: This gem holds the model layer for my table-top RPG games application.
252
266
  email: courtois.vincent@outlook.com
253
267
  executables: []