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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16eea229bc772e862ce66db40422d745e602c8b3
4
- data.tar.gz: eed6ea9e7a1e5825584f975f7f412c2ae94c47d5
3
+ metadata.gz: aa108eeb06b70493807dad5a32294529021e7eef
4
+ data.tar.gz: 7d925ee1fb71a2cc141e2b7f3a7d3b9712233f5b
5
5
  SHA512:
6
- metadata.gz: 58aebe76ce374edcc476a9c2d838879c64c31b4a6123f2cbc73108df72ff8e85f0f616131cc2771255dddffea08239c999d23f2970105451a0cd47b707490205
7
- data.tar.gz: adc1ab8597c6a7aa5cb771aa37e388b0feff41c7fd017a23c149cc6c39b551147410b89d3f87ce39495d5a627b483b4e5e1272bb46b2745527c075f8bdc8b7b5
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.5)
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.11)
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.8.2)
133
+ factory_bot (4.10.0)
134
134
  activesupport (>= 3.0.0)
135
- factory_bot_rails (4.8.2)
136
- factory_bot (~> 4.8.2)
135
+ factory_bot_rails (4.10.0)
136
+ factory_bot (~> 4.10.0)
137
137
  railties (>= 3.0.0)
138
- ffi (1.9.23)
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.0.0)
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-05-11T15:44:02-04:00">2018-05-11T15:44:02-04:00</abbr></div>
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">
@@ -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
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '3.3.5'
5
+ VERSION = '3.3.6'
6
6
  end
7
7
  end