trusty-cms 2.0.28 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@
33
33
  }
34
34
 
35
35
  TabControl.addTab = function(tabText) {
36
- $('div#tab_control .tabs').append("<a id='tab_" + tabText + "' href='#' class='tab'><span>" + tabText + "</span><img src='" + relative_url_root + "<%= asset_path('admin/tab_close.png') %>' class='close' alt='Remove part' title='Remove part' /></a>");
36
+ $('div#tab_control .tabs').append("<a id='tab_" + tabText + "' href='#' class='tab'><span>" + tabText + "</span><img src='" + ActionController::Base.relative_url_root + "<%= asset_path('admin/tab_close.png') %>' class='close' alt='Remove part' title='Remove part' /></a>");
37
37
  var $page_part_index = $('#page_part_index_field');
38
38
  $page_part_index.val(parseInt($page_part_index.val()) + 1);
39
39
  }
@@ -5,7 +5,7 @@ class Admin::ConfigurationController < ApplicationController
5
5
  # Note that configuration is routed as a singular resource so we only deal with show/edit/update
6
6
  # and the show and edit views determine what set of config values is shown and made editable.
7
7
 
8
- before_filter :initialize_config
8
+ before_action :initialize_config
9
9
 
10
10
  only_allow_access_to :edit, :update,
11
11
  :when => [:admin],
@@ -1,6 +1,6 @@
1
1
  class Admin::PagesController < Admin::ResourceController
2
- before_filter :initialize_meta_rows_and_buttons, :only => [:new, :edit, :create, :update]
3
- before_filter :count_deleted_pages, :only => [:destroy]
2
+ before_action :initialize_meta_rows_and_buttons, :only => [:new, :edit, :create, :update]
3
+ before_action :count_deleted_pages, :only => [:destroy]
4
4
  rescue_from ActiveRecord::RecordInvalid, :with => :validation_error
5
5
 
6
6
  class PreviewStop < ActiveRecord::Rollback
@@ -1,6 +1,6 @@
1
1
  class Admin::PasswordResetsController < ApplicationController
2
2
  no_login_required
3
- skip_before_filter :verify_authenticity_token
3
+ skip_before_action :verify_authenticity_token
4
4
 
5
5
  def create
6
6
  user = User.find_by_email(params[:email])
@@ -1,5 +1,5 @@
1
1
  class Admin::PreferencesController < ApplicationController
2
- before_filter :initialize_variables
2
+ before_action :initialize_variables
3
3
 
4
4
  def show
5
5
  set_standard_body_style
@@ -3,11 +3,11 @@ class Admin::ResourceController < ApplicationController
3
3
  extend TrustyCms::ResourceResponses
4
4
 
5
5
  helper_method :model, :current_object, :models, :current_objects, :model_symbol, :plural_model_symbol, :model_class, :model_name, :plural_model_name
6
- before_filter :populate_format
7
- before_filter :never_cache
8
- before_filter :load_models, :only => :index
9
- before_filter :load_model, :only => [:new, :create, :edit, :update, :remove, :destroy]
10
- after_filter :clear_model_cache, :only => [:create, :update, :destroy]
6
+ before_action :populate_format
7
+ before_action :never_cache
8
+ before_action :load_models, :only => :index
9
+ before_action :load_model, :only => [:new, :create, :edit, :update, :remove, :destroy]
10
+ after_action :clear_model_cache, :only => [:create, :update, :destroy]
11
11
 
12
12
  cattr_reader :paginated
13
13
  cattr_accessor :default_per_page, :will_paginate_options
@@ -5,7 +5,7 @@ class Admin::UsersController < Admin::ResourceController
5
5
  :denied_url => { :controller => 'pages', :action => 'index' },
6
6
  :denied_message => 'You must have administrative privileges to perform this action.'
7
7
 
8
- before_filter :ensure_deletable, :only => [:remove, :destroy]
8
+ before_action :ensure_deletable, :only => [:remove, :destroy]
9
9
 
