mumukit-login 3.0.0 → 3.0.1

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: b9b7f297d13cb0536989242e941878929b957a8d
4
- data.tar.gz: 6c9e07098672d2b26e3ada3f5ab8249be5aab4f0
3
+ metadata.gz: 68df3ecbf4fc49738ef0080e9d1d35ef4b572168
4
+ data.tar.gz: 28363afe0c466691257be19bf95b057e66dc7063
5
5
  SHA512:
6
- metadata.gz: bddbc0da1f79fc9e051de5d0be02f48f69ec36671152a2efccc5f1e08645252a648334f7c60703a44c406408a821f19f596326c991b0a639dba9fd41340e208a
7
- data.tar.gz: 516e302be8cfc523cafbe35af53e2d601618d49a0bbbe192c4346d8161beaeab51810aca1a78d51232a102b8e937fe610906364fc8699d4d37b76fa78dc88e20
6
+ metadata.gz: 6f0933eb36310d0c6d5d3ee7fda736fdb57b61111bb2f22c5492599080072de0722804ee815fdca15349e82e3b849fa333850bf941f437fe904710c74d35a9d6
7
+ data.tar.gz: 8345275e39c269d6576bf8ddaa69ba70b70209fc2df96ff5d74c055b65fe75b1a0fa23b3609a3f2ab900e318bab62a71bcf22e2b25dacea3ea31319dac51d848
data/lib/mumukit/login.rb CHANGED
@@ -16,6 +16,7 @@ module Mumukit::Login
16
16
 
17
17
  def self.defaults
18
18
  struct.tap do |config|
19
+ config.logo_url = ENV['MUMUKI_LOGO_URL'] || "https://mumuki.io/static/logo.png"
19
20
  config.mucookie_domain = ENV['MUMUKI_COOKIES_DOMAIN'] || ENV['MUMUKI_MUCOOKIE_DOMAIN']
20
21
  config.mucookie_secret_key = ENV['SECRET_KEY_BASE'] || ENV['MUMUKI_MUCOOKIE_SECRET_KEY']
21
22
  config.mucookie_secret_salt = ENV['MUMUKI_MUCOOKIE_SECRET_SALT'] || 'mucookie secret salt'
@@ -43,7 +43,7 @@ class Mumukit::Login::Settings
43
43
  socialButtonStyle: many_methods? ? 'small' : 'big',
44
44
  rememberLastLogin: true,
45
45
  theme: {
46
- logo: '/logo-alt.png',
46
+ logo: Mumukit::Login.config.logo_url,
47
47
  primaryColor: '#FF5B81'
48
48
  },
49
49
  disableResetAction: false,
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Login
3
- VERSION = '3.0.0'
3
+ VERSION = '3.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-login
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-28 00:00:00.000000000 Z
11
+ date: 2017-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler