thecore 1.4.6 → 1.4.7
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 +4 -4
- data/db/migrate/20160331101902_add_admin_user.rb +3 -0
- data/lib/thecore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d8bdc3c5f7cae3c8c48e4f228f88dccac0b2631
|
4
|
+
data.tar.gz: 242208f0531e3a5814564cc135ef99a9521df66e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbe41a4a3cc11cedfaf4dc8c8acfc217949a4a60b782cdb9de8fbe2c3789827c3b8642d9bc43349e1d392edb7b9bb1519bfb49d1bfcde6cd9b3fd41cda39680b
|
7
|
+
data.tar.gz: 80086d62dbc1f4df852ca0fa2f71ab6f46da436886676241481c4e22b914f77c66a1a34e66e28291b2b5279d471b676b21d920bf57d4963f14b7dd9ff411f75a
|
@@ -153,6 +153,9 @@ class AddAdminUser < ActiveRecord::Migration[4.2]
|
|
153
153
|
u.email = "admin@example.com"
|
154
154
|
psswd = SecureRandom.hex(5)
|
155
155
|
puts "\tThecore admin password is:\n\n\t\t#{psswd}\n\n\tplease save it somewhere, securely."
|
156
|
+
File.open('.passwords', 'w') do |f|
|
157
|
+
f.write(psswd)
|
158
|
+
end
|
156
159
|
u.password = psswd
|
157
160
|
u.password_confirmation = psswd
|
158
161
|
u.admin = true
|
data/lib/thecore/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|