trusty-cms 3.9.3 → 3.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tasks/upgrade_to_devise.rake +4 -4
- data/lib/trusty_cms.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b321f2fd71bed76d9aae8c64c4b9452b12a6170c4eafeac1241399a528cefac5
|
4
|
+
data.tar.gz: 2916e6d45a09f4b16fa58f89004ec34df195a4698eaf970cec3e70e1b53c086c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42e8ab55f6290273aabe879864ceddf48e67e5fb162c6d3bd3129ac5f8f2dee8ee1e6a03e3c7b9a6a6353d99130580a792c56d5128b34a47e7b61d98756e676b
|
7
|
+
data.tar.gz: 19675f865bd59f10cbdd5afebf8d814c79904b7308a8c7f2e0a5f8df6c416e1664a22b3533169a052634481957ff7ea088c0f094c8742e35dbf56756ca8ebbff
|
data/Gemfile.lock
CHANGED
@@ -8,8 +8,8 @@ namespace :import do
|
|
8
8
|
password = CHARS.sort_by { rand }.join[0...15]
|
9
9
|
|
10
10
|
LegacyUser.all.each do |legacy|
|
11
|
-
u = User.
|
12
|
-
|
11
|
+
u = User.find_or_create_by(email: legacy.email)
|
12
|
+
u.update_attributes(
|
13
13
|
first_name: legacy.name.split(' ')[0],
|
14
14
|
last_name: legacy.name.split(' ')[1],
|
15
15
|
password: password,
|
@@ -17,9 +17,9 @@ namespace :import do
|
|
17
17
|
admin: legacy.admin,
|
18
18
|
designer: legacy.designer,
|
19
19
|
content_editor: legacy.content_editor,
|
20
|
-
notes: legacy.notes
|
20
|
+
notes: legacy.notes,
|
21
|
+
site_id: legacy.site_id
|
21
22
|
)
|
22
|
-
u.save!
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
data/lib/trusty_cms.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|