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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffdf3dfdfc827b5bdc4358272e75d9578883b79a
4
- data.tar.gz: f78d54b4b8b6cad6348b7e990247f807cfd41338
3
+ metadata.gz: 4d8bdc3c5f7cae3c8c48e4f228f88dccac0b2631
4
+ data.tar.gz: 242208f0531e3a5814564cc135ef99a9521df66e
5
5
  SHA512:
6
- metadata.gz: d3ecbf4a4189f7eda21c7acb14af95a96deb88f71a9437b9beecabbf0021c58269da22cb6d282f07104d5a19418c5c940a5390c73b56ce9fb01d9317c2dc9571
7
- data.tar.gz: dd6e1efea5cff5fe0e38a8bd14bce2fe103cf3e084eba3031ecbdbf77ff2667f652098fee1660e4acd9bfe531fed842cf463861b59257df1a4e2e0e0dc3f153a
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
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.4.6'.freeze
2
+ VERSION = '1.4.7'.freeze
3
3
  end
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.6
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-05 00:00:00.000000000 Z
11
+ date: 2018-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails