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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efb57a26e11f6d195dedc40f32df9a31a051e172
4
- data.tar.gz: 8a046d909f8a9b515cbd6f94eea8ae7e50181ee4
3
+ metadata.gz: 732ba8b7cc8922ae82b47833728a201aa52abfaa
4
+ data.tar.gz: 9b56010a84bbdfdf0b20682acb4c617ca872a3ce
5
5
  SHA512:
6
- metadata.gz: 056ea563c19c4fea8dc7117d3aa031c539f65a3c5c17a58e2b8d35fbe28f50f6623ea3503750c46fb7fddd8841ef7c95ccc2e2cc62c87efcbcd87c01f6192c15
7
- data.tar.gz: c575f11c19afcba77cb6baa037f098d82d8b41ea095ca5078ff0c210377b4d5b23c23d71a0a5a3ed8f5c38aaab6fd2c9275f9c8594703c4577bdafa2b592bb33
6
+ metadata.gz: 00159c08630de5887c209ed1bf853096544706c36fcb5ff9f807b5a904e2b12cede9ad8943d44f72ffa144abfb25699cca9d8dd0eff573af7324d1adcf0d4a26
7
+ data.tar.gz: c7623c5b39ff106398a478f1dbd9a92241502f355410df735f14c8fd7be59c9e34ee96cd1316bee394626833360003d27e96651b58a2ea74a9d40431bd4b964b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.8
1
+ 1.3.9
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "cms-fortress"
5
- s.version = "1.3.8"
5
+ s.version = "1.3.9"
6
6
 
7
7
  s.authors = ["Melvin Sembrano"]
8
8
  s.date = "2015-04-12"
@@ -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', :role_id => 1) if direction == :up
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms-fortress
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Melvin Sembrano