10
10
  def show
11
11
  redirect_to edit_admin_user_path(params[:id])
@@ -1,7 +1,7 @@
1
1
  class Admin::WelcomeController < ApplicationController
2
2
  no_login_required
3
- before_filter :never_cache
4
- skip_before_filter :verify_authenticity_token
3
+ before_action :never_cache
4
+ skip_before_action :verify_authenticity_token
5
5
 
6
6
  def index
7
7
  redirect_to admin_pages_path
@@ -8,13 +8,13 @@ class ApplicationController < ActionController::Base
8
8
 
9
9
  protect_from_forgery
10
10
 
11
- before_filter :set_current_user
12
- before_filter :set_timezone
13
- before_filter :set_user_locale
14
- before_filter :set_javascripts_and_stylesheets
15
- before_filter :force_utf8_params if RUBY_VERSION =~ /1\.9/
16
- before_filter :set_standard_body_style, :only => [:new, :edit, :update, :create]
17
- before_filter :set_mailer
11
+ before_action :set_current_user
12
+ before_action :set_timezone
13
+ before_action :set_user_locale
14
+ before_action :set_javascripts_and_stylesheets
15
+ before_action :force_utf8_params if RUBY_VERSION =~ /1\.9/
16
+ before_action :set_standard_body_style, :only => [:new, :edit, :update, :create]
17
+ before_action :set_mailer
18
18
 
19
19
  attr_accessor :trusty_config, :cache
20
20
  attr_reader :pagination_parameters
@@ -2,7 +2,7 @@ require 'trusty_cms/pagination/controller'
2
2
  class SiteController < ApplicationController
3
3
  include TrustyCms::Pagination::Controller
4
4
 
5
- skip_filter :verify_authenticity_token
5
+ skip_before_action :verify_authenticity_token
6
6
  no_login_required
7
7
 
8
8
  def self.cache_timeout=(val)
@@ -40,17 +40,17 @@ class SiteController < ApplicationController
40
40
  def cacheable_request?
41
41
  (request.head? || request.get?) && live?
42
42
  end
43
- hide_action :cacheable_request?
43
+ # hide_action :cacheable_request?
44
44
 
45
45
  def set_expiry(time, options={})
46
46
  expires_in time, options
47
47
  end
48
- hide_action :set_expiry
48
+ # hide_action :set_expiry
49
49
 
50
50
  def set_etag(val)
51
51
  headers['ETag'] = val
52
52
  end
53
- hide_action :set_expiry
53
+ # hide_action :set_expiry
54
54
 
55
55
  private
56
56
  def batch_page_status_refresh
@@ -20,7 +20,7 @@ module Admin::ConfigurationHelper
20
20
  html << content_tag(:span, value, :id => domkey, :class => options[:class])
21
21
  end
