themes 0.0.5 → 0.1
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 +4 -4
- data/README.md +52 -10
- data/lib/generators/themes/templates/theme_loader.rb.erb +3 -4
- data/lib/themes.rb +42 -5
- data/lib/themes/base_loader.rb +22 -0
- data/lib/themes/default_loader.rb +18 -0
- data/lib/themes/engine.rb +32 -15
- data/lib/themes/helpers.rb +2 -2
- data/lib/themes/middleware.rb +13 -0
- data/lib/themes/version.rb +1 -1
- data/spec/config/themes/test2_loader.rb +7 -0
- data/spec/config/themes/test_loader.rb +7 -0
- data/spec/configdb/themes/testdb2_loader.rb +5 -0
- data/spec/configdb/themes/testdb_loader.rb +5 -0
- data/spec/dummy3/config/themes +1 -0
- data/spec/dummy3/log/test.log +441 -0
- data/spec/dummy3db/README.rdoc +261 -0
- data/spec/dummy3db/Rakefile +7 -0
- data/spec/dummy3db/app +1 -0
- data/spec/dummy3db/config.ru +4 -0
- data/spec/dummy3db/config/application.rb +60 -0
- data/spec/dummy3db/config/boot.rb +10 -0
- data/spec/dummy3db/config/database.yml +26 -0
- data/spec/dummy3db/config/environment.rb +5 -0
- data/spec/dummy3db/config/environments/development.rb +37 -0
- data/spec/dummy3db/config/environments/production.rb +67 -0
- data/spec/dummy3db/config/environments/test.rb +37 -0
- data/spec/dummy3db/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy3db/config/initializers/inflections.rb +15 -0
- data/spec/dummy3db/config/initializers/mime_types.rb +5 -0
- data/spec/dummy3db/config/initializers/secret_token.rb +7 -0
- data/spec/dummy3db/config/initializers/session_store.rb +8 -0
- data/spec/dummy3db/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy3db/config/locales/en.yml +5 -0
- data/spec/dummy3db/config/routes.rb +58 -0
- data/spec/dummy3db/config/themes +1 -0
- data/spec/dummy3db/log/test.log +764 -0
- data/spec/dummy3db/public/404.html +26 -0
- data/spec/dummy3db/public/422.html +26 -0
- data/spec/dummy3db/public/500.html +25 -0
- data/spec/{dummy/log/test.log → dummy3db/public/favicon.ico} +0 -0
- data/spec/dummy3db/script/rails +6 -0
- data/spec/dummy4/config/themes +1 -0
- data/spec/dummy4/log/test.log +322 -0
- data/spec/dummy4db/README.rdoc +261 -0
- data/spec/dummy4db/Rakefile +7 -0
- data/spec/dummy4db/app +1 -0
- data/spec/dummy4db/bin/bundle +3 -0
- data/spec/dummy4db/bin/rails +4 -0
- data/spec/dummy4db/bin/rake +4 -0
- data/spec/dummy4db/bin/setup +29 -0
- data/spec/dummy4db/config.ru +4 -0
- data/spec/dummy4db/config/application.rb +27 -0
- data/spec/dummy4db/config/boot.rb +3 -0
- data/spec/dummy4db/config/database.yml +26 -0
- data/spec/dummy4db/config/environment.rb +5 -0
- data/spec/dummy4db/config/environments/development.rb +41 -0
- data/spec/dummy4db/config/environments/production.rb +79 -0
- data/spec/dummy4db/config/environments/test.rb +42 -0
- data/spec/dummy4db/config/initializers/assets.rb +11 -0
- data/spec/dummy4db/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy4db/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy4db/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy4db/config/initializers/inflections.rb +16 -0
- data/spec/dummy4db/config/initializers/mime_types.rb +4 -0
- data/spec/dummy4db/config/initializers/secret_token.rb +12 -0
- data/spec/dummy4db/config/initializers/session_store.rb +3 -0
- data/spec/dummy4db/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy4db/config/locales/en.yml +23 -0
- data/spec/dummy4db/config/routes.rb +57 -0
- data/spec/dummy4db/config/secrets.yml +22 -0
- data/spec/dummy4db/config/themes +1 -0
- data/spec/dummy4db/log/test.log +550 -0
- data/spec/dummy4db/public/404.html +26 -0
- data/spec/dummy4db/public/422.html +26 -0
- data/spec/dummy4db/public/500.html +25 -0
- data/spec/dummy4db/public/favicon.ico +0 -0
- data/spec/dummy4db/script/rails +6 -0
- data/spec/dummy5/config/themes +1 -0
- data/spec/dummy5/log/test.log +380 -0
- data/spec/dummy5db/README.rdoc +261 -0
- data/spec/dummy5db/Rakefile +7 -0
- data/spec/dummy5db/app +1 -0
- data/spec/dummy5db/bin/bundle +3 -0
- data/spec/dummy5db/bin/rails +4 -0
- data/spec/dummy5db/bin/rake +4 -0
- data/spec/dummy5db/bin/setup +36 -0
- data/spec/dummy5db/bin/update +31 -0
- data/spec/dummy5db/bin/yarn +11 -0
- data/spec/dummy5db/config.ru +4 -0
- data/spec/dummy5db/config/application.rb +20 -0
- data/spec/dummy5db/config/boot.rb +4 -0
- data/spec/dummy5db/config/cable.yml +10 -0
- data/spec/dummy5db/config/database.yml +26 -0
- data/spec/dummy5db/config/environment.rb +5 -0
- data/spec/dummy5db/config/environments/development.rb +61 -0
- data/spec/dummy5db/config/environments/production.rb +94 -0
- data/spec/dummy5db/config/environments/test.rb +46 -0
- data/spec/dummy5db/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy5db/config/initializers/assets.rb +14 -0
- data/spec/dummy5db/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy5db/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy5db/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy5db/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy5db/config/initializers/inflections.rb +16 -0
- data/spec/dummy5db/config/initializers/mime_types.rb +4 -0
- data/spec/dummy5db/config/initializers/new_framework_defaults_5_2.rb +38 -0
- data/spec/dummy5db/config/initializers/secret_token.rb +12 -0
- data/spec/dummy5db/config/initializers/session_store.rb +3 -0
- data/spec/dummy5db/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy5db/config/locales/en.yml +33 -0
- data/spec/dummy5db/config/routes.rb +4 -0
- data/spec/dummy5db/config/secrets.yml +22 -0
- data/spec/dummy5db/config/storage.yml +34 -0
- data/spec/dummy5db/config/themes +1 -0
- data/spec/dummy5db/log/test.log +756 -0
- data/spec/dummy5db/public/404.html +26 -0
- data/spec/dummy5db/public/422.html +26 -0
- data/spec/dummy5db/public/500.html +25 -0
- data/spec/dummy5db/public/favicon.ico +0 -0
- data/spec/dummy5db/script/rails +6 -0
- data/spec/dummy6/config/themes +1 -0
- data/spec/dummy6/log/development.log +8 -0
- data/spec/dummy6/log/test.log +1555 -0
- data/spec/dummy6db/README.rdoc +261 -0
- data/spec/dummy6db/Rakefile +7 -0
- data/spec/dummy6db/app +1 -0
- data/spec/dummy6db/bin/bundle +3 -0
- data/spec/dummy6db/bin/rails +4 -0
- data/spec/dummy6db/bin/rake +4 -0
- data/spec/dummy6db/bin/setup +36 -0
- data/spec/dummy6db/bin/update +31 -0
- data/spec/dummy6db/bin/yarn +11 -0
- data/spec/dummy6db/config.ru +4 -0
- data/spec/dummy6db/config/application.rb +20 -0
- data/spec/dummy6db/config/boot.rb +3 -0
- data/spec/dummy6db/config/cable.yml +10 -0
- data/spec/dummy6db/config/database.yml +26 -0
- data/spec/dummy6db/config/environment.rb +5 -0
- data/spec/dummy6db/config/environments/development.rb +62 -0
- data/spec/dummy6db/config/environments/production.rb +112 -0
- data/spec/dummy6db/config/environments/test.rb +48 -0
- data/spec/dummy6db/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy6db/config/initializers/assets.rb +14 -0
- data/spec/dummy6db/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy6db/config/initializers/content_security_policy.rb +30 -0
- data/spec/dummy6db/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy6db/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy6db/config/initializers/inflections.rb +16 -0
- data/spec/dummy6db/config/initializers/mime_types.rb +4 -0
- data/spec/dummy6db/config/initializers/new_framework_defaults_5_2.rb +38 -0
- data/spec/dummy6db/config/initializers/new_framework_defaults_6_0.rb +45 -0
- data/spec/dummy6db/config/initializers/secret_token.rb +12 -0
- data/spec/dummy6db/config/initializers/session_store.rb +3 -0
- data/spec/dummy6db/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy6db/config/locales/en.yml +33 -0
- data/spec/dummy6db/config/routes.rb +3 -0
- data/spec/dummy6db/config/secrets.yml +22 -0
- data/spec/dummy6db/config/storage.yml +34 -0
- data/spec/dummy6db/config/themes +1 -0
- data/spec/dummy6db/log/development.log +8 -0
- data/spec/dummy6db/log/test.log +2340 -0
- data/spec/dummy6db/public/404.html +26 -0
- data/spec/dummy6db/public/422.html +26 -0
- data/spec/dummy6db/public/500.html +25 -0
- data/spec/dummy6db/public/favicon.ico +0 -0
- data/spec/dummy6db/script/rails +6 -0
- data/spec/dummy_app_folder/models/theme_store.rb +10 -0
- data/spec/dummy_app_folder/views/themes/test2/layouts/application.html.erb +7 -0
- data/spec/dummy_app_folder/views/themes/test2/notifier/wellcome_message.html.erb +3 -0
- data/spec/dummy_app_folder/views/themes/test2/posts/index.html.erb +1 -0
- data/spec/dummy_app_folder/views/themes/testdb/layouts/application.html.erb +7 -0
- data/spec/dummy_app_folder/views/themes/testdb/notifier/wellcome_message.html.erb +3 -0
- data/spec/dummy_app_folder/views/themes/testdb/posts/index.html.erb +4 -0
- data/spec/dummy_app_folder/views/themes/testdb2/layouts/application.html.erb +7 -0
- data/spec/dummy_app_folder/views/themes/testdb2/notifier/wellcome_message.html.erb +3 -0
- data/spec/dummy_app_folder/views/themes/testdb2/posts/index.html.erb +4 -0
- data/spec/features/posts_controller_spec.rb +57 -12
- data/spec/generators/new_theme_generator_spec.rb +3 -4
- data/spec/mailer/notifier_spec.rb +13 -5
- data/spec/spec_helper.rb +1 -0
- data/spec/themes_engine_spec.rb +10 -5
- data/spec/tmp/config/themes/brand_new_theme.rb +3 -4
- metadata +329 -13
- data/lib/themes/loader.rb +0 -3
- data/spec/dummy3/config/themes/test.rb +0 -8
- data/spec/dummy4/config/themes/test.rb +0 -8
- data/spec/dummy5/config/themes/test.rb +0 -8
- data/spec/dummy6/config/themes/test.rb +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0c3d641ca2105e365ea493b498e7350b7b710b0c4e0bf58fd11be92ee9ff8b7
|
|
4
|
+
data.tar.gz: a5491adbf0c50c5e7da9896c5fa049a72b18f4575a942dd8a5d5d5357b5cf482
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1b1e946091d1102394020f52ec881f55b64dd2176152ae0850daa8b4ede79c12282c0dae9c1d7fcc934422c4dae159edb75d1552c033f0741fce67518fe2c68
|
|
7
|
+
data.tar.gz: 2813ccc3e1798df38dfb24498e5e8b0c244dd57bb14cdb0bd156e5b88d7367af12216d54b1eb350eeba5e9c60ff060dc6436b0866972aba6bd65c7255a9c359c
|
data/README.md
CHANGED
|
@@ -26,10 +26,9 @@ It will generate a configuration file.
|
|
|
26
26
|
```ruby
|
|
27
27
|
# encoding: utf-8
|
|
28
28
|
|
|
29
|
-
class
|
|
30
|
-
def self.configure
|
|
31
|
-
|
|
32
|
-
app.config.theme.email = 'sales@company.com'
|
|
29
|
+
class MyThemeLoader
|
|
30
|
+
def self.configure
|
|
31
|
+
Themes.email = 'sales@company.com'
|
|
33
32
|
|
|
34
33
|
development do
|
|
35
34
|
# Place development environment stuff here
|
|
@@ -53,18 +52,61 @@ Folders to place views files and assets will be created.
|
|
|
53
52
|
- app/assets/stylesheets/my_theme
|
|
54
53
|
- app/views/themes/my_theme
|
|
55
54
|
|
|
55
|
+
## Sending Themed emails
|
|
56
|
+
|
|
57
|
+
Wherever you call deliver email enclose it like this:
|
|
58
|
+
```ruby
|
|
59
|
+
Theme.as('my_theme') { Notifier.wellcome_message(user) }
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Configuration via database model
|
|
63
|
+
|
|
64
|
+
Add a new model with fields hostname and loader.
|
|
65
|
+
|
|
66
|
+
```ruby
|
|
67
|
+
class ThemeConfig
|
|
68
|
+
field :hostname
|
|
69
|
+
field :loader
|
|
70
|
+
|
|
71
|
+
# Add adition configuration fields that will be available via Themes.config
|
|
72
|
+
# or current_theme helper
|
|
73
|
+
field :email
|
|
74
|
+
field :phone
|
|
75
|
+
field :address
|
|
76
|
+
end
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Define theme model in your application.rb
|
|
80
|
+
```ruby
|
|
81
|
+
class MyApp::Application < Rails::Application
|
|
82
|
+
|
|
83
|
+
config.theme.model = :theme_config
|
|
84
|
+
end
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
```ruby
|
|
88
|
+
class MyThemeLoader
|
|
89
|
+
def self.configure
|
|
90
|
+
Themes.email = Themes.config.email
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
On your themes view files you can use any of the fields from your theme model
|
|
96
|
+
```haml
|
|
97
|
+
%ul
|
|
98
|
+
%li= current_theme.email
|
|
99
|
+
%li= current_theme.phone
|
|
100
|
+
%li= current_theme.address
|
|
101
|
+
```
|
|
102
|
+
|
|
56
103
|
## Main features:
|
|
57
104
|
|
|
58
105
|
- allow app to load diferent configuration depending on theme
|
|
59
106
|
- Load theme using APP_THEME environment variable
|
|
60
107
|
- Load views based on theme directory
|
|
61
108
|
|
|
62
|
-
## Wished features:
|
|
63
|
-
|
|
64
|
-
- Use differnt theme depending on domain name
|
|
65
|
-
|
|
66
|
-
|
|
67
109
|
## Code Status
|
|
68
110
|
|
|
69
111
|
* [](https://travis-ci.org/ritxi/themes)
|
|
70
|
-
* [](https://coveralls.io/r/ritxi/themes)
|
|
112
|
+
* [](https://coveralls.io/r/ritxi/themes)
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
|
|
3
|
-
class
|
|
4
|
-
def self.configure
|
|
5
|
-
|
|
6
|
-
app.config.theme.email = '<%= theme_email %>'<% Environments.list.each do |env_name| %>
|
|
3
|
+
class <%= theme_name.classify %>
|
|
4
|
+
def self.configure
|
|
5
|
+
Themes.email = '<%= theme_email %>'<% Environments.list.each do |env_name| %>
|
|
7
6
|
|
|
8
7
|
<%= env_name %> do
|
|
9
8
|
# Place <%= env_name %> environment stuff here
|
data/lib/themes.rb
CHANGED
|
@@ -1,16 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
require "zeitwerk"
|
|
3
|
-
loader = Zeitwerk::Loader.for_gem
|
|
4
|
-
loader.setup
|
|
5
|
-
|
|
1
|
+
require 'zeitwerk'
|
|
6
2
|
require 'active_support/core_ext/module/attribute_accessors'
|
|
7
3
|
|
|
8
4
|
module Themes
|
|
5
|
+
mattr_reader :loader
|
|
6
|
+
@@loader = Zeitwerk::Loader.for_gem
|
|
7
|
+
|
|
8
|
+
mattr_reader :themes_list
|
|
9
|
+
@@themes_list = {}
|
|
10
|
+
|
|
11
|
+
mattr_reader :loaders
|
|
12
|
+
@@loaders = {}
|
|
13
|
+
|
|
9
14
|
mattr_accessor :name
|
|
10
15
|
@@name = nil
|
|
11
16
|
|
|
17
|
+
mattr_accessor :default
|
|
18
|
+
@@default = nil
|
|
19
|
+
|
|
12
20
|
mattr_accessor :email
|
|
13
21
|
@@email = nil
|
|
22
|
+
|
|
23
|
+
mattr_accessor :model
|
|
24
|
+
@@model = nil
|
|
25
|
+
|
|
26
|
+
mattr_accessor :config
|
|
27
|
+
@@config = nil
|
|
28
|
+
|
|
29
|
+
mattr_accessor :original_mailer_path
|
|
30
|
+
@@original_mailer_path = nil
|
|
31
|
+
|
|
32
|
+
mattr_accessor :original_controller_path
|
|
33
|
+
@@original_controller_path = nil
|
|
34
|
+
|
|
35
|
+
def self.collection
|
|
36
|
+
model_class&.all
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def self.model_class
|
|
40
|
+
return unless model
|
|
41
|
+
|
|
42
|
+
model.to_s.classify.safe_constantize
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def self.as(theme_name)
|
|
46
|
+
"#{theme_name}_loader".classify.constantize.call
|
|
47
|
+
yield
|
|
48
|
+
# .tap { Themes::DefaultLoader.load }
|
|
49
|
+
end
|
|
14
50
|
end
|
|
15
51
|
|
|
52
|
+
require 'themes/engine'
|
|
16
53
|
Themes::Engine
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Themes
|
|
2
|
+
class BaseLoader
|
|
3
|
+
class << self
|
|
4
|
+
def klass_name
|
|
5
|
+
/(.*)Loader/.match(name)[1].underscore
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
def call
|
|
9
|
+
ActionMailer::Base.default from: Themes.email,
|
|
10
|
+
template_path: "app/views/themes/#{klass_name}"
|
|
11
|
+
|
|
12
|
+
[ActionMailer::Base, ActionController::Base].each do |klass|
|
|
13
|
+
klass.prepend_view_path(Rails.root.join('app', 'views', 'themes', klass_name))
|
|
14
|
+
end
|
|
15
|
+
Themes.name = klass_name
|
|
16
|
+
configure
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def configure; end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Themes
|
|
2
|
+
class DefaultLoader
|
|
3
|
+
class << self
|
|
4
|
+
def call
|
|
5
|
+
if Themes.default &&
|
|
6
|
+
(loader = "#{Themes.default.classify}Loader".safe_constantize)
|
|
7
|
+
return loader.load
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
ActionMailer::Base._view_paths = Themes.original_mailer_path
|
|
11
|
+
ActionController::Base._view_paths = Themes.original_controller_path
|
|
12
|
+
|
|
13
|
+
Themes.name = 'default'
|
|
14
|
+
Themes.config = nil
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/lib/themes/engine.rb
CHANGED
|
@@ -2,27 +2,44 @@ module Themes
|
|
|
2
2
|
class Engine < ::Rails::Engine
|
|
3
3
|
config.theme = Themes
|
|
4
4
|
|
|
5
|
-
initializer
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
initializer 'themes.path_setup', before: 'action_mailer.set_configs' do
|
|
6
|
+
config.theme.loader.push_dir(Rails.root.join('config', 'themes'))
|
|
7
|
+
config.theme.loader.setup
|
|
8
|
+
config.theme.themes_list.default = Themes::DefaultLoader
|
|
9
|
+
config.theme.original_mailer_path = ActionMailer::Base._view_paths
|
|
10
|
+
config.theme.original_controller_path = ActionController::Base._view_paths
|
|
10
11
|
end
|
|
11
12
|
|
|
12
|
-
initializer
|
|
13
|
-
|
|
13
|
+
initializer 'themes.middleware', after: 'themes.path_setup' do |app|
|
|
14
|
+
app.middleware.use Themes::Middleware
|
|
14
15
|
end
|
|
15
16
|
|
|
16
|
-
initializer
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
initializer 'themes.setup_theme', after: 'themes.middleware' do |app|
|
|
18
|
+
Dir.glob(Rails.root.join('config', 'themes', '*_loader.rb')) do |file|
|
|
19
|
+
basename = File.basename(file, '.rb')
|
|
20
|
+
loader = basename.classify.constantize
|
|
21
|
+
loader.extend(Themes::Environments)
|
|
22
|
+
app.config.theme.loaders[loader.klass_name] = loader
|
|
23
|
+
|
|
24
|
+
if defined?(loader::HOSTNAMES)
|
|
25
|
+
loader::HOSTNAMES.each do |host|
|
|
26
|
+
Themes.themes_list[host] = loader
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
Themes.themes_list.empty? && app.config.theme.collection.each do |theme|
|
|
32
|
+
Themes.themes_list[theme.hostname] = lambda do
|
|
33
|
+
app.config.theme.loaders[theme.loader].call
|
|
34
|
+
Themes.config = theme
|
|
35
|
+
end
|
|
36
|
+
end
|
|
20
37
|
end
|
|
21
38
|
|
|
22
|
-
initializer
|
|
23
|
-
ActionController::Base.
|
|
24
|
-
ActionController::Base.
|
|
25
|
-
ActionMailer::Base.
|
|
39
|
+
initializer 'themes.insert_helpers', after: 'themes.setup_theme' do |app|
|
|
40
|
+
ActionController::Base.include(Themes::Helpers)
|
|
41
|
+
ActionController::Base.extend(Themes::Helpers)
|
|
42
|
+
ActionMailer::Base.extend(Themes::Helpers)
|
|
26
43
|
end
|
|
27
44
|
end
|
|
28
45
|
end
|
data/lib/themes/helpers.rb
CHANGED
data/lib/themes/version.rb
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
spec/dummy3/config/../../config/themes
|
data/spec/dummy3/log/test.log
CHANGED
|
@@ -230,3 +230,444 @@ Processing by PostsController#index as HTML
|
|
|
230
230
|
Completed 200 OK in 0.4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
231
231
|
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
232
232
|
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
233
|
+
Connecting to database specified by database.yml
|
|
234
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:46:25 +0100
|
|
235
|
+
Processing by PostsController#index as HTML
|
|
236
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.0ms)
|
|
237
|
+
Completed 200 OK in 9.2ms (Views: 8.9ms | ActiveRecord: 0.0ms)
|
|
238
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:46:25 +0100
|
|
239
|
+
Processing by PostsController#index as HTML
|
|
240
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
|
|
241
|
+
Completed 200 OK in 0.4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
242
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.2ms)
|
|
243
|
+
Rendered notifier/good_bye_message.html.erb (0.2ms)
|
|
244
|
+
Connecting to database specified by database.yml
|
|
245
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:46:29 +0100
|
|
246
|
+
Processing by PostsController#index as HTML
|
|
247
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.8ms)
|
|
248
|
+
Completed 200 OK in 9.3ms (Views: 8.9ms | ActiveRecord: 0.0ms)
|
|
249
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:46:29 +0100
|
|
250
|
+
Processing by PostsController#index as HTML
|
|
251
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
|
|
252
|
+
Completed 200 OK in 0.4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
253
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
254
|
+
Rendered notifier/good_bye_message.html.erb (0.2ms)
|
|
255
|
+
Connecting to database specified by database.yml
|
|
256
|
+
Connecting to database specified by database.yml
|
|
257
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 16:23:29 +0100
|
|
258
|
+
Processing by PostsController#index as HTML
|
|
259
|
+
Rendered posts/index.html.erb within layouts/application (2.3ms)
|
|
260
|
+
Completed 200 OK in 15.8ms (Views: 15.5ms | ActiveRecord: 0.0ms)
|
|
261
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 16:23:29 +0100
|
|
262
|
+
Processing by PostsController#index as HTML
|
|
263
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
264
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
265
|
+
Rendered notifier/wellcome_message.html.erb (0.7ms)
|
|
266
|
+
Rendered notifier/good_bye_message.html.erb (1.1ms)
|
|
267
|
+
Connecting to database specified by database.yml
|
|
268
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 16:25:53 +0100
|
|
269
|
+
Processing by PostsController#index as HTML
|
|
270
|
+
Rendered posts/index.html.erb within layouts/application (0.9ms)
|
|
271
|
+
Completed 200 OK in 7.1ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
|
272
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 16:25:53 +0100
|
|
273
|
+
Processing by PostsController#index as HTML
|
|
274
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
275
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
276
|
+
Rendered notifier/wellcome_message.html.erb (0.3ms)
|
|
277
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
278
|
+
Connecting to database specified by database.yml
|
|
279
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 16:26:16 +0100
|
|
280
|
+
Processing by PostsController#index as HTML
|
|
281
|
+
Rendered posts/index.html.erb within layouts/application (0.8ms)
|
|
282
|
+
Completed 200 OK in 6.9ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
|
283
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-03 16:26:16 +0100
|
|
284
|
+
Processing by PostsController#index as HTML
|
|
285
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
286
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
287
|
+
themes.path_setup
|
|
288
|
+
themes.middleware
|
|
289
|
+
themes.setup_theme
|
|
290
|
+
Connecting to database specified by database.yml
|
|
291
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:22 +0100
|
|
292
|
+
configure test theme
|
|
293
|
+
Processing by PostsController#index as HTML
|
|
294
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (2.4ms)
|
|
295
|
+
Completed 200 OK in 17.0ms (Views: 16.7ms | ActiveRecord: 0.0ms)
|
|
296
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:22 +0100
|
|
297
|
+
configure test theme
|
|
298
|
+
Processing by PostsController#index as HTML
|
|
299
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
300
|
+
Completed 200 OK in 3.4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
301
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:22 +0100
|
|
302
|
+
Processing by PostsController#index as HTML
|
|
303
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
304
|
+
Completed 200 OK in 3.5ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
305
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:22 +0100
|
|
306
|
+
Processing by PostsController#index as HTML
|
|
307
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
308
|
+
Completed 200 OK in 3.6ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
309
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:22 +0100
|
|
310
|
+
Processing by PostsController#index as HTML
|
|
311
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
312
|
+
Completed 200 OK in 2.4ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
|
313
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:22 +0100
|
|
314
|
+
Processing by PostsController#index as HTML
|
|
315
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
316
|
+
Completed 200 OK in 0.4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
317
|
+
configure test theme
|
|
318
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
319
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
320
|
+
configure test theme
|
|
321
|
+
configure test theme
|
|
322
|
+
configure test theme
|
|
323
|
+
configure test theme
|
|
324
|
+
configure test theme
|
|
325
|
+
configure test theme
|
|
326
|
+
themes.path_setup
|
|
327
|
+
themes.middleware
|
|
328
|
+
themes.setup_theme
|
|
329
|
+
Connecting to database specified by database.yml
|
|
330
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:27 +0100
|
|
331
|
+
configure test theme
|
|
332
|
+
Processing by PostsController#index as HTML
|
|
333
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (2.1ms)
|
|
334
|
+
Completed 200 OK in 15.0ms (Views: 14.7ms | ActiveRecord: 0.0ms)
|
|
335
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:27 +0100
|
|
336
|
+
configure test theme
|
|
337
|
+
Processing by PostsController#index as HTML
|
|
338
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
339
|
+
Completed 200 OK in 3.4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
340
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:27 +0100
|
|
341
|
+
Processing by PostsController#index as HTML
|
|
342
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
343
|
+
Completed 200 OK in 3.7ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
344
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:27 +0100
|
|
345
|
+
Processing by PostsController#index as HTML
|
|
346
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
347
|
+
Completed 200 OK in 3.4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
348
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:27 +0100
|
|
349
|
+
Processing by PostsController#index as HTML
|
|
350
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
351
|
+
Completed 200 OK in 2.4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
352
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 12:20:27 +0100
|
|
353
|
+
Processing by PostsController#index as HTML
|
|
354
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
355
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
356
|
+
configure test theme
|
|
357
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.9ms)
|
|
358
|
+
Rendered notifier/good_bye_message.html.erb (0.4ms)
|
|
359
|
+
configure test theme
|
|
360
|
+
configure test theme
|
|
361
|
+
configure test theme
|
|
362
|
+
configure test theme
|
|
363
|
+
configure test theme
|
|
364
|
+
configure test theme
|
|
365
|
+
Connecting to database specified by database.yml
|
|
366
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:05:59 +0100
|
|
367
|
+
Processing by PostsController#index as HTML
|
|
368
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
|
|
369
|
+
Completed 200 OK in 9.8ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
|
370
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:05:59 +0100
|
|
371
|
+
Processing by PostsController#index as HTML
|
|
372
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
373
|
+
Completed 200 OK in 3.5ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
374
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:05:59 +0100
|
|
375
|
+
Processing by PostsController#index as HTML
|
|
376
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
377
|
+
Completed 200 OK in 3.9ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
|
378
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:05:59 +0100
|
|
379
|
+
Processing by PostsController#index as HTML
|
|
380
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
381
|
+
Completed 200 OK in 3.8ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
382
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:05:59 +0100
|
|
383
|
+
Processing by PostsController#index as HTML
|
|
384
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
385
|
+
Completed 200 OK in 2.5ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
|
386
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:05:59 +0100
|
|
387
|
+
Processing by PostsController#index as HTML
|
|
388
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
389
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
390
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
391
|
+
Rendered notifier/good_bye_message.html.erb (0.2ms)
|
|
392
|
+
Connecting to database specified by database.yml
|
|
393
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:25:14 +0100
|
|
394
|
+
Processing by PostsController#index as HTML
|
|
395
|
+
Rendered posts/index.html.erb within layouts/application (1.2ms)
|
|
396
|
+
Completed 200 OK in 9.0ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
|
397
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:25:14 +0100
|
|
398
|
+
Processing by PostsController#index as HTML
|
|
399
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
400
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
401
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:25:14 +0100
|
|
402
|
+
Processing by PostsController#index as HTML
|
|
403
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
404
|
+
Completed 200 OK in 0.4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
405
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:25:14 +0100
|
|
406
|
+
Processing by PostsController#index as HTML
|
|
407
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
408
|
+
Completed 200 OK in 0.4ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
409
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:25:14 +0100
|
|
410
|
+
Processing by PostsController#index as HTML
|
|
411
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
412
|
+
Completed 200 OK in 0.4ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
413
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:25:14 +0100
|
|
414
|
+
Processing by PostsController#index as HTML
|
|
415
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
416
|
+
Completed 200 OK in 0.4ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
417
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.4ms)
|
|
418
|
+
Rendered notifier/good_bye_message.html.erb (0.2ms)
|
|
419
|
+
Connecting to database specified by database.yml
|
|
420
|
+
Connecting to database specified by database.yml
|
|
421
|
+
Connecting to database specified by database.yml
|
|
422
|
+
Connecting to database specified by database.yml
|
|
423
|
+
Connecting to database specified by database.yml
|
|
424
|
+
Connecting to database specified by database.yml
|
|
425
|
+
Connecting to database specified by database.yml
|
|
426
|
+
Connecting to database specified by database.yml
|
|
427
|
+
Connecting to database specified by database.yml
|
|
428
|
+
Connecting to database specified by database.yml
|
|
429
|
+
Connecting to database specified by database.yml
|
|
430
|
+
Connecting to database specified by database.yml
|
|
431
|
+
Connecting to database specified by database.yml
|
|
432
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:41:11 +0100
|
|
433
|
+
Processing by PostsController#index as HTML
|
|
434
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
|
|
435
|
+
Completed 200 OK in 9.6ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
|
436
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:41:11 +0100
|
|
437
|
+
Processing by PostsController#index as HTML
|
|
438
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
439
|
+
Completed 200 OK in 3.6ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
440
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:41:11 +0100
|
|
441
|
+
Processing by PostsController#index as HTML
|
|
442
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
443
|
+
Completed 200 OK in 3.7ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
444
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:41:11 +0100
|
|
445
|
+
Processing by PostsController#index as HTML
|
|
446
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
447
|
+
Completed 200 OK in 3.6ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
448
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:41:11 +0100
|
|
449
|
+
Processing by PostsController#index as HTML
|
|
450
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
451
|
+
Completed 200 OK in 2.4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
452
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-07 16:41:11 +0100
|
|
453
|
+
Processing by PostsController#index as HTML
|
|
454
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
455
|
+
Completed 200 OK in 0.5ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
456
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.5ms)
|
|
457
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
458
|
+
Connecting to database specified by database.yml
|
|
459
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:07:15 +0100
|
|
460
|
+
Processing by PostsController#index as HTML
|
|
461
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (2.4ms)
|
|
462
|
+
Completed 200 OK in 17.7ms (Views: 17.3ms | ActiveRecord: 0.0ms)
|
|
463
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:07:15 +0100
|
|
464
|
+
Processing by PostsController#index as HTML
|
|
465
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
466
|
+
Completed 200 OK in 3.4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
467
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:07:15 +0100
|
|
468
|
+
Processing by PostsController#index as HTML
|
|
469
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
470
|
+
Completed 200 OK in 3.4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
471
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:07:15 +0100
|
|
472
|
+
Processing by PostsController#index as HTML
|
|
473
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
474
|
+
Completed 200 OK in 3.7ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
475
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:07:15 +0100
|
|
476
|
+
Processing by PostsController#index as HTML
|
|
477
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
478
|
+
Completed 200 OK in 2.3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
|
479
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:07:15 +0100
|
|
480
|
+
Processing by PostsController#index as HTML
|
|
481
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
482
|
+
Completed 200 OK in 0.4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
483
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.5ms)
|
|
484
|
+
Rendered notifier/good_bye_message.html.erb (0.4ms)
|
|
485
|
+
Connecting to database specified by database.yml
|
|
486
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:41 +0100
|
|
487
|
+
Processing by PostsController#index as HTML
|
|
488
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.0ms)
|
|
489
|
+
Completed 200 OK in 10.0ms (Views: 9.8ms | ActiveRecord: 0.0ms)
|
|
490
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:41 +0100
|
|
491
|
+
Processing by PostsController#index as HTML
|
|
492
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
493
|
+
Completed 200 OK in 3.5ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
494
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:41 +0100
|
|
495
|
+
Processing by PostsController#index as HTML
|
|
496
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
497
|
+
Completed 200 OK in 3.9ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
|
498
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:41 +0100
|
|
499
|
+
Processing by PostsController#index as HTML
|
|
500
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
501
|
+
Completed 200 OK in 3.7ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
502
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:41 +0100
|
|
503
|
+
Processing by PostsController#index as HTML
|
|
504
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
505
|
+
Completed 200 OK in 2.4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
506
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:41 +0100
|
|
507
|
+
Processing by PostsController#index as HTML
|
|
508
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
509
|
+
Completed 200 OK in 0.7ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
510
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
511
|
+
Rendered notifier/good_bye_message.html.erb (0.2ms)
|
|
512
|
+
Connecting to database specified by database.yml
|
|
513
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:44 +0100
|
|
514
|
+
Processing by PostsController#index as HTML
|
|
515
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.8ms)
|
|
516
|
+
Completed 200 OK in 8.5ms (Views: 8.3ms | ActiveRecord: 0.0ms)
|
|
517
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:44 +0100
|
|
518
|
+
Processing by PostsController#index as HTML
|
|
519
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.3ms)
|
|
520
|
+
Completed 200 OK in 6.6ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
|
521
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:44 +0100
|
|
522
|
+
Processing by PostsController#index as HTML
|
|
523
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.5ms)
|
|
524
|
+
Completed 200 OK in 4.2ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
|
525
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:44 +0100
|
|
526
|
+
Processing by PostsController#index as HTML
|
|
527
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
528
|
+
Completed 200 OK in 4.4ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
529
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:44 +0100
|
|
530
|
+
Processing by PostsController#index as HTML
|
|
531
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
532
|
+
Completed 200 OK in 2.5ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
|
533
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:14:44 +0100
|
|
534
|
+
Processing by PostsController#index as HTML
|
|
535
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
536
|
+
Completed 200 OK in 0.6ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
537
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.2ms)
|
|
538
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
539
|
+
Connecting to database specified by database.yml
|
|
540
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:07 +0100
|
|
541
|
+
Processing by PostsController#index as HTML
|
|
542
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
|
|
543
|
+
Completed 200 OK in 9.7ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
|
544
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:07 +0100
|
|
545
|
+
Processing by PostsController#index as HTML
|
|
546
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
547
|
+
Completed 200 OK in 3.4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
548
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:07 +0100
|
|
549
|
+
Processing by PostsController#index as HTML
|
|
550
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
551
|
+
Completed 200 OK in 3.7ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
552
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:07 +0100
|
|
553
|
+
Processing by PostsController#index as HTML
|
|
554
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
555
|
+
Completed 200 OK in 3.7ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
556
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:07 +0100
|
|
557
|
+
Processing by PostsController#index as HTML
|
|
558
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
559
|
+
Completed 200 OK in 2.4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
560
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:07 +0100
|
|
561
|
+
Processing by PostsController#index as HTML
|
|
562
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
563
|
+
Completed 200 OK in 0.6ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
564
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
565
|
+
Rendered notifier/good_bye_message.html.erb (0.4ms)
|
|
566
|
+
Connecting to database specified by database.yml
|
|
567
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:10 +0100
|
|
568
|
+
Processing by PostsController#index as HTML
|
|
569
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.9ms)
|
|
570
|
+
Completed 200 OK in 8.4ms (Views: 8.1ms | ActiveRecord: 0.0ms)
|
|
571
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:10 +0100
|
|
572
|
+
Processing by PostsController#index as HTML
|
|
573
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
574
|
+
Completed 200 OK in 3.5ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
575
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:10 +0100
|
|
576
|
+
Processing by PostsController#index as HTML
|
|
577
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
578
|
+
Completed 200 OK in 3.8ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
579
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:10 +0100
|
|
580
|
+
Processing by PostsController#index as HTML
|
|
581
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
582
|
+
Completed 200 OK in 4.5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
583
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:10 +0100
|
|
584
|
+
Processing by PostsController#index as HTML
|
|
585
|
+
Rendered posts/index.html.erb within layouts/application (0.3ms)
|
|
586
|
+
Completed 200 OK in 2.7ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
|
587
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 11:22:10 +0100
|
|
588
|
+
Processing by PostsController#index as HTML
|
|
589
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
590
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
591
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
592
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
593
|
+
Connecting to database specified by database.yml
|
|
594
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:30:33 +0100
|
|
595
|
+
Processing by PostsController#index as HTML
|
|
596
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
|
|
597
|
+
Completed 200 OK in 9.7ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
|
598
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:30:33 +0100
|
|
599
|
+
Processing by PostsController#index as HTML
|
|
600
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.3ms)
|
|
601
|
+
Completed 200 OK in 3.8ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
|
602
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:30:33 +0100
|
|
603
|
+
Processing by PostsController#index as HTML
|
|
604
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
605
|
+
Completed 200 OK in 3.7ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
|
606
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:30:33 +0100
|
|
607
|
+
Processing by PostsController#index as HTML
|
|
608
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
609
|
+
Completed 200 OK in 3.6ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
610
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:30:33 +0100
|
|
611
|
+
Processing by PostsController#index as HTML
|
|
612
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
613
|
+
Completed 200 OK in 2.4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
614
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:30:33 +0100
|
|
615
|
+
Processing by PostsController#index as HTML
|
|
616
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
617
|
+
Completed 200 OK in 0.7ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
618
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.2ms)
|
|
619
|
+
Rendered notifier/good_bye_message.html.erb (0.2ms)
|
|
620
|
+
Connecting to database specified by database.yml
|
|
621
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:37 +0100
|
|
622
|
+
Processing by PostsController#index as HTML
|
|
623
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
|
|
624
|
+
Completed 200 OK in 9.6ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
|
625
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:37 +0100
|
|
626
|
+
Processing by PostsController#index as HTML
|
|
627
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.2ms)
|
|
628
|
+
Completed 200 OK in 3.6ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
629
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:37 +0100
|
|
630
|
+
Processing by PostsController#index as HTML
|
|
631
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
632
|
+
Completed 200 OK in 3.6ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
|
633
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:37 +0100
|
|
634
|
+
Processing by PostsController#index as HTML
|
|
635
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
636
|
+
Completed 200 OK in 3.8ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
|
637
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:37 +0100
|
|
638
|
+
Processing by PostsController#index as HTML
|
|
639
|
+
Rendered posts/index.html.erb within layouts/application (0.2ms)
|
|
640
|
+
Completed 200 OK in 2.4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
641
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:37 +0100
|
|
642
|
+
Processing by PostsController#index as HTML
|
|
643
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
644
|
+
Completed 200 OK in 0.6ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
645
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
646
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|
|
647
|
+
Connecting to database specified by database.yml
|
|
648
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:40 +0100
|
|
649
|
+
Processing by PostsController#index as HTML
|
|
650
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (1.0ms)
|
|
651
|
+
Completed 200 OK in 8.6ms (Views: 8.3ms | ActiveRecord: 0.0ms)
|
|
652
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:40 +0100
|
|
653
|
+
Processing by PostsController#index as HTML
|
|
654
|
+
Rendered themes/test/posts/index.html.erb within layouts/application (0.3ms)
|
|
655
|
+
Completed 200 OK in 3.5ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
656
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:40 +0100
|
|
657
|
+
Processing by PostsController#index as HTML
|
|
658
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.2ms)
|
|
659
|
+
Completed 200 OK in 3.4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
660
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:40 +0100
|
|
661
|
+
Processing by PostsController#index as HTML
|
|
662
|
+
Rendered themes/test2/posts/index.html.erb within layouts/application (0.3ms)
|
|
663
|
+
Completed 200 OK in 4.7ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
|
664
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:40 +0100
|
|
665
|
+
Processing by PostsController#index as HTML
|
|
666
|
+
Rendered posts/index.html.erb within layouts/application (0.3ms)
|
|
667
|
+
Completed 200 OK in 2.6ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
|
668
|
+
Started GET "/posts" for 127.0.0.1 at 2020-01-08 12:31:40 +0100
|
|
669
|
+
Processing by PostsController#index as HTML
|
|
670
|
+
Rendered posts/index.html.erb within layouts/application (0.0ms)
|
|
671
|
+
Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
672
|
+
Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
|
|
673
|
+
Rendered notifier/good_bye_message.html.erb (0.3ms)
|