gaku_admin 0.3.0.pre.1 → 0.3.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/admin_user.rake +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af998fc7c187a76f670a0abbf8e8050e946229bc
|
4
|
+
data.tar.gz: 5305a1eb8a8462553469b6ba2028cd956ae8440c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1fbd683f5c944f81a4a5926afb3710c6b7a897c176ae3e5c0bb85d47326f691a4419da3cd629f60b3abdd5de4114cead71c5f315c3e34cc8ca7f7ff6223cd9a
|
7
|
+
data.tar.gz: d56a7d19e149ef9ea40041e5d29a62122c406682946cbeb3a2327ea885f677339fc5bd4ab3e2ca9ef939356b9ca515392ea91d402d5dcb3bfff78e6856c77f67
|
data/lib/tasks/admin_user.rake
CHANGED
@@ -41,11 +41,11 @@ def prompt_for_admin_email
|
|
41
41
|
email = ENV['ADMIN_EMAIL'].dup
|
42
42
|
say "Admin User #{email}"
|
43
43
|
else
|
44
|
-
email = ask('Email [admin@
|
44
|
+
email = ask('Email [admin@gakuengine.com]: ') do |q|
|
45
45
|
q.echo = true
|
46
46
|
q.whitespace = :strip
|
47
47
|
end
|
48
|
-
email = 'admin@
|
48
|
+
email = 'admin@gakuengine.com' if email.blank?
|
49
49
|
end
|
50
50
|
|
51
51
|
email
|
@@ -70,7 +70,7 @@ end
|
|
70
70
|
def create_admin_user
|
71
71
|
if ENV['AUTO_ACCEPT']
|
72
72
|
password = '123456'
|
73
|
-
email = 'admin@
|
73
|
+
email = 'admin@gakuengine.com'
|
74
74
|
else
|
75
75
|
puts 'Create the admin user (press enter for defaults).'
|
76
76
|
username = prompt_for_admin_username
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gaku_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.pre.
|
4
|
+
version: 0.3.0.pre.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-12-
|
13
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gaku_core
|
@@ -18,42 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.3.0.pre.
|
21
|
+
version: 0.3.0.pre.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.3.0.pre.
|
28
|
+
version: 0.3.0.pre.2
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: gaku_testing
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.3.0.pre.
|
35
|
+
version: 0.3.0.pre.2
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.3.0.pre.
|
42
|
+
version: 0.3.0.pre.2
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: gaku_frontend
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.3.0.pre.
|
49
|
+
version: 0.3.0.pre.2
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.3.0.pre.
|
56
|
+
version: 0.3.0.pre.2
|
57
57
|
description: Admin Panel and functionality for GAKU Engine. See https://github.com/GAKUEngine/gaku
|
58
58
|
email: info@gakuengine.com
|
59
59
|
executables: []
|