trusty-cms 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/INSTALL.md +2 -2
- data/coverage/index.html +1 -1
- data/lib/tasks/database.rake +18 -1
- data/lib/trusty_cms.rb +1 -1
- data/spec/dummy/log/test.log +4986 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa108eeb06b70493807dad5a32294529021e7eef
|
4
|
+
data.tar.gz: 7d925ee1fb71a2cc141e2b7f3a7d3b9712233f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84cca2ae046b73a26a5eb85ad256400fc1778c9a60eeeaca96a35c7a1969a48c39b6936e434714a15c5bb2ade9841d339dacbb6365b1dc541404ea2482abb874
|
7
|
+
data.tar.gz: 063a6ac7e32068bce5786166ea6ec2df3443e94a4c3b65fb20fb845f29f7b752769cc814702689702e49a97c6d0635854ad7e5719fc5f7f30d600d210c37b861
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (3.3.
|
4
|
+
trusty-cms (3.3.6)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
acts_as_list (~> 0.9.5)
|
7
7
|
acts_as_tree (~> 2.6.1)
|
@@ -75,7 +75,7 @@ GEM
|
|
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.14)
|
79
79
|
activerecord (>= 3.0)
|
80
80
|
acts_as_tree (2.6.1)
|
81
81
|
activerecord (>= 3.0.0)
|
@@ -130,12 +130,12 @@ GEM
|
|
130
130
|
erubi (1.7.1)
|
131
131
|
erubis (2.7.0)
|
132
132
|
execjs (2.7.0)
|
133
|
-
factory_bot (4.
|
133
|
+
factory_bot (4.10.0)
|
134
134
|
activesupport (>= 3.0.0)
|
135
|
-
factory_bot_rails (4.
|
136
|
-
factory_bot (~> 4.
|
135
|
+
factory_bot_rails (4.10.0)
|
136
|
+
factory_bot (~> 4.10.0)
|
137
137
|
railties (>= 3.0.0)
|
138
|
-
ffi (1.9.
|
138
|
+
ffi (1.9.25)
|
139
139
|
globalid (0.4.1)
|
140
140
|
activesupport (>= 4.2.0)
|
141
141
|
haml (5.0.4)
|
@@ -310,7 +310,7 @@ GEM
|
|
310
310
|
websocket-extensions (>= 0.1.0)
|
311
311
|
websocket-extensions (0.1.3)
|
312
312
|
will_paginate (3.1.6)
|
313
|
-
xpath (3.
|
313
|
+
xpath (3.1.0)
|
314
314
|
nokogiri (~> 1.8)
|
315
315
|
|
316
316
|
PLATFORMS
|
data/INSTALL.md
CHANGED
@@ -12,7 +12,7 @@ From within the directory containing your TrustyCMS instance:
|
|
12
12
|
|
13
13
|
4. Run the Trusty CMS generator to get the project into shape: `rails g trusty_cms [project_name]`.
|
14
14
|
- This will ask you if you want to replace a number of existing files (like application.rb); reply Y to all.
|
15
|
-
|
15
|
+
|
16
16
|
5. add config.extensions = [ :snippets, :clipped, :layouts, :multi_site ] to enable them in application.rb
|
17
17
|
|
18
|
-
6. Run `bundle exec rake db:setup`, then `bundle exec rake db:bootstrap`.
|
18
|
+
6. Run `bundle exec rake db:setup`, `bundle exec rake trusty_cms_engine:install:migrations`, then `bundle exec rake db:bootstrap`.
|
data/coverage/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<img src="./assets/0.10.2/loading.gif" alt="loading"/>
|
15
15
|
</div>
|
16
16
|
<div id="wrapper" style="display:none;">
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="2018-
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2018-06-06T08:46:26-04:00">2018-06-06T08:46:26-04:00</abbr></div>
|
18
18
|
<ul class="group_tabs"></ul>
|
19
19
|
|
20
20
|
<div id="content">
|
data/lib/tasks/database.rake
CHANGED
@@ -18,6 +18,24 @@ namespace :db do
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
+
task :remigrate => :environment do
|
22
|
+
require 'highline/import'
|
23
|
+
if ENV['OVERWRITE'].to_s.downcase == 'true' or agree("This task will destroy any data in the database. Are you sure you want to \ncontinue? [yn] ")
|
24
|
+
|
25
|
+
# Migrate downward
|
26
|
+
ActiveRecord::Migrator.migrate("#{TRUSTY_CMS_ROOT}/db/migrate/", 0)
|
27
|
+
|
28
|
+
# Migrate upward
|
29
|
+
Rake::Task["db:migrate"].invoke
|
30
|
+
|
31
|
+
# Dump the schema
|
32
|
+
Rake::Task["db:schema:dump"].invoke
|
33
|
+
else
|
34
|
+
say "Task cancelled."
|
35
|
+
exit
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
21
39
|
task :initialize => :environment do
|
22
40
|
require 'highline/import'
|
23
41
|
if ENV['OVERWRITE'].to_s.downcase == 'true' or agree("This task will destroy any data in the database. Are you sure you want to \ncontinue? [yn] ")
|
@@ -70,7 +88,6 @@ To add more extensions just add them to your Gemfile and run `bundle install`.
|
|
70
88
|
desc "Migrates the database through steps defined in the core trusty-cms distribution. Usual db:migrate options can apply."
|
71
89
|
task :trusty_cms => :environment do
|
72
90
|
ActiveRecord::Migration[5.2].verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
|
73
|
-
Rake::Task['railties:install:migrations'].invoke if !Rails.env.test?
|
74
91
|
Rake::Task['db:migrate'].invoke
|
75
92
|
end
|
76
93
|
end
|