trusty-cms 2.0.9.pre.beta → 2.0.10.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +5 -13
  2. data/.gitignore +2 -0
  3. data/Gemfile +5 -1
  4. data/Gemfile.lock +30 -12
  5. data/Rakefile +24 -4
  6. data/app/assets/javascripts/admin/page-edit.js +3 -3
  7. data/app/assets/javascripts/admin/tabcontrol.js.erb +14 -14
  8. data/app/assets/javascripts/admin/treetable.js +4 -2
  9. data/app/assets/stylesheets/admin/_base.scss +3 -3
  10. data/app/assets/stylesheets/admin/modules/_links.scss +1 -1
  11. data/app/assets/stylesheets/admin/partials/_content.scss +9 -2
  12. data/app/assets/stylesheets/admin/partials/_forms.scss +59 -17
  13. data/app/assets/stylesheets/admin/partials/_layout.scss +1 -2
  14. data/app/assets/stylesheets/admin/partials/_popup.scss +0 -11
  15. data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +4 -4
  16. data/app/assets/stylesheets/admin/partials/_typography.scss +4 -0
  17. data/app/helpers/admin/node_helper.rb +4 -4
  18. data/app/models/trusty_cms/config.rb +1 -0
  19. data/app/views/admin/pages/edit.html.haml +1 -1
  20. data/app/views/admin/pages/remove.html.haml +1 -1
  21. data/app/views/admin/preferences/edit.html.haml +35 -35
  22. data/app/views/admin/users/_password_fields.html.haml +1 -1
  23. data/config/application.rb +2 -1
  24. data/config/boot.rb +0 -1
  25. data/config/environments/development.rb +1 -0
  26. data/config/environments/test.rb +2 -4
  27. data/config/routes.rb +1 -0
  28. data/lib/generators/trusty_cms/templates/routes.rb.erb +0 -1
  29. data/lib/tasks/database.rake +1 -3
  30. data/lib/trusty_cms.rb +1 -1
  31. data/spec/dummy/README.rdoc +28 -0
  32. data/spec/dummy/Rakefile +5 -0
  33. data/spec/dummy/bin/bundle +3 -0
  34. data/spec/dummy/bin/rails +4 -0
  35. data/spec/dummy/bin/rake +4 -0
  36. data/spec/dummy/bin/setup +29 -0
  37. data/spec/dummy/config.ru +4 -0
  38. data/spec/dummy/config/application.rb +151 -0
  39. data/spec/dummy/config/boot.rb +6 -0
  40. data/spec/dummy/config/database.yml +28 -0
  41. data/spec/dummy/config/environment.rb +5 -0
  42. data/spec/dummy/config/environments/development.rb +49 -0
  43. data/spec/dummy/config/environments/production.rb +79 -0
  44. data/spec/dummy/config/environments/test.rb +42 -0
  45. data/spec/dummy/config/initializers/assets.rb +11 -0
  46. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  48. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/spec/dummy/config/initializers/inflections.rb +16 -0
  50. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  51. data/spec/dummy/config/initializers/session_store.rb +3 -0
  52. data/spec/dummy/config/initializers/trusty_cms_config.rb +20 -0
  53. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  54. data/spec/dummy/config/locales/en.yml +23 -0
  55. data/spec/dummy/config/routes.rb +0 -0
  56. data/spec/dummy/config/secrets.yml +22 -0
  57. data/spec/dummy/db/schema.rb +122 -0
  58. data/spec/dummy/public/404.html +67 -0
  59. data/spec/dummy/public/422.html +67 -0
  60. data/spec/dummy/public/500.html +66 -0
  61. data/spec/dummy/public/favicon.ico +0 -0
  62. data/spec/features/pages_spec.rb +0 -1
  63. data/spec/helpers/regions_helper_spec.rb +1 -1
  64. data/spec/rails_helper.rb +3 -4
  65. data/spec/spec_helper.rb +13 -77
  66. data/trusty_cms.gemspec +2 -1
  67. metadata +157 -76
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -35,7 +35,6 @@ describe 'Pages' do
35
35
  it 'lets you edit the homepage' do
36
36
  click_link 'Voyager Home'
37
37
 
38
- expect(page).to have_content 'Edit Page'
39
38
  expect(page).to have_field 'Page Title', with: 'Voyager Home'
