trusty-cms 3.5.2 → 3.5.3
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 +5 -5
- data/Gemfile +1 -1
- data/Gemfile.lock +70 -70
- data/app/assets/javascripts/admin/dropdown.js +2 -2
- data/app/assets/javascripts/admin/popup.js +1 -1
- data/app/assets/javascripts/admin/sortable.js +0 -1
- data/app/assets/javascripts/admin/utilities.js +1 -1
- data/app/assets/javascripts/ckeditor/config.js +1 -1
- data/app/assets/javascripts/rad_social/rad_ajax_form.js +1 -1
- data/lib/trusty_cms.rb +1 -1
- data/spec/factories/layout.rb +2 -2
- data/spec/factories/page.rb +6 -6
- data/spec/factories/page_part.rb +1 -1
- data/spec/factories/user.rb +18 -18
- data/trusty_cms.gemspec +1 -1
- metadata +17 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: dd2e2662ffd9f41819193530dcfd638a6c10bd39a4298657824ec08c6b75d768
|
|
4
|
+
data.tar.gz: 365c6b610ebdae703463c75d282827fa26b4051fbe9cc23e6f4ea5ec65c56ed8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2afd2a40a89dc62fc0f9920ff7594a0bfed4818b726a8b5c0963ad6cc09377e4d0fcc48b36003853c302cd23ce242622eb81a28fa573647326d0634bbe30a4e3
|
|
7
|
+
data.tar.gz: 963b6843c6094aa5e132852cd7075a61d18fe285b154a13f67965724e3a71e0a1f6a143e08e5b06f0fd760bc48dded1dbb61cf3550bfe72c7787bdb381ee73cf
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
trusty-cms (3.5.
|
|
4
|
+
trusty-cms (3.5.3)
|
|
5
5
|
RedCloth (= 4.3.2)
|
|
6
6
|
acts_as_list (~> 0.9.5)
|
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
|
@@ -13,6 +13,7 @@ PATH
|
|
|
13
13
|
haml-rails (~> 1.0.0)
|
|
14
14
|
highline (>= 1.7.8, < 2.1.0)
|
|
15
15
|
kraken-io
|
|
16
|
+
mini_racer
|
|
16
17
|
mysql2
|
|
17
18
|
paperclip (> 5.2)
|
|
18
19
|
rack (~> 2.0.1)
|
|
@@ -24,7 +25,6 @@ PATH
|
|
|
24
25
|
roadie-rails
|
|
25
26
|
sass-rails
|
|
26
27
|
stringex (>= 2.7.1, < 2.9.0)
|
|
27
|
-
therubyracer (~> 0.12.3)
|
|
28
28
|
tzinfo (~> 1.2.3)
|
|
29
29
|
uglifier (>= 3.2, < 5.0)
|
|
30
30
|
uuidtools (~> 2.1.5)
|
|
@@ -34,63 +34,64 @@ GEM
|
|
|
34
34
|
remote: https://rubygems.org/
|
|
35
35
|
specs:
|
|
36
36
|
RedCloth (4.3.2)
|
|
37
|
-
actioncable (5.2.
|
|
38
|
-
actionpack (= 5.2.
|
|
37
|
+
actioncable (5.2.3)
|
|
38
|
+
actionpack (= 5.2.3)
|
|
39
39
|
nio4r (~> 2.0)
|
|
40
40
|
websocket-driver (>= 0.6.1)
|
|
41
|
-
actionmailer (5.2.
|
|
42
|
-
actionpack (= 5.2.
|
|
43
|
-
actionview (= 5.2.
|
|
44
|
-
activejob (= 5.2.
|
|
41
|
+
actionmailer (5.2.3)
|
|
42
|
+
actionpack (= 5.2.3)
|
|
43
|
+
actionview (= 5.2.3)
|
|
44
|
+
activejob (= 5.2.3)
|
|
45
45
|
mail (~> 2.5, >= 2.5.4)
|
|
46
46
|
rails-dom-testing (~> 2.0)
|
|
47
|
-
actionpack (5.2.
|
|
48
|
-
actionview (= 5.2.
|
|
49
|
-
activesupport (= 5.2.
|
|
47
|
+
actionpack (5.2.3)
|
|
48
|
+
actionview (= 5.2.3)
|
|
49
|
+
activesupport (= 5.2.3)
|
|
50
50
|
rack (~> 2.0)
|
|
51
51
|
rack-test (>= 0.6.3)
|
|
52
52
|
rails-dom-testing (~> 2.0)
|
|
53
53
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
54
|
-
actionview (5.2.
|
|
55
|
-
activesupport (= 5.2.
|
|
54
|
+
actionview (5.2.3)
|
|
55
|
+
activesupport (= 5.2.3)
|
|
56
56
|
builder (~> 3.1)
|
|
57
57
|
erubi (~> 1.4)
|
|
58
58
|
rails-dom-testing (~> 2.0)
|
|
59
59
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
60
|
-
activejob (5.2.
|
|
61
|
-
activesupport (= 5.2.
|
|
60
|
+
activejob (5.2.3)
|
|
61
|
+
activesupport (= 5.2.3)
|
|
62
62
|
globalid (>= 0.3.6)
|
|
63
|
-
activemodel (5.2.
|
|
64
|
-
activesupport (= 5.2.
|
|
65
|
-
activerecord (5.2.
|
|
66
|
-
activemodel (= 5.2.
|
|
67
|
-
activesupport (= 5.2.
|
|
63
|
+
activemodel (5.2.3)
|
|
64
|
+
activesupport (= 5.2.3)
|
|
65
|
+
activerecord (5.2.3)
|
|
66
|
+
activemodel (= 5.2.3)
|
|
67
|
+
activesupport (= 5.2.3)
|
|
68
68
|
arel (>= 9.0)
|
|
69
|
-
activestorage (5.2.
|
|
70
|
-
actionpack (= 5.2.
|
|
71
|
-
activerecord (= 5.2.
|
|
69
|
+
activestorage (5.2.3)
|
|
70
|
+
actionpack (= 5.2.3)
|
|
71
|
+
activerecord (= 5.2.3)
|
|
72
72
|
marcel (~> 0.3.1)
|
|
73
|
-
activesupport (5.2.
|
|
73
|
+
activesupport (5.2.3)
|
|
74
74
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
75
75
|
i18n (>= 0.7, < 2)
|
|
76
76
|
minitest (~> 5.1)
|
|
77
77
|
tzinfo (~> 1.1)
|
|
78
|
-
acts_as_list (0.9.
|
|
78
|
+
acts_as_list (0.9.19)
|
|
79
79
|
activerecord (>= 3.0)
|
|
80
80
|
acts_as_tree (2.8.0)
|
|
81
81
|
activerecord (>= 3.0.0)
|
|
82
|
-
addressable (2.
|
|
82
|
+
addressable (2.6.0)
|
|
83
83
|
public_suffix (>= 2.0.2, < 4.0)
|
|
84
84
|
arel (9.0.0)
|
|
85
85
|
builder (3.2.3)
|
|
86
|
-
byebug (
|
|
87
|
-
capybara (3.
|
|
86
|
+
byebug (11.0.1)
|
|
87
|
+
capybara (3.16.1)
|
|
88
88
|
addressable
|
|
89
89
|
mini_mime (>= 0.1.3)
|
|
90
90
|
nokogiri (~> 1.8)
|
|
91
91
|
rack (>= 1.6.0)
|
|
92
92
|
rack-test (>= 0.6.3)
|
|
93
|
-
|
|
93
|
+
regexp_parser (~> 1.2)
|
|
94
|
+
xpath (~> 3.2)
|
|
94
95
|
ckeditor (4.2.4)
|
|
95
96
|
cocaine
|
|
96
97
|
orm_adapter (~> 0.5.0)
|
|
@@ -101,7 +102,7 @@ GEM
|
|
|
101
102
|
codeclimate-test-reporter (1.0.9)
|
|
102
103
|
simplecov (<= 0.13)
|
|
103
104
|
coderay (1.1.2)
|
|
104
|
-
concurrent-ruby (1.1.
|
|
105
|
+
concurrent-ruby (1.1.5)
|
|
105
106
|
crass (1.0.4)
|
|
106
107
|
css_parser (1.7.0)
|
|
107
108
|
addressable
|
|
@@ -130,7 +131,7 @@ GEM
|
|
|
130
131
|
haml (>= 4.0.6, < 6.0)
|
|
131
132
|
html2haml (>= 1.0.1)
|
|
132
133
|
railties (>= 4.0.1)
|
|
133
|
-
highline (2.0.
|
|
134
|
+
highline (2.0.2)
|
|
134
135
|
html2haml (2.2.0)
|
|
135
136
|
erubis (~> 2.7.0)
|
|
136
137
|
haml (>= 4.0, < 6)
|
|
@@ -139,9 +140,9 @@ GEM
|
|
|
139
140
|
httparty (0.16.4)
|
|
140
141
|
mime-types (~> 3.0)
|
|
141
142
|
multi_xml (>= 0.5.2)
|
|
142
|
-
i18n (1.
|
|
143
|
+
i18n (1.6.0)
|
|
143
144
|
concurrent-ruby (~> 1.0)
|
|
144
|
-
json (2.
|
|
145
|
+
json (2.2.0)
|
|
145
146
|
kraken-io (0.1.3)
|
|
146
147
|
activesupport
|
|
147
148
|
httparty
|
|
@@ -149,7 +150,7 @@ GEM
|
|
|
149
150
|
multipart-post
|
|
150
151
|
launchy (2.4.3)
|
|
151
152
|
addressable (~> 2.3)
|
|
152
|
-
libv8 (
|
|
153
|
+
libv8 (6.7.288.46.1)
|
|
153
154
|
loofah (2.2.3)
|
|
154
155
|
crass (~> 1.0.2)
|
|
155
156
|
nokogiri (>= 1.5.9)
|
|
@@ -160,16 +161,18 @@ GEM
|
|
|
160
161
|
method_source (0.9.2)
|
|
161
162
|
mime-types (3.2.2)
|
|
162
163
|
mime-types-data (~> 3.2015)
|
|
163
|
-
mime-types-data (3.
|
|
164
|
+
mime-types-data (3.2019.0331)
|
|
164
165
|
mimemagic (0.3.3)
|
|
165
166
|
mini_mime (1.0.1)
|
|
166
167
|
mini_portile2 (2.4.0)
|
|
168
|
+
mini_racer (0.2.4)
|
|
169
|
+
libv8 (>= 6.3)
|
|
167
170
|
minitest (5.11.3)
|
|
168
171
|
multi_xml (0.6.0)
|
|
169
172
|
multipart-post (2.0.0)
|
|
170
173
|
mysql2 (0.5.2)
|
|
171
174
|
nio4r (2.3.1)
|
|
172
|
-
nokogiri (1.10.
|
|
175
|
+
nokogiri (1.10.2)
|
|
173
176
|
mini_portile2 (~> 2.4.0)
|
|
174
177
|
orm_adapter (0.5.0)
|
|
175
178
|
paperclip (6.1.0)
|
|
@@ -182,31 +185,31 @@ GEM
|
|
|
182
185
|
capybara (>= 2.1, < 4)
|
|
183
186
|
cliver (~> 0.3.1)
|
|
184
187
|
websocket-driver (>= 0.2.0)
|
|
185
|
-
pry (0.
|
|
188
|
+
pry (0.12.2)
|
|
186
189
|
coderay (~> 1.1.0)
|
|
187
190
|
method_source (~> 0.9.0)
|
|
188
|
-
pry-byebug (3.
|
|
189
|
-
byebug (~>
|
|
191
|
+
pry-byebug (3.7.0)
|
|
192
|
+
byebug (~> 11.0)
|
|
190
193
|
pry (~> 0.10)
|
|
191
|
-
public_suffix (3.0.
|
|
192
|
-
rack (2.0.
|
|
193
|
-
rack-cache (1.
|
|
194
|
+
public_suffix (3.0.3)
|
|
195
|
+
rack (2.0.7)
|
|
196
|
+
rack-cache (1.9.0)
|
|
194
197
|
rack (>= 0.4)
|
|
195
198
|
rack-test (1.1.0)
|
|
196
199
|
rack (>= 1.0, < 3)
|
|
197
|
-
radius (0.7.
|
|
198
|
-
rails (5.2.
|
|
199
|
-
actioncable (= 5.2.
|
|
200
|
-
actionmailer (= 5.2.
|
|
201
|
-
actionpack (= 5.2.
|
|
202
|
-
actionview (= 5.2.
|
|
203
|
-
activejob (= 5.2.
|
|
204
|
-
activemodel (= 5.2.
|
|
205
|
-
activerecord (= 5.2.
|
|
206
|
-
activestorage (= 5.2.
|
|
207
|
-
activesupport (= 5.2.
|
|
200
|
+
radius (0.7.5)
|
|
201
|
+
rails (5.2.3)
|
|
202
|
+
actioncable (= 5.2.3)
|
|
203
|
+
actionmailer (= 5.2.3)
|
|
204
|
+
actionpack (= 5.2.3)
|
|
205
|
+
actionview (= 5.2.3)
|
|
206
|
+
activejob (= 5.2.3)
|
|
207
|
+
activemodel (= 5.2.3)
|
|
208
|
+
activerecord (= 5.2.3)
|
|
209
|
+
activestorage (= 5.2.3)
|
|
210
|
+
activesupport (= 5.2.3)
|
|
208
211
|
bundler (>= 1.3.0)
|
|
209
|
-
railties (= 5.2.
|
|
212
|
+
railties (= 5.2.3)
|
|
210
213
|
sprockets-rails (>= 2.0.0)
|
|
211
214
|
rails-dom-testing (2.0.3)
|
|
212
215
|
activesupport (>= 4.2.0)
|
|
@@ -215,9 +218,9 @@ GEM
|
|
|
215
218
|
loofah (~> 2.2, >= 2.2.2)
|
|
216
219
|
rails-observers (0.1.5)
|
|
217
220
|
activemodel (>= 4.0)
|
|
218
|
-
railties (5.2.
|
|
219
|
-
actionpack (= 5.2.
|
|
220
|
-
activesupport (= 5.2.
|
|
221
|
+
railties (5.2.3)
|
|
222
|
+
actionpack (= 5.2.3)
|
|
223
|
+
activesupport (= 5.2.3)
|
|
221
224
|
method_source
|
|
222
225
|
rake (>= 0.8.7)
|
|
223
226
|
thor (>= 0.19.0, < 2.0)
|
|
@@ -226,12 +229,12 @@ GEM
|
|
|
226
229
|
rb-inotify (0.10.0)
|
|
227
230
|
ffi (~> 1.0)
|
|
228
231
|
rdoc (6.1.1)
|
|
229
|
-
|
|
232
|
+
regexp_parser (1.4.0)
|
|
230
233
|
roadie (3.4.0)
|
|
231
234
|
css_parser (~> 1.4)
|
|
232
235
|
nokogiri (~> 1.5)
|
|
233
|
-
roadie-rails (
|
|
234
|
-
railties (>=
|
|
236
|
+
roadie-rails (2.0.0)
|
|
237
|
+
railties (>= 5.1, < 5.3)
|
|
235
238
|
roadie (~> 3.1)
|
|
236
239
|
rspec-core (3.8.0)
|
|
237
240
|
rspec-support (~> 3.8.0)
|
|
@@ -250,9 +253,9 @@ GEM
|
|
|
250
253
|
rspec-mocks (~> 3.8.0)
|
|
251
254
|
rspec-support (~> 3.8.0)
|
|
252
255
|
rspec-support (3.8.0)
|
|
253
|
-
ruby_parser (3.
|
|
256
|
+
ruby_parser (3.13.1)
|
|
254
257
|
sexp_processor (~> 4.9)
|
|
255
|
-
sass (3.7.
|
|
258
|
+
sass (3.7.4)
|
|
256
259
|
sass-listen (~> 4.0.0)
|
|
257
260
|
sass-listen (4.0.0)
|
|
258
261
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
@@ -263,7 +266,7 @@ GEM
|
|
|
263
266
|
sprockets (>= 2.8, < 4.0)
|
|
264
267
|
sprockets-rails (>= 2.0, < 4.0)
|
|
265
268
|
tilt (>= 1.1, < 3)
|
|
266
|
-
sexp_processor (4.
|
|
269
|
+
sexp_processor (4.12.0)
|
|
267
270
|
simplecov (0.13.0)
|
|
268
271
|
docile (~> 1.1.0)
|
|
269
272
|
json (>= 1.8, < 3)
|
|
@@ -277,12 +280,9 @@ GEM
|
|
|
277
280
|
activesupport (>= 4.0)
|
|
278
281
|
sprockets (>= 3.0.0)
|
|
279
282
|
stringex (2.8.5)
|
|
280
|
-
temple (0.8.
|
|
283
|
+
temple (0.8.1)
|
|
281
284
|
terrapin (0.6.0)
|
|
282
285
|
climate_control (>= 0.0.3, < 1.0)
|
|
283
|
-
therubyracer (0.12.3)
|
|
284
|
-
libv8 (~> 3.16.14.15)
|
|
285
|
-
ref
|
|
286
286
|
thor (0.20.3)
|
|
287
287
|
thread_safe (0.3.6)
|
|
288
288
|
tilt (2.0.9)
|
|
@@ -296,8 +296,8 @@ GEM
|
|
|
296
296
|
websocket-driver (0.7.0)
|
|
297
297
|
websocket-extensions (>= 0.1.0)
|
|
298
298
|
websocket-extensions (0.1.3)
|
|
299
|
-
will_paginate (3.1.
|
|
300
|
-
xpath (3.
|
|
299
|
+
will_paginate (3.1.7)
|
|
300
|
+
xpath (3.2.0)
|
|
301
301
|
nokogiri (~> 1.8)
|
|
302
302
|
|
|
303
303
|
PLATFORMS
|
|
@@ -307,7 +307,7 @@ DEPENDENCIES
|
|
|
307
307
|
acts_as_list
|
|
308
308
|
codeclimate-test-reporter
|
|
309
309
|
database_cleaner
|
|
310
|
-
factory_bot_rails
|
|
310
|
+
factory_bot_rails (= 4.11.1)
|
|
311
311
|
launchy (~> 2.4.2)
|
|
312
312
|
mysql2
|
|
313
313
|
poltergeist (~> 1.18.1)
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
$(this).toggleClass('selected');
|
|
10
10
|
Dropdown.findMenu(this).closest('.dropdown_wrapper').slideToggle();
|
|
11
11
|
})
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
Dropdown.findMenu = function(link) {
|
|
16
|
-
var match = $(link).attr('href').match(
|
|
16
|
+
var match = $(link).attr('href').match(/#(.+)$/)[1];
|
|
17
17
|
return $('#' + match);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Non namespaced. At least they're not monkeypatching core javascript objects, ok?
|
|
2
2
|
|
|
3
3
|
var toSlug = function(string) {
|
|
4
|
-
return string.trim().toLowerCase().replace(/[^-a-z0-9~\s
|
|
4
|
+
return string.trim().toLowerCase().replace(/[^-a-z0-9~\s.:;+=_]/g, '').replace(/[\s.:;=+]+/g, '-');
|
|
5
5
|
}
|
|
@@ -2,7 +2,7 @@ CKEDITOR.editorConfig = function( config ) {
|
|
|
2
2
|
config.allowedContent = true;
|
|
3
3
|
config.removeFormatTags = "";
|
|
4
4
|
config.protectedSource.push(/<r:([\S]+).*<\/r:\1>/g);
|
|
5
|
-
config.protectedSource.push(/<r:[
|
|
5
|
+
config.protectedSource.push(/<r:[^>/]*\/>/g);
|
|
6
6
|
|
|
7
7
|
config.forcePasteAsPlainText = true;
|
|
8
8
|
// if you want to remove clipboard, you have to remove all of these:
|
data/lib/trusty_cms.rb
CHANGED
data/spec/factories/layout.rb
CHANGED
data/spec/factories/page.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
FactoryBot.define do
|
|
2
2
|
factory :page do
|
|
3
|
-
title 'Page'
|
|
3
|
+
title { 'Page' }
|
|
4
4
|
breadcrumb { title }
|
|
5
5
|
slug { title.slugify }
|
|
6
6
|
|
|
@@ -28,7 +28,7 @@ FactoryBot.define do
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
factory :published_page do
|
|
31
|
-
status_id Status[:published].id
|
|
31
|
+
status_id { Status[:published].id }
|
|
32
32
|
|
|
33
33
|
factory :article do
|
|
34
34
|
title { generate(:article_title)}
|
|
@@ -46,10 +46,10 @@ FactoryBot.define do
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
factory :home do |home|
|
|
49
|
-
title 'Home'
|
|
50
|
-
slug '/'
|
|
51
|
-
status_id Status[:published].id
|
|
52
|
-
parent_id nil
|
|
49
|
+
title { 'Home' }
|
|
50
|
+
slug { '/' }
|
|
51
|
+
status_id { Status[:published].id }
|
|
52
|
+
parent_id { nil }
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
end
|
data/spec/factories/page_part.rb
CHANGED
data/spec/factories/user.rb
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
FactoryBot.define do
|
|
2
2
|
factory :user do
|
|
3
|
-
name 'User'
|
|
4
|
-
email 'email@test.com'
|
|
5
|
-
login 'user'
|
|
6
|
-
password 'password'
|
|
3
|
+
name { 'User' }
|
|
4
|
+
email { 'email@test.com' }
|
|
5
|
+
login { 'user' }
|
|
6
|
+
password { 'password' }
|
|
7
7
|
password_confirmation { password }
|
|
8
8
|
|
|
9
9
|
factory :admin do
|
|
10
|
-
name 'Admin'
|
|
11
|
-
login 'admin'
|
|
12
|
-
email 'admin@example.com'
|
|
13
|
-
admin true
|
|
10
|
+
name { 'Admin' }
|
|
11
|
+
login { 'admin' }
|
|
12
|
+
email { 'admin@example.com' }
|
|
13
|
+
admin { true }
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
factory :existing do
|
|
17
|
-
name 'Existing'
|
|
18
|
-
login 'existing'
|
|
19
|
-
email 'existing@example.com'
|
|
17
|
+
name { 'Existing' }
|
|
18
|
+
login { 'existing' }
|
|
19
|
+
email { 'existing@example.com' }
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
factory :designer do
|
|
23
|
-
name 'Designer'
|
|
24
|
-
login 'designer'
|
|
25
|
-
email ''
|
|
26
|
-
designer true
|
|
23
|
+
name { 'Designer' }
|
|
24
|
+
login { 'designer' }
|
|
25
|
+
email { '' }
|
|
26
|
+
designer { true }
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
factory :non_admin do
|
|
30
|
-
name 'Non Admin'
|
|
31
|
-
login 'non_admin'
|
|
32
|
-
admin false
|
|
30
|
+
name { 'Non Admin' }
|
|
31
|
+
login { 'non_admin' }
|
|
32
|
+
admin { false }
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
end
|
data/trusty_cms.gemspec
CHANGED
|
@@ -33,6 +33,7 @@ a general purpose content managment system--not merely a blogging engine.}
|
|
|
33
33
|
s.add_dependency 'highline', '>= 1.7.8', '< 2.1.0'
|
|
34
34
|
s.add_dependency 'kraken-io'
|
|
35
35
|
s.add_dependency 'mysql2'
|
|
36
|
+
s.add_dependency 'mini_racer'
|
|
36
37
|
s.add_dependency 'paperclip', '> 5.2'
|
|
37
38
|
s.add_dependency 'rack', '~> 2.0.1'
|
|
38
39
|
s.add_dependency 'rack-cache', '~> 1.7'
|
|
@@ -44,7 +45,6 @@ a general purpose content managment system--not merely a blogging engine.}
|
|
|
44
45
|
s.add_dependency 'roadie-rails'
|
|
45
46
|
s.add_dependency 'sass-rails'
|
|
46
47
|
s.add_dependency 'stringex', '>= 2.7.1', '< 2.9.0'
|
|
47
|
-
s.add_dependency 'therubyracer', '~> 0.12.3'
|
|
48
48
|
s.add_dependency 'tzinfo', '~> 1.2.3'
|
|
49
49
|
s.add_dependency 'uglifier', '>= 3.2', '< 5.0'
|
|
50
50
|
s.add_dependency 'uuidtools', '~> 2.1.5'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TrustyCms CMS dev team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: acts_as_list
|
|
@@ -188,6 +188,20 @@ dependencies:
|
|
|
188
188
|
- - ">="
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
190
|
version: '0'
|
|
191
|
+
- !ruby/object:Gem::Dependency
|
|
192
|
+
name: mini_racer
|
|
193
|
+
requirement: !ruby/object:Gem::Requirement
|
|
194
|
+
requirements:
|
|
195
|
+
- - ">="
|
|
196
|
+
- !ruby/object:Gem::Version
|
|
197
|
+
version: '0'
|
|
198
|
+
type: :runtime
|
|
199
|
+
prerelease: false
|
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
201
|
+
requirements:
|
|
202
|
+
- - ">="
|
|
203
|
+
- !ruby/object:Gem::Version
|
|
204
|
+
version: '0'
|
|
191
205
|
- !ruby/object:Gem::Dependency
|
|
192
206
|
name: paperclip
|
|
193
207
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -354,20 +368,6 @@ dependencies:
|
|
|
354
368
|
- - "<"
|
|
355
369
|
- !ruby/object:Gem::Version
|
|
356
370
|
version: 2.9.0
|
|
357
|
-
- !ruby/object:Gem::Dependency
|
|
358
|
-
name: therubyracer
|
|
359
|
-
requirement: !ruby/object:Gem::Requirement
|
|
360
|
-
requirements:
|
|
361
|
-
- - "~>"
|
|
362
|
-
- !ruby/object:Gem::Version
|
|
363
|
-
version: 0.12.3
|
|
364
|
-
type: :runtime
|
|
365
|
-
prerelease: false
|
|
366
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
367
|
-
requirements:
|
|
368
|
-
- - "~>"
|
|
369
|
-
- !ruby/object:Gem::Version
|
|
370
|
-
version: 0.12.3
|
|
371
371
|
- !ruby/object:Gem::Dependency
|
|
372
372
|
name: tzinfo
|
|
373
373
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -1483,8 +1483,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1483
1483
|
- !ruby/object:Gem::Version
|
|
1484
1484
|
version: 1.3.1
|
|
1485
1485
|
requirements: []
|
|
1486
|
-
|
|
1487
|
-
rubygems_version: 2.6.13
|
|
1486
|
+
rubygems_version: 3.0.1
|
|
1488
1487
|
signing_key:
|
|
1489
1488
|
specification_version: 4
|
|
1490
1489
|
summary: A no-fluff content management system designed for small teams.
|