morpho 0.3.2 → 0.3.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e50fc5ced39f47d23b63fe334fe5432b29de7efc47ace7ca7c53a56b212c4f1
|
4
|
+
data.tar.gz: 11a1f4c10a95b6254aa1994a866dc63361cfd367cdea90aca34147486c4877b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3cae4da2ad117543d24a5d3b793529a8c569295f1fb04aeec2bc4274702773b3353991a9b76402bf8bc167548e643b69d7fdbccad23f6e7b810460e502905eb
|
7
|
+
data.tar.gz: 4b87721c70d9478d7d39afcd8a90b516c7ee2711cc17a8c4845c60fdb5de1fa166b908e47b66dfc58a1f007edaa2c1bda4123766740a7714340c2539c68e1584
|
@@ -1,5 +1,6 @@
|
|
1
1
|
Morpho.configure do |config|
|
2
2
|
config.host = ENV.fetch('HOST', 'localhost:3000')
|
3
|
+
config.host = ENV.fetch('PROTOCOL', 'http')
|
3
4
|
config.mailer.from = ENV.fetch('MAILER_FROM', 'no-reply@example.com')
|
4
5
|
config.mailer.address = ENV.fetch('MAILER_ADDRESS', 'smtp.mailtrap.io')
|
5
6
|
config.mailer.user_name = ENV.fetch('MAILER_USER_NAME', '')
|
@@ -14,4 +15,4 @@ Morpho.configure do |config|
|
|
14
15
|
config.api.title = ''
|
15
16
|
config.api.description = ''
|
16
17
|
config.auth.failed_login_attempts_limit = 5
|
17
|
-
end
|
18
|
+
end
|
data/lib/morpho/configuration.rb
CHANGED
@@ -6,6 +6,7 @@ require 'morpho/configurations/auth'
|
|
6
6
|
module Morpho
|
7
7
|
class Configuration
|
8
8
|
attr_accessor :host
|
9
|
+
attr_accessor :protocol
|
9
10
|
|
10
11
|
attr_accessor :mailer
|
11
12
|
attr_accessor :api
|
@@ -14,6 +15,7 @@ module Morpho
|
|
14
15
|
|
15
16
|
def initialize
|
16
17
|
self.host = ''
|
18
|
+
self.protocol = ''
|
17
19
|
|
18
20
|
self.mailer = Morpho::Configurations::Mailer.new
|
19
21
|
self.api = Morpho::Configurations::API.new
|
data/lib/morpho/engine.rb
CHANGED
data/lib/morpho/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morpho
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Gilmar Erazo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|