utopia 2.11.1 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Rakefile +2 -0
- data/benchmarks/call_vs_check.rb +2 -0
- data/benchmarks/const_vs_hash.rb +2 -0
- data/benchmarks/hash_vs_openstruct.rb +2 -0
- data/benchmarks/string_vs_symbol.rb +2 -0
- data/benchmarks/struct_vs_class.rb +2 -0
- data/documentation/Gemfile +1 -0
- data/documentation/Rakefile +1 -0
- data/documentation/config.ru +1 -0
- data/documentation/config/environment.rb +1 -0
- data/documentation/pages/wiki/controller.rb +1 -0
- data/documentation/spec/website_context.rb +1 -0
- data/documentation/spec/website_spec.rb +1 -0
- data/lib/utopia.rb +2 -0
- data/lib/utopia/command.rb +2 -0
- data/lib/utopia/command/environment.rb +2 -0
- data/lib/utopia/command/server.rb +2 -0
- data/lib/utopia/command/site.rb +2 -0
- data/lib/utopia/content.rb +10 -1
- data/lib/utopia/content/document.rb +2 -0
- data/lib/utopia/content/link.rb +2 -0
- data/lib/utopia/content/links.rb +160 -124
- data/lib/utopia/content/markup.rb +2 -0
- data/lib/utopia/content/namespace.rb +2 -0
- data/lib/utopia/content/node.rb +6 -3
- data/lib/utopia/content/response.rb +2 -0
- data/lib/utopia/content/tags.rb +2 -0
- data/lib/utopia/content_length.rb +2 -0
- data/lib/utopia/controller.rb +2 -0
- data/lib/utopia/controller/actions.rb +2 -0
- data/lib/utopia/controller/base.rb +2 -0
- data/lib/utopia/controller/respond.rb +2 -0
- data/lib/utopia/controller/rewrite.rb +2 -0
- data/lib/utopia/controller/variables.rb +2 -0
- data/lib/utopia/exceptions.rb +2 -0
- data/lib/utopia/exceptions/handler.rb +2 -0
- data/lib/utopia/exceptions/mailer.rb +2 -0
- data/lib/utopia/extensions/array_split.rb +2 -0
- data/lib/utopia/extensions/date_comparisons.rb +2 -0
- data/lib/utopia/http.rb +2 -0
- data/lib/utopia/locale.rb +2 -0
- data/lib/utopia/localization.rb +2 -0
- data/lib/utopia/logger.rb +2 -0
- data/lib/utopia/middleware.rb +2 -0
- data/lib/utopia/path.rb +2 -0
- data/lib/utopia/path/matcher.rb +2 -0
- data/lib/utopia/redirection.rb +2 -0
- data/lib/utopia/session.rb +2 -0
- data/lib/utopia/session/lazy_hash.rb +2 -0
- data/lib/utopia/session/serialization.rb +2 -0
- data/lib/utopia/setup.rb +2 -0
- data/lib/utopia/static.rb +2 -0
- data/lib/utopia/static/local_file.rb +2 -0
- data/lib/utopia/static/mime_types.rb +2 -0
- data/lib/utopia/version.rb +3 -1
- data/setup/site/Gemfile +1 -0
- data/setup/site/Rakefile +1 -0
- data/setup/site/config.ru +1 -0
- data/setup/site/config/environment.rb +1 -0
- data/setup/site/falcon.rb +1 -0
- data/setup/site/spec/spec_helper.rb +1 -0
- data/setup/site/spec/website_context.rb +1 -0
- data/setup/site/spec/website_spec.rb +1 -0
- data/setup/site/tasks/deploy.rake +1 -0
- data/setup/site/tasks/development.rake +1 -0
- data/setup/site/tasks/environment.rake +1 -0
- data/setup/site/tasks/log.rake +1 -0
- data/setup/site/tasks/static.rake +1 -0
- data/setup/site/tasks/yarn.rake +1 -0
- data/spec/mock_node.rb +1 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/utopia/command_spec.rb +2 -0
- data/spec/utopia/content/document_spec.rb +2 -0
- data/spec/utopia/content/link_spec.rb +1 -0
- data/spec/utopia/content/links_spec.rb +21 -21
- data/spec/utopia/content/markup_spec.rb +1 -0
- data/spec/utopia/content/namespace_spec.rb +2 -0
- data/spec/utopia/content/node_spec.rb +2 -0
- data/spec/utopia/content/response_spec.rb +2 -0
- data/spec/utopia/content/tags_spec.rb +2 -0
- data/spec/utopia/content_spec.rb +2 -0
- data/spec/utopia/content_spec.ru +1 -0
- data/spec/utopia/controller/actions_spec.rb +1 -0
- data/spec/utopia/controller/middleware_spec.rb +1 -0
- data/spec/utopia/controller/middleware_spec.ru +1 -0
- data/spec/utopia/controller/middleware_spec/controller/controller.rb +1 -0
- data/spec/utopia/controller/middleware_spec/controller/nested/controller.rb +1 -0
- data/spec/utopia/controller/middleware_spec/redirect/controller.rb +1 -0
- data/spec/utopia/controller/middleware_spec/redirect/test/controller.rb +1 -0
- data/spec/utopia/controller/respond_spec.rb +1 -0
- data/spec/utopia/controller/respond_spec.ru +1 -0
- data/spec/utopia/controller/respond_spec/api/controller.rb +1 -0
- data/spec/utopia/controller/respond_spec/errors/controller.rb +1 -0
- data/spec/utopia/controller/respond_spec/html/controller.rb +1 -0
- data/spec/utopia/controller/respond_spec/rewrite/controller.rb +1 -0
- data/spec/utopia/controller/rewrite_spec.rb +1 -0
- data/spec/utopia/controller/sequence_spec.rb +2 -1
- data/spec/utopia/controller/variables_spec.rb +1 -0
- data/spec/utopia/controller/websocket_spec.rb +1 -0
- data/spec/utopia/controller/websocket_spec.ru +1 -0
- data/spec/utopia/controller/websocket_spec/server/controller.rb +1 -0
- data/spec/utopia/exceptions/handler_spec.rb +1 -0
- data/spec/utopia/exceptions/handler_spec.ru +1 -0
- data/spec/utopia/exceptions/handler_spec/controller.rb +1 -0
- data/spec/utopia/exceptions/mailer_spec.rb +1 -0
- data/spec/utopia/exceptions/mailer_spec.ru +1 -0
- data/spec/utopia/extensions_spec.rb +2 -0
- data/spec/utopia/http/status_spec.rb +2 -0
- data/spec/utopia/locale_spec.rb +2 -0
- data/spec/utopia/localization_spec.rb +2 -0
- data/spec/utopia/localization_spec.ru +1 -0
- data/spec/utopia/localization_spec/controller.rb +1 -0
- data/spec/utopia/middleware_spec.rb +2 -0
- data/spec/utopia/path/matcher_spec.rb +1 -0
- data/spec/utopia/path_spec.rb +1 -0
- data/spec/utopia/performance_spec.rb +2 -0
- data/spec/utopia/performance_spec/config.ru +1 -0
- data/spec/utopia/performance_spec/pages/api/controller.rb +1 -0
- data/spec/utopia/rack_helper.rb +2 -0
- data/spec/utopia/redirection_spec.rb +2 -0
- data/spec/utopia/redirection_spec.ru +1 -0
- data/spec/utopia/session_spec.rb +2 -0
- data/spec/utopia/session_spec.ru +1 -0
- data/spec/utopia/setup_spec.rb +2 -0
- data/spec/utopia/static_spec.rb +2 -0
- data/spec/utopia/static_spec.ru +1 -0
- metadata +2 -2
data/spec/utopia/content_spec.rb
CHANGED
data/spec/utopia/content_spec.ru
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/usr/bin/env rspec
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
# Copyright, 2012, by Samuel G. D. Williams. <http://www.codeotaku.com>
|
4
5
|
#
|
@@ -45,7 +46,7 @@ module Utopia::Controller::SequenceSpec
|
|
45
46
|
prepend Utopia::Controller::Actions
|
46
47
|
|
47
48
|
def initialize
|
48
|
-
@sequence =
|
49
|
+
@sequence = String.new
|
49
50
|
end
|
50
51
|
|
51
52
|
on('user/update') do
|
data/spec/utopia/locale_spec.rb
CHANGED
data/spec/utopia/path_spec.rb
CHANGED
data/spec/utopia/rack_helper.rb
CHANGED
data/spec/utopia/session_spec.rb
CHANGED
data/spec/utopia/session_spec.ru
CHANGED
data/spec/utopia/setup_spec.rb
CHANGED
data/spec/utopia/static_spec.rb
CHANGED
data/spec/utopia/static_spec.ru
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utopia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trenni
|