cms-fortress 1.3.14 → 1.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/Gemfile.lock +53 -48
- data/VERSION +1 -1
- data/cms-fortress.gemspec +2 -2
- data/lib/cms/fortress/content_renderer.rb +2 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eb689f4f9fd6e5e4473a2903cc30668bae360d4
|
4
|
+
data.tar.gz: b0c72ea1a5a3bd6da80a1c9c915f850a7663b842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed0344771b878828f58767ddfb527d5e74b342f9a1ebc68fd6ae3116189fbea50adc1be6b28d53515e8d482bb15c286f92ca8d93495259f1454f21c054e9741
|
7
|
+
data.tar.gz: f0798288d4308762d422945b3617d312eb6cc2c11ff2cd0a94ea058c0b712fb6432e10bcf76cae8c0ce78e83265c2c892dedab50b81ec57ec0f5573aebc0463a
|
data/.travis.yml
CHANGED
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.14)
|
5
5
|
aasm (~> 4.0)
|
6
6
|
cancancan (~> 1.9)
|
7
7
|
comfortable_mexican_sofa (~> 1.12, >= 1.12.5)
|
@@ -14,7 +14,7 @@ PATH
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
aasm (4.
|
17
|
+
aasm (4.10.1)
|
18
18
|
actionmailer (4.0.13)
|
19
19
|
actionpack (= 4.0.13)
|
20
20
|
mail (~> 2.5, >= 2.5.4)
|
@@ -43,30 +43,29 @@ GEM
|
|
43
43
|
tzinfo (~> 0.3.37)
|
44
44
|
ansi (1.5.0)
|
45
45
|
arel (4.0.2)
|
46
|
-
autoprefixer-rails (6.
|
46
|
+
autoprefixer-rails (6.3.6.1)
|
47
47
|
execjs
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
sass (>= 3.3.0)
|
48
|
+
bcrypt (3.1.11)
|
49
|
+
bootstrap-sass (3.3.6)
|
50
|
+
autoprefixer-rails (>= 5.2.1)
|
51
|
+
sass (>= 3.3.4)
|
53
52
|
bootstrap_form (2.3.0)
|
54
53
|
builder (3.1.4)
|
55
|
-
cancancan (1.
|
54
|
+
cancancan (1.14.0)
|
56
55
|
climate_control (0.0.3)
|
57
56
|
activesupport (>= 3.0)
|
58
|
-
cocaine (0.5.
|
57
|
+
cocaine (0.5.8)
|
59
58
|
climate_control (>= 0.0.3, < 1.0)
|
60
|
-
codemirror-rails (5.
|
59
|
+
codemirror-rails (5.11)
|
61
60
|
railties (>= 3.0, < 5)
|
62
|
-
coffee-rails (4.1.
|
61
|
+
coffee-rails (4.1.1)
|
63
62
|
coffee-script (>= 2.2.0)
|
64
|
-
railties (>= 4.0.0, < 5.
|
63
|
+
railties (>= 4.0.0, < 5.1.x)
|
65
64
|
coffee-script (2.4.1)
|
66
65
|
coffee-script-source
|
67
66
|
execjs
|
68
|
-
coffee-script-source (1.
|
69
|
-
comfortable_mexican_sofa (1.12.
|
67
|
+
coffee-script-source (1.10.0)
|
68
|
+
comfortable_mexican_sofa (1.12.9)
|
70
69
|
active_link_to (>= 1.0.0)
|
71
70
|
bootstrap-sass (>= 3.2.0)
|
72
71
|
bootstrap_form (>= 2.2.0)
|
@@ -81,9 +80,10 @@ GEM
|
|
81
80
|
rails (>= 4.0.0, < 5)
|
82
81
|
rails-i18n (>= 4.0.0)
|
83
82
|
sass-rails (>= 4.0.3)
|
84
|
-
|
85
|
-
|
86
|
-
|
83
|
+
concurrent-ruby (1.0.2)
|
84
|
+
delayed_job (4.1.2)
|
85
|
+
activesupport (>= 3.0, < 5.1)
|
86
|
+
devise (3.5.10)
|
87
87
|
bcrypt (~> 3.0)
|
88
88
|
orm_adapter (~> 0.1)
|
89
89
|
railties (>= 3.2.6, < 5)
|
@@ -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.7.0)
|
96
96
|
haml (4.0.7)
|
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.4)
|
105
105
|
html2haml (2.0.0)
|
106
106
|
erubis (~> 2.7.0)
|
107
107
|
haml (~> 4.0.0)
|
@@ -114,12 +114,14 @@ GEM
|
|
114
114
|
jquery-ui-rails (5.0.5)
|
115
115
|
railties (>= 3.2.16)
|
116
116
|
json (1.8.3)
|
117
|
-
kramdown (1.
|
118
|
-
mail (2.6.
|
119
|
-
mime-types (>= 1.16, <
|
120
|
-
mime-types (
|
117
|
+
kramdown (1.11.1)
|
118
|
+
mail (2.6.4)
|
119
|
+
mime-types (>= 1.16, < 4)
|
120
|
+
mime-types (3.1)
|
121
|
+
mime-types-data (~> 3.2015)
|
122
|
+
mime-types-data (3.2016.0521)
|
121
123
|
mimemagic (0.3.0)
|
122
|
-
|
124
|
+
mini_portile2 (2.0.0)
|
123
125
|
minitest (4.7.5)
|
124
126
|
minitest-rails (1.0.1)
|
125
127
|
minitest (~> 4.7)
|
@@ -130,16 +132,16 @@ GEM
|
|
130
132
|
builder
|
131
133
|
minitest (>= 2.12, < 5.0)
|
132
134
|
powerbar
|
133
|
-
minitest-spec-rails (4.7.
|
135
|
+
minitest-spec-rails (4.7.10)
|
134
136
|
minitest (~> 4.7)
|
135
137
|
rails (>= 3.0, < 4.1)
|
136
138
|
minitest-test (1.1.0)
|
137
139
|
minitest (~> 4.0)
|
138
|
-
multi_json (1.
|
139
|
-
nokogiri (1.6.
|
140
|
-
|
140
|
+
multi_json (1.12.1)
|
141
|
+
nokogiri (1.6.7.2)
|
142
|
+
mini_portile2 (~> 2.0.0.rc2)
|
141
143
|
orm_adapter (0.5.0)
|
142
|
-
paperclip (4.3.
|
144
|
+
paperclip (4.3.6)
|
143
145
|
activemodel (>= 3.2.0)
|
144
146
|
activesupport (>= 3.2.0)
|
145
147
|
cocaine (~> 0.5.5)
|
@@ -147,8 +149,7 @@ GEM
|
|
147
149
|
mimemagic (= 0.3.0)
|
148
150
|
plupload-rails (1.2.1)
|
149
151
|
rails (>= 3.1)
|
150
|
-
powerbar (1.0.
|
151
|
-
ansi (~> 1.5.0)
|
152
|
+
powerbar (1.0.17)
|
152
153
|
hashie (>= 1.1.0)
|
153
154
|
rack (1.5.5)
|
154
155
|
rack-test (0.6.3)
|
@@ -161,50 +162,51 @@ GEM
|
|
161
162
|
bundler (>= 1.3.0, < 2.0)
|
162
163
|
railties (= 4.0.13)
|
163
164
|
sprockets-rails (~> 2.0)
|
164
|
-
rails-i18n (4.0.
|
165
|
-
i18n (~> 0.
|
165
|
+
rails-i18n (4.0.8)
|
166
|
+
i18n (~> 0.7)
|
166
167
|
railties (~> 4.0)
|
167
168
|
railties (4.0.13)
|
168
169
|
actionpack (= 4.0.13)
|
169
170
|
activesupport (= 4.0.13)
|
170
171
|
rake (>= 0.8.7)
|
171
172
|
thor (>= 0.18.1, < 2.0)
|
172
|
-
rake (
|
173
|
-
rdoc (4.2.
|
173
|
+
rake (11.1.2)
|
174
|
+
rdoc (4.2.2)
|
174
175
|
json (~> 1.4)
|
175
176
|
responders (1.1.2)
|
176
177
|
railties (>= 3.2, < 4.2)
|
177
|
-
ruby_parser (3.
|
178
|
+
ruby_parser (3.8.2)
|
178
179
|
sexp_processor (~> 4.1)
|
179
|
-
sass (3.4.
|
180
|
+
sass (3.4.22)
|
180
181
|
sass-rails (5.0.4)
|
181
182
|
railties (>= 4.0.0, < 5.0)
|
182
183
|
sass (~> 3.1)
|
183
184
|
sprockets (>= 2.8, < 4.0)
|
184
185
|
sprockets-rails (>= 2.0, < 4.0)
|
185
186
|
tilt (>= 1.1, < 3)
|
186
|
-
sexp_processor (4.
|
187
|
-
simplecov (0.
|
187
|
+
sexp_processor (4.7.0)
|
188
|
+
simplecov (0.11.2)
|
188
189
|
docile (~> 1.1.0)
|
189
190
|
json (~> 1.8)
|
190
191
|
simplecov-html (~> 0.10.0)
|
191
192
|
simplecov-html (0.10.0)
|
192
|
-
sprockets (3.
|
193
|
+
sprockets (3.6.0)
|
194
|
+
concurrent-ruby (~> 1.0)
|
193
195
|
rack (> 1, < 3)
|
194
196
|
sprockets-rails (2.3.3)
|
195
197
|
actionpack (>= 3.0)
|
196
198
|
activesupport (>= 3.0)
|
197
199
|
sprockets (>= 2.8, < 4.0)
|
198
|
-
sqlite3 (1.3.
|
200
|
+
sqlite3 (1.3.11)
|
199
201
|
thor (0.19.1)
|
200
202
|
thread_safe (0.3.5)
|
201
|
-
tilt (2.0.
|
202
|
-
tinymce-rails (4.
|
203
|
+
tilt (2.0.4)
|
204
|
+
tinymce-rails (4.3.12)
|
203
205
|
railties (>= 3.1.1)
|
204
|
-
tinymce-rails-langs (4.
|
205
|
-
tinymce-rails (~> 4.
|
206
|
-
tzinfo (0.3.
|
207
|
-
warden (1.2.
|
206
|
+
tinymce-rails-langs (4.20160310)
|
207
|
+
tinymce-rails (~> 4.1, >= 4.1.10)
|
208
|
+
tzinfo (0.3.49)
|
209
|
+
warden (1.2.6)
|
208
210
|
rack (>= 1.0)
|
209
211
|
|
210
212
|
PLATFORMS
|
@@ -220,3 +222,6 @@ DEPENDENCIES
|
|
220
222
|
rdoc
|
221
223
|
simplecov
|
222
224
|
sqlite3
|
225
|
+
|
226
|
+
BUNDLED WITH
|
227
|
+
1.10.6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.15
|
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.15"
|
6
6
|
|
7
7
|
s.authors = ["Melvin Sembrano"]
|
8
|
-
s.date = "
|
8
|
+
s.date = "2016-05-24"
|
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" ]
|
@@ -5,18 +5,8 @@ module Cms
|
|
5
5
|
def self.included(base)
|
6
6
|
|
7
7
|
base.class_eval do
|
8
|
-
=begin
|
9
|
-
def render_html(status = 200)
|
10
|
-
if @cms_layout = @cms_page.layout
|
11
|
-
app_layout = (@cms_layout.app_layout.blank? || request.xhr?) ? false : @cms_layout.app_layout
|
12
|
-
render :inline => @cms_page.content_cache, :layout => app_layout, :status => status, :content_type => 'text/html'
|
13
|
-
else
|
14
|
-
render :text => I18n.t('comfy.cms.content.layout_not_found'), :status => 404
|
15
|
-
end
|
16
|
-
end
|
17
|
-
=end
|
18
8
|
|
19
|
-
def
|
9
|
+
def render_page(status = 200)
|
20
10
|
cached_timeout = @cms_page.cached_timeout.to_i
|
21
11
|
|
22
12
|
if cached_timeout > 0
|
@@ -27,7 +17,7 @@ module Cms
|
|
27
17
|
if @cms_layout = @cms_page.layout
|
28
18
|
|
29
19
|
app_layout = (@cms_layout.app_layout.blank? || request.xhr?) ? false : @cms_layout.app_layout
|
30
|
-
render(:inline => @cms_page.content_cache, :layout => app_layout, :status => status, :content_type =>
|
20
|
+
render(:inline => @cms_page.content_cache, :layout => app_layout, :status => status, :content_type => mime_type) unless cached_timeout > 0 && performed?
|
31
21
|
else
|
32
22
|
render :text => I18n.t('cms.content.layout_not_found'), :status => 404
|
33
23
|
end
|
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.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Melvin Sembrano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -453,7 +453,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
453
453
|
version: '0'
|
454
454
|
requirements: []
|
455
455
|
rubyforge_project:
|
456
|
-
rubygems_version: 2.
|
456
|
+
rubygems_version: 2.4.5.1
|
457
457
|
signing_key:
|
458
458
|
specification_version: 4
|
459
459
|
summary: Comfortable Mexican Sofa (CMS) - User and role management extension
|