40
39
  expect(page).to have_button 'Save Changes'
41
40
  expect(page).to have_content 'Last Updated by Kathryn Janeway'
@@ -1,6 +1,6 @@
1
1
  require 'rails_helper'
2
2
 
3
- describe Admin::RegionsHelper do
3
+ RSpec.describe Admin::RegionsHelper, type: :helper do
4
4
 
5
5
  describe "#render_region" do
6
6
 
data/spec/rails_helper.rb CHANGED
@@ -1,9 +1,8 @@
1
1
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
2
  ENV["RAILS_ENV"] ||= 'test'
3
3
  require 'spec_helper'
4
- require File.expand_path("../../config/environment", __FILE__)
5
4
  require 'rspec/rails'
6
-
5
+ require 'capybara/rails'
7
6
  require 'capybara/poltergeist'
8
7
  Capybara.javascript_driver = :poltergeist
9
8
 
@@ -25,7 +24,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
25
24
 
26
25
  RSpec.configure do |config|
27
26
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
28
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
27
+ config.fixture_path = "#{::TRUSTY_CMS_ROOT}/spec/fixtures"
29
28
 
30
29
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
31
30
  # examples within a transaction, remove the following line or assign false
@@ -62,7 +61,7 @@ RSpec.configure do |config|
62
61
  ['default_locale', 'en'],
63
62
  ]
64
63
  configs.each do |key, value|
65
- c = TrustyCms::Config.find_or_initialize_by_key(key)
64
+ c = TrustyCms::Config.find_or_initialize_by(key: key)
66
65
  c.value = value
67
66
  c.save
68
67
  end
data/spec/spec_helper.rb CHANGED
@@ -1,78 +1,14 @@
1
- # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
- # file to always be loaded, without a need to explicitly require it in any files.
5
- #
6
- # Given that it is always loaded, you are encouraged to keep this file as
7
- # light-weight as possible. Requiring heavyweight dependencies from this file
8
- # will add to the boot time of your test suite on EVERY test run, even for an
9
- # individual file that may not need all of that loaded. Instead, make a
10
- # separate helper file that requires this one and then use it only in the specs
11
- # that actually need it.
12
- #
13
- # The `.rspec` file also contains a few flags that are not defaults but that
14
- # users commonly want.
15
- #
16
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
3
+ require 'rspec/rails'
4
+ require 'rspec/autorun'
5
+ require 'factory_girl_rails'
6
+ Rails.backtrace_cleaner.remove_silencers!
7
+ # Load support files
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
17
9
  RSpec.configure do |config|
18
- # The settings below are suggested to provide a good initial experience
19
- # with RSpec, but feel free to customize to your heart's content.
20
- =begin
21
- # These two settings work together to allow you to limit a spec run
22
- # to individual examples or groups you care about by tagging them with
23
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
24
- # get run.
25
- config.filter_run :focus
26
- config.run_all_when_everything_filtered = true
27
-
28
- # Many RSpec users commonly either run the entire suite or an individual
29
- # file, and it's useful to allow more verbose output when running an
30
- # individual spec file.
31
- if config.files_to_run.one?
32
- # Use the documentation formatter for detailed output,
33
- # unless a formatter has already been configured
34
- # (e.g. via a command-line flag).
35
- config.default_formatter = 'doc'
36
- end
37
-
38
- # Print the 10 slowest examples and example groups at the
39
- # end of the spec run, to help surface which specs are running
40
- # particularly slow.
41
- config.profile_examples = 10
42
-
43
- # Run specs in random order to surface order dependencies. If you find an
44
- # order dependency and want to debug it, you can fix the order by providing
45
- # the seed, which is printed after each run.
46
- # --seed 1234
47
- config.order = :random
48
-
49
- # Seed global randomization in this process using the `--seed` CLI option.
50
- # Setting this allows you to use `--seed` to deterministically reproduce
51
- # test failures related to randomization by passing the same `--seed` value
52
- # as the one that triggered the failure.
53
- Kernel.srand config.seed
54
-
55
- # rspec-expectations config goes here. You can use an alternate
56
- # assertion/expectation library such as wrong or the stdlib/minitest
57
- # assertions if you prefer.
58
- config.expect_with :rspec do |expectations|
59
- # Enable only the newer, non-monkey-patching expect syntax.
60
- # For more details, see:
61
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
62
- expectations.syntax = :expect
63
- end
64
-
65
- # rspec-mocks config goes here. You can use an alternate test double
66
- # library (such as bogus or mocha) by changing the `mock_with` option here.
67
- config.mock_with :rspec do |mocks|
68
- # Enable only the newer, non-monkey-patching expect syntax.
69
- # For more details, see:
70
- # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
71
- mocks.syntax = :expect
72
-
73
- # Prevents you from mocking or stubbing a method that does not exist on
74
- # a real object. This is generally recommended.
75
- mocks.verify_partial_doubles = true
76
- end
77
- =end
78
- end
10
+ config.mock_with :rspec
11
+ config.use_transactional_fixtures = true
12
+ config.infer_base_class_for_anonymous_controllers = false
13
+ config.order = "random"
14
+ end
data/trusty_cms.gemspec CHANGED
@@ -17,11 +17,12 @@ a general purpose content managment system--not merely a blogging engine.}
17
17
  ignores = File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
18
18
  s.files = Dir['**/*','.gitignore', 'public/.htaccess', 'log/.keep', 'vendor/extensions/.keep'] - ignores
19
19
  s.homepage = %q{https://github.com/pgharts/trusty-cms}
20
- s.rdoc_options = ["--title", "TrustyCms -- Publishing for Small Teams", "--line-numbers", "--main", "README", "--exclude", "app", "--exclude", "bin", "--exclude", "config", "--exclude", "db", "--exclude", "features", "--exclude", "lib", "--exclude", "log", "--exclude", "pkg", "--exclude", "public", "--exclude", "script", "--exclude", "spec", "--exclude", "test", "--exclude", "tmp", "--exclude", "vendor"]
20
+ s.rdoc_options = ["--title", "TrustyCms -- Content Management You Can Trust", "--line-numbers", "--main", "README", "--exclude", "app", "--exclude", "bin", "--exclude", "config", "--exclude", "db", "--exclude", "features", "--exclude", "lib", "--exclude", "log", "--exclude", "pkg", "--exclude", "public", "--exclude", "script", "--exclude", "spec", "--exclude", "test", "--exclude", "tmp", "--exclude", "vendor"]
21
21
  s.require_paths = ["lib"]
22
22
  s.rubygems_version = %q{1.3.7}
23
23
  s.summary = %q{A no-fluff content management system designed for small teams.}
24
24
  s.license = %q{MIT}
25
+ s.test_files = Dir["spec/**/*"]
25
26
 
26
27
  s.add_dependency "tzinfo", "~> 1.2"
27
28
  s.add_dependency "rails", "~> 4.2"
metadata CHANGED
@@ -1,343 +1,341 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9.pre.beta
4
+ version: 2.0.10.pre.beta
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: 2015-08-03 00:00:00.000000000 Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.2'
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
26
  version: '1.2'
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
33
  version: '4.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
40
  version: '4.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: protected_attributes
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.0.9
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
54
  version: 1.0.9
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jquery-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.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
68
  version: '3.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rdoc
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.9'
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
82
  version: '3.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: acts_as_tree
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.1'
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
96
  version: '2.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.7'
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
110
  version: '1.7'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: compass-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '2.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
124
  version: '2.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: delocalize
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0.2'
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
138
  version: '0.2'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: haml
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: '4.0'
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
152
  version: '4.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: haml-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0.5'
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
166
  version: '0.5'
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
173
  version: '1.6'
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
180
  version: '1.6'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: mysql
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ~>
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
187
  version: '2.9'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ~>
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '2.9'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rack
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ~>
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
201
  version: '1.4'
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
208
  version: '1.4'
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
215
  version: '1.2'
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
222
  version: '1.2'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: radius
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - ~>
227
+ - - "~>"
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0.7'
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - ~>
234
+ - - "~>"
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0.7'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: RedCloth
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - ~>
241
+ - - "~>"
242
242
  - !ruby/object:Gem::Version
243
243
  version: '4.2'
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - ~>
248
+ - - "~>"
249
249
  - !ruby/object:Gem::Version
250
250
  version: '4.2'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: will_paginate
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
- - - ~>
255
+ - - "~>"
256
256
  - !ruby/object:Gem::Version
257
257
  version: '3.0'
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - ~>
262
+ - - "~>"
263
263
  - !ruby/object:Gem::Version
264
264
  version: '3.0'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: stringex
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
- - - ~>
269
+ - - "~>"
270
270
  - !ruby/object:Gem::Version
271
271
  version: '1.3'
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
278
  version: '1.3'
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
285
  version: '2.6'
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
292
  version: '2.6'
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
299
  version: '2.2'
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
306
  version: '2.2'
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
313
  version: '0.12'
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
320
  version: '0.12'
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
327
  version: '4.1'
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
334
  version: '4.1'
335
- description: ! 'TrustyCms is a simple and powerful publishing system designed for
336
- small teams.
337
-
335
+ description: |-
336
+ TrustyCms is a simple and powerful publishing system designed for small teams.
338
337
  It is built with Rails and is similar to Textpattern or MovableType, but is
339
-
340
- a general purpose content managment system--not merely a blogging engine.'
338
+ a general purpose content managment system--not merely a blogging engine.
341
339
  email: saalon@gmail.com
342
340
  executables:
343
341
  - trusty_cms
@@ -349,7 +347,7 @@ extra_rdoc_files:
349
347
  - INSTALL.md
350
348
  - LICENSE.md
351
349
  files:
352
- - .gitignore
350
+ - ".gitignore"
353
351
  - CHANGELOG.md
354
352
  - CODE_OF_CONDUCT.md
355
353
  - CONTRIBUTORS.md
@@ -750,6 +748,42 @@ files:
750
748
  - script/extension
751
749
  - script/rails
752
750
  - spec/ci/database.mysql.yml
751
+ - spec/dummy/README.rdoc
752
+ - spec/dummy/Rakefile
753
+ - spec/dummy/bin/bundle
754
+ - spec/dummy/bin/rails
755
+ - spec/dummy/bin/rake
756
+ - spec/dummy/bin/setup
757
+ - spec/dummy/config.ru
758
+ - spec/dummy/config/application.rb
759
+ - spec/dummy/config/boot.rb
760
+ - spec/dummy/config/database.yml
761
+ - spec/dummy/config/environment.rb
762
+ - spec/dummy/config/environments/development.rb
763
+ - spec/dummy/config/environments/production.rb
764
+ - spec/dummy/config/environments/test.rb
765
+ - spec/dummy/config/initializers/assets.rb
766
+ - spec/dummy/config/initializers/backtrace_silencers.rb
767
+ - spec/dummy/config/initializers/cookies_serializer.rb
768
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
769
+ - spec/dummy/config/initializers/inflections.rb
770
+ - spec/dummy/config/initializers/mime_types.rb
771
+ - spec/dummy/config/initializers/session_store.rb
772
+ - spec/dummy/config/initializers/trusty_cms_config.rb
773
+ - spec/dummy/config/initializers/wrap_parameters.rb
774
+ - spec/dummy/config/locales/en.yml
775
+ - spec/dummy/config/routes.rb
776
+ - spec/dummy/config/secrets.yml
777
+ - spec/dummy/db/schema.rb
778
+ - spec/dummy/log/development.log
779
+ - spec/dummy/log/test.log
780
+ - spec/dummy/public/404.html
781
+ - spec/dummy/public/422.html
782
+ - spec/dummy/public/500.html
783
+ - spec/dummy/public/favicon.ico
784
+ - spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
785
+ - spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
786
+ - spec/dummy/tmp/radiant_config_cache.txt
753
787
  - spec/features/admin_login_spec.rb
754
788
  - spec/features/config_spec.rb
755
789
  - spec/features/javascript_smoke_spec.rb
@@ -856,55 +890,102 @@ licenses:
856
890
  metadata: {}
857
891
  post_install_message:
858
892
  rdoc_options:
859
- - --title
860
- - TrustyCms -- Publishing for Small Teams
861
- - --line-numbers
862
- - --main
893
+ - "--title"
894
+ - TrustyCms -- Content Management You Can Trust
895
+ - "--line-numbers"
896
+ - "--main"
863
897
  - README
864
- - --exclude
898
+ - "--exclude"
865
899
  - app
866
- - --exclude
900
+ - "--exclude"
867
901
  - bin
868
- - --exclude
902
+ - "--exclude"
869
903
  - config
870
- - --exclude
904
+ - "--exclude"
871
905
  - db
872
- - --exclude
906
+ - "--exclude"
873
907
  - features
874
- - --exclude
908
+ - "--exclude"
875
909
  - lib
876
- - --exclude
910
+ - "--exclude"
877
911
  - log
878
- - --exclude
912
+ - "--exclude"
879
913
  - pkg
880
- - --exclude
914
+ - "--exclude"
881
915
  - public
882
- - --exclude
916
+ - "--exclude"
883
917
  - script
884
- - --exclude
918
+ - "--exclude"
885
919
  - spec
886
- - --exclude
920
+ - "--exclude"
887
921
  - test
888
- - --exclude
922
+ - "--exclude"
889
923
  - tmp
890
- - --exclude
924
+ - "--exclude"
891
925
  - vendor
892
926
  require_paths:
893
927
  - lib
894
928
  required_ruby_version: !ruby/object:Gem::Requirement
895
929
  requirements:
896
- - - ! '>='
930
+ - - ">="
897
931
  - !ruby/object:Gem::Version
898
932
  version: '0'
899
933
  required_rubygems_version: !ruby/object:Gem::Requirement
900
934
  requirements:
901
- - - ! '>'
935
+ - - ">"
902
936
  - !ruby/object:Gem::Version
903
937
  version: 1.3.1
904
938
  requirements: []
905
939
  rubyforge_project:
906
- rubygems_version: 2.4.5
940
+ rubygems_version: 2.4.3
907
941
  signing_key:
908
942
  specification_version: 4
909
943
  summary: A no-fluff content management system designed for small teams.
910
- test_files: []
944
+ test_files:
945
+ - spec/ci/database.mysql.yml
946
+ - spec/dummy/bin/bundle
947
+ - spec/dummy/bin/rails
948
+ - spec/dummy/bin/rake
949
+ - spec/dummy/bin/setup
950
+ - spec/dummy/config/application.rb
951
+ - spec/dummy/config/boot.rb
952
+ - spec/dummy/config/database.yml
953
+ - spec/dummy/config/environment.rb
954
+ - spec/dummy/config/environments/development.rb
955
+ - spec/dummy/config/environments/production.rb
956
+ - spec/dummy/config/environments/test.rb
957
+ - spec/dummy/config/initializers/assets.rb
958
+ - spec/dummy/config/initializers/backtrace_silencers.rb
959
+ - spec/dummy/config/initializers/cookies_serializer.rb
960
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
961
+ - spec/dummy/config/initializers/inflections.rb
962
+ - spec/dummy/config/initializers/mime_types.rb
963
+ - spec/dummy/config/initializers/session_store.rb
964
+ - spec/dummy/config/initializers/trusty_cms_config.rb
965
+ - spec/dummy/config/initializers/wrap_parameters.rb
966
+ - spec/dummy/config/locales/en.yml
967
+ - spec/dummy/config/routes.rb
968
+ - spec/dummy/config/secrets.yml
969
+ - spec/dummy/config.ru
970
+ - spec/dummy/db/schema.rb
971
+ - spec/dummy/log/development.log
972
+ - spec/dummy/log/test.log
973
+ - spec/dummy/public/404.html
974
+ - spec/dummy/public/422.html
975
+ - spec/dummy/public/500.html
976
+ - spec/dummy/public/favicon.ico
977
+ - spec/dummy/Rakefile
978
+ - spec/dummy/README.rdoc
979
+ - spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
980
+ - spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
981
+ - spec/dummy/tmp/radiant_config_cache.txt
982
+ - spec/features/admin_login_spec.rb
983
+ - spec/features/config_spec.rb
984
+ - spec/features/javascript_smoke_spec.rb
985
+ - spec/features/layouts_spec.rb
986
+ - spec/features/pages_spec.rb
987
+ - spec/fixtures/users.yml
988
+ - spec/helpers/regions_helper_spec.rb
989
+ - spec/rails_helper.rb
990
+ - spec/spec_helper.rb
991
+ - spec/support/custom_actions.rb