cms-fortress 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/cms-fortress.gemspec +1 -1
- data/db/migrate/08_relax_user_uniqueness_on_email_and_site_id.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 732ba8b7cc8922ae82b47833728a201aa52abfaa
|
4
|
+
data.tar.gz: 9b56010a84bbdfdf0b20682acb4c617ca872a3ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00159c08630de5887c209ed1bf853096544706c36fcb5ff9f807b5a904e2b12cede9ad8943d44f72ffa144abfb25699cca9d8dd0eff573af7324d1adcf0d4a26
|
7
|
+
data.tar.gz: c7623c5b39ff106398a478f1dbd9a92241502f355410df735f14c8fd7be59c9e34ee96cd1316bee394626833360003d27e96651b58a2ea74a9d40431bd4b964b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.9
|
data/cms-fortress.gemspec
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
class RelaxUserUniquenessOnEmailAndSiteId < ActiveRecord::Migration
|
2
2
|
def migrate(direction)
|
3
3
|
super
|
4
|
+
# Create default Site
|
5
|
+
Comfy::Cms::Site.reset_column_information
|
6
|
+
Cms::Fortress::Role.reset_column_information
|
7
|
+
Comfy::Cms::Site.create!(label: "Default", identifier: "default")
|
4
8
|
# Create default cms-admin user
|
5
|
-
Cms::Fortress::User.create!(:email => 'admin@cmsfortress.com', :password => '1234qwer', :password_confirmation => '1234qwer', :
|
9
|
+
Cms::Fortress::User.create!(:email => 'admin@cmsfortress.com', :password => '1234qwer', :password_confirmation => '1234qwer', :type_id => 1) if direction == :up
|
6
10
|
end
|
7
11
|
|
8
12
|
def change
|