caboose-cms 0.5.183 → 0.5.184

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTg4NGZmMzU2MGY0NTcxOTAwODc0NDA1MzI2MThiMTc2YzQ1ZDI0Yw==
4
+ N2JmMTlhNjNlMDNmZThlYzhmODIwY2NhNjg0MTJlNTM0MGNkODM3NQ==
5
5
  data.tar.gz: !binary |-
6
- YTk2NGI5NDJlZTIzOGRiMzcxODA0ZDYzZWU0YzAxZWY3ZGFhMWExZA==
6
+ YzBlMzdlZmM3ZmRmMWRkYTlmMjRjOTg0MDkxNTUxMGIwZjc2ZDhmMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTgxYWQ1ZjQ4ZTRhN2QzNTRmYWVhMzAxZTUwYzUzNGRmMTA1MTc4MTk1NTFh
10
- NTdkMzdmMGVjMjgzYmM3N2QzOTI5ZGRkODA5ZjI0NzY5Nzc0OTljNDFkMTc0
11
- NTBkNzM0ODk4ZWI1MzYyZDI0YjZmZGU3ZWU5Yzk2YWQ1YWZmYTM=
9
+ MTJlMGIwZWZkOTE1MTI2OThhMzNmMzE0NTFhZDZkY2EwZDNlYTA5YzBjYTZj
10
+ MmU2NDgxNDRkNWFiNmIwNTM2ZTJkNTM3YjIyNmFhYzUzMzVhYzczZTFkN2Nk
11
+ YjVjNDgyOWRiYzI0YzQwMWQwYTljY2FjOWZkYmMwMWM1ODczZTU=
12
12
  data.tar.gz: !binary |-
13
- YTI4NDYzMzM5ZjcwOTU5YzFjZGY2MTg3Yjg0Y2Q4ZThhM2RjNjczYWE2NmY1
14
- MjU3Y2M5YWZkMDFiMGM0MzFmMDNiZGI2NjI2M2E5NmM1MTZiM2VmMjU2OTNj
15
- MmM5NjQ2YTE3NjM5YTk4NjIxN2MzZDdjMjVlZmQ1NmUyOTRiY2U=
13
+ ZGEwNTVmY2MzOWNhYzc1NDFiYmU5MmJlZjU2ZDkzZWJiODIwNjhkMzQ3ZDc0
14
+ ODEwZmE1NjBhNDdjNTg0MTEwODVkZGNjYmJkMTE2ZGNmNzg1M2MyYzNjZDZl
15
+ NjQzZjIwZjc1MjY1MDA3Yjc1NDIwYWNiOTI5ODQ5YmZlNjc4Y2U=
@@ -51,7 +51,7 @@ module Caboose
51
51
 
52
52
  # Create an admin user for the account
53
53
  if User.where(:username => 'admin', :site_id => @site.id).exists?
54
- admin_user = User.create(:username => 'admin', :site_id => @site.id)
54
+ admin_user = User.create(:username => 'admin', :site_id => @site.id, :password => Digest::SHA1.hexdigest(Caboose::salt + 'caboose'))
55
55
  admin_role = Role.where(:name => 'Admin').first
56
56
  if admin_role
57
57
  RoleMembership.create(:user_id => admin_user.id, :role_id => admin_role.id)
@@ -102,7 +102,7 @@ module Caboose
102
102
 
103
103
  # Create an admin user for the account
104
104
  if User.where(:username => 'admin', :site_id => site.id).exists?
105
- admin_user = User.create(:username => 'admin', :site_id => site.id)
105
+ admin_user = User.create(:username => 'admin', :site_id => site.id, :password => Digest::SHA1.hexdigest(Caboose::salt + 'caboose'))
106
106
  admin_role = Role.where(:name => 'Admin').first
107
107
  if admin_role
108
108
  RoleMembership.create(:user_id => admin_user.id, :role_id => admin_role.id)
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.183'
2
+ VERSION = '0.5.184'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.183
4
+ version: 0.5.184
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry