themes 0.0.4 → 0.0.5

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.
Files changed (172) hide show
  1. checksums.yaml +5 -13
  2. data/Rakefile +2 -1
  3. data/lib/themes.rb +6 -5
  4. data/lib/themes/engine.rb +1 -3
  5. data/lib/themes/loader.rb +3 -0
  6. data/lib/themes/version.rb +1 -1
  7. data/spec/dummy/log/test.log +0 -264
  8. data/spec/{dummy → dummy3}/README.rdoc +0 -0
  9. data/spec/{dummy → dummy3}/Rakefile +0 -0
  10. data/spec/dummy3/app +1 -0
  11. data/spec/{dummy → dummy3}/config.ru +0 -0
  12. data/spec/{dummy → dummy3}/config/application.rb +0 -0
  13. data/spec/{dummy → dummy3}/config/boot.rb +0 -0
  14. data/spec/{dummy → dummy3}/config/database.yml +0 -0
  15. data/spec/{dummy → dummy3}/config/environment.rb +0 -0
  16. data/spec/{dummy → dummy3}/config/environments/development.rb +0 -0
  17. data/spec/{dummy → dummy3}/config/environments/production.rb +0 -0
  18. data/spec/{dummy → dummy3}/config/environments/test.rb +0 -0
  19. data/spec/{dummy → dummy3}/config/initializers/backtrace_silencers.rb +0 -0
  20. data/spec/{dummy → dummy3}/config/initializers/inflections.rb +0 -0
  21. data/spec/{dummy → dummy3}/config/initializers/mime_types.rb +0 -0
  22. data/spec/{dummy → dummy3}/config/initializers/secret_token.rb +0 -0
  23. data/spec/{dummy → dummy3}/config/initializers/session_store.rb +0 -0
  24. data/spec/{dummy → dummy3}/config/initializers/wrap_parameters.rb +0 -0
  25. data/spec/{dummy → dummy3}/config/locales/en.yml +0 -0
  26. data/spec/{dummy → dummy3}/config/routes.rb +0 -0
  27. data/spec/{dummy → dummy3}/config/themes/test.rb +0 -0
  28. data/spec/dummy3/log/test.log +232 -0
  29. data/spec/{dummy → dummy3}/public/404.html +0 -0
  30. data/spec/{dummy → dummy3}/public/422.html +0 -0
  31. data/spec/{dummy → dummy3}/public/500.html +0 -0
  32. data/spec/{dummy → dummy3}/public/favicon.ico +0 -0
  33. data/spec/{dummy → dummy3}/script/rails +0 -0
  34. data/spec/dummy4/README.rdoc +261 -0
  35. data/spec/dummy4/Rakefile +7 -0
  36. data/spec/dummy4/app +1 -0
  37. data/spec/dummy4/bin/bundle +3 -0
  38. data/spec/dummy4/bin/rails +4 -0
  39. data/spec/dummy4/bin/rake +4 -0
  40. data/spec/dummy4/bin/setup +29 -0
  41. data/spec/dummy4/config.ru +4 -0
  42. data/spec/dummy4/config/application.rb +26 -0
  43. data/spec/dummy4/config/boot.rb +3 -0
  44. data/spec/dummy4/config/database.yml +26 -0
  45. data/spec/dummy4/config/environment.rb +5 -0
  46. data/spec/dummy4/config/environments/development.rb +41 -0
  47. data/spec/dummy4/config/environments/production.rb +79 -0
  48. data/spec/dummy4/config/environments/test.rb +42 -0
  49. data/spec/dummy4/config/initializers/assets.rb +11 -0
  50. data/spec/dummy4/config/initializers/backtrace_silencers.rb +7 -0
  51. data/spec/dummy4/config/initializers/cookies_serializer.rb +3 -0
  52. data/spec/dummy4/config/initializers/filter_parameter_logging.rb +4 -0
  53. data/spec/dummy4/config/initializers/inflections.rb +16 -0
  54. data/spec/dummy4/config/initializers/mime_types.rb +4 -0
  55. data/spec/dummy4/config/initializers/secret_token.rb +12 -0
  56. data/spec/dummy4/config/initializers/session_store.rb +3 -0
  57. data/spec/dummy4/config/initializers/wrap_parameters.rb +14 -0
  58. data/spec/dummy4/config/locales/en.yml +23 -0
  59. data/spec/dummy4/config/routes.rb +57 -0
  60. data/spec/dummy4/config/secrets.yml +22 -0
  61. data/spec/dummy4/config/themes/test.rb +8 -0
  62. data/spec/dummy4/log/test.log +196 -0
  63. data/spec/dummy4/public/404.html +26 -0
  64. data/spec/dummy4/public/422.html +26 -0
  65. data/spec/dummy4/public/500.html +25 -0
  66. data/spec/dummy4/public/favicon.ico +0 -0
  67. data/spec/dummy4/script/rails +6 -0
  68. data/spec/dummy5/README.rdoc +261 -0
  69. data/spec/dummy5/Rakefile +7 -0
  70. data/spec/dummy5/app +1 -0
  71. data/spec/dummy5/bin/bundle +3 -0
  72. data/spec/dummy5/bin/rails +4 -0
  73. data/spec/dummy5/bin/rake +4 -0
  74. data/spec/dummy5/bin/setup +36 -0
  75. data/spec/dummy5/bin/update +31 -0
  76. data/spec/dummy5/bin/yarn +11 -0
  77. data/spec/dummy5/config.ru +4 -0
  78. data/spec/dummy5/config/application.rb +19 -0
  79. data/spec/dummy5/config/boot.rb +4 -0
  80. data/spec/dummy5/config/cable.yml +10 -0
  81. data/spec/dummy5/config/database.yml +26 -0
  82. data/spec/dummy5/config/environment.rb +5 -0
  83. data/spec/dummy5/config/environments/development.rb +61 -0
  84. data/spec/dummy5/config/environments/production.rb +94 -0
  85. data/spec/dummy5/config/environments/test.rb +46 -0
  86. data/spec/dummy5/config/initializers/application_controller_renderer.rb +8 -0
  87. data/spec/dummy5/config/initializers/assets.rb +14 -0
  88. data/spec/dummy5/config/initializers/backtrace_silencers.rb +7 -0
  89. data/spec/dummy5/config/initializers/content_security_policy.rb +25 -0
  90. data/spec/dummy5/config/initializers/cookies_serializer.rb +5 -0
  91. data/spec/dummy5/config/initializers/filter_parameter_logging.rb +4 -0
  92. data/spec/dummy5/config/initializers/inflections.rb +16 -0
  93. data/spec/dummy5/config/initializers/mime_types.rb +4 -0
  94. data/spec/dummy5/config/initializers/new_framework_defaults_5_2.rb +38 -0
  95. data/spec/dummy5/config/initializers/secret_token.rb +12 -0
  96. data/spec/dummy5/config/initializers/session_store.rb +3 -0
  97. data/spec/dummy5/config/initializers/wrap_parameters.rb +14 -0
  98. data/spec/dummy5/config/locales/en.yml +33 -0
  99. data/spec/dummy5/config/routes.rb +4 -0
  100. data/spec/dummy5/config/secrets.yml +22 -0
  101. data/spec/dummy5/config/storage.yml +34 -0
  102. data/spec/dummy5/config/themes/test.rb +8 -0
  103. data/spec/dummy5/log/test.log +336 -0
  104. data/spec/dummy5/public/404.html +26 -0
  105. data/spec/dummy5/public/422.html +26 -0
  106. data/spec/dummy5/public/500.html +25 -0
  107. data/spec/dummy5/public/favicon.ico +0 -0
  108. data/spec/dummy5/script/rails +6 -0
  109. data/spec/dummy6/README.rdoc +261 -0
  110. data/spec/dummy6/Rakefile +7 -0
  111. data/spec/dummy6/app +1 -0
  112. data/spec/dummy6/bin/bundle +3 -0
  113. data/spec/dummy6/bin/rails +4 -0
  114. data/spec/dummy6/bin/rake +4 -0
  115. data/spec/dummy6/bin/setup +36 -0
  116. data/spec/dummy6/bin/update +31 -0
  117. data/spec/dummy6/bin/yarn +11 -0
  118. data/spec/dummy6/config.ru +4 -0
  119. data/spec/dummy6/config/application.rb +19 -0
  120. data/spec/dummy6/config/boot.rb +3 -0
  121. data/spec/dummy6/config/cable.yml +10 -0
  122. data/spec/dummy6/config/database.yml +26 -0
  123. data/spec/dummy6/config/environment.rb +5 -0
  124. data/spec/dummy6/config/environments/development.rb +62 -0
  125. data/spec/dummy6/config/environments/production.rb +112 -0
  126. data/spec/dummy6/config/environments/test.rb +48 -0
  127. data/spec/dummy6/config/initializers/application_controller_renderer.rb +8 -0
  128. data/spec/dummy6/config/initializers/assets.rb +14 -0
  129. data/spec/dummy6/config/initializers/backtrace_silencers.rb +7 -0
  130. data/spec/dummy6/config/initializers/content_security_policy.rb +30 -0
  131. data/spec/dummy6/config/initializers/cookies_serializer.rb +5 -0
  132. data/spec/dummy6/config/initializers/filter_parameter_logging.rb +4 -0
  133. data/spec/dummy6/config/initializers/inflections.rb +16 -0
  134. data/spec/dummy6/config/initializers/mime_types.rb +4 -0
  135. data/spec/dummy6/config/initializers/new_framework_defaults_5_2.rb +38 -0
  136. data/spec/dummy6/config/initializers/new_framework_defaults_6_0.rb +45 -0
  137. data/spec/dummy6/config/initializers/secret_token.rb +12 -0
  138. data/spec/dummy6/config/initializers/session_store.rb +3 -0
  139. data/spec/dummy6/config/initializers/wrap_parameters.rb +14 -0
  140. data/spec/dummy6/config/locales/en.yml +33 -0
  141. data/spec/dummy6/config/routes.rb +3 -0
  142. data/spec/dummy6/config/secrets.yml +22 -0
  143. data/spec/dummy6/config/storage.yml +34 -0
  144. data/spec/dummy6/config/themes/test.rb +8 -0
  145. data/spec/dummy6/log/development.log +0 -0
  146. data/spec/dummy6/log/test.log +630 -0
  147. data/spec/dummy6/public/404.html +26 -0
  148. data/spec/dummy6/public/422.html +26 -0
  149. data/spec/dummy6/public/500.html +25 -0
  150. data/spec/dummy6/public/favicon.ico +0 -0
  151. data/spec/dummy6/script/rails +6 -0
  152. data/spec/dummy_app_folder/assets/config/manifest.js +3 -0
  153. data/spec/{dummy/app → dummy_app_folder}/assets/javascripts/application.js +0 -0
  154. data/spec/{dummy/app → dummy_app_folder}/assets/stylesheets/application.css +0 -0
  155. data/spec/{dummy/app → dummy_app_folder}/controllers/application_controller.rb +0 -0
  156. data/spec/{dummy/app → dummy_app_folder}/controllers/posts_controller.rb +0 -0
  157. data/spec/{dummy/app → dummy_app_folder}/helpers/application_helper.rb +0 -0
  158. data/spec/{dummy/app → dummy_app_folder}/mailers/notifier.rb +0 -0
  159. data/spec/dummy_app_folder/views/layouts/application.html.erb +6 -0
  160. data/spec/{dummy/app → dummy_app_folder}/views/notifier/good_bye_message.html.erb +0 -0
  161. data/spec/{dummy/app → dummy_app_folder}/views/notifier/wellcome_message.html.erb +0 -0
  162. data/spec/{dummy/app → dummy_app_folder}/views/posts/index.html.erb +0 -0
  163. data/spec/dummy_app_folder/views/themes/test/layouts/application.html.erb +7 -0
  164. data/spec/{dummy/app → dummy_app_folder}/views/themes/test/notifier/wellcome_message.html.erb +0 -0
  165. data/spec/{dummy/app → dummy_app_folder}/views/themes/test/posts/index.html.erb +0 -0
  166. data/spec/{controllers → features}/posts_controller_spec.rb +5 -9
  167. data/spec/generators/new_theme_generator_spec.rb +4 -4
  168. data/spec/spec_helper.rb +8 -7
  169. data/spec/themes_engine_spec.rb +5 -5
  170. metadata +452 -111
  171. data/spec/dummy/app/views/layouts/application.html.erb +0 -4
  172. data/spec/dummy/app/views/themes/test/layouts/application.html.erb +0 -4
@@ -0,0 +1,79 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+ # Compress JavaScripts and CSS.
28
+ config.assets.js_compressor = :uglifier
29
+ # config.assets.css_compressor = :sass
30
+
31
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
32
+ config.assets.compile = false
33
+
34
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
+ # yet still be able to expire them through the digest params.
36
+ config.assets.digest = true
37
+
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
+
40
+ # Specifies the header that your server uses for sending files.
41
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
+
44
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
+ # config.force_ssl = true
46
+
47
+ # Use the lowest log level to ensure availability of diagnostic information
48
+ # when problems arise.
49
+ config.log_level = :debug
50
+
51
+ # Prepend all log lines with the following tags.
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
+
57
+ # Use a different cache store in production.
58
+ # config.cache_store = :mem_cache_store
59
+
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
62
+
63
+ # Ignore bad email addresses and do not raise email delivery errors.
64
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
+ # config.action_mailer.raise_delivery_errors = false
66
+
67
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
+ # the I18n.default_locale when a translation cannot be found).
69
+ config.i18n.fallbacks = true
70
+
71
+ # Send deprecation notices to registered listeners.
72
+ config.active_support.deprecation = :notify
73
+
74
+ # Use default logging formatter so that PID and timestamp are not suppressed.
75
+ config.log_formatter = ::Logger::Formatter.new
76
+
77
+ # Do not dump schema after migrations.
78
+ config.active_record.dump_schema_after_migration = false
79
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
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'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :marshal
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = '21eb9ba70ea7174e26cd1795bf9b89266e855c21e92518f29aeae429cc7f21bc02ab111b7f048ad146eebc8900358d492f8b4c651e9020d723402c5d6fa4226d'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,57 @@
1
+ Rails.application.routes.draw do
2
+ resources :posts
3
+ # The priority is based upon order of creation: first created -> highest priority.
4
+ # See how all your routes lay out with "rake routes".
5
+
6
+ # You can have the root of your site routed with "root"
7
+ # root 'welcome#index'
8
+
9
+ # Example of regular route:
10
+ # get 'products/:id' => 'catalog#view'
11
+
12
+ # Example of named route that can be invoked with purchase_url(id: product.id)
13
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
14
+
15
+ # Example resource route (maps HTTP verbs to controller actions automatically):
16
+ # resources :products
17
+
18
+ # Example resource route with options:
19
+ # resources :products do
20
+ # member do
21
+ # get 'short'
22
+ # post 'toggle'
23
+ # end
24
+ #
25
+ # collection do
26
+ # get 'sold'
27
+ # end
28
+ # end
29
+
30
+ # Example resource route with sub-resources:
31
+ # resources :products do
32
+ # resources :comments, :sales
33
+ # resource :seller
34
+ # end
35
+
36
+ # Example resource route with more complex sub-resources:
37
+ # resources :products do
38
+ # resources :comments
39
+ # resources :sales do
40
+ # get 'recent', on: :collection
41
+ # end
42
+ # end
43
+
44
+ # Example resource route with concerns:
45
+ # concern :toggleable do
46
+ # post 'toggle'
47
+ # end
48
+ # resources :posts, concerns: :toggleable
49
+ # resources :photos, concerns: :toggleable
50
+
51
+ # Example resource route within a namespace:
52
+ # namespace :admin do
53
+ # # Directs /admin/products/* to Admin::ProductsController
54
+ # # (app/controllers/admin/products_controller.rb)
55
+ # resources :products
56
+ # end
57
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 333feaf1d702a6a32b5973b23d1ae66d147bff06ef1017205a848fa1245fec7a2d2e787caddefcc1dc664dbb9161de02637d4c0ce9458682eda9142fdab98f48
15
+
16
+ test:
17
+ secret_key_base: f3cb3666c7480eac4e3d714fddb427eb78135e9c77a2fa980deb465945f56bb91fe94c1d6e2a5e290c987fea75d464912c2b9f7de7ebd313cf1ccc9c2285da44
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,8 @@
1
+ module Themes
2
+ class Loader
3
+ def self.configure(app)
4
+ app.config.theme.name = 'test'
5
+ app.config.theme.email = 'test@test.cat'
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,196 @@
1
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:41:58 +0100
2
+ Processing by PostsController#index as HTML
3
+ Rendered themes/test/posts/index.html.erb within layouts/application (2.8ms)
4
+ Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
5
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:41:58 +0100
6
+ Processing by PostsController#index as HTML
7
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.1ms)
8
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
9
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
10
+
11
+ Notifier#wellcome_message: processed outbound mail in 150.9ms
12
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
13
+
14
+ Notifier#good_bye_message: processed outbound mail in 4.0ms
15
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:45:28 +0100
16
+ Processing by PostsController#index as HTML
17
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.2ms)
18
+ Completed 200 OK in 15ms (Views: 14.4ms)
19
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:45:28 +0100
20
+ Processing by PostsController#index as HTML
21
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
22
+ Completed 200 OK in 0ms (Views: 0.3ms)
23
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.2ms)
24
+
25
+ Notifier#wellcome_message: processed outbound mail in 145.6ms
26
+ Rendered notifier/good_bye_message.html.erb (0.2ms)
27
+
28
+ Notifier#good_bye_message: processed outbound mail in 3.6ms
29
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:47:40 +0100
30
+ Processing by PostsController#index as HTML
31
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.2ms)
32
+ Completed 200 OK in 14ms (Views: 13.6ms)
33
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:47:40 +0100
34
+ Processing by PostsController#index as HTML
35
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
36
+ Completed 200 OK in 0ms (Views: 0.3ms)
37
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.5ms)
38
+
39
+ Notifier#wellcome_message: processed outbound mail in 150.2ms
40
+ Rendered notifier/good_bye_message.html.erb (0.2ms)
41
+
42
+ Notifier#good_bye_message: processed outbound mail in 3.5ms
43
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:49:38 +0100
44
+ Processing by PostsController#index as HTML
45
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
46
+ Completed 200 OK in 13ms (Views: 13.1ms)
47
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:49:38 +0100
48
+ Processing by PostsController#index as HTML
49
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
50
+ Completed 200 OK in 0ms (Views: 0.3ms)
51
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
52
+
53
+ Notifier#wellcome_message: processed outbound mail in 146.6ms
54
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
55
+
56
+ Notifier#good_bye_message: processed outbound mail in 3.8ms
57
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:59:39 +0100
58
+ Processing by PostsController#index as HTML
59
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.3ms)
60
+ Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)
61
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 07:59:39 +0100
62
+ Processing by PostsController#index as HTML
63
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
64
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
65
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
66
+
67
+ Notifier#wellcome_message: processed outbound mail in 151.6ms
68
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
69
+
70
+ Notifier#good_bye_message: processed outbound mail in 3.7ms
71
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:01:50 +0100
72
+ Processing by PostsController#index as HTML
73
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
74
+ Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms)
75
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:01:50 +0100
76
+ Processing by PostsController#index as HTML
77
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
78
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
79
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
80
+
81
+ Notifier#wellcome_message: processed outbound mail in 149.6ms
82
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
83
+
84
+ Notifier#good_bye_message: processed outbound mail in 3.7ms
85
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:04:26 +0100
86
+ Processing by PostsController#index as HTML
87
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.1ms)
88
+ Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms)
89
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:04:26 +0100
90
+ Processing by PostsController#index as HTML
91
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
92
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
93
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
94
+
95
+ Notifier#wellcome_message: processed outbound mail in 151.3ms
96
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
97
+
98
+ Notifier#good_bye_message: processed outbound mail in 3.7ms
99
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:16:27 +0100
100
+ Processing by PostsController#index as HTML
101
+ Rendered themes/test/posts/index.html.erb within layouts/application (2.6ms)
102
+ Completed 200 OK in 21ms (Views: 20.9ms | ActiveRecord: 0.0ms)
103
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:16:27 +0100
104
+ Processing by PostsController#index as HTML
105
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.1ms)
106
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
107
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.2ms)
108
+
109
+ Notifier#wellcome_message: processed outbound mail in 146.2ms
110
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
111
+
112
+ Notifier#good_bye_message: processed outbound mail in 3.6ms
113
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:40:50 +0100
114
+ Processing by PostsController#index as HTML
115
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.9ms)
116
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
117
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:40:50 +0100
118
+ Processing by PostsController#index as HTML
119
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
120
+ Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
121
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
122
+
123
+ Notifier#wellcome_message: processed outbound mail in 195.6ms
124
+ Rendered notifier/good_bye_message.html.erb (0.2ms)
125
+
126
+ Notifier#good_bye_message: processed outbound mail in 3.8ms
127
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:48:19 +0100
128
+ Processing by PostsController#index as HTML
129
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.9ms)
130
+ Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms)
131
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:48:19 +0100
132
+ Processing by PostsController#index as HTML
133
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
134
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
135
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
136
+
137
+ Notifier#wellcome_message: processed outbound mail in 203.5ms
138
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
139
+
140
+ Notifier#good_bye_message: processed outbound mail in 3.7ms
141
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:54:28 +0100
142
+ Processing by PostsController#index as HTML
143
+ Rendered themes/test/posts/index.html.erb within layouts/application (2.9ms)
144
+ Completed 200 OK in 26ms (Views: 26.2ms | ActiveRecord: 0.0ms)
145
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:54:28 +0100
146
+ Processing by PostsController#index as HTML
147
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
148
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
149
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.4ms)
150
+
151
+ Notifier#wellcome_message: processed outbound mail in 152.0ms
152
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
153
+
154
+ Notifier#good_bye_message: processed outbound mail in 3.9ms
155
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:54:32 +0100
156
+ Processing by PostsController#index as HTML
157
+ Rendered themes/test/posts/index.html.erb within layouts/application (1.0ms)
158
+ Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
159
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 08:54:32 +0100
160
+ Processing by PostsController#index as HTML
161
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
162
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
163
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
164
+
165
+ Notifier#wellcome_message: processed outbound mail in 212.8ms
166
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
167
+
168
+ Notifier#good_bye_message: processed outbound mail in 3.6ms
169
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:32:45 +0100
170
+ Processing by PostsController#index as HTML
171
+ Rendered themes/test/posts/index.html.erb within layouts/application (2.6ms)
172
+ Completed 200 OK in 21ms (Views: 21.1ms | ActiveRecord: 0.0ms)
173
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:32:45 +0100
174
+ Processing by PostsController#index as HTML
175
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
176
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
177
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.2ms)
178
+
179
+ Notifier#wellcome_message: processed outbound mail in 153.0ms
180
+ Rendered notifier/good_bye_message.html.erb (0.2ms)
181
+
182
+ Notifier#good_bye_message: processed outbound mail in 3.5ms
183
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:32:50 +0100
184
+ Processing by PostsController#index as HTML
185
+ Rendered themes/test/posts/index.html.erb within layouts/application (2.5ms)
186
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
187
+ Started GET "/posts" for 127.0.0.1 at 2020-01-03 09:32:50 +0100
188
+ Processing by PostsController#index as HTML
189
+ Rendered themes/test/posts/index.html.erb within layouts/application (0.0ms)
190
+ Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)
191
+ Rendered themes/test/notifier/wellcome_message.html.erb (0.3ms)
192
+
193
+ Notifier#wellcome_message: processed outbound mail in 199.2ms
194
+ Rendered notifier/good_bye_message.html.erb (0.3ms)
195
+
196
+ Notifier#good_bye_message: processed outbound mail in 3.9ms