22
22
  html << content_tag(:span, " #{t("units.#{setting.units}")}", :class => 'units') if setting.units
23
- html << content_tag(:span, " #{t('warning')}: #{[setting.errors.get(:value)].flatten.first}", :class => 'warning') if setting.errors.get(:value)
23
+ html << content_tag(:span, " #{t('warning')}: #{[setting.errors[:value]].flatten.first}", :class => 'warning') if setting.errors
24
24
  Rails.logger.error(html)
25
25
  html.html_safe
26
26
  end
data/app/models/page.rb CHANGED
@@ -9,7 +9,7 @@ class Page < ActiveRecord::Base
9
9
  before_save :update_virtual, :update_status, :set_allowed_children_cache
10
10
 
11
11
  # Associations
12
- acts_as_tree :order => 'title ASC'
12
+ acts_as_tree :order => 'virtual DESC, title ASC'
13
13
  has_many :parts, {:class_name => 'PagePart', :dependent => :destroy}, -> {order(:id)}
14
14
  accepts_nested_attributes_for :parts, :allow_destroy => true
15
15
  has_many :fields, {:class_name => 'PageField', :dependent => :destroy}, -> {order(:id)}
@@ -38,13 +38,11 @@ TrustyCms::Application.configure do
38
38
  config.action_mailer.delivery_method = :test
39
39
 
40
40
  # Configure static asset server for tests with Cache-Control for performance
41
- config.serve_static_files = true
42
- config.static_cache_control = "public, max-age=3600"
41
+ config.public_file_server.enabled = true
42
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
43
43
 
44
44
  # Raise exceptions instead of rendering exception templates
45
45
  config.action_dispatch.show_exceptions = false
46
46
 
47
47
  config.active_support.deprecation = :stderr
48
48
  end
49
-
50
-
@@ -0,0 +1,2 @@
1
+ Rails.application.config.assets.precompile += ['*.png',
2
+ '*.gif']
@@ -1,2 +1,2 @@
1
1
  # The following code alters Rails MissingSourceFile to catch errors in Ruby 1.9.3
2
- MissingSourceFile::REGEXPS.push([/^cannot load such file -- (.+)$/i, 1])
2
+ # MissingSourceFile::REGEXPS.push([/^cannot load such file -- (.+)$/i, 1])
data/lib/login_system.rb CHANGED
@@ -2,8 +2,8 @@ module LoginSystem
2
2
  def self.included(base)
3
3
  base.extend ClassMethods
4
4
  base.class_eval do
5
- prepend_before_filter :authenticate
6
- prepend_before_filter :authorize
5
+ prepend_before_action :authenticate
6
+ prepend_before_action :authorize
7
7
  helper_method :current_user
8
8
  end
9
9
  end
@@ -73,7 +73,7 @@ module LoginSystem
73
73
  end
74
74
 
75
75
  def login_from_http
76
- if [Mime::XML, Mime::JSON].include?(request.format)
76
+ if [Mime[:xml], Mime[:json]].include?(request.format)
77
77
  authenticate_with_http_basic do |user_name, password|
78
78
  User.authenticate(user_name, password)
79
79
  end
@@ -86,8 +86,8 @@ module LoginSystem
86
86
 
87
87
  module ClassMethods
88
88
  def no_login_required
89
- skip_before_filter :authenticate
90
- skip_before_filter :authorize
89
+ skip_before_action :authenticate
90
+ skip_before_action :authorize
91
91
  # puts _process_action_callbacks.map(&:filter)
92
92
  end
93
93
 
@@ -97,7 +97,7 @@ module LoginSystem
97
97
 
98
98
  def login_required
99
99
  unless login_required?
100
- prepend_before_filter :authenticate, :authorize
100
+ prepend_before_action :authenticate, :authorize
101
101
  end
102
102
  end
103
103
 
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 = "2.0.28"
5
+ VERSION = "3.0.0"
6
6
  end
7
7
  end
@@ -25,7 +25,7 @@ module TrustyCms
25
25
  def self.included(base)
26
26
  base.class_eval {
27
27
  helper_method :pagination_parameters
28
- before_filter :configure_pagination
28
+ before_action :configure_pagination
29
29
  }
30
30
  end
31
31
  end
@@ -46,9 +46,9 @@ describe ApplicationController, :type => :controller do
46
46
 
47
47
  describe "set_timezone" do
48
48
  it "should use TrustyCms::Config['local.timezone']" do
49
- TrustyCms::Config['local.timezone'] = 'Kuala Lumpur'
49
+ TrustyCms::Config['local.timezone'] = 'UTC'
50
50
  controller.send(:set_timezone)
51
- expect(Time.zone.name).to eq('Kuala Lumpur')
51
+ expect(Time.zone.name).to eq('UTC')
52
52
  end
53
53
 
54
54
  it "should default to config.time_zone" do
@@ -45,6 +45,7 @@ module TrustyCms
45
45
  config.i18n.load_path = radiant_locale_paths + extension_loader.paths(:locale)
46
46
 
47
47
  config.encoding = 'utf-8'
48
+ config.time_zone = 'UTC'
48
49
  # Skip frameworks you're not going to use (only works if using vendor/rails).
49
50
  # To use Rails without a database, you must remove the Active Record framework
50
51
  # config.frameworks -= [ :action_mailer ]
@@ -22,7 +22,7 @@ Rails.application.configure do
22
22
 
23
23
  # Disable serving static files from the `/public` folder by default since
24
24
  # Apache or NGINX already handles this.
25
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
25
+ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
26
 
27
27
  # Compress JavaScripts and CSS.
28
28
  config.assets.js_compressor = :uglifier
@@ -13,8 +13,8 @@ TrustyCms::Application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
@@ -31,8 +31,8 @@ describe 'Pages' do
31
31
  Page.create!(title: 'Voyager Home', breadcrumb: 'Home', slug: '/')
32
32
  visit '/admin/pages'
33
33
  end
34
-
35
-
34
+
35
+
36
36
  it 'lets you edit the homepage' do
37
37
  click_link 'Voyager Home'
38
38
 
data/trusty_cms.gemspec CHANGED
@@ -24,28 +24,28 @@ a general purpose content managment system--not merely a blogging engine.}
24
24
  s.license = %q{MIT}
25
25
  s.test_files = Dir["spec/**/*"]
26
26
 
27
- s.add_dependency "tzinfo", "~> 1.2"
28
- s.add_dependency "rails", "~> 4.2"
29
- s.add_dependency "protected_attributes", '~> 1.1.4'
30
- s.add_dependency "jquery-rails", "~> 3.1"
31
- s.add_dependency "rdoc", "~> 3.9"
32
- s.add_dependency "acts_as_tree", "~> 2.1"
27
+ s.add_dependency "tzinfo", "~> 1.2.3"
28
+ s.add_dependency "rails", "~> 5.0.2"
29
+ s.add_dependency "rdoc", "~> 5.1"
30
+ s.add_dependency "acts_as_tree", "~> 2.6.1"
33
31
  s.add_dependency "bundler", "~> 1.7"
34
- s.add_dependency "compass-rails", "~> 2.0"
35
32
  s.add_dependency "delocalize", "~> 0.2"
36
- s.add_dependency "haml", "~> 4.0"
37
- s.add_dependency "haml-rails", "~> 0.5" # 0.5 is rails 4+ only
38
- s.add_dependency "highline", "~> 1.6"
33
+ s.add_dependency "haml", "~> 5.0"
34
+ s.add_dependency "haml-rails", "~> 1.0.0"
35
+ s.add_dependency "sass-rails", "~> 5.0.6"
36
+ s.add_dependency "jquery-rails", "~> 4.3.1"
37
+ s.add_dependency "compass-rails", "~> 3.0.2"
38
+ s.add_dependency "highline", "~> 1.7.8"
39
39
  s.add_dependency "mysql2", "~> 0.4.2"
40
- s.add_dependency "rack", "~> 1.4"
41
- s.add_dependency "rack-cache", "~> 1.2"
40
+ s.add_dependency "rack", "~> 2.0.1"
41
+ s.add_dependency "rack-cache", "~> 1.7"
42
42
  s.add_dependency "radius", "~> 0.7"
43
43
  s.add_dependency "RedCloth", "~> 4.3.2"
44
44
  s.add_dependency "will_paginate", "~> 3.0"
45
- s.add_dependency "stringex", "~> 1.3"
46
- s.add_dependency 'uglifier', '~> 2.6'
47
- s.add_dependency 'execjs', '~> 2.2'
48
- s.add_dependency 'therubyracer', '~> 0.12'
49
- s.add_dependency "ckeditor", "~> 4.1"
45
+ s.add_dependency "stringex", "~> 2.7.1"
46
+ s.add_dependency 'uglifier', '~> 3.2'
47
+ s.add_dependency 'execjs', '~> 2.7'
48
+ s.add_dependency 'therubyracer', '~> 0.12.3'
49
+ s.add_dependency "ckeditor", "~> 4.2.2"
50
50
  s.add_dependency "rake", "< 11.0"
51
51
  end
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: 2.0.28
4
+ version: 3.0.0
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: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -16,168 +16,168 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.2'
19
+ version: 1.2.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.2'
26
+ version: 1.2.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.2'
33
+ version: 5.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4.2'
40
+ version: 5.0.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: protected_attributes
42
+ name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.4
47
+ version: '5.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.4
54
+ version: '5.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: jquery-rails
56
+ name: acts_as_tree
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.1'
61
+ version: 2.6.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.1'
68
+ version: 2.6.1
69
69
  - !ruby/object:Gem::Dependency
70
- name: rdoc
70
+ name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.9'
75
+ version: '1.7'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.9'
82
+ version: '1.7'
83
83
  - !ruby/object:Gem::Dependency
84
- name: acts_as_tree
84
+ name: delocalize
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.1'
89
+ version: '0.2'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.1'
96
+ version: '0.2'
97
97
  - !ruby/object:Gem::Dependency
98
- name: bundler
98
+ name: haml
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.7'
103
+ version: '5.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.7'
110
+ version: '5.0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: compass-rails
112
+ name: haml-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.0'
117
+ version: 1.0.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '2.0'
124
+ version: 1.0.0
125
125
  - !ruby/object:Gem::Dependency
126
- name: delocalize
126
+ name: sass-rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0.2'
131
+ version: 5.0.6
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0.2'
138
+ version: 5.0.6
139
139
  - !ruby/object:Gem::Dependency
140
- name: haml
140
+ name: jquery-rails
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '4.0'
145
+ version: 4.3.1
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '4.0'
152
+ version: 4.3.1
153
153
  - !ruby/object:Gem::Dependency
154
- name: haml-rails
154
+ name: compass-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0.5'
159
+ version: 3.0.2
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0.5'
166
+ version: 3.0.2
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: highline
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '1.6'
173
+ version: 1.7.8
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '1.6'
180
+ version: 1.7.8
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: mysql2
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -198,28 +198,28 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.4'
201
+ version: 2.0.1
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.4'
208
+ version: 2.0.1
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: rack-cache
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '1.2'
215
+ version: '1.7'
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '1.2'
222
+ version: '1.7'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: radius
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -268,70 +268,70 @@ dependencies:
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: '1.3'
271
+ version: 2.7.1
272
272
  type: :runtime
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: '1.3'
278
+ version: 2.7.1
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: uglifier
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: '2.6'
285
+ version: '3.2'
286
286
  type: :runtime
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: '2.6'
292
+ version: '3.2'
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: execjs
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: '2.2'
299
+ version: '2.7'
300
300
  type: :runtime
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: '2.2'
306
+ version: '2.7'
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: therubyracer
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: '0.12'
313
+ version: 0.12.3
314
314
  type: :runtime
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: '0.12'
320
+ version: 0.12.3
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: ckeditor
323
323
  requirement: !ruby/object:Gem::Requirement
324
324
  requirements:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
- version: '4.1'
327
+ version: 4.2.2
328
328
  type: :runtime
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
- version: '4.1'
334
+ version: 4.2.2
335
335
  - !ruby/object:Gem::Dependency
336
336
  name: rake
337
337
  requirement: !ruby/object:Gem::Requirement
@@ -1321,6 +1321,7 @@ files:
1321
1321
  - config/environments/production.rb
1322
1322
  - config/environments/test.rb
1323
1323
  - config/initializers/active_record_extensions.rb
1324
+ - config/initializers/assets.rb
1324
1325
  - config/initializers/ckeditor.rb
1325
1326
  - config/initializers/haml.rb
1326
1327
  - config/initializers/rails_patch.rb
@@ -1334,30 +1335,30 @@ files:
1334
1335
  - config/locales/en_available_tags.yml
1335
1336
  - config/routes.rb
1336
1337
  - config/trustygems.yml
1337
- - coverage/assets/0.10.1/application.css
1338
- - coverage/assets/0.10.1/application.js
1339
- - coverage/assets/0.10.1/colorbox/border.png
1340
- - coverage/assets/0.10.1/colorbox/controls.png
1341
- - coverage/assets/0.10.1/colorbox/loading.gif
1342
- - coverage/assets/0.10.1/colorbox/loading_background.png
1343
- - coverage/assets/0.10.1/favicon_green.png
1344
- - coverage/assets/0.10.1/favicon_red.png
1345
- - coverage/assets/0.10.1/favicon_yellow.png
1346
- - coverage/assets/0.10.1/loading.gif
1347
- - coverage/assets/0.10.1/magnify.png
1348
- - coverage/assets/0.10.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
1349
- - coverage/assets/0.10.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
1350
- - coverage/assets/0.10.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
1351
- - coverage/assets/0.10.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
1352
- - coverage/assets/0.10.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
1353
- - coverage/assets/0.10.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
1354
- - coverage/assets/0.10.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
1355
- - coverage/assets/0.10.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
1356
- - coverage/assets/0.10.1/smoothness/images/ui-icons_222222_256x240.png
1357
- - coverage/assets/0.10.1/smoothness/images/ui-icons_2e83ff_256x240.png
1358
- - coverage/assets/0.10.1/smoothness/images/ui-icons_454545_256x240.png
1359
- - coverage/assets/0.10.1/smoothness/images/ui-icons_888888_256x240.png
1360
- - coverage/assets/0.10.1/smoothness/images/ui-icons_cd0a0a_256x240.png
1338
+ - coverage/assets/0.10.0/application.css
1339
+ - coverage/assets/0.10.0/application.js
1340
+ - coverage/assets/0.10.0/colorbox/border.png
1341
+ - coverage/assets/0.10.0/colorbox/controls.png
1342
+ - coverage/assets/0.10.0/colorbox/loading.gif
1343
+ - coverage/assets/0.10.0/colorbox/loading_background.png
1344
+ - coverage/assets/0.10.0/favicon_green.png
1345
+ - coverage/assets/0.10.0/favicon_red.png
1346
+ - coverage/assets/0.10.0/favicon_yellow.png
1347
+ - coverage/assets/0.10.0/loading.gif
1348
+ - coverage/assets/0.10.0/magnify.png
1349
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
1350
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
1351
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
1352
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
1353
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
1354
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
1355
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
1356
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
1357
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png
1358
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png
1359
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png
1360
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png
1361
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png
1361
1362
  - coverage/index.html
1362
1363
  - db/migrate/001_create_radiant_tables.rb
1363
1364
  - db/migrate/002_insert_initial_data.rb
@@ -1566,6 +1567,7 @@ files:
1566
1567
  - spec/dummy/config/routes.rb
1567
1568
  - spec/dummy/config/secrets.yml
1568
1569
  - spec/dummy/db/schema.rb
1570
+ - spec/dummy/log/development.log
1569
1571
  - spec/dummy/log/test.log
1570
1572
  - spec/dummy/public/404.html
1571
1573
  - spec/dummy/public/422.html
@@ -1573,6 +1575,14 @@ files:
1573
1575
  - spec/dummy/public/favicon.ico
1574
1576
  - spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
1575
1577
  - spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
1578
+ - spec/dummy/tmp/capybara/capybara-201704281052218381840553.html
1579
+ - spec/dummy/tmp/capybara/capybara-201704281349162000376923.html
1580
+ - spec/dummy/tmp/capybara/capybara-201704281350583836729297.html
1581
+ - spec/dummy/tmp/capybara/capybara-201704281352531525720519.html
1582
+ - spec/dummy/tmp/capybara/capybara-201704281404185072588839.html
1583
+ - spec/dummy/tmp/capybara/capybara-201704281406053426546566.html
1584
+ - spec/dummy/tmp/capybara/capybara-201704281412585528977905.html
1585
+ - spec/dummy/tmp/capybara/capybara-201704281414395412240259.html
1576
1586
  - spec/dummy/tmp/radiant_config_cache.txt
1577
1587
  - spec/factories/layout.rb
1578
1588
  - spec/factories/page.rb
@@ -1580,7 +1590,6 @@ files:
1580
1590
  - spec/factories/user.rb
1581
1591
  - spec/features/admin_login_spec.rb
1582
1592
  - spec/features/config_spec.rb
1583
- - spec/features/javascript_smoke_spec.rb
1584
1593
  - spec/features/layouts_spec.rb
1585
1594
  - spec/features/pages_spec.rb
1586
1595
  - spec/fixtures/users.yml
@@ -1589,6 +1598,7 @@ files:
1589
1598
  - spec/routing/welcome_routing_spec.rb
1590
1599
  - spec/spec_helper.rb
1591
1600
  - spec/support/custom_actions.rb
1601
+ - tmp/unused/term-matches-adfdc75ebbb8d14cd59338c5e8006aed.csv
1592
1602
  - trusty_cms.gemspec
1593
1603
  homepage: https://github.com/pgharts/trusty-cms
1594
1604
  licenses:
@@ -1643,7 +1653,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1643
1653
  version: 1.3.1
1644
1654
  requirements: []
1645
1655
  rubyforge_project:
1646
- rubygems_version: 2.6.12
1656
+ rubygems_version: 2.5.1
1647
1657
  signing_key:
1648
1658
  specification_version: 4
1649
1659
  summary: A no-fluff content management system designed for small teams.
@@ -1677,6 +1687,7 @@ test_files:
1677
1687
  - spec/dummy/config/secrets.yml
1678
1688
  - spec/dummy/config.ru
1679
1689
  - spec/dummy/db/schema.rb
1690
+ - spec/dummy/log/development.log
1680
1691
  - spec/dummy/log/test.log
1681
1692
  - spec/dummy/public/404.html
1682
1693
  - spec/dummy/public/422.html
@@ -1686,6 +1697,14 @@ test_files:
1686
1697
  - spec/dummy/README.rdoc
1687
1698
  - spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
1688
1699
  - spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
1700
+ - spec/dummy/tmp/capybara/capybara-201704281052218381840553.html
1701
+ - spec/dummy/tmp/capybara/capybara-201704281349162000376923.html
1702
+ - spec/dummy/tmp/capybara/capybara-201704281350583836729297.html
1703
+ - spec/dummy/tmp/capybara/capybara-201704281352531525720519.html
1704
+ - spec/dummy/tmp/capybara/capybara-201704281404185072588839.html
1705
+ - spec/dummy/tmp/capybara/capybara-201704281406053426546566.html
1706
+ - spec/dummy/tmp/capybara/capybara-201704281412585528977905.html
1707
+ - spec/dummy/tmp/capybara/capybara-201704281414395412240259.html
1689
1708
  - spec/dummy/tmp/radiant_config_cache.txt
1690
1709
  - spec/factories/layout.rb
1691
1710
  - spec/factories/page.rb
@@ -1693,7 +1712,6 @@ test_files:
1693
1712
  - spec/factories/user.rb
1694
1713
  - spec/features/admin_login_spec.rb
1695
1714
  - spec/features/config_spec.rb
1696
- - spec/features/javascript_smoke_spec.rb
1697
1715
  - spec/features/layouts_spec.rb
1698
1716
  - spec/features/pages_spec.rb
1699
1717
  - spec/fixtures/users.yml