cms-fortress 1.3.7 → 1.3.8
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: efb57a26e11f6d195dedc40f32df9a31a051e172
|
|
4
|
+
data.tar.gz: 8a046d909f8a9b515cbd6f94eea8ae7e50181ee4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 056ea563c19c4fea8dc7117d3aa031c539f65a3c5c17a58e2b8d35fbe28f50f6623ea3503750c46fb7fddd8841ef7c95ccc2e2cc62c87efcbcd87c01f6192c15
|
|
7
|
+
data.tar.gz: c575f11c19afcba77cb6baa037f098d82d8b41ea095ca5078ff0c210377b4d5b23c23d71a0a5a3ed8f5c38aaab6fd2c9275f9c8594703c4577bdafa2b592bb33
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cms-fortress (1.3.
|
|
4
|
+
cms-fortress (1.3.8)
|
|
5
5
|
aasm (~> 4.0)
|
|
6
6
|
cancancan (~> 1.9)
|
|
7
7
|
comfortable_mexican_sofa (~> 1.12, >= 1.12.5)
|
|
@@ -34,7 +34,7 @@ GEM
|
|
|
34
34
|
activerecord-deprecated_finders (~> 1.0.2)
|
|
35
35
|
activesupport (= 4.0.13)
|
|
36
36
|
arel (~> 4.0.0)
|
|
37
|
-
activerecord-deprecated_finders (1.0.
|
|
37
|
+
activerecord-deprecated_finders (1.0.4)
|
|
38
38
|
activesupport (4.0.13)
|
|
39
39
|
i18n (~> 0.6, >= 0.6.9)
|
|
40
40
|
minitest (~> 4.2)
|
|
@@ -43,7 +43,7 @@ GEM
|
|
|
43
43
|
tzinfo (~> 0.3.37)
|
|
44
44
|
ansi (1.5.0)
|
|
45
45
|
arel (4.0.2)
|
|
46
|
-
autoprefixer-rails (5.1.
|
|
46
|
+
autoprefixer-rails (5.1.8.1)
|
|
47
47
|
execjs
|
|
48
48
|
json
|
|
49
49
|
bcrypt (3.1.10)
|
|
@@ -62,11 +62,11 @@ GEM
|
|
|
62
62
|
coffee-rails (4.1.0)
|
|
63
63
|
coffee-script (>= 2.2.0)
|
|
64
64
|
railties (>= 4.0.0, < 5.0)
|
|
65
|
-
coffee-script (2.
|
|
65
|
+
coffee-script (2.4.1)
|
|
66
66
|
coffee-script-source
|
|
67
67
|
execjs
|
|
68
68
|
coffee-script-source (1.9.1)
|
|
69
|
-
comfortable_mexican_sofa (1.12.
|
|
69
|
+
comfortable_mexican_sofa (1.12.8)
|
|
70
70
|
active_link_to (>= 1.0.0)
|
|
71
71
|
bootstrap-sass (>= 3.2.0)
|
|
72
72
|
bootstrap_form (>= 2.2.0)
|
|
@@ -92,7 +92,7 @@ GEM
|
|
|
92
92
|
warden (~> 1.2.3)
|
|
93
93
|
docile (1.1.5)
|
|
94
94
|
erubis (2.7.0)
|
|
95
|
-
execjs (2.
|
|
95
|
+
execjs (2.5.2)
|
|
96
96
|
haml (4.0.6)
|
|
97
97
|
tilt
|
|
98
98
|
haml-rails (0.9.0)
|
|
@@ -101,7 +101,7 @@ GEM
|
|
|
101
101
|
haml (>= 4.0.6, < 5.0)
|
|
102
102
|
html2haml (>= 1.0.1)
|
|
103
103
|
railties (>= 4.0.1)
|
|
104
|
-
hashie (3.4.
|
|
104
|
+
hashie (3.4.1)
|
|
105
105
|
hike (1.2.3)
|
|
106
106
|
html2haml (2.0.0)
|
|
107
107
|
erubis (~> 2.7.0)
|
|
@@ -176,7 +176,7 @@ GEM
|
|
|
176
176
|
ruby_parser (3.6.5)
|
|
177
177
|
sexp_processor (~> 4.1)
|
|
178
178
|
sass (3.4.13)
|
|
179
|
-
sass-rails (5.0.
|
|
179
|
+
sass-rails (5.0.3)
|
|
180
180
|
railties (>= 4.0.0, < 5.0)
|
|
181
181
|
sass (~> 3.1)
|
|
182
182
|
sprockets (>= 2.8, < 4.0)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.8
|
data/cms-fortress.gemspec
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "cms-fortress"
|
|
5
|
-
s.version = "1.3.
|
|
5
|
+
s.version = "1.3.8"
|
|
6
6
|
|
|
7
7
|
s.authors = ["Melvin Sembrano"]
|
|
8
|
-
s.date = "2015-
|
|
8
|
+
s.date = "2015-04-12"
|
|
9
9
|
s.description = "Comfortable Mexican Sofa (CMS) - User and role management extension"
|
|
10
10
|
s.email = "melvinsembrano@gmail.com"
|
|
11
11
|
s.extra_rdoc_files = [ "LICENSE.txt", "README.rdoc" ]
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
class DeviseCreateCmsFortressUsers < ActiveRecord::Migration
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
# move creation of default user to the 08 migration
|
|
4
|
+
# def migrate(direction)
|
|
5
|
+
# super
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
end
|
|
7
|
+
# # Create default cms-admin user
|
|
8
|
+
# Cms::Fortress::User.create!(:email => 'admin@cmsfortress.com', :password => '1234qwer', :password_confirmation => '1234qwer', :role_id => 1) if direction == :up
|
|
9
|
+
# end
|
|
9
10
|
|
|
10
11
|
def change
|
|
11
12
|
create_table(:cms_fortress_users) do |t|
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
class RelaxUserUniquenessOnEmailAndSiteId < ActiveRecord::Migration
|
|
2
|
+
def migrate(direction)
|
|
3
|
+
super
|
|
4
|
+
# 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
|
|
6
|
+
end
|
|
7
|
+
|
|
2
8
|
def change
|
|
3
9
|
remove_index :cms_fortress_users, :email
|
|
4
10
|
add_index :cms_fortress_users, [:email, :site_id], :unique => true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cms-fortress
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Melvin Sembrano